Details

Time bar (total: 13.2s)

analyze2.8s (20.9%)

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.4%49.5%50.1%9
0.4%49.3%50.3%10
0.6%48.9%50.5%11
1.1%48.1%50.9%12
1.5%47.3%51.2%13
1.7%46.9%51.5%14
Compiler

Compiled 34 to 24 computations (29.4% saved)

sample8.5s (64.4%)

Symmetry

(sort a b)

Results
5.0s4177×body2048valid
1.9s2472×body1024valid
375.0ms576×body1024invalid
361.0ms720×body512valid
310.0ms353×body2048invalid
153.0ms317×body512invalid
121.0ms602×body128valid
86.0ms268×body256valid
54.0ms314×body128invalid
48.0ms163×body256invalid
30.0ms17×body4096valid
Compiler

Compiled 95 to 67 computations (29.5% saved)

simplify24.0ms (0.2%)

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

prune5.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)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series445.0ms (3.4%)

Counts
4 → 132
Calls

4 calls:

378.0ms
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
31.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
29.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
6.0ms
(expm1.f64 (*.f64 eps a))

rewrite17.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:

5.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
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 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
0.0ms
(expm1.f64 (*.f64 eps a))

simplify127.0ms (1%)

Algorithm
egg-herbie
Rules
692×fma-def_binary64
622×times-frac_binary64
470×associate-/l*_binary64
249×*-commutative_binary64
163×+-commutative_binary64
Counts
206 → 213
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
06138300
120217554
250577554

prune151.0ms (1.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2103213
Fresh000
Picked011
Done000
Total2104214
Error
0.0b
Counts
214 → 4
Alt Table
StatusErrorProgram
41.6b
(/.f64 1 (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))))
16.6b
(/.f64 (+.f64 a b) (*.f64 a b))
41.7b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
7.6b
(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 10528 to 3502 computations (66.7% 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.1b
(fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))
5.6b
(*.f64 b (*.f64 eps eps))
7.5b
(*.f64 a (*.f64 eps eps))

series72.0ms (0.5%)

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))))
22.0ms
(fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))
10.0ms
(*.f64 a (*.f64 eps eps))
9.0ms
(*.f64 b (*.f64 eps eps))

rewrite12.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:

5.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))))

simplify94.0ms (0.7%)

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

prune83.0ms (0.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1202122
Fresh112
Picked101
Done011
Total1224126
Error
0.0b
Counts
126 → 4
Alt Table
StatusErrorProgram
50.7b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (+.f64 (/.f64 1 b) (*.f64 (sqrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))) (sqrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))))
41.7b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
4.7b
(+.f64 (/.f64 1 b) (/.f64 1 a))
16.6b
(/.f64 (+.f64 a b) (*.f64 a b))
Compiler

Compiled 3125 to 1519 computations (51.4% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 1 b) (/.f64 1 a))

series6.0ms (0%)

Counts
1 → 6
Calls

1 calls:

6.0ms
(+.f64 (/.f64 1 b) (/.f64 1 a))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity_binary64
15×times-frac_binary64
13×fma-def_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
Counts
1 → 34
Calls

1 calls:

11.0ms
(+.f64 (/.f64 1 b) (/.f64 1 a))

simplify118.0ms (0.9%)

Algorithm
egg-herbie
Rules
450×fma-neg_binary64
421×div-sub_binary64
357×fma-def_binary64
329×sub-neg_binary64
281×distribute-rgt-in_binary64
Counts
40 → 37
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
036332
1106302
2241301
3565301
41313301
52794301
64202301
74546301
84845301
94973301
104870301

prune24.0ms (0.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New37037
Fresh022
Picked011
Done011
Total37441
Error
0.0b
Counts
41 → 4
Alt Table
StatusErrorProgram
50.7b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (+.f64 (/.f64 1 b) (*.f64 (sqrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))) (sqrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))))
41.7b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
4.7b
(+.f64 (/.f64 1 b) (/.f64 1 a))
16.6b
(/.f64 (+.f64 a b) (*.f64 a b))
Compiler

Compiled 642 to 461 computations (28.2% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
16.2b
(/.f64 (+.f64 a b) (*.f64 a b))

series7.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

7.0ms
(/.f64 (+.f64 a b) (*.f64 a b))

rewrite6.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
associate-/l*_binary64
times-frac_binary64
Counts
1 → 27
Calls

1 calls:

5.0ms
(/.f64 (+.f64 a b) (*.f64 a b))

simplify84.0ms (0.6%)

Algorithm
egg-herbie
Rules
581×associate-/r*_binary64
450×sub-neg_binary64
441×associate-/r/_binary64
370×fma-def_binary64
349×distribute-rgt-in_binary64
Counts
51 → 33
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
057613
1152550
2469550
31544550
43494550
53895550
64902550
75491550

prune23.0ms (0.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New32133
Fresh101
Picked101
Done022
Total34337
Error
0b
Counts
37 → 3
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))))
4.7b
(+.f64 (/.f64 1 b) (/.f64 1 a))
11.0b
(/.f64 (/.f64 (+.f64 a b) a) b)
Compiler

Compiled 467 to 150 computations (67.9% saved)

regimes356.0ms (2.7%)

Accuracy

Total 0.3b remaining (92.2%)

Threshold costs 0.3b (92.2%)

Counts
48 → 3
Compiler

Compiled 3490 to 2228 computations (36.2% saved)

bsearch2.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
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039135
153135
256135
354135

end241.0ms (1.8%)

Compiler

Compiled 405 to 223 computations (44.9% saved)

Profiling

Loading profile data...