/usr/lib/open-axiom/input/ideal.input is in open-axiom-test 1.4.1+svn~2626-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | --Copyright The Numerical Algorithms Group Limited 1994.
)clear all
(n,m) : List DMP([x,y],FRAC INT)
m := [x**2+y**2-1]
n := [x**2-y**2]
id := ideal m + ideal n
zeroDim? id
zeroDim?(ideal m)
dimension ideal m
(f,g):DMP([x,y],FRAC INT)
f := x**2-1
g := x*(x**2-1)
relationsIdeal [f,g]
l: List DMP([x,y,z],FRAC INT)
l:=[x**2+2*y**2,x*z**2-y*z,z**2-4]
ld:=primaryDecomp ideal l
reduce(intersect,ld)
reduce(intersect,[radical ld.i for i in 1..2])
radical ideal l
quotient(ideal l,y)
|