Details

Time bar (total: 13.1s)

analyze2.3s (17.7%)

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.9s (68.1%)

Symmetry

(sort a b)

Results
5.0s4151×body2048valid
2.1s2490×body1024valid
596.0ms619×body1024invalid
378.0ms782×body512valid
351.0ms393×body2048invalid
159.0ms347×body512invalid
109.0ms262×body256valid
106.0ms560×body128valid
53.0ms321×body128invalid
42.0ms139×body256invalid
20.0ms11×body4096valid
Compiler

Compiled 95 to 67 computations (29.5% saved)

simplify22.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

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
37.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
37.1b
(/.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
(expm1.f64 (*.f64 eps (+.f64 a b)))
0.1b
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
0.3b
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
35.8b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))

series382.0ms (2.9%)

Counts
4 → 144
Calls

4 calls:

310.0ms
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
29.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
28.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
15.0ms
(expm1.f64 (*.f64 eps (+.f64 a b)))

rewrite14.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 (*.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)))

simplify122.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

prune159.0ms (1.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2254229
Fresh000
Picked101
Done000
Total2264230
Error
0.0b
Counts
230 → 4
Alt Table
StatusErrorProgram
11.5b
(/.f64 (+.f64 a b) (*.f64 a b))
25.4b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (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))))
37.1b
(/.f64 1 (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))))
Compiler

Compiled 11450 to 3855 computations (66.3% saved)

localize11.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.0b
(*.f64 a (*.f64 eps eps))
7.4b
(*.f64 b (*.f64 eps eps))

series67.0ms (0.5%)

Counts
4 → 120
Calls

4 calls:

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

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

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

simplify93.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

prune79.0ms (0.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1202122
Fresh213
Picked101
Done000
Total1233126
Error
0.0b
Counts
126 → 3
Alt Table
StatusErrorProgram
25.4b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
9.1b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 eps (*.f64 (+.f64 b a) (*.f64 eps 1/12)) (+.f64 (/.f64 1 a) (/.f64 1 b)))) (cbrt.f64 (fma.f64 eps (*.f64 (+.f64 b a) (*.f64 eps 1/12)) (+.f64 (/.f64 1 a) (/.f64 1 b))))) (cbrt.f64 (fma.f64 eps (*.f64 (+.f64 b a) (*.f64 eps 1/12)) (+.f64 (/.f64 1 a) (/.f64 1 b)))))
2.9b
(+.f64 (/.f64 1 b) (/.f64 1 a))
Compiler

Compiled 3164 to 1548 computations (51.1% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

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

series5.0ms (0%)

Counts
1 → 6
Calls

1 calls:

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

rewrite62.0ms (0.5%)

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:

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

simplify117.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

prune31.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New36137
Fresh112
Picked011
Done000
Total37340
Error
0.0b
Counts
40 → 3
Alt Table
StatusErrorProgram
25.4b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
13.6b
(fma.f64 (sqrt.f64 (/.f64 1 b)) (sqrt.f64 (/.f64 1 b)) (/.f64 1 a))
2.9b
(+.f64 (/.f64 1 b) (/.f64 1 a))
Compiler

Compiled 599 to 442 computations (26.2% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (/.f64 1 b))
0.2b
(fma.f64 (sqrt.f64 (/.f64 1 b)) (sqrt.f64 (/.f64 1 b)) (/.f64 1 a))

series24.0ms (0.2%)

Counts
2 → 14
Calls

2 calls:

16.0ms
(fma.f64 (sqrt.f64 (/.f64 1 b)) (sqrt.f64 (/.f64 1 b)) (/.f64 1 a))
7.0ms
(sqrt.f64 (/.f64 1 b))

rewrite4.0ms (0%)

Algorithm
rewrite-expression-head
Rules
13×sqrt-prod_binary64
13×add-sqr-sqrt_binary64
11×times-frac_binary64
10×*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 40
Calls

2 calls:

2.0ms
(sqrt.f64 (/.f64 1 b))
0.0ms
(fma.f64 (sqrt.f64 (/.f64 1 b)) (sqrt.f64 (/.f64 1 b)) (/.f64 1 a))

simplify91.0ms (0.7%)

Algorithm
egg-herbie
Rules
700×distribute-rgt-in_binary64
486×associate-/l*_binary64
446×distribute-rgt-out_binary64
426×associate-*l/_binary64
408×distribute-lft-in_binary64
Counts
54 → 53
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
051529
158505
286505
3154505
4341505
5917505
61790505
72751505
84580505
94782505
104897505

prune65.0ms (0.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh011
Picked011
Done011
Total85388
Error
0.0b
Counts
88 → 3
Alt Table
StatusErrorProgram
25.4b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
13.6b
(fma.f64 (sqrt.f64 (/.f64 1 b)) (sqrt.f64 (/.f64 1 b)) (/.f64 1 a))
2.9b
(+.f64 (/.f64 1 b) (/.f64 1 a))
Compiler

Compiled 1462 to 1109 computations (24.1% saved)

regimes243.0ms (1.9%)

Accuracy

Total 0.1b remaining (75%)

Threshold costs 0.1b (75%)

Counts
68 → 3
Compiler

Compiled 5106 to 3544 computations (30.6% saved)

bsearch4.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
*-lft-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
042142
157142
260142
358142

end223.0ms (1.7%)

Compiler

Compiled 430 to 249 computations (42.1% saved)

Profiling

Loading profile data...