Details

Time bar (total: 15.9s)

analyze3.3s (20.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%49.9%50.1%0
0%49.9%50.1%1
0%49.9%50.1%2
0%49.9%50.1%3
0%49.9%50.1%4
0%49.9%50.1%5
0%49.9%50.1%6
0%49.9%50.1%7
0%49.9%50.1%8
0%49.9%50.1%9
0%49.7%50.3%10
0%49.5%50.5%11
0.1%49%50.9%12
0.2%48.5%51.2%13
0.3%48.3%51.5%14
Compiler

Compiled 34 to 24 computations (29.4% saved)

sample8.7s (54.8%)

Symmetry

(sort a b)

Results
5.1s4199×body2048valid
1.9s2445×body1024valid
406.0ms623×body1024invalid
384.0ms431×body2048invalid
383.0ms777×body512valid
128.0ms276×body512invalid
108.0ms565×body128valid
94.0ms260×body256valid
62.0ms331×body128invalid
48.0ms154×body256invalid
27.0ms10×body4096valid
4.0msbody8192exit
Compiler

Compiled 95 to 67 computations (29.5% saved)

simplify24.0ms (0.1%)

Algorithm
egg-herbie
Rules
986×times-frac_binary64
580×associate-/l*_binary64
372×fma-def_binary64
126×distribute-rgt-in_binary64
122×distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01828
14728
210828
325428
489728
5529228

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
41.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
41.7b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
Compiler

Compiled 87 to 54 computations (37.9% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
0.0b
(expm1.f64 (*.f64 eps (+.f64 a b)))
0.1b
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
39.9b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))

series382.0ms (2.4%)

Counts
4 → 144
Calls

4 calls:

301.0ms
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
34.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
31.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
16.0ms
(expm1.f64 (*.f64 eps (+.f64 a b)))

rewrite16.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
20×add-cbrt-cube_binary64
20×add-exp-log_binary64
12×add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
4 → 74
Calls

4 calls:

4.0ms
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
3.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
3.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
0.0ms
(expm1.f64 (*.f64 eps (+.f64 a b)))

simplify148.0ms (0.9%)

Algorithm
egg-herbie
Rules
828×fma-def_binary64
622×times-frac_binary64
470×associate-/l*_binary64
249×*-commutative_binary64
191×+-commutative_binary64
Counts
218 → 229
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
06468872
121668105
253258105

prune156.0ms (1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2263229
Fresh000
Picked101
Done000
Total2273230
Error
0b
Counts
230 → 3
Alt Table
StatusErrorProgram
41.7b
(/.f64 1 (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))))
29.3b
(/.f64 eps (/.f64 (expm1.f64 (*.f64 a eps)) (/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps)))))
7.9b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))
Compiler

Compiled 11430 to 3843 computations (66.4% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))
0.0b
(fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))
6.8b
(*.f64 a (*.f64 eps eps))
7.0b
(*.f64 b (*.f64 eps eps))

series70.0ms (0.4%)

Counts
4 → 120
Calls

4 calls:

31.0ms
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))
21.0ms
(fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))
10.0ms
(*.f64 b (*.f64 eps eps))
8.0ms
(*.f64 a (*.f64 eps eps))

rewrite14.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
14×add-cbrt-cube_binary64
14×add-exp-log_binary64
14×pow1_binary64
add-sqr-sqrt_binary64
associate-*l*_binary64
Counts
4 → 62
Calls

4 calls:

6.0ms
(*.f64 b (*.f64 eps eps))
4.0ms
(*.f64 a (*.f64 eps eps))
0.0ms
(fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))
0.0ms
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))

simplify98.0ms (0.6%)

Algorithm
egg-herbie
Rules
766×unswap-sqr_binary64
610×fma-def_binary64
470×associate-*l*_binary64
333×associate-*r*_binary64
295×associate-+r+_binary64
Counts
182 → 122
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01032698
12022339
25492269
316512269
437882269
550582269

prune116.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1220122
Fresh022
Picked011
Done000
Total1223125
Error
0b
Counts
125 → 3
Alt Table
StatusErrorProgram
41.7b
(/.f64 1 (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))))
29.3b
(/.f64 eps (/.f64 (expm1.f64 (*.f64 a eps)) (/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps)))))
7.9b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))
Compiler

Compiled 3102 to 1505 computations (51.5% saved)

localize70.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 (+.f64 a b) eps))
0.4b
(/.f64 (expm1.f64 (*.f64 a eps)) (/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps))))
13.5b
(/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps)))
26.8b
(/.f64 eps (/.f64 (expm1.f64 (*.f64 a eps)) (/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps)))))

series710.0ms (4.5%)

Counts
4 → 144
Calls

4 calls:

381.0ms
(/.f64 eps (/.f64 (expm1.f64 (*.f64 a eps)) (/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps)))))
260.0ms
(/.f64 (expm1.f64 (*.f64 a eps)) (/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps))))
51.0ms
(/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps)))
17.0ms
(expm1.f64 (*.f64 (+.f64 a b) eps))

rewrite79.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
480×times-frac_binary64
239×*-un-lft-identity_binary64
239×add-sqr-sqrt_binary64
239×add-cube-cbrt_binary64
60×associate-/r*_binary64
Counts
4 → 312
Calls

4 calls:

10.0ms
(/.f64 eps (/.f64 (expm1.f64 (*.f64 a eps)) (/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps)))))
6.0ms
(/.f64 (expm1.f64 (*.f64 a eps)) (/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps))))
2.0ms
(/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps)))
0.0ms
(expm1.f64 (*.f64 (+.f64 a b) eps))

simplify395.0ms (2.5%)

Algorithm
egg-herbie
Rules
868×fma-def_binary64
331×*-commutative_binary64
317×associate-/r/_binary64
279×+-commutative_binary64
231×associate-+r+_binary64
Counts
456 → 560
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0133725506
1402625113
2505425113

prune332.0ms (2.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New5600560
Fresh011
Picked011
Done011
Total5603563
Error
0b
Counts
563 → 3
Alt Table
StatusErrorProgram
41.7b
(/.f64 1 (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))))
29.3b
(/.f64 eps (/.f64 (expm1.f64 (*.f64 a eps)) (/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps)))))
7.9b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))
Compiler

Compiled 28919 to 7344 computations (74.6% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
0.0b
(expm1.f64 (*.f64 eps (+.f64 a b)))
0.1b
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
40.4b
(/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))))

series242.0ms (1.5%)

Counts
1 → 36
Calls

1 calls:

242.0ms
(/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))))

rewrite6.0ms (0%)

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube_binary64
13×add-exp-log_binary64
cbrt-unprod_binary64
cbrt-undiv_binary64
div-exp_binary64
Counts
1 → 23
Calls

1 calls:

4.0ms
(/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))))

simplify91.0ms (0.6%)

Algorithm
egg-herbie
Rules
742×times-frac_binary64
619×associate-/l*_binary64
390×associate-/r*_binary64
307×fma-def_binary64
193×*-commutative_binary64
Counts
59 → 66
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
05145337
116905119
251715119

prune193.0ms (1.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2290229
Fresh000
Picked011
Done022
Total2293232
Error
0b
Counts
232 → 3
Alt Table
StatusErrorProgram
41.7b
(/.f64 1 (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))))
29.3b
(/.f64 eps (/.f64 (expm1.f64 (*.f64 a eps)) (/.f64 (expm1.f64 (*.f64 (+.f64 a b) eps)) (expm1.f64 (*.f64 b eps)))))
7.9b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))
Compiler

Compiled 12698 to 5140 computations (59.5% saved)

regimes453.0ms (2.8%)

Accuracy

Total 0.1b remaining (72.2%)

Threshold costs 0.1b (72.2%)

Counts
102 → 3
Compiler

Compiled 8178 to 5228 computations (36.1% saved)

bsearch3.0ms (0%)

Compiler

Compiled 27 to 19 computations (29.6% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
if-if-or-not_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
037124
152124
255124
353124

end249.0ms (1.6%)

Compiler

Compiled 400 to 227 computations (43.3% saved)

Profiling

Loading profile data...