Details

Time bar (total: 15.0s)

analyze5.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
0%50%50%2
37.5%12.5%50%3
43.7%6.2%50%4
46.8%3.1%50%5
48.4%1.6%50%6
49.2%0.8%50%7
49.6%0.4%50%8
49.8%0.2%50%9
49.9%0.1%50%10
49.9%0%50%11
49.9%0%50%12
Compiler

Compiled 15 to 10 computations (33.3% saved)

sample13.3s (89.1%)

Results
10.5s4318×body2048valid
1.9s2085×body1024valid
550.0ms1026×body512valid
205.0ms509×body256valid
101.0ms281×body128valid
5.0ms37×body64valid

preprocess40.0ms (0.3%)

Algorithm
egg-herbie
Rules
577×fma-def_binary64
278×fma-neg_binary64
235×times-frac_binary64
176×div-sub_binary64
119×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
11111
21811
32911
45611
58611
615011
723811
838011
971411
10162811
11224911
12288211
13294511
14298311
15299311
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
Outputs
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
Compiler

Compiled 8 to 5 computations (37.5% saved)

simplify32.0ms (0.2%)

Algorithm
egg-herbie
Rules
577×fma-def_binary64
278×fma-neg_binary64
235×times-frac_binary64
176×div-sub_binary64
119×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
11111
21811
32911
45611
58611
615011
723811
838011
971411
10162811
11224911
12288211
13294511
14298311
15299311
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
Outputs
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
30.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
30.2b
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
Compiler

Compiled 24 to 15 computations (37.5% saved)

localize4.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
2.1b
(-.f64 x (sin.f64 x))

series15.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
10.0ms
x
@0
(-.f64 x (sin.f64 x))
1.0ms
x
@-inf
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
1.0ms
x
@inf
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
1.0ms
x
@0
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
1.0ms
x
@inf
(-.f64 x (sin.f64 x))

rewrite53.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
924×pow1_binary64
864×add-log-exp_binary64
864×log1p-expm1-u_binary64
864×expm1-log1p-u_binary64
845×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0617
114017
2218417
Stop Event
node limit
Counts
2 → 69
Calls
Call 1
Inputs
(-.f64 x (sin.f64 x))
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (neg.f64 (sin.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (sin.f64 x)) (fma.f64 (neg.f64 (sin.f64 x)) 1 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (sin.f64 x)) (fma.f64 (neg.f64 (cbrt.f64 (sin.f64 x))) (pow.f64 (cbrt.f64 (sin.f64 x)) 2) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (sin.f64 x)) (fma.f64 (neg.f64 (sqrt.f64 (sin.f64 x))) (sqrt.f64 (sin.f64 x)) (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (sin.f64 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (sin.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (cbrt.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (sqrt.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3)) (/.f64 1 (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (/.f64 1 (+.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 x) (sqrt.f64 (sin.f64 x))) (-.f64 (sqrt.f64 x) (sqrt.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x)))) (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (sin.f64 x)) (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3)) (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (+.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3))) (neg.f64 (fma.f64 x x (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2))) (neg.f64 (+.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (neg.f64 (sin.f64 x)) 3)) (+.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 (sin.f64 x)) (neg.f64 (sin.f64 x))) (*.f64 x (neg.f64 (sin.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (neg.f64 (sin.f64 x)) (neg.f64 (sin.f64 x)))) (-.f64 x (neg.f64 (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 x (sin.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x (sin.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 x (sin.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 x (sin.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (neg.f64 (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 x (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 x (sin.f64 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 x (tan.f64 x)) (neg.f64 (/.f64 (sin.f64 x) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 x (tan.f64 x)) (/.f64 (sin.f64 x) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (sin.f64 x)) (/.f64 1 (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 2) (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (*.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (*.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (/.f64 1 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (-.f64 x (sin.f64 x))) (/.f64 1 (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (tan.f64 x)) (-.f64 x (sin.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (-.f64 x (sin.f64 x)) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (tan.f64 x))) (/.f64 (-.f64 x (sin.f64 x)) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) 1) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) 1) (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (tan.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (pow.f64 (cbrt.f64 (tan.f64 x)) 2)) (/.f64 (sqrt.f64 (-.f64 x (sin.f64 x))) (cbrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) 2) (sqrt.f64 (tan.f64 x))) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (sqrt.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 x (sin.f64 x)) (sin.f64 x)) (cos.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (tan.f64 x) (-.f64 x (sin.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (-.f64 x (sin.f64 x)) (neg.f64 (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 x (sin.f64 x)) 3) (pow.f64 (tan.f64 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))))))))

simplify63.0ms (0.4%)

Algorithm
egg-herbie
Rules
740×distribute-lft-out_binary64
685×distribute-rgt-out_binary64
663×fma-def_binary64
620×associate-*l*_binary64
446×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
052314
1132296
2302296
3878284
43493284
56253284
67137284
Stop Event
node limit
Counts
93 → 91
Calls
Call 1
Inputs
(*.f64 1/6 (pow.f64 x 3))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5)))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5))))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 -1/362880 (pow.f64 x 9)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5)))))
x
(+.f64 (*.f64 -1 (sin.f64 x)) x)
(+.f64 (*.f64 -1 (sin.f64 x)) x)
(+.f64 (*.f64 -1 (sin.f64 x)) x)
x
(+.f64 (*.f64 -1 (sin.f64 x)) x)
(+.f64 (*.f64 -1 (sin.f64 x)) x)
(+.f64 (*.f64 -1 (sin.f64 x)) x)
(*.f64 1/6 (pow.f64 x 2))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4)))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))))
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
Outputs
(*.f64 1/6 (pow.f64 x 3))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (*.f64 -1/120 (pow.f64 x 5)))
(fma.f64 1/6 (pow.f64 x 3) (*.f64 -1/120 (pow.f64 x 5)))
(fma.f64 -1/120 (pow.f64 x 5) (*.f64 1/6 (pow.f64 x 3)))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5))))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/120 (pow.f64 x 5))))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7))))
(fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/6 (pow.f64 x 3) (*.f64 1/5040 (pow.f64 x 7))))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 -1/362880 (pow.f64 x 9)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (*.f64 -1/120 (pow.f64 x 5)))))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/362880 (pow.f64 x 9) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/120 (pow.f64 x 5)))))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/362880 (pow.f64 x 9) (fma.f64 -1/120 (pow.f64 x 5) (*.f64 1/5040 (pow.f64 x 7)))))
(fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9)))))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9)))))
x
(+.f64 (*.f64 -1 (sin.f64 x)) x)
(fma.f64 -1 (sin.f64 x) x)
(-.f64 x (sin.f64 x))
(+.f64 (*.f64 -1 (sin.f64 x)) x)
(fma.f64 -1 (sin.f64 x) x)
(-.f64 x (sin.f64 x))
(+.f64 (*.f64 -1 (sin.f64 x)) x)
(fma.f64 -1 (sin.f64 x) x)
(-.f64 x (sin.f64 x))
x
(+.f64 (*.f64 -1 (sin.f64 x)) x)
(fma.f64 -1 (sin.f64 x) x)
(-.f64 x (sin.f64 x))
(+.f64 (*.f64 -1 (sin.f64 x)) x)
(fma.f64 -1 (sin.f64 x) x)
(-.f64 x (sin.f64 x))
(+.f64 (*.f64 -1 (sin.f64 x)) x)
(fma.f64 -1 (sin.f64 x) x)
(-.f64 x (sin.f64 x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 -23/360 (pow.f64 x 4)))
(fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
(fma.f64 1/6 (*.f64 x x) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4))))
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))))
(fma.f64 -11/15120 (pow.f64 x 6) (fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4))))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -23/360 1/6) (*.f64 -11/15120 (pow.f64 x 6)))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -143/604800 (pow.f64 x 8)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 x x) (fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 x x) (fma.f64 -23/360 (pow.f64 x 4) (fma.f64 -143/604800 (pow.f64 x 8) (*.f64 -11/15120 (pow.f64 x 6)))))
(fma.f64 -143/604800 (pow.f64 x 8) (fma.f64 -11/15120 (pow.f64 x 6) (fma.f64 1/6 (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4)))))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -23/360) 1/6) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -143/604800 (pow.f64 x 8))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -143/604800 -23/360) (fma.f64 1/6 (*.f64 x x) (*.f64 -11/15120 (pow.f64 x 6))))
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x))
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x))
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)
(/.f64 x (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 (cos.f64 x) (/.f64 x (sin.f64 x)))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x)))
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x))
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x))
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1))
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x))))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x)))
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x))
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x))
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1))
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x))))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x)))
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x))
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x))
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1))
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x))))
(/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x))
(/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x))
(*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x)
(/.f64 x (/.f64 (sin.f64 x) (cos.f64 x)))
(*.f64 x (/.f64 (cos.f64 x) (sin.f64 x)))
(*.f64 (cos.f64 x) (/.f64 x (sin.f64 x)))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x)))
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x))
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x))
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1))
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x))))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x)))
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x))
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x))
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1))
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x))))
(+.f64 (/.f64 (*.f64 (cos.f64 x) x) (sin.f64 x)) (*.f64 -1 (cos.f64 x)))
(+.f64 (/.f64 (*.f64 x (cos.f64 x)) (sin.f64 x)) (neg.f64 (cos.f64 x)))
(-.f64 (*.f64 (/.f64 (cos.f64 x) (sin.f64 x)) x) (cos.f64 x))
(-.f64 (/.f64 x (/.f64 (sin.f64 x) (cos.f64 x))) (cos.f64 x))
(*.f64 (cos.f64 x) (+.f64 (/.f64 x (sin.f64 x)) -1))
(*.f64 (cos.f64 x) (+.f64 -1 (/.f64 x (sin.f64 x))))

prune116.0ms (0.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New87491
Fresh000
Picked101
Done000
Total88492
Error
0.1b
Counts
92 → 4
Alt Table
StatusErrorProgram
0.4b
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
0.5b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))
10.0b
(/.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) (tan.f64 x))
30.2b
(pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3)
Compiler

Compiled 1346 to 571 computations (57.6% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))
0.1b
(*.f64 -11/15120 (pow.f64 x 6))
0.2b
(*.f64 -23/360 (pow.f64 x 4))
0.2b
(*.f64 1/6 (pow.f64 x 2))

series6.0ms (0%)

Counts
4 → 3
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 -23/360 (pow.f64 x 4))
1.0ms
x
@0
(*.f64 -11/15120 (pow.f64 x 6))
1.0ms
x
@inf
(+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))
1.0ms
x
@0
(*.f64 1/6 (pow.f64 x 2))
1.0ms
x
@inf
(*.f64 1/6 (pow.f64 x 2))

rewrite60.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
575×log-prod_binary64
348×pow2_binary64
334×pow-prod-down_binary64
320×fma-def_binary64
239×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01535
132535
2359535
Stop Event
node limit
Counts
4 → 111
Calls
Call 1
Inputs
(*.f64 1/6 (pow.f64 x 2))
(*.f64 -23/360 (pow.f64 x 4))
(*.f64 -11/15120 (pow.f64 x 6))
(+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 1/36) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/6 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/6 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 x x))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -23/360 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -23/360 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 8) 529/129600) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -23/360 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -23/360)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 12) -12167/46656000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 8) 529/129600))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 12) -12167/46656000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -23/360 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 4 (log.f64 x) (log.f64 -23/360)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 4 (log.f64 x) (log.f64 -23/360)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -11/15120 (pow.f64 x 6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -11/15120 (pow.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 12) 121/228614400) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (cbrt.f64 -11/15120)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -11/15120) (pow.f64 x 3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1331/3456649728000 (pow.f64 x 18)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 12) 121/228614400))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 -1331/3456649728000 (pow.f64 x 18)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -11/15120 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -11/15120 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -11/15120 (pow.f64 x 6))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 12) 121/228614400) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4)))) (/.f64 (*.f64 (pow.f64 x 8) 529/129600) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) (pow.f64 (cbrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) 2) (cbrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) (sqrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18))) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 12) 121/228614400 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (pow.f64 x 8) 529/129600)) (/.f64 1 (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 x 12) 121/228614400 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6)))) (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (pow.f64 x 8) 529/129600))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18))) (-.f64 (fma.f64 (pow.f64 x 12) 121/228614400 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18))) (fma.f64 (pow.f64 x 8) 529/129600 (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (pow.f64 x 8) 529/129600)) (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18)))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 12) 121/228614400 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (pow.f64 x 8) 529/129600))) (neg.f64 (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 8) 529/129600 (neg.f64 (*.f64 (pow.f64 x 12) 121/228614400))) (-.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 x 12) 121/228614400 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6)))) (fma.f64 (pow.f64 x 12) -12167/46656000 (*.f64 -1331/3456649728000 (pow.f64 x 18)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -11/15120 (pow.f64 x 6) (*.f64 23/360 (pow.f64 x 4))) (-.f64 (*.f64 (pow.f64 x 12) 121/228614400) (*.f64 (pow.f64 x 8) 529/129600))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4)))) (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 -23/360) (pow.f64 x 4)) (+.f64 1 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4)))) (+.f64 1 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6)))) (pow.f64 (exp.f64 -23/360) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 -11/15120) (pow.f64 x 6)) (+.f64 1 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -11/15120 (pow.f64 x 6)))) (+.f64 1 (expm1.f64 (*.f64 -23/360 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 (*.f64 x x) -23/360) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) -23/360 (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) -11/15120) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -23/360 (pow.f64 x 4)) 1 (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -11/15120 (pow.f64 x 6) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 6) -11/15120 (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -11/15120 (pow.f64 x 6)) 1 (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -23/360 (pow.f64 x 4)) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 8) (*.f64 (*.f64 (cbrt.f64 x) x) -23/360) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (cbrt.f64 -11/15120)) (cbrt.f64 (*.f64 (pow.f64 x 12) 121/228614400)) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 12) 121/228614400)) (*.f64 (*.f64 x x) (cbrt.f64 -11/15120)) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -23/360 (pow.f64 x 4))) (cbrt.f64 (*.f64 (pow.f64 x 8) 529/129600)) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 8) 529/129600)) (cbrt.f64 (*.f64 -23/360 (pow.f64 x 4))) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -11/15120) (pow.f64 x 3)) (*.f64 (sqrt.f64 -11/15120) (pow.f64 x 3)) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (sqrt.f64 -23/360)) (*.f64 (*.f64 x x) (sqrt.f64 -23/360)) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) (*.f64 (pow.f64 x 3) -11/15120) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -11/15120 (pow.f64 x 4)) (*.f64 x x) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -11/15120 (pow.f64 x 3)) (pow.f64 x 3) (*.f64 -23/360 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -23/360 (*.f64 x x)) (*.f64 x x) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -23/360 (pow.f64 (cbrt.f64 x) 8)) (*.f64 (cbrt.f64 x) x) (*.f64 -11/15120 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -23/360 (pow.f64 x 4) (*.f64 -11/15120 (pow.f64 x 6)))))))))

simplify109.0ms (0.7%)

Algorithm
egg-herbie
Rules
846×sqr-pow_binary64
790×cube-prod_binary64
594×fabs-mul_binary64
492×associate-*l*_binary64
467×unswap-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01021
12021
24221
310521
435521
5136821
6241621
7257321
8283721
9310121
10344721
11389621
12441621
13504621
14581221
15625521
16674921
17725921
18779721
Stop Event
node limit
Counts
114 → 113
Calls
Call 1
Inputs
(*.f64 -23/360 (pow.f64 x 4))
(*.f64 -11/15120 (pow.f64 x 6))
(*.f64 -11/15120 (pow.f64 x 6))
Outputs
(*.f64 -23/360 (pow.f64 x 4))
(*.f64 -11/15120 (pow.f64 x 6))
(*.f64 -11/15120 (pow.f64 x 6))

prune287.0ms (1.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1121113
Fresh033
Picked011
Done000
Total1125117
Error
0.0b
Counts
117 → 5
Alt Table
StatusErrorProgram
0.4b
(+.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
0.4b
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
0.5b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))
10.0b
(/.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) (tan.f64 x))
30.2b
(pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3)
Compiler

Compiled 2655 to 2162 computations (18.6% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4)))
0.1b
(*.f64 -11/15120 (pow.f64 x 6))
0.2b
(*.f64 -23/360 (pow.f64 x 4))
0.2b
(pow.f64 (*.f64 x (sqrt.f64 1/6)) 2)

series3.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite32.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
561×pow1_binary64
522×add-log-exp_binary64
522×log1p-expm1-u_binary64
522×expm1-log1p-u_binary64
509×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
079
11477
215377
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(pow.f64 (*.f64 x (sqrt.f64 1/6)) 2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/6 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 1/6) (*.f64 x (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 1/6)) (*.f64 x (sqrt.f64 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/6 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 4)) (cbrt.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 1/6)) (sqrt.f64 (*.f64 x (sqrt.f64 1/6)))) (sqrt.f64 (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 1/6)) x) (sqrt.f64 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 1/6)) (sqrt.f64 1/6)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 1/6)) (cbrt.f64 (*.f64 1/6 (*.f64 x x)))) (cbrt.f64 (*.f64 x (sqrt.f64 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 x x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 x x))))))))

simplify143.0ms (1%)

Algorithm
egg-herbie
Rules
861×sqr-pow_binary64
689×cube-prod_binary64
675×fabs-mul_binary64
618×associate-*l*_binary64
582×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
08144
11784
23984
39884
438984
5203984
6215284
7235184
8254784
9278084
10308384
11370284
12417984
13479984
14550984
15643484
16694884
17733284
18769884
19779484
20782284
Stop Event
node limit
Counts
34 → 23
Calls
Call 1
Inputs
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
Outputs
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))

prune303.0ms (2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1163119
Fresh123
Picked011
Done011
Total1177124
Error
0.0b
Counts
124 → 7
Alt Table
StatusErrorProgram
0.4b
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
0.8b
(+.f64 (*.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
0.4b
(+.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
0.4b
(+.f64 (*.f64 (sqrt.f64 1/6) (*.f64 x (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
0.4b
(+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
10.0b
(/.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) (tan.f64 x))
30.2b
(pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3)
Compiler

Compiled 3006 to 2464 computations (18% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 -11/15120 (pow.f64 x 6))
0.1b
(*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6))))
0.2b
(*.f64 -23/360 (pow.f64 x 4))
0.2b
(*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))

series4.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@0
(*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6))))
1.0ms
x
@0
(*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))
1.0ms
x
@inf
(*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))
0.0ms
x
@-inf
(*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))
0.0ms
x
@inf
(*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6))))

rewrite42.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
596×pow1_binary64
552×add-log-exp_binary64
552×log1p-expm1-u_binary64
552×expm1-log1p-u_binary64
540×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0725
114211
2158711
Stop Event
node limit
Counts
2 → 22
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))
(*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/6 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/6 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/6 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 x)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/6 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/6) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/6 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 1/6 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/6 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/6 (*.f64 x x))))))))

simplify117.0ms (0.8%)

Algorithm
egg-herbie
Rules
861×sqr-pow_binary64
756×associate-*l*_binary64
658×cube-prod_binary64
649×fabs-mul_binary64
508×associate-*r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
09252
119132
241132
3105132
4435132
52432132
62541132
72736132
82932132
93161132
103466132
114107132
124582132
135205132
145917132
156844132
167356132
177742132
Stop Event
node limit
Counts
46 → 26
Calls
Call 1
Inputs
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
Outputs
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) x)
(*.f64 1/6 x)
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 1/6) 2) (*.f64 x x))
(*.f64 1/6 (*.f64 x x))

prune124.0ms (0.8%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New60060
Fresh044
Picked011
Done022
Total60767
Error
0.0b
Counts
67 → 7
Alt Table
StatusErrorProgram
0.4b
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
0.8b
(+.f64 (*.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
0.4b
(+.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
0.4b
(+.f64 (*.f64 (sqrt.f64 1/6) (*.f64 x (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
0.4b
(+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
10.0b
(/.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) (tan.f64 x))
30.2b
(pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3)
Compiler

Compiled 1491 to 1207 computations (19% saved)

regimes13.0ms (0.1%)

Accuracy

Total -30.1b remaining (-7906.2%)

Threshold costs -30.1b (-7906.2%)

Counts
9 → 1
Calls
Call 1
Inputs
(+.f64 (*.f64 (cbrt.f64 (*.f64 1/6 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 1/6))) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
(+.f64 (*.f64 (sqrt.f64 1/6) (*.f64 x (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
(+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
(+.f64 (pow.f64 (*.f64 x (sqrt.f64 1/6)) 2) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -23/360 1/6)))
(/.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 -1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) (*.f64 -1/362880 (pow.f64 x 9))))) (tan.f64 x))
(pow.f64 (cbrt.f64 (/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))) 3)
(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
Outputs
(+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
Results
5.0ms0.4bx
2.0ms0.4b(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
2.0ms0.4b(/.f64 (-.f64 x (sin.f64 x)) (tan.f64 x))
Compiler

Compiled 175 to 127 computations (27.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01732
12432
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))
Outputs
(+.f64 (*.f64 x (*.f64 (sqrt.f64 1/6) (*.f64 x (sqrt.f64 1/6)))) (+.f64 (*.f64 -11/15120 (pow.f64 x 6)) (*.f64 -23/360 (pow.f64 x 4))))

end22.0ms (0.1%)

Stop Event
fuel
Compiler

Compiled 44 to 36 computations (18.2% saved)

Profiling

Loading profile data...