Changeset 1589 for branches/f4grobner
- Timestamp:
- 2015-06-12T16:27:54-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-tests.lisp
r1587 r1589 420 420 (is (poly-set-equal-no-sugar-p (ideal-saturation ring-and-order F P) G)))) 421 421 422 ;; Calculate F : p1^inf : p2^inf : ... : ps^inf 423 #+nil 424 (test ideal-polysaturation-1 425 "Ideal polysaturation one-by-one with 2 polynomials" 422 ;; Calculate F : P1^inf : P2^inf : ... : Ps^inf where Pi are ideals 423 (test ideal-polysaturation 424 "Ideal polysaturation" 426 425 (let* (($poly_grobner_algorithm :buchberger) 427 426 (F (cdr (string->poly "[x^3*z*y,x*z*y^2]" '(x y z)))) 428 (P (cdr (string->poly "[x,z]" '(x y z)))) 427 (P1 (cdr (string->poly "[x]" '(x y z)))) 428 (P2 (cdr (string->poly "[z]" '(x y z)))) 429 429 (ring *ring-of-integers*) 430 430 (order #'lex>) 431 431 (ring-and-order (make-ring-and-order :ring ring :order order)) 432 432 (G (cdr (string->poly "[y]" '(x y z))))) 433 (is (poly-set-equal-no-sugar-p (ideal-polysaturation-1 ring-and-order F p) G))))433 (is (poly-set-equal-no-sugar-p (ideal-polysaturation-1 ring-and-order F (list P1 P2)) G)))) 434 434 435 435 (run! 'ngrobner-suite)
Note:
See TracChangeset
for help on using the changeset viewer.