Details

Time bar (total: 2.4s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
62.5%37.5%0%4
68.7%18.7%12.5%5
71.8%9.4%18.8%6
73.4%4.7%21.9%7
74.2%2.3%23.5%8
74.6%1.2%24.3%9
75%0.6%24.5%10
75.1%0.3%24.6%11
75.1%0.1%24.7%12
75.1%0.1%24.8%13
75.2%0%24.8%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample1.8s (74.9%)

Results
936.0ms2771×body1024valid
306.0ms1340×body512valid
294.0ms3171×body128valid
123.0ms307×body2048valid
113.0ms667×body256valid

preprocess24.0ms (1%)

Algorithm
egg-herbie
Rules
95×fma-def_binary64
80×fma-neg_binary64
32×distribute-rgt-in_binary64
28×cancel-sign-sub-inv_binary64
26×distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066
1156
2186
3226
4306
5406
6596
71006
81466
92226
103496
115076
125796
136156
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (-.f64 (exp.f64 x) 1) x)
Outputs
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify14.0ms (0.6%)

Algorithm
egg-herbie
Rules
95×fma-def_binary64
80×fma-neg_binary64
32×distribute-rgt-in_binary64
28×cancel-sign-sub-inv_binary64
26×distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066
1156
2186
3226
4306
5406
6596
71006
81466
92226
103496
115076
125796
136156
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) 1) x)
Outputs
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)

eval1.0ms (0%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (expm1.f64 x) x)
Compiler

Compiled 10 to 6 computations (40% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (expm1.f64 x) x)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(/.f64 (expm1.f64 x) x)
1.0ms
x
@inf
(/.f64 (expm1.f64 x) x)
1.0ms
x
@0
(/.f64 (expm1.f64 x) x)

rewrite37.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
449×pow1_binary64
417×add-log-exp_binary64
417×log1p-expm1-u_binary64
417×expm1-log1p-u_binary64
407×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046
1836
211046
Stop Event
node limit
Counts
1 → 32
Calls
Call 1
Inputs
(/.f64 (expm1.f64 x) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (expm1.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (expm1.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (*.f64 (cbrt.f64 (expm1.f64 x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 2) (cbrt.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 x)) (*.f64 (sqrt.f64 (expm1.f64 x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) (sqrt.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (expm1.f64 x)) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) 1) (/.f64 (cbrt.f64 (expm1.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 x)) 1) (/.f64 (sqrt.f64 (expm1.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (expm1.f64 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (expm1.f64 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (expm1.f64 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (expm1.f64 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (expm1.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (expm1.f64 x) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (expm1.f64 x) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (expm1.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (expm1.f64 x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (expm1.f64 x) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (expm1.f64 x) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (expm1.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (expm1.f64 x) x)))))))

simplify36.0ms (1.5%)

Algorithm
egg-herbie
Rules
688×times-frac_binary64
536×unswap-sqr_binary64
497×associate-*l*_binary64
448×fma-def_binary64
291×associate-*r*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02287
16085
212085
332679
479276
5243076
6439876
Stop Event
node limit
Counts
44 → 41
Calls
Call 1
Inputs
1
(+.f64 (*.f64 1/2 x) 1)
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3)))))
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
Outputs
1
(+.f64 (*.f64 1/2 x) 1)
(fma.f64 1/2 x 1)
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1))
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) 1))
(fma.f64 1/2 x (fma.f64 x (*.f64 x 1/6) 1))
(fma.f64 x (fma.f64 x 1/6 1/2) 1)
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (+.f64 (fma.f64 1/6 (*.f64 x x) 1) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) 1)))
(fma.f64 1/2 x (fma.f64 x (*.f64 x 1/6) (fma.f64 1/24 (pow.f64 x 3) 1)))
(fma.f64 1/2 x (fma.f64 (*.f64 x x) (fma.f64 x 1/24 1/6) 1))
(fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
(/.f64 (expm1.f64 x) x)

eval8.0ms (0.3%)

Compiler

Compiled 354 to 167 computations (52.8% saved)

prune37.0ms (1.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New40141
Fresh000
Picked011
Done000
Total40242
Error
0.0b
Counts
42 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
21.1b
(fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)
0.0b
(/.f64 (expm1.f64 x) x)
Compiler

Compiled 27 to 19 computations (29.6% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)
0.0b
(fma.f64 x (fma.f64 x 1/24 1/6) 1/2)
0.1b
(fma.f64 x 1/24 1/6)

series4.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@0
(fma.f64 x 1/24 1/6)
0.0ms
x
@-inf
(fma.f64 x 1/24 1/6)
0.0ms
x
@inf
(fma.f64 x 1/24 1/6)
0.0ms
x
@-inf
(fma.f64 x (fma.f64 x 1/24 1/6) 1/2)
0.0ms
x
@inf
(fma.f64 x (fma.f64 x 1/24 1/6) 1/2)

rewrite48.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
776×pow1_binary64
723×log1p-expm1-u_binary64
723×expm1-log1p-u_binary64
84×add-sqr-sqrt_binary64
79×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0927
117827
2187227
Stop Event
node limit
Counts
3 → 69
Calls
Call 1
Inputs
(fma.f64 x 1/24 1/6)
(fma.f64 x (fma.f64 x 1/24 1/6) 1/2)
(fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/6 (*.f64 x 1/24))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/24) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 1/24) 1) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x 1/24 1/6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 1/24 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 1/24 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 1/24 1/6)) (pow.f64 (cbrt.f64 (fma.f64 x 1/24 1/6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 1/24 1/6)) 2) (cbrt.f64 (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x 1/24 1/6)) (sqrt.f64 (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x 1/24) 3) 1/216) (+.f64 (*.f64 (*.f64 x 1/24) (*.f64 x 1/24)) (-.f64 1/36 (*.f64 (*.f64 x 1/24) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x 1/24) (*.f64 x 1/24)) 1/36) (-.f64 (*.f64 x 1/24) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 1/24 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 1/24 1/6) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 1/24 1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x 1/24 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 1/24 1/6) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x 1/24 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 1/24 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x 1/24 1/6)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 1/24 1/6)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/2 (*.f64 x (fma.f64 x 1/24 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fma.f64 x 1/24 1/6)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (fma.f64 x 1/24 1/6)) 1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 2) (cbrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) (sqrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (fma.f64 x 1/24 1/6)) 3) 1/8) (+.f64 (*.f64 (*.f64 x (fma.f64 x 1/24 1/6)) (*.f64 x (fma.f64 x 1/24 1/6))) (-.f64 1/4 (*.f64 (*.f64 x (fma.f64 x 1/24 1/6)) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (fma.f64 x 1/24 1/6)) (*.f64 x (fma.f64 x 1/24 1/6))) 1/4) (-.f64 (*.f64 x (fma.f64 x 1/24 1/6)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) 2) (cbrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) (sqrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 3) 1) (+.f64 (*.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2))) (-.f64 1 (*.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2))) 1) (-.f64 (*.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)))))))

simplify48.0ms (2%)

Algorithm
egg-herbie
Rules
536×unswap-sqr_binary64
523×associate-*l*_binary64
482×distribute-rgt-in_binary64
435×fma-def_binary64
328×associate-*r*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
032341
185333
2161293
3315264
4708258
52255258
63586258
74123258
Stop Event
node limit
Counts
105 → 96
Calls
Call 1
Inputs
1/6
(+.f64 (*.f64 1/24 x) 1/6)
(+.f64 (*.f64 1/24 x) 1/6)
(+.f64 (*.f64 1/24 x) 1/6)
(*.f64 1/24 x)
(+.f64 1/6 (*.f64 1/24 x))
(+.f64 1/6 (*.f64 1/24 x))
(+.f64 1/6 (*.f64 1/24 x))
(*.f64 1/24 x)
(+.f64 1/6 (*.f64 1/24 x))
(+.f64 1/6 (*.f64 1/24 x))
(+.f64 1/6 (*.f64 1/24 x))
1/2
(+.f64 1/2 (*.f64 1/6 x))
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
(*.f64 1/24 (pow.f64 x 2))
(+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
(*.f64 1/24 (pow.f64 x 2))
(+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
1
(+.f64 (*.f64 1/2 x) 1)
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1))
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3)))))
(*.f64 1/24 (pow.f64 x 3))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 3)))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3))))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3)))))
(*.f64 1/24 (pow.f64 x 3))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 3)))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3))))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3)))))
Outputs
1/6
(+.f64 (*.f64 1/24 x) 1/6)
(fma.f64 1/24 x 1/6)
(+.f64 (*.f64 1/24 x) 1/6)
(fma.f64 1/24 x 1/6)
(+.f64 (*.f64 1/24 x) 1/6)
(fma.f64 1/24 x 1/6)
(*.f64 1/24 x)
(+.f64 1/6 (*.f64 1/24 x))
(fma.f64 1/24 x 1/6)
(+.f64 1/6 (*.f64 1/24 x))
(fma.f64 1/24 x 1/6)
(+.f64 1/6 (*.f64 1/24 x))
(fma.f64 1/24 x 1/6)
(*.f64 1/24 x)
(+.f64 1/6 (*.f64 1/24 x))
(fma.f64 1/24 x 1/6)
(+.f64 1/6 (*.f64 1/24 x))
(fma.f64 1/24 x 1/6)
(+.f64 1/6 (*.f64 1/24 x))
(fma.f64 1/24 x 1/6)
1/2
(+.f64 1/2 (*.f64 1/6 x))
(fma.f64 1/6 x 1/2)
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x))))
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6)))
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2)
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x))))
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6)))
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2)
(*.f64 1/24 (pow.f64 x 2))
(*.f64 1/24 (*.f64 x x))
(+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))
(fma.f64 1/6 x (*.f64 1/24 (*.f64 x x)))
(*.f64 x (fma.f64 1/24 x 1/6))
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x))))
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6)))
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2)
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x))))
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6)))
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2)
(*.f64 1/24 (pow.f64 x 2))
(*.f64 1/24 (*.f64 x x))
(+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2)))
(fma.f64 1/6 x (*.f64 1/24 (*.f64 x x)))
(*.f64 x (fma.f64 1/24 x 1/6))
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x))))
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6)))
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2)
(+.f64 1/2 (+.f64 (*.f64 1/6 x) (*.f64 1/24 (pow.f64 x 2))))
(+.f64 1/2 (fma.f64 1/6 x (*.f64 1/24 (*.f64 x x))))
(+.f64 1/2 (*.f64 x (fma.f64 1/24 x 1/6)))
(fma.f64 x (fma.f64 1/24 x 1/6) 1/2)
1
(+.f64 (*.f64 1/2 x) 1)
(fma.f64 1/2 x 1)
(fma.f64 x 1/2 1)
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) 1))
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) 1))
(fma.f64 x 1/2 (fma.f64 1/6 (*.f64 x x) 1))
(+.f64 1 (*.f64 x (fma.f64 1/6 x 1/2)))
(fma.f64 x (fma.f64 1/6 x 1/2) 1)
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) (+.f64 1 (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 x 1/2 (fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) 1)))
(+.f64 (fma.f64 x 1/2 1) (*.f64 x (*.f64 x (fma.f64 1/24 x 1/6))))
(+.f64 1 (*.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2)))
(fma.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2) 1)
(*.f64 1/24 (pow.f64 x 3))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 3)))
(fma.f64 1/6 (*.f64 x x) (*.f64 1/24 (pow.f64 x 3)))
(*.f64 x (*.f64 x (fma.f64 1/24 x 1/6)))
(*.f64 (*.f64 x x) (fma.f64 1/24 x 1/6))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/6 (*.f64 x x) (fma.f64 1/2 x (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(fma.f64 x 1/2 (*.f64 x (*.f64 x (fma.f64 1/24 x 1/6))))
(*.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) (+.f64 1 (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 x 1/2 (fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) 1)))
(+.f64 (fma.f64 x 1/2 1) (*.f64 x (*.f64 x (fma.f64 1/24 x 1/6))))
(+.f64 1 (*.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2)))
(fma.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2) 1)
(*.f64 1/24 (pow.f64 x 3))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 3)))
(fma.f64 1/6 (*.f64 x x) (*.f64 1/24 (pow.f64 x 3)))
(*.f64 x (*.f64 x (fma.f64 1/24 x 1/6)))
(*.f64 (*.f64 x x) (fma.f64 1/24 x 1/6))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/6 (*.f64 x x) (fma.f64 1/2 x (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) (*.f64 x 1/2)))
(fma.f64 x 1/2 (*.f64 x (*.f64 x (fma.f64 1/24 x 1/6))))
(*.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2))
(+.f64 (*.f64 1/6 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 1/2 x) (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/2 x (fma.f64 1/6 (*.f64 x x) (+.f64 1 (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 x 1/2 (fma.f64 1/6 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 3) 1)))
(+.f64 (fma.f64 x 1/2 1) (*.f64 x (*.f64 x (fma.f64 1/24 x 1/6))))
(+.f64 1 (*.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2)))
(fma.f64 x (fma.f64 x (fma.f64 1/24 x 1/6) 1/2) 1)

eval59.0ms (2.5%)

Compiler

Compiled 1317 to 998 computations (24.2% saved)

prune240.0ms (10.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New96096
Fresh000
Picked011
Done011
Total96298
Error
0.0b
Counts
98 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
21.1b
(fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)
0.0b
(/.f64 (expm1.f64 x) x)
Compiler

Compiled 16 to 11 computations (31.3% saved)

regimes8.0ms (0.3%)

Accuracy

Total -60.9b remaining (-311863.1%)

Threshold costs -60.9b (-311863.1%)

Counts
3 → 1
Calls
Call 1
Inputs
(fma.f64 x (fma.f64 x (fma.f64 x 1/24 1/6) 1/2) 1)
(/.f64 (expm1.f64 x) x)
(/.f64 (-.f64 (exp.f64 x) 1) x)
Outputs
(/.f64 (expm1.f64 x) x)
Results
TimeErrorSegmentsBranch
4.0ms0.0b1x
3.0ms0.0b1(/.f64 (-.f64 (exp.f64 x) 1) x)
Compiler

Compiled 30 to 20 computations (33.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (expm1.f64 x) x)
Outputs
(/.f64 (expm1.f64 x) x)

end15.0ms (0.6%)

Stop Event
done
Compiler

Compiled 10 to 6 computations (40% saved)

Profiling

Loading profile data...