/usr/share/axiom-20120501/input/tanatan.input is in axiom-test 20120501-8.
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 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | )set break resume
)spool tanatan.output
)set message test on
)set message auto off
)clear all
--S 1 of 9
eq:=2*tan(x)+2*tan(2*x)
--R
--R
--R (1) 2tan(2x) + 2tan(x)
--R Type: Expression(Integer)
--E 1
--S 2 of 9
thesols:=solve(eq,x)
--R
--R
--R 2%pi 2%pi %pi %pi
--R (2) [x= 0,x= ----,x= - ----,x= ---,x= - ---]
--R 3 3 3 3
--R Type: List(Equation(Expression(Integer)))
--E 2
--S 3 of 9
theproofs:=[eval(eq,i) for i in thesols]
--R
--R
--R (3) [0,0,0,0,0]
--R Type: List(Expression(Integer))
--E 3
--S 4 of 9
thetowers:=[tower i for i in theproofs];
--R
--R
--R Type: List(List(Kernel(Expression(Integer))))
--E 4
--S 5 of 9
thesubs:LIST Record (a:LIST KERNEL EXPR INT ,b:LIST EXPR INT)
--R
--R Type: Void
--E 5
--S 6 of 9
thetans:LIST LIST Record(i:INT,k:KERNEL EXPR INT,z:List Equation EXPR INT)
--R
--R Type: Void
--E 6
--S 7 of 9
thetans:=_
[[construct(j,i.j,Is(argument(i.j).1,n * atan(y))) for j in 1..#i_
|is?(i.j,tan) and is?(argument(i.j).1,n * atan(y))] _
for i in thetowers] ;
--R
--R
--IType: List(List(Record(i: Integer,k: Kernel(Expression(Integer)),...
--E 7
--S 8 of 9
thesubs:=_
[construct([j.k for j in thetans.i],_
[tanNa(rhs(j.z.2),rhs(j.z.1) ::INT)$TangentExpansions(EXPR INT)_
for j in thetans.i]) _
for i in 1..#theproofs];
--R
--R
--IType: List(Record(a: List(Kernel(Expression(Integer))),b: List(...
--E 8
--S 9 of 9
thezeros:=[eval(i,j.a,j.b) for i in theproofs for j in thesubs]
--R
--R
--R (9) [0,0,0,0,0]
--R Type: List(Expression(Integer))
--E 9
)spool
)lisp (bye)
|