Details

Time bar (total: 2.9s)

analyze184.0ms (6.3%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
50%50%50%0%0%0%0%4
50%50%50%0%0%0%0%5
50%50%50%0%0%0%0%6
50%50%50%0%0%0%0%7
50%50%50%0%0%0%0%8
50%50%50%0%0%0%0%9
50%50%50%0%0%0%0%10
50%50%50%0%0%0%0%11
50%50%50%0%0%0%0%12
Compiler

Compiled 17 to 9 computations (47.1% saved)

sample1.4s (48.4%)

Results
611.0ms2062×body1024valid
566.0ms5165×body256valid
210.0ms1022×body512valid
3.0msbody2048valid
Bogosity

preprocess5.0ms (0.2%)

Algorithm
egg-herbie
Rules
70×rational.json-simplify-31
44×rational.json-simplify-2
22×rational.json-simplify-9
18×rational.json-simplify-27
12×rational.json-simplify-41
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01047
11547
22547
33547
44747
55947
67447
78647
89847
911647
1012447
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
Outputs
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
Compiler

Compiled 17 to 9 computations (47.1% saved)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
70×rational.json-simplify-31
44×rational.json-simplify-2
22×rational.json-simplify-9
18×rational.json-simplify-27
12×rational.json-simplify-41
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01047
11547
22547
33547
44747
55947
67447
78647
89847
911647
1012447
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
Outputs
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))

eval0.0ms (0%)

Compiler

Compiled 16 to 8 computations (50% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.4b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.4b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
Compiler

Compiled 16 to 8 computations (50% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
0.2b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.2b
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
0.2b
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 39 to 13 computations (66.7% saved)

series4.0ms (0.1%)

Counts
4 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(*.f64 (tan.f64 x) (tan.f64 x))
1.0ms
x
@inf
(*.f64 (tan.f64 x) (tan.f64 x))
1.0ms
x
@inf
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
1.0ms
x
@-inf
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.0ms
x
@0
(*.f64 (tan.f64 x) (tan.f64 x))

rewrite13.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
52×rational.json-simplify-2
44×bool.json-1
38×rational.json-1
38×rational.json-2
34×rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010104
148104
293104
3126104
4159104
5184104
6188104
7198104
Stop Event
saturated
Counts
4 → 25
Calls
Call 1
Inputs
(*.f64 (tan.f64 x) (tan.f64 x))
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (tan.f64 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (tan.f64 x) (tan.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (tan.f64 x) (tan.f64 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 (tan.f64 x) (tan.f64 x)) (*.f64 (tan.f64 x) (tan.f64 x)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x or (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x or (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))))))

simplify57.0ms (2%)

Algorithm
egg-herbie
Rules
216×rational.json-simplify-1
204×rational.json-simplify-2
178×rational.json-simplify-31
140×rational.json-simplify-33
46×rational.json-simplify-9
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0902507
11612507
22622507
33552507
44282495
54692495
65362495
75842495
85982495
96012495
Stop Event
saturated
Counts
73 → 72
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (pow.f64 x 2))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 17/45 (pow.f64 x 6)) (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 62/315 (pow.f64 x 8)) (+.f64 (*.f64 17/45 (pow.f64 x 6)) (pow.f64 x 2))))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 (*.f64 -2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -1 (pow.f64 x 2))))
(+.f64 (*.f64 -2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -17/45 (pow.f64 x 6)))))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6)))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
1
(+.f64 1 (pow.f64 x 2))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 17/45 (pow.f64 x 6)) (pow.f64 x 2))))
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 0 (*.f64 (tan.f64 x) (tan.f64 x)))
(+.f64 (*.f64 (tan.f64 x) (tan.f64 x)) 0)
(-.f64 0 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))))
(-.f64 (*.f64 (tan.f64 x) (tan.f64 x)) 0)
(neg.f64 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))))
(+.f64 1 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))))
(+.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) 0)
(+.f64 0 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(+.f64 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))) 1)
(*.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) 1)
(*.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) -1)
(*.f64 -1 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))))
(neg.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))))
(+.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)
(+.f64 0 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(-.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)
(-.f64 0 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(*.f64 1 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(*.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 1)
(*.f64 -1 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(*.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) -1)
(neg.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(*.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) 1)
Outputs
(pow.f64 x 2)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 17/45 (pow.f64 x 6)) (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (pow.f64 x 2) (*.f64 17/45 (pow.f64 x 6))))
(+.f64 (pow.f64 x 2) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 17/45 (pow.f64 x 6))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 62/315 (pow.f64 x 8)) (+.f64 (*.f64 17/45 (pow.f64 x 6)) (pow.f64 x 2))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (+.f64 (*.f64 62/315 (pow.f64 x 8)) (*.f64 17/45 (pow.f64 x 6))) (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 17/45 (pow.f64 x 6)) (*.f64 62/315 (pow.f64 x 8)))))
(+.f64 (+.f64 (pow.f64 x 2) (*.f64 17/45 (pow.f64 x 6))) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 62/315 (pow.f64 x 8))))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
(/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 (pow.f64 x 2) -1))
(+.f64 (*.f64 -2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -1 (pow.f64 x 2))))
(+.f64 (+.f64 1 (*.f64 (pow.f64 x 2) -1)) (*.f64 (pow.f64 x 4) -2/3))
(+.f64 (*.f64 (pow.f64 x 2) -1) (+.f64 1 (*.f64 (pow.f64 x 4) -2/3)))
(+.f64 (*.f64 -2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -17/45 (pow.f64 x 6)))))
(+.f64 (*.f64 (pow.f64 x 4) -2/3) (+.f64 1 (+.f64 (*.f64 (pow.f64 x 2) -1) (*.f64 (pow.f64 x 6) -17/45))))
(+.f64 1 (+.f64 (+.f64 (*.f64 (pow.f64 x 2) -1) (*.f64 (pow.f64 x 4) -2/3)) (*.f64 (pow.f64 x 6) -17/45)))
(+.f64 1 (+.f64 (*.f64 (pow.f64 x 6) -17/45) (+.f64 (*.f64 (pow.f64 x 2) -1) (*.f64 (pow.f64 x 4) -2/3))))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 1 (*.f64 (pow.f64 x 2) -2))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 (pow.f64 x 2) -2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6)))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
(+.f64 (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))
(+.f64 1 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 (pow.f64 x 2) -2) (*.f64 (pow.f64 x 6) -4/45))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
1
(+.f64 1 (pow.f64 x 2))
(+.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (pow.f64 x 2) 1))
(+.f64 (pow.f64 x 2) (+.f64 (*.f64 2/3 (pow.f64 x 4)) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 17/45 (pow.f64 x 6)) (pow.f64 x 2))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (+.f64 (pow.f64 x 2) (*.f64 17/45 (pow.f64 x 6))) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 17/45 (pow.f64 x 6)) 1)))
(+.f64 (pow.f64 x 2) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 17/45 (pow.f64 x 6)) 1)))
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1)
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1)
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1)
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1)
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1)
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1)
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1)
(+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1)
(+.f64 0 (*.f64 (tan.f64 x) (tan.f64 x)))
(*.f64 (tan.f64 x) (tan.f64 x))
(+.f64 (*.f64 (tan.f64 x) (tan.f64 x)) 0)
(*.f64 (tan.f64 x) (tan.f64 x))
(-.f64 0 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 (tan.f64 x) (tan.f64 x))
(-.f64 (*.f64 (tan.f64 x) (tan.f64 x)) 0)
(*.f64 (tan.f64 x) (tan.f64 x))
(neg.f64 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 (tan.f64 x) (tan.f64 x))
(+.f64 1 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))))
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
(+.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) 0)
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
(+.f64 0 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
(+.f64 (neg.f64 (*.f64 (tan.f64 x) (tan.f64 x))) 1)
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
(*.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
(*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) 1)
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
(*.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) -1)
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
(*.f64 -1 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))))
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
(neg.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))))
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
(+.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(+.f64 0 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(-.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(-.f64 0 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 1 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 1)
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 -1 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) -1)
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(neg.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
(*.f64 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) 1)
(*.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))

eval27.0ms (0.9%)

Compiler

Compiled 1734 to 1008 computations (41.9% saved)

prune21.0ms (0.7%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New791089
Fresh000
Picked011
Done000
Total791190
Error
0.3b
Counts
90 → 11
Alt Table
Click to see full alt table
StatusErrorProgram
31.3b
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.4b
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
0.5b
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
30.4b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (pow.f64 x 2) 1))
0.5b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
0.4b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
28.0b
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
31.4b
(+.f64 (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))
31.4b
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
31.4b
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
31.3b
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
Compiler

Compiled 344 to 264 computations (23.3% saved)

localize24.0ms (0.8%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
0.2b
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
0.2b
(pow.f64 (cos.f64 x) 2)
0.2b
(pow.f64 (sin.f64 x) 2)
Compiler

Compiled 70 to 43 computations (38.6% saved)

series4.0ms (0.1%)

Counts
4 → 24
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@0
(pow.f64 (sin.f64 x) 2)
0.0ms
x
@inf
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
0.0ms
x
@-inf
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
0.0ms
x
@inf
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
0.0ms
x
@-inf
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))

rewrite15.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
124×rational.json-simplify-2
86×bool.json-1
78×rational.json-1
78×rational.json-2
64×rational.json-simplify-31
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
014126
164126
2117126
3165126
4227126
5285126
6338126
7371126
Stop Event
saturated
Counts
4 → 36
Calls
Call 1
Inputs
(pow.f64 (sin.f64 x) 2)
(pow.f64 (cos.f64 x) 2)
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (sin.f64 x) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (sin.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x or (pow.f64 (sin.f64 x) 2) (pow.f64 (sin.f64 x) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (cos.f64 x) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (cos.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cos.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 (pow.f64 (cos.f64 x) 2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 x) 2) -1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x or (pow.f64 (cos.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x or (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (*.f64 -1 (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (*.f64 (pow.f64 (cos.f64 x) 2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cos.f64 x) 2) -1) (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x or (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))))))

simplify61.0ms (2.1%)

Algorithm
egg-herbie
Rules
234×rational.json-simplify-1
184×rational.json-simplify-2
172×rational.json-simplify-31
148×rational.json-simplify-33
32×rational.json-simplify-9
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01092714
11792714
22702714
33652714
44832714
55752714
66062714
76112714
86132714
96142714
Stop Event
saturated
Counts
60 → 73
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (pow.f64 x 2))
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)))
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 -1/315 (pow.f64 x 8)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2))))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 1/3 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (*.f64 -2/45 (pow.f64 x 6)) (*.f64 1/3 (pow.f64 x 4)))))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 (*.f64 -2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -1 (pow.f64 x 2))))
(+.f64 (*.f64 -2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -17/45 (pow.f64 x 6)))))
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6)))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(+.f64 (pow.f64 (sin.f64 x) 2) 0)
(+.f64 0 (pow.f64 (sin.f64 x) 2))
(*.f64 (pow.f64 (sin.f64 x) 2) 1)
(*.f64 1 (pow.f64 (sin.f64 x) 2))
(+.f64 (pow.f64 (cos.f64 x) 2) 0)
(+.f64 0 (pow.f64 (cos.f64 x) 2))
(*.f64 (pow.f64 (cos.f64 x) 2) 1)
(*.f64 1 (pow.f64 (cos.f64 x) 2))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 x) 2) -1))
(*.f64 (*.f64 (pow.f64 (cos.f64 x) 2) -1) -1)
(+.f64 1 (neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(+.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) 0)
(+.f64 0 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(+.f64 (neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) 1)
(*.f64 1 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) 1)
(*.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) -1)
(*.f64 -1 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(neg.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(+.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) 0)
(+.f64 0 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(-.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) 0)
(-.f64 0 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 1 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) 1)
(*.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (*.f64 -1 (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(*.f64 -1 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) -1)
(*.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2))
(*.f64 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (*.f64 (pow.f64 (cos.f64 x) 2) -1))
(*.f64 (*.f64 (pow.f64 (cos.f64 x) 2) -1) (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (*.f64 -1 (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(neg.f64 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
Outputs
(pow.f64 x 2)
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 -1/3 (pow.f64 x 4)))
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2)))
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (pow.f64 x 2) (*.f64 2/45 (pow.f64 x 6))))
(+.f64 (pow.f64 x 2) (+.f64 (*.f64 -1/3 (pow.f64 x 4)) (*.f64 2/45 (pow.f64 x 6))))
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 -1/315 (pow.f64 x 8)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (pow.f64 x 2))))
(+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (+.f64 (pow.f64 x 2) (*.f64 2/45 (pow.f64 x 6))) (*.f64 -1/315 (pow.f64 x 8))))
(+.f64 (pow.f64 x 2) (+.f64 (*.f64 -1/3 (pow.f64 x 4)) (+.f64 (*.f64 2/45 (pow.f64 x 6)) (*.f64 -1/315 (pow.f64 x 8)))))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 (pow.f64 x 2) -1))
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 1/3 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 x 2) -1) (*.f64 (pow.f64 x 4) 1/3)))
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (*.f64 -2/45 (pow.f64 x 6)) (*.f64 1/3 (pow.f64 x 4)))))
(+.f64 1 (+.f64 (+.f64 (*.f64 (pow.f64 x 2) -1) (*.f64 (pow.f64 x 6) -2/45)) (*.f64 (pow.f64 x 4) 1/3)))
(+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/3) (+.f64 (*.f64 (pow.f64 x 2) -1) (*.f64 (pow.f64 x 6) -2/45))))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 (pow.f64 x 2) -1))
(+.f64 (*.f64 -2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -1 (pow.f64 x 2))))
(+.f64 (+.f64 1 (*.f64 (pow.f64 x 2) -1)) (*.f64 (pow.f64 x 4) -2/3))
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) -2/3) (*.f64 (pow.f64 x 2) -1)) 1)
(+.f64 1 (+.f64 (*.f64 (pow.f64 x 2) -1) (*.f64 (pow.f64 x 4) -2/3)))
(+.f64 (*.f64 -2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -17/45 (pow.f64 x 6)))))
(+.f64 (*.f64 (pow.f64 x 4) -2/3) (+.f64 1 (+.f64 (*.f64 (pow.f64 x 2) -1) (*.f64 (pow.f64 x 6) -17/45))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) -2/3) (+.f64 (*.f64 (pow.f64 x 2) -1) (*.f64 (pow.f64 x 6) -17/45))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 x 2) -1) (+.f64 (*.f64 (pow.f64 x 4) -2/3) (*.f64 (pow.f64 x 6) -17/45))))
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 1 (*.f64 (pow.f64 x 2) -2))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (+.f64 1 (*.f64 (pow.f64 x 2) -2)) (*.f64 (pow.f64 x 4) 2/3))
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (*.f64 (pow.f64 x 2) -2))
(+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 1 (*.f64 (pow.f64 x 4) 2/3)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6)))))
(+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
(+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 (*.f64 (pow.f64 x 2) -2) (*.f64 (pow.f64 x 6) -4/45))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(+.f64 (pow.f64 (sin.f64 x) 2) 0)
(+.f64 0 (pow.f64 (sin.f64 x) 2))
(+.f64 (pow.f64 (sin.f64 x) 2) 0)
(*.f64 (pow.f64 (sin.f64 x) 2) 1)
(*.f64 1 (pow.f64 (sin.f64 x) 2))
(*.f64 1 (pow.f64 (sin.f64 x) 2))
(+.f64 (pow.f64 (cos.f64 x) 2) 0)
(+.f64 0 (pow.f64 (cos.f64 x) 2))
(+.f64 (pow.f64 (cos.f64 x) 2) 0)
(*.f64 (pow.f64 (cos.f64 x) 2) 1)
(*.f64 1 (pow.f64 (cos.f64 x) 2))
(*.f64 1 (pow.f64 (cos.f64 x) 2))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 x) 2) -1))
(*.f64 1 (pow.f64 (cos.f64 x) 2))
(*.f64 (*.f64 (pow.f64 (cos.f64 x) 2) -1) -1)
(*.f64 1 (pow.f64 (cos.f64 x) 2))
(+.f64 1 (neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) 0)
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 0 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (neg.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) 1)
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(*.f64 1 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) 1)
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(*.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) -1)
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(*.f64 -1 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(neg.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) 0)
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(+.f64 0 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(-.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) 0)
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(-.f64 0 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 1 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) 1)
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (*.f64 -1 (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 -1 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) -1)
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (*.f64 (pow.f64 (cos.f64 x) 2) -1))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (*.f64 (pow.f64 (cos.f64 x) 2) -1) (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(*.f64 (*.f64 -1 (/.f64 (pow.f64 (cos.f64 x) 2) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(neg.f64 (/.f64 (+.f64 -1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))

localize8.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 -2 (pow.f64 x 2))
Compiler

Compiled 20 to 16 computations (20% saved)

series1.0ms (0%)

Counts
1 → 0
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 -2 (pow.f64 x 2))
0.0ms
x
@inf
(*.f64 -2 (pow.f64 x 2))
0.0ms
x
@-inf
(*.f64 -2 (pow.f64 x 2))

rewrite5.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
22×bool.json-1
16×rational.json-simplify-2
14×rational.json-1
14×rational.json-2
14×rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
13313
25513
36013
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 -2 (pow.f64 x 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -2 (pow.f64 x 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -2 (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 -2 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 2)))))))

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Rules
rational.json-simplify-2
rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01038
11138
Stop Event
saturated
Counts
2 → 2
Calls
Call 1
Inputs
(+.f64 (*.f64 -2 (pow.f64 x 2)) 0)
(+.f64 0 (*.f64 -2 (pow.f64 x 2)))
Outputs
(+.f64 (*.f64 -2 (pow.f64 x 2)) 0)
(+.f64 0 (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) 0)

localize17.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 -2 (pow.f64 x 2))
0.1b
(*.f64 2/3 (pow.f64 x 4))
13.2b
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
Compiler

Compiled 43 to 35 computations (18.6% saved)

series2.0ms (0.1%)

Counts
2 → 6
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(*.f64 2/3 (pow.f64 x 4))
0.0ms
x
@inf
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
0.0ms
x
@0
(*.f64 2/3 (pow.f64 x 4))
0.0ms
x
@0
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
0.0ms
x
@-inf
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))

rewrite6.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
40×bool.json-1
38×rational.json-simplify-1
30×rational.json-simplify-2
28×rational.json-1
28×rational.json-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01450
16550
29950
311550
411950
Stop Event
saturated
Counts
2 → 4
Calls
Call 1
Inputs
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(*.f64 2/3 (pow.f64 x 4))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2/3 (pow.f64 x 4)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2/3 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 2/3 (pow.f64 x 4)) (*.f64 2/3 (pow.f64 x 4)))))))

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
14×rational.json-simplify-1
rational.json-simplify-2
rational.json-simplify-33
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020232
126232
229232
331232
Stop Event
saturated
Counts
10 → 12
Calls
Call 1
Inputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(*.f64 1 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1)))
(*.f64 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 0)
(+.f64 0 (*.f64 2/3 (pow.f64 x 4)))
Outputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 1 (*.f64 -2 (pow.f64 x 2)))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(*.f64 1 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1)))
(*.f64 1 (+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4))))
(*.f64 1 (+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))))
(*.f64 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1)) 1)
(*.f64 1 (+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4))))
(*.f64 1 (+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 0)
(+.f64 0 (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 0)

localize16.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
0.1b
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.2b
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 39 to 20 computations (48.7% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
1.0ms
x
@inf
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.0ms
x
@0
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))

rewrite7.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
46×rational.json-simplify-2
44×bool.json-1
36×rational.json-1
36×rational.json-2
34×rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01239
15639
210339
313639
416739
517939
Stop Event
saturated
Counts
1 → 9
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x or (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))))

simplify39.0ms (1.3%)

Algorithm
egg-herbie
Rules
480×rational.json-simplify-31
346×rational.json-simplify-2
68×rational.json-simplify-1
42×rational.json-simplify-30
34×rational.json-simplify-33
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0511135
1801135
21221135
31611135
4215907
5276907
6378907
7469903
8578903
9622903
10623903
11623903
12709903
13711903
Stop Event
saturated
Counts
21 → 23
Calls
Call 1
Inputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 4/3 (pow.f64 x 4))))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 -17/45 (pow.f64 x 6)))))
(*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)
(+.f64 0 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(-.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)
(-.f64 0 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(*.f64 1 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(*.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 1)
(*.f64 -1 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(*.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) -1)
(neg.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
Outputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 1 (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 4/3 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 4/3 (pow.f64 x 4))))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 -17/45 (pow.f64 x 6)))))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 (+.f64 1 (*.f64 4/3 (pow.f64 x 4))) (*.f64 -17/45 (pow.f64 x 6))))
(*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (neg.f64 (pow.f64 x 2)) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (-.f64 1 (pow.f64 x 2)))
(*.f64 (-.f64 1 (pow.f64 x 2)) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (-.f64 1 (pow.f64 x 2)))
(*.f64 (-.f64 1 (pow.f64 x 2)) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (-.f64 1 (pow.f64 x 2)))
(*.f64 (-.f64 1 (pow.f64 x 2)) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(/.f64 (neg.f64 (pow.f64 x 2)) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (-.f64 1 (pow.f64 x 2)))
(*.f64 (-.f64 1 (pow.f64 x 2)) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (-.f64 1 (pow.f64 x 2)))
(*.f64 (-.f64 1 (pow.f64 x 2)) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(+.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (*.f64 -1 (/.f64 (pow.f64 x 2) (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(*.f64 (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (-.f64 1 (pow.f64 x 2)))
(*.f64 (-.f64 1 (pow.f64 x 2)) (/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))))
(+.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(+.f64 0 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(-.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(-.f64 0 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 1 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 1)
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 -1 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(*.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) -1)
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(neg.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))

localize26.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 2/3 (pow.f64 x 4))
0.2b
(*.f64 (pow.f64 x 6) -4/45)
13.2b
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2))
25.0b
(+.f64 (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))
Compiler

Compiled 70 to 57 computations (18.6% saved)

series2.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 (pow.f64 x 6) -4/45)
0.0ms
x
@inf
(+.f64 (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))
0.0ms
x
@inf
(*.f64 (pow.f64 x 6) -4/45)
0.0ms
x
@0
(+.f64 (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))
0.0ms
x
@inf
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2))

rewrite10.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
106×rational.json-simplify-1
82×bool.json-1
66×rational.json-1
66×rational.json-2
62×rational.json-simplify-33
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01999
18799
213199
316699
420699
525999
627099
Stop Event
saturated
Counts
3 → 6
Calls
Call 1
Inputs
(+.f64 (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2))
(*.f64 (pow.f64 x 6) -4/45)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 6) -4/45) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 6) -4/45) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 1 (+.f64 (*.f64 (pow.f64 x 6) -4/45) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))) (+.f64 1 (+.f64 (*.f64 (pow.f64 x 6) -4/45) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))))))))
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x 6) -4/45) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (pow.f64 x 6) -4/45))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 (pow.f64 x 6) -4/45) (*.f64 (pow.f64 x 6) -4/45))))))

simplify14.0ms (0.5%)

Algorithm
egg-herbie
Rules
58×rational.json-simplify-1
38×rational.json-simplify-33
10×rational.json-simplify-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0391116
1701116
2861116
3951116
Stop Event
saturated
Counts
42 → 25
Calls
Call 1
Inputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6)))))
(*.f64 -4/45 (pow.f64 x 6))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -4/45 (pow.f64 x 6)))))
(*.f64 -4/45 (pow.f64 x 6))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -4/45 (pow.f64 x 6)))))
(*.f64 -2 (pow.f64 x 2))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 1 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 6) -4/45) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))))
(*.f64 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 6) -4/45) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))) 1)
(*.f64 1 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))
(*.f64 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)) 1)
(+.f64 (*.f64 (pow.f64 x 6) -4/45) 0)
(+.f64 0 (*.f64 (pow.f64 x 6) -4/45))
Outputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 1 (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6)))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 -4/45 (pow.f64 x 6))))
(*.f64 -4/45 (pow.f64 x 6))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -4/45 (pow.f64 x 6)))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 -4/45 (pow.f64 x 6))))
(*.f64 -4/45 (pow.f64 x 6))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -4/45 (pow.f64 x 6)))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 -4/45 (pow.f64 x 6))))
(*.f64 -2 (pow.f64 x 2))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 -4/45 (pow.f64 x 6))
(*.f64 1 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 6) -4/45) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))))
(*.f64 1 (+.f64 1 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -4/45 (pow.f64 x 6))))))
(*.f64 1 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 -4/45 (pow.f64 x 6)))))
(*.f64 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 6) -4/45) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))) 1)
(*.f64 1 (+.f64 1 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 -4/45 (pow.f64 x 6))))))
(*.f64 1 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 -4/45 (pow.f64 x 6)))))
(*.f64 1 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))
(*.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4))))
(*.f64 (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)) 1)
(*.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4))))
(+.f64 (*.f64 (pow.f64 x 6) -4/45) 0)
(+.f64 (*.f64 -4/45 (pow.f64 x 6)) 0)
(+.f64 0 (*.f64 (pow.f64 x 6) -4/45))
(+.f64 (*.f64 -4/45 (pow.f64 x 6)) 0)

eval80.0ms (2.7%)

Compiler

Compiled 4247 to 3150 computations (25.8% saved)

prune33.0ms (1.1%)

Pruning

14 alts after pruning (10 fresh and 4 done)

PrunedKeptTotal
New1916197
Fresh145
Picked101
Done145
Total19414208
Error
0.2b
Counts
208 → 14
Alt Table
Click to see full alt table
StatusErrorProgram
30.1b
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 (pow.f64 x 2) 1))
0.4b
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
0.5b
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
30.4b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (pow.f64 x 2) 1))
0.5b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
0.4b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
28.0b
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
31.4b
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (*.f64 (pow.f64 x 2) -2))
31.4b
(+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
31.4b
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
31.3b
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
0.5b
(*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
62.9b
(*.f64 -4/45 (pow.f64 x 6))
28.2b
1
Compiler

Compiled 350 to 267 computations (23.7% saved)

localize25.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
0.2b
(pow.f64 (cos.f64 x) 2)
0.2b
(pow.f64 (sin.f64 x) 2)
0.2b
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 69 to 35 computations (49.3% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.f64 -4/45 (pow.f64 x 6))
Compiler

Compiled 12 to 9 computations (25% saved)

series0.0ms (0%)

Counts
1 → 0
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 -4/45 (pow.f64 x 6))
0.0ms
x
@inf
(*.f64 -4/45 (pow.f64 x 6))
0.0ms
x
@-inf
(*.f64 -4/45 (pow.f64 x 6))

rewrite5.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
22×bool.json-1
16×rational.json-simplify-2
14×rational.json-1
14×rational.json-2
14×rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
13313
25513
36013
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 -4/45 (pow.f64 x 6))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -4/45 (pow.f64 x 6)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -4/45 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 -4/45 (pow.f64 x 6)) (*.f64 -4/45 (pow.f64 x 6)))))))

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
rational.json-simplify-2
rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01038
11138
Stop Event
saturated
Counts
2 → 2
Calls
Call 1
Inputs
(+.f64 (*.f64 -4/45 (pow.f64 x 6)) 0)
(+.f64 0 (*.f64 -4/45 (pow.f64 x 6)))
Outputs
(+.f64 (*.f64 -4/45 (pow.f64 x 6)) 0)
(+.f64 0 (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 -4/45 (pow.f64 x 6)) 0)

localize11.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
16.4b
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 (pow.f64 x 2) 1))
Compiler

Compiled 28 to 22 computations (21.4% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 (pow.f64 x 2) 1))
0.0ms
x
@0
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 (pow.f64 x 2) 1))
0.0ms
x
@-inf
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 (pow.f64 x 2) 1))

rewrite10.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
42×rational.json-simplify-2
40×bool.json-1
32×rational.json-1
32×rational.json-2
30×rational.json-simplify-27
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0931
14531
28931
312431
415531
517331
Stop Event
saturated
Counts
1 → 9
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 (pow.f64 x 2) 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x or (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))))))

simplify33.0ms (1.1%)

Algorithm
egg-herbie
Rules
284×rational.json-simplify-27
260×rational.json-simplify-1
250×rational.json-simplify-29
220×rational.json-simplify-2
192×rational.json-simplify-31
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048687
194687
2165687
3280687
4466687
5821687
61171687
71339687
81386687
91420687
101432687
Stop Event
saturated
Counts
21 → 33
Calls
Call 1
Inputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 2 (pow.f64 x 4))))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 4)))))
-1
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) 1)
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
-1
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) 1)
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) 0)
(+.f64 0 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) 0)
(-.f64 0 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))
(*.f64 1 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))
(*.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) 1)
(*.f64 -1 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))
(*.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) -1)
(neg.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))
Outputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 1 (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 4))))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 4)))))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 6))) (*.f64 2 (pow.f64 x 4))))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 (*.f64 2 (pow.f64 x 4)) (+.f64 1 (*.f64 -2 (pow.f64 x 6)))))
-1
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) 1)
(+.f64 -1 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (-.f64 -1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(+.f64 -1 (-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(+.f64 -1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 (/.f64 1 (pow.f64 x 4)) -2)))
(+.f64 -1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 -2 (/.f64 1 (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 6)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(+.f64 -1 (-.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 6)))) (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(+.f64 -1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 4))))))
(-.f64 (*.f64 (/.f64 1 (pow.f64 x 4)) -2) (-.f64 (-.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 2 (/.f64 1 (pow.f64 x 6)))))
(+.f64 -1 (-.f64 (*.f64 -2 (/.f64 1 (pow.f64 x 4))) (-.f64 (*.f64 (/.f64 1 (pow.f64 x 6)) -2) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (-.f64 (*.f64 -2 (/.f64 1 (pow.f64 x 4))) (-.f64 (*.f64 -2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
-1
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) 1)
(+.f64 -1 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (-.f64 -1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(+.f64 -1 (-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(+.f64 -1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 (/.f64 1 (pow.f64 x 4)) -2)))
(+.f64 -1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 -2 (/.f64 1 (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 6)))) (+.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(+.f64 -1 (-.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 6)))) (*.f64 2 (/.f64 1 (pow.f64 x 4)))))
(+.f64 -1 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 4))))))
(-.f64 (*.f64 (/.f64 1 (pow.f64 x 4)) -2) (-.f64 (-.f64 1 (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 2 (/.f64 1 (pow.f64 x 6)))))
(+.f64 -1 (-.f64 (*.f64 -2 (/.f64 1 (pow.f64 x 4))) (-.f64 (*.f64 (/.f64 1 (pow.f64 x 6)) -2) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (-.f64 (*.f64 -2 (/.f64 1 (pow.f64 x 4))) (-.f64 (*.f64 -2 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) 0)
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2)))
(+.f64 0 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2)))
(-.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) 0)
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2)))
(-.f64 0 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2)))
(*.f64 1 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2)))
(*.f64 (/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) 1)
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2)))
(*.f64 -1 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2)))
(*.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))) -1)
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2)))
(neg.f64 (/.f64 (+.f64 -1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 2)))

localize16.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
0.2b
(*.f64 (tan.f64 x) (tan.f64 x))
0.3b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (pow.f64 x 2) 1))
Compiler

Compiled 39 to 20 computations (48.7% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (pow.f64 x 2) 1))
0.0ms
x
@-inf
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (pow.f64 x 2) 1))
0.0ms
x
@0
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (pow.f64 x 2) 1))

rewrite9.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
54×rational.json-simplify-2
48×bool.json-1
40×rational.json-1
40×rational.json-2
36×rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01239
15639
210339
313639
416939
518839
619239
719939
Stop Event
saturated
Counts
1 → 9
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (pow.f64 x 2) 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x or (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))))))

simplify74.0ms (2.6%)

Algorithm
egg-herbie
Rules
2738×rational.json-simplify-41
2622×rational.json-simplify-40
1962×rational.json-simplify-27
1558×rational.json-simplify-1
1028×rational.json-simplify-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0761639
11461639
23111639
38761639
431191639
540551639
644771639
747781639
848691639
948691639
Stop Event
node limit
Counts
21 → 33
Calls
Call 1
Inputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 4/3 (pow.f64 x 4))))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 -77/45 (pow.f64 x 6)))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 x 2))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2)))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 6))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8))) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 6))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2))) (/.f64 1 (pow.f64 x 8))))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 x 2))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2)))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 6))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8))) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 6))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2))) (/.f64 1 (pow.f64 x 8))))))
(+.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) 0)
(+.f64 0 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) 0)
(-.f64 0 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))
(*.f64 1 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))
(*.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) 1)
(*.f64 -1 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))
(*.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) -1)
(neg.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))
Outputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 1 (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 4/3 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 4/3 (pow.f64 x 4))))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 -77/45 (pow.f64 x 6)))))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 (+.f64 1 (*.f64 4/3 (pow.f64 x 4))) (*.f64 -77/45 (pow.f64 x 6))))
(+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 -77/45 (pow.f64 x 6)))))
(+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 -77/45 (pow.f64 x 6))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 x 2))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2)))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2)))))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (-.f64 (-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2)))) (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 6))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (-.f64 (-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2)))))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (-.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2)))) (-.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 6))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8))) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 6))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2))) (/.f64 1 (pow.f64 x 8))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8))))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (/.f64 1 (pow.f64 x 8))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8)))))) (+.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (/.f64 1 (pow.f64 x 8))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8)))))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))) (/.f64 1 (pow.f64 x 8))))))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (-.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))) (/.f64 1 (pow.f64 x 8)))))) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8))))))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 6)) (-.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8))) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2)))) (-.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2)))))))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 x 2))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2)))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2)))))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (-.f64 (-.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2)))) (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 6))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))))))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (-.f64 (-.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2)))))
(+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (-.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2)))) (-.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 6))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 4))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8))) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 6))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 2))) (/.f64 1 (pow.f64 x 8))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (+.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8))))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (/.f64 1 (pow.f64 x 8))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8)))))) (+.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (/.f64 1 (pow.f64 x 8))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))))))
(-.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8)))))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))) (/.f64 1 (pow.f64 x 8))))))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (-.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2))) (/.f64 1 (pow.f64 x 8)))))) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8))))))
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 6)) (-.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 (cos.f64 x) 2) (pow.f64 x 8))) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 2) (pow.f64 (cos.f64 x) 2))) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 6) (pow.f64 (cos.f64 x) 2)))) (-.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (pow.f64 x 4) (pow.f64 (cos.f64 x) 2)))))))))
(+.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) 0)
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2)))
(+.f64 0 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2)))
(-.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) 0)
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2)))
(-.f64 0 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2)))
(*.f64 1 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2)))
(*.f64 (/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) 1)
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2)))
(*.f64 -1 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2)))
(*.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))) -1)
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2)))
(neg.f64 (/.f64 (+.f64 -1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2))))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (pow.f64 x 2)))

localize26.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
0.2b
(pow.f64 (cos.f64 x) 2)
0.2b
(pow.f64 (sin.f64 x) 2)
0.2b
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 69 to 35 computations (49.3% saved)

eval96.0ms (3.3%)

Compiler

Compiled 5456 to 3796 computations (30.4% saved)

prune39.0ms (1.3%)

Pruning

14 alts after pruning (8 fresh and 6 done)

PrunedKeptTotal
New2303233
Fresh055
Picked011
Done358
Total23314247
Error
0.2b
Counts
247 → 14
Alt Table
Click to see full alt table
StatusErrorProgram
0.4b
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
0.5b
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.5b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
0.4b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
28.0b
(/.f64 1 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
28.0b
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
59.6b
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) 1)
31.4b
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (*.f64 (pow.f64 x 2) -2))
31.4b
(+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
31.4b
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
31.3b
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
0.5b
(*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
28.2b
1
59.9b
-1
Compiler

Compiled 296 to 231 computations (22% saved)

localize29.0ms (1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
0.2b
(*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
0.2b
(pow.f64 (cos.f64 x) 2)
0.2b
(pow.f64 (sin.f64 x) 2)
Compiler

Compiled 92 to 55 computations (40.2% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
1.0ms
x
@-inf
(*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
0.0ms
x
@0
(*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))

rewrite11.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
84×rational.json-simplify-2
64×bool.json-1
56×rational.json-1
56×rational.json-2
46×rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01581
16981
212281
315581
418881
520981
622681
724281
826581
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)))))))

simplify22.0ms (0.8%)

Algorithm
egg-herbie
Rules
124×rational.json-simplify-31
106×rational.json-simplify-2
60×rational.json-simplify-1
36×rational.json-simplify-33
22×rational.json-simplify-9
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
036934
155934
278934
3105934
4132934
5158934
6195934
7247934
8264934
9266934
Stop Event
saturated
Counts
14 → 13
Calls
Call 1
Inputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6)))))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) 0)
(+.f64 0 (*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)))
Outputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 1 (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6)))))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6)))))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(/.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))
(+.f64 (*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)) 0)
(+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) 0)
(+.f64 0 (*.f64 (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (pow.f64 (cos.f64 x) 2)))
(+.f64 (*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) 0)

localize11.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (/.f64 1 (pow.f64 x 2)))
0.3b
(/.f64 1 (pow.f64 x 2))
Compiler

Compiled 28 to 23 computations (17.9% saved)

series1.0ms (0%)

Counts
2 → 12
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 2 (/.f64 1 (pow.f64 x 2)))
0.0ms
x
@inf
(*.f64 2 (/.f64 1 (pow.f64 x 2)))
0.0ms
x
@0
(/.f64 1 (pow.f64 x 2))
0.0ms
x
@inf
(/.f64 1 (pow.f64 x 2))
0.0ms
x
@-inf
(/.f64 1 (pow.f64 x 2))

rewrite5.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
22×bool.json-1
18×rational.json-simplify-2
16×rational.json-1
16×rational.json-2
16×rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0832
13632
25732
36232
Stop Event
saturated
Counts
2 → 6
Calls
Call 1
Inputs
(/.f64 1 (pow.f64 x 2))
(*.f64 2 (/.f64 1 (pow.f64 x 2)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 (pow.f64 x 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1 (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2 (/.f64 1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))))

simplify9.0ms (0.3%)

Algorithm
egg-herbie
Rules
rational.json-simplify-2
rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
016282
117282
Stop Event
saturated
Counts
18 → 7
Calls
Call 1
Inputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(+.f64 (/.f64 1 (pow.f64 x 2)) 0)
(+.f64 0 (/.f64 1 (pow.f64 x 2)))
(*.f64 1 (/.f64 1 (pow.f64 x 2)))
(*.f64 (/.f64 1 (pow.f64 x 2)) 1)
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) 0)
(+.f64 0 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
Outputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(+.f64 (/.f64 1 (pow.f64 x 2)) 0)
(+.f64 0 (/.f64 1 (pow.f64 x 2)))
(+.f64 (/.f64 1 (pow.f64 x 2)) 0)
(*.f64 1 (/.f64 1 (pow.f64 x 2)))
(*.f64 (/.f64 1 (pow.f64 x 2)) 1)
(*.f64 1 (/.f64 1 (pow.f64 x 2)))
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) 0)
(+.f64 0 (*.f64 2 (/.f64 1 (pow.f64 x 2))))
(+.f64 0 (*.f64 2 (/.f64 1 (pow.f64 x 2))))

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
0.2b
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.2b
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 26 to 10 computations (61.5% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.0ms
x
@-inf
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.0ms
x
@0
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))

rewrite5.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
24×bool.json-1
22×rational.json-simplify-1
20×rational.json-1
20×rational.json-2
20×rational.json-simplify-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0927
14027
26527
37027
Stop Event
saturated
Counts
1 → 4
Calls
Call 1
Inputs
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))))))

simplify12.0ms (0.4%)

Algorithm
egg-herbie
Rules
60×rational.json-simplify-1
30×rational.json-simplify-33
24×rational.json-simplify-2
12×rational.json-simplify-37
rational.json-simplify-36
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039556
156556
277556
396556
4111556
5120556
6128556
Stop Event
saturated
Counts
16 → 11
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 1/3 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (*.f64 -2/45 (pow.f64 x 6)) (*.f64 1/3 (pow.f64 x 4)))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(+.f64 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)
(+.f64 0 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(*.f64 1 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(*.f64 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 1)
Outputs
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 1/3 (pow.f64 x 4))))
(+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 1 (*.f64 1/3 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (*.f64 -2/45 (pow.f64 x 6)) (*.f64 1/3 (pow.f64 x 4)))))
(+.f64 1 (+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 4)) (*.f64 -2/45 (pow.f64 x 6)))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(/.f64 1 (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
(+.f64 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)
(+.f64 0 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(+.f64 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 0)
(*.f64 1 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))
(*.f64 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) 1)
(*.f64 1 (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))))

localize18.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (pow.f64 x 4) 2/3) 1)
0.0b
(*.f64 (pow.f64 x 2) -2)
0.1b
(*.f64 (pow.f64 x 4) 2/3)
13.2b
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (*.f64 (pow.f64 x 2) -2))
Compiler

Compiled 43 to 35 computations (18.6% saved)

series1.0ms (0%)

Counts
4 → 48
Calls

12 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(+.f64 (*.f64 (pow.f64 x 4) 2/3) 1)
0.0ms
x
@inf
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (*.f64 (pow.f64 x 2) -2))
0.0ms
x
@0
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (*.f64 (pow.f64 x 2) -2))
0.0ms
x
@-inf
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (*.f64 (pow.f64 x 2) -2))
0.0ms
x
@0
(+.f64 (*.f64 (pow.f64 x 4) 2/3) 1)

rewrite7.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
42×bool.json-1
38×rational.json-simplify-1
30×rational.json-1
30×rational.json-2
30×rational.json-simplify-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01482
16382
29482
311582
412382
Stop Event
saturated
Counts
4 → 8
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (*.f64 (pow.f64 x 2) -2))
(*.f64 (pow.f64 x 4) 2/3)
(*.f64 (pow.f64 x 2) -2)
(+.f64 (*.f64 (pow.f64 x 4) 2/3) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 2) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 2) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 2) -2))) (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 2) -2))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x 4) 2/3) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (pow.f64 x 4) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 (pow.f64 x 4) 2/3) (*.f64 (pow.f64 x 4) 2/3))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x 2) -2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (pow.f64 x 2) -2))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 (pow.f64 x 2) -2) (*.f64 (pow.f64 x 2) -2))))))
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1))))))

simplify11.0ms (0.4%)

Algorithm
egg-herbie
Rules
22×rational.json-simplify-1
rational.json-simplify-2
rational.json-simplify-33
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0301052
1451052
2471052
Stop Event
saturated
Counts
56 → 25
Calls
Call 1
Inputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
1
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(*.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 2) -2))))
(*.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 2) -2))) 1)
(+.f64 (*.f64 (pow.f64 x 4) 2/3) 0)
(+.f64 0 (*.f64 (pow.f64 x 4) 2/3))
(+.f64 (*.f64 (pow.f64 x 2) -2) 0)
(+.f64 0 (*.f64 (pow.f64 x 2) -2))
(*.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1))
(*.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) 1)
Outputs
1
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(+.f64 1 (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4))))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4))))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4)))
(+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4))))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 2/3 (pow.f64 x 4))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 2))
1
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 1 (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 1 (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 1 (*.f64 2/3 (pow.f64 x 4)))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 1 (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 1 (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 1 (*.f64 2/3 (pow.f64 x 4)))
(*.f64 2/3 (pow.f64 x 4))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 1 (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 1 (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 1 (*.f64 2/3 (pow.f64 x 4)))
(*.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 2) -2))))
(*.f64 1 (+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4))))
(*.f64 1 (+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))))
(*.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 2) -2))) 1)
(*.f64 1 (+.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 2))) (*.f64 2/3 (pow.f64 x 4))))
(*.f64 1 (+.f64 1 (+.f64 (*.f64 -2 (pow.f64 x 2)) (*.f64 2/3 (pow.f64 x 4)))))
(+.f64 (*.f64 (pow.f64 x 4) 2/3) 0)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 0)
(+.f64 0 (*.f64 (pow.f64 x 4) 2/3))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 0)
(+.f64 (*.f64 (pow.f64 x 2) -2) 0)
(+.f64 (*.f64 -2 (pow.f64 x 2)) 0)
(+.f64 0 (*.f64 (pow.f64 x 2) -2))
(+.f64 (*.f64 -2 (pow.f64 x 2)) 0)
(*.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1))
(*.f64 1 (+.f64 1 (*.f64 2/3 (pow.f64 x 4))))
(*.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) 1)
(*.f64 1 (+.f64 1 (*.f64 2/3 (pow.f64 x 4))))

localize28.0ms (1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (pow.f64 x 2) -2)
0.1b
(*.f64 (pow.f64 x 4) 2/3)
0.2b
(*.f64 (pow.f64 x 6) -4/45)
25.0b
(+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)))
Compiler

Compiled 72 to 59 computations (18.1% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)))
0.0ms
x
@0
(+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)))
0.0ms
x
@-inf
(+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)))

rewrite6.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
40×bool.json-1
38×rational.json-simplify-1
30×rational.json-simplify-2
28×rational.json-1
28×rational.json-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01437
16537
29937
311537
411937
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))) (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))))))

simplify8.0ms (0.3%)

Algorithm
egg-herbie
Rules
16×rational.json-simplify-1
rational.json-simplify-2
rational.json-simplify-33
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022416
129416
231416
332416
Stop Event
saturated
Counts
14 → 10
Calls
Call 1
Inputs
1
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(*.f64 -4/45 (pow.f64 x 6))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(*.f64 -4/45 (pow.f64 x 6))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(*.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
(*.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))) 1)
Outputs
1
(+.f64 (*.f64 2/3 (pow.f64 x 4)) 1)
(+.f64 1 (*.f64 2/3 (pow.f64 x 4)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (+.f64 1 (*.f64 2/3 (pow.f64 x 4))) (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (+.f64 1 (*.f64 2/3 (pow.f64 x 4))) (*.f64 -4/45 (pow.f64 x 6)))
(*.f64 -4/45 (pow.f64 x 6))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (+.f64 1 (*.f64 2/3 (pow.f64 x 4))) (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (+.f64 1 (*.f64 2/3 (pow.f64 x 4))) (*.f64 -4/45 (pow.f64 x 6)))
(*.f64 -4/45 (pow.f64 x 6))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (+.f64 1 (*.f64 2/3 (pow.f64 x 4))) (*.f64 -4/45 (pow.f64 x 6)))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 1 (*.f64 -4/45 (pow.f64 x 6))))
(+.f64 (+.f64 1 (*.f64 2/3 (pow.f64 x 4))) (*.f64 -4/45 (pow.f64 x 6)))
(*.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
(*.f64 1 (+.f64 (+.f64 1 (*.f64 2/3 (pow.f64 x 4))) (*.f64 -4/45 (pow.f64 x 6))))
(*.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))) 1)
(*.f64 1 (+.f64 (+.f64 1 (*.f64 2/3 (pow.f64 x 4))) (*.f64 -4/45 (pow.f64 x 6))))

eval77.0ms (2.7%)

Compiler

Compiled 4309 to 3138 computations (27.2% saved)

prune30.0ms (1%)

Pruning

14 alts after pruning (4 fresh and 10 done)

PrunedKeptTotal
New1921193
Fresh033
Picked011
Done1910
Total19314207
Error
0.2b
Counts
207 → 14
Alt Table
Click to see full alt table
StatusErrorProgram
0.4b
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
0.5b
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.5b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
0.4b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
28.0b
(/.f64 1 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
28.0b
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
59.6b
(-.f64 (/.f64 2 (pow.f64 x 2)) 1)
31.4b
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (*.f64 (pow.f64 x 2) -2))
31.4b
(+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
31.4b
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
31.3b
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
0.5b
(*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
28.2b
1
59.9b
-1
Compiler

Compiled 199 to 153 computations (23.1% saved)

regimes43.0ms (1.5%)

Counts
21 → 1
Calls
Call 1
Inputs
-1
1
(*.f64 -4/45 (pow.f64 x 6))
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(-.f64 (/.f64 2 (pow.f64 x 2)) 1)
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) 1)
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 (pow.f64 x 2) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (*.f64 (pow.f64 x 2) -2))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (pow.f64 x 2) 1))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
(+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
(+.f64 (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))
(/.f64 1 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
(*.f64 (pow.f64 (cos.f64 x) 2) (/.f64 (-.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (+.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
Outputs
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
Calls

4 calls:

11.0ms
(tan.f64 x)
10.0ms
x
9.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
7.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
Results
ErrorSegmentsBranch
0.4b1x
0.4b1(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
0.4b1(*.f64 (tan.f64 x) (tan.f64 x))
0.4b1(tan.f64 x)
Compiler

Compiled 302 to 207 computations (31.5% saved)

regimes49.0ms (1.7%)

Counts
16 → 2
Calls
Call 1
Inputs
-1
1
(*.f64 -4/45 (pow.f64 x 6))
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(-.f64 (/.f64 2 (pow.f64 x 2)) 1)
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) 1)
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 (pow.f64 x 2) 1))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 2)) 1))
(+.f64 (+.f64 (*.f64 (pow.f64 x 4) 2/3) 1) (*.f64 (pow.f64 x 2) -2))
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 (pow.f64 x 2) 1))
(/.f64 (-.f64 1 (pow.f64 x 2)) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
(+.f64 (*.f64 (pow.f64 x 2) -2) (+.f64 (*.f64 (pow.f64 x 4) 2/3) (+.f64 1 (*.f64 (pow.f64 x 6) -4/45))))
(+.f64 (+.f64 1 (*.f64 (pow.f64 x 6) -4/45)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (*.f64 (pow.f64 x 2) -2)))
(/.f64 1 (+.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) 1))
Outputs
(/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(-.f64 (/.f64 2 (pow.f64 x 2)) 1)
Calls

3 calls:

23.0ms
(tan.f64 x)
13.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
8.0ms
x
Results
ErrorSegmentsBranch
28.0b1x
24.9b2(*.f64 (tan.f64 x) (tan.f64 x))
24.9b3(tan.f64 x)
Compiler

Compiled 184 to 143 computations (22.3% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.982155574147278
1.029208662071814
Compiler

Compiled 16 to 11 computations (31.3% saved)

regimes7.0ms (0.2%)

Accuracy

Total -35.5b remaining (-126%)

Threshold costs -35.5b (-126%)

Counts
6 → 1
Calls
Call 1
Inputs
-1
1
(*.f64 -4/45 (pow.f64 x 6))
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1)
(-.f64 (/.f64 2 (pow.f64 x 2)) 1)
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) 1)
Outputs
1
Calls

1 calls:

5.0ms
x
Results
ErrorSegmentsBranch
28.2b1x
Compiler

Compiled 33 to 28 computations (15.2% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021118
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(if (<=.f64 (*.f64 (tan.f64 x) (tan.f64 x)) 1) (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (-.f64 (/.f64 2 (pow.f64 x 2)) 1))
1
-1
Outputs
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
(if (<=.f64 (*.f64 (tan.f64 x) (tan.f64 x)) 1) (/.f64 1 (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))) (-.f64 (/.f64 2 (pow.f64 x 2)) 1))
1
-1
Compiler

Compiled 45 to 28 computations (37.8% saved)

soundness0.0ms (0%)

end27.0ms (0.9%)

Compiler

Compiled 42 to 23 computations (45.2% saved)

Profiling

Loading profile data...