Details

Time bar (total: 5.4s)

analyze4.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample4.7s (87.6%)

Results
3.4s4365×body2048valid
902.0ms2054×body1024valid
276.0ms983×body512valid
106.0ms487×body256valid
37.0ms367×body128valid
0.0msbody128invalid
Compiler

Compiled 20 to 16 computations (20% saved)

preprocess58.0ms (1.1%)

Algorithm
egg-herbie
Rules
624×fma-def_binary64
581×fma-neg_binary64
548×unswap-sqr_binary64
284×cancel-sign-sub-inv_binary64
199×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
12013
23613
36013
412213
527213
669713
7169913
8311013
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Outputs
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
(+.f64 (+.f64 (exp.f64 x) -2) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (+.f64 -2 (exp.f64 (neg.f64 x))))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify25.0ms (0.5%)

Algorithm
egg-herbie
Rules
624×fma-def_binary64
581×fma-neg_binary64
548×unswap-sqr_binary64
284×cancel-sign-sub-inv_binary64
199×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
12013
23613
36013
412213
527213
669713
7169913
8311013
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Outputs
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
(+.f64 (+.f64 (exp.f64 x) -2) (exp.f64 (neg.f64 x)))
(+.f64 (exp.f64 x) (+.f64 -2 (exp.f64 (neg.f64 x))))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
30.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
30.2b
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
30.2b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 53 to 38 computations (28.3% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 x) 2)
2.8b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

series3.0ms (0%)

Counts
2 → 16
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.0ms
x
@-inf
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.0ms
x
@inf
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
0.0ms
x
@0
(-.f64 (exp.f64 x) 2)
0.0ms
x
@-inf
(-.f64 (exp.f64 x) 2)

rewrite46.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
815×log1p-expm1-u_binary64
815×expm1-log1p-u_binary64
95×add-sqr-sqrt_binary64
91×add-log-exp_binary64
89×*-un-lft-identity_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0819
118117
2264617
Stop Event
node limit
Counts
2 → 78
Calls
Call 1
Inputs
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) 2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 x) (-.f64 2 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))) (/.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 x) (exp.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))) 2) (cbrt.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))) (sqrt.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2)) (/.f64 1 (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))) (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x))) (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2)) (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (+.f64 (exp.f64 x) -2) 3))) (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (*.f64 (exp.f64 x) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2) (pow.f64 (exp.f64 x) 2))) (neg.f64 (+.f64 (exp.f64 x) (-.f64 -2 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (exp.f64 x)) (*.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) 1)) (*.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -4) (exp.f64 x)) (*.f64 (+.f64 (exp.f64 x) 2) 1)) (*.f64 (+.f64 (exp.f64 x) 2) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 3) -8))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (exp.f64 x) 2) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) -4))) (*.f64 (exp.f64 x) (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 2 (exp.f64 x)) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x))) (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x)))) (+.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (+.f64 (exp.f64 x) -2) 2)) (-.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) (neg.f64 (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (exp.f64 x) -2) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2) (cbrt.f64 (+.f64 (exp.f64 x) -2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) (neg.f64 (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) (sqrt.f64 (+.f64 (exp.f64 x) -2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) (neg.f64 (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (exp.f64 x) (+.f64 (exp.f64 x) -2))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) -2)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -2 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 2) (cbrt.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) (sqrt.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -4) (/.f64 1 (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))) (+.f64 (pow.f64 (exp.f64 x) 3) -8)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 x) 2) (+.f64 (pow.f64 (exp.f64 x) 2) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 4 (*.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -4) (+.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -4) (-.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -8)) (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -4)) (neg.f64 (+.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (exp.f64 x) -2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (exp.f64 x) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (exp.f64 x) -2)) 1))))))

simplify30.0ms (0.6%)

Algorithm
egg-herbie
Rules
749×unswap-sqr_binary64
561×associate-*l*_binary64
554×fma-def_binary64
408×associate-*r*_binary64
159×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
043202
1107196
2240196
3755191
43282191
Stop Event
node limit
Counts
94 → 96
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8)))))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
-1
(-.f64 x 1)
(-.f64 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x) 1)
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) 1)
Outputs
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/12 (pow.f64 x 4))))
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8)))))
(fma.f64 x x (fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (*.f64 1/360 (pow.f64 x 6))))
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) 2)
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2))
(+.f64 (exp.f64 (neg.f64 x)) (+.f64 (exp.f64 x) -2))
-1
(-.f64 x 1)
(+.f64 x -1)
(-.f64 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x) 1)
(+.f64 (fma.f64 1/2 (*.f64 x x) x) -1)
(+.f64 -1 (fma.f64 (*.f64 x x) 1/2 x))
(+.f64 x (fma.f64 x (*.f64 x 1/2) -1))
(fma.f64 (fma.f64 x 1/2 1) x -1)
(fma.f64 x (fma.f64 x 1/2 1) -1)
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) 1)
(+.f64 (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x)) -1)
(fma.f64 1/6 (pow.f64 x 3) (+.f64 -1 (fma.f64 (*.f64 x x) 1/2 x)))
(+.f64 -1 (fma.f64 x (*.f64 x 1/2) (fma.f64 1/6 (pow.f64 x 3) x)))
(+.f64 x (fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) -1))
(fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) (+.f64 x -1))

prune101.0ms (1.9%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New95196
Fresh101
Picked101
Done000
Total97198
Error
0b
Counts
98 → 1
Alt Table
StatusErrorProgram
0b
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))
Compiler

Compiled 1454 to 840 computations (42.2% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/20160 (pow.f64 x 8))
0.1b
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
0.1b
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))

series28.0ms (0.5%)

Counts
3 → 24
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))
1.0ms
x
@0
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))
1.0ms
x
@0
(*.f64 1/20160 (pow.f64 x 8))
1.0ms
x
@-inf
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))
1.0ms
x
@inf
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))

rewrite53.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
476×log-prod_binary64
218×expm1-udef_binary64
218×log1p-udef_binary64
176×log-pow_binary64
152×prod-diff_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01442
129942
2306042
Stop Event
node limit
Counts
3 → 75
Calls
Call 1
Inputs
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 1/20160 (pow.f64 x 8))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))) (*.f64 1/12 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/12 (pow.f64 x 4)) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/12 (pow.f64 x 4)) 1) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6))) (*.f64 1/20160 (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))) (cbrt.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) 2) (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/12 (pow.f64 x 4)) 3) (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))) 3)) (fma.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 4)) (-.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))) 2) (*.f64 (*.f64 1/12 (pow.f64 x 4)) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/12 (pow.f64 x 4))) (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))) 2)) (-.f64 (*.f64 1/12 (pow.f64 x 4)) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) (exp.f64 (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) (exp.f64 (*.f64 1/12 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 1/12 (pow.f64 x 4))) (+.f64 1 (expm1.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/20160 (pow.f64 x 8)) (*.f64 1/360 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/360 (pow.f64 x 6)) 1) (*.f64 1/20160 (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) (cbrt.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) (pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) 2) (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/360 (pow.f64 x 6)) 3) (pow.f64 (*.f64 1/20160 (pow.f64 x 8)) 3)) (fma.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/360 (pow.f64 x 6)) (-.f64 (*.f64 (pow.f64 x 16) 1/406425600) (*.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/360 (pow.f64 x 6))) (*.f64 (pow.f64 x 16) 1/406425600)) (-.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 8)) 1/20160) (exp.f64 (*.f64 1/360 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/20160 (pow.f64 x 8)))) (exp.f64 (*.f64 1/360 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 1/360 (pow.f64 x 6))) (+.f64 1 (expm1.f64 (*.f64 1/20160 (pow.f64 x 8))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/20160 (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 8)) 1/20160)) (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 8)) 1/20160)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 8)) 1/20160))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 8)) 1/20160))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 8)) 1/20160))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/20160 (pow.f64 x 8)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/20160 (pow.f64 x 8)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/20160 (pow.f64 x 8)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/20160 (pow.f64 x 8))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) (sqrt.f64 1/20160)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 16) 1/406425600))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x 8)) 1/20160))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/20160 (pow.f64 x 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/20160 (pow.f64 x 8)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/20160 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/20160 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 8 (log.f64 x) (log.f64 1/20160)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 8 (log.f64 x) (log.f64 1/20160)) 1))))))

simplify71.0ms (1.3%)

Algorithm
egg-herbie
Rules
920×fma-def_binary64
472×unswap-sqr_binary64
394×*-commutative_binary64
369×sqr-pow_binary64
245×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
018336
140336
284336
3214336
4732336
51609336
63019336
73346336
83531336
93736336
104011336
114367336
124776336
Stop Event
node limit
Counts
99 → 83
Calls
Call 1
Inputs
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(*.f64 1/20160 (pow.f64 x 8))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(*.f64 1/20160 (pow.f64 x 8))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 1/20160 (pow.f64 x 8))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 1/20160 (pow.f64 x 8))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
Outputs
(*.f64 1/12 (pow.f64 x 4))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))
(*.f64 (pow.f64 x 4) (fma.f64 1/360 (*.f64 x x) 1/12))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (*.f64 1/360 (pow.f64 x 6)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360)))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) (fma.f64 (pow.f64 x 4) 1/20160 1/12)))
(*.f64 (pow.f64 x 4) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/20160) 1/360) 1/12))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (*.f64 1/360 (pow.f64 x 6)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360)))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) (fma.f64 (pow.f64 x 4) 1/20160 1/12)))
(*.f64 (pow.f64 x 4) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/20160) 1/360) 1/12))
(*.f64 1/20160 (pow.f64 x 8))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (*.f64 1/360 (pow.f64 x 6)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360)))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) (fma.f64 (pow.f64 x 4) 1/20160 1/12)))
(*.f64 (pow.f64 x 4) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/20160) 1/360) 1/12))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (*.f64 1/360 (pow.f64 x 6)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360)))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) (fma.f64 (pow.f64 x 4) 1/20160 1/12)))
(*.f64 (pow.f64 x 4) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/20160) 1/360) 1/12))
(*.f64 1/20160 (pow.f64 x 8))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (*.f64 1/360 (pow.f64 x 6)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360)))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) (fma.f64 (pow.f64 x 4) 1/20160 1/12)))
(*.f64 (pow.f64 x 4) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/20160) 1/360) 1/12))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/20160 (pow.f64 x 8))))
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/20160 1/12) (*.f64 1/360 (pow.f64 x 6)))
(fma.f64 1/12 (pow.f64 x 4) (*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360)))
(*.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/360) (fma.f64 (pow.f64 x 4) 1/20160 1/12)))
(*.f64 (pow.f64 x 4) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 1/20160) 1/360) 1/12))
(*.f64 1/360 (pow.f64 x 6))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360))
(*.f64 1/20160 (pow.f64 x 8))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360))
(*.f64 1/20160 (pow.f64 x 8))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360))
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/20160 (pow.f64 x 8)))
(fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))
(*.f64 (pow.f64 x 6) (fma.f64 x (*.f64 x 1/20160) 1/360))

prune78.0ms (1.4%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New83083
Fresh000
Picked011
Done000
Total83184
Error
0b
Counts
84 → 1
Alt Table
StatusErrorProgram
0b
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))
Compiler

Compiled 2008 to 1539 computations (23.4% saved)

regimes95.0ms (1.8%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
72 → 1
Compiler

Compiled 809 to 455 computations (43.8% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01525
11625
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))
Outputs
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/20160 (pow.f64 x 8)))))

end57.0ms (1.1%)

Stop Event
done
Compiler

Compiled 57 to 42 computations (26.3% saved)

Profiling

Loading profile data...