close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

source: branches/f4grobner/test9.lisp@ 4479

Last change on this file since 4479 was 4464, checked in by Marek Rychlik, 9 years ago
File size: 514 bytes
RevLine 
[4464]1(in-package :5am-division)
2
3(let* ((f (string->poly "x^2" '(x y)))
4 (y-sq (string->poly "y^2" '(x y)))
5 (fl (cdr (string->poly "[x+y,x-2*y]" '(x y))))
6 (quotients (cdr (string->poly "[x-y,0]" '(x y))))
7 (one (make-instance 'rational-field :value 1)))
8 (assert (universal-equalp (multiple-value-list (normal-form f fl)) (list y-sq one 2)))
9 (assert (universal-equalp (multiple-value-list (poly-pseudo-divide f fl)) (list quotients y-sq one 2)))
10 ;;(assert (buchberger-criterion fl))
11 )
12
Note: See TracBrowser for help on using the repository browser.