Details

Time bar (total: 12.1s)

analyze2.4s (19.5%)

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)

sample286.0ms (2.4%)

Algorithm
intervals
Symmetry

(sort a b)

Results
125.0ms136×body2048valid
32.0ms70×body1024valid
24.0ms24×body512valid
7.0ms11×body2048overflowed
7.0ms298×pre128true
5.0ms14×body1024overflowed
2.0msbody256valid
2.0ms18×body128valid
1.0msbody512overflowed
1.0msbody128overflowed
1.0msbody256overflowed
Compiler

Compiled 64 to 46 computations (28.1% saved)

simplify21.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
42.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
42.8b
(/.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)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series336.0ms (2.8%)

Counts
4 → 132
Calls

4 calls:

271.0ms
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
30.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
28.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
6.0ms
(expm1.f64 (*.f64 eps a))

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

simplify138.0ms (1.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

prune152.0ms (1.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2103213
Fresh000
Picked101
Done000
Total2113214
Error
0.0b
Counts
214 → 3
Alt Table
StatusErrorProgram
5.5b
(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))))
15.4b
(/.f64 (+.f64 a b) (*.f64 a b))
29.8b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
Compiler

Compiled 10503 to 3485 computations (66.8% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.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))
5.7b
(*.f64 b (*.f64 eps eps))
6.0b
(*.f64 a (*.f64 eps eps))

series67.0ms (0.6%)

Counts
4 → 120
Calls

4 calls:

26.0ms
(fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))
25.0ms
(+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))
8.0ms
(*.f64 a (*.f64 eps eps))
8.0ms
(*.f64 b (*.f64 eps eps))

rewrite18.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
14×add-cbrt-cube_binary64
14×add-exp-log_binary64
14×pow1_binary64
Counts
4 → 81
Calls

4 calls:

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

simplify119.0ms (1%)

Algorithm
egg-herbie
Rules
562×associate-+l+_binary64
523×associate-*l*_binary64
384×associate-*r*_binary64
262×cancel-sign-sub-inv_binary64
220×unswap-sqr_binary64
Counts
201 → 131
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01052505
12362362
26562362
322572360
445242360
550012360

prune104.0ms (0.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1292131
Fresh022
Picked011
Done000
Total1295134
Error
0.0b
Counts
134 → 5
Alt Table
StatusErrorProgram
29.8b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
33.3b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (*.f64 (sqrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))) (sqrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))))
5.5b
(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))))
15.4b
(/.f64 (+.f64 a b) (*.f64 a b))
6.1b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (+.f64 (/.f64 1 b) (*.f64 (*.f64 (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))) (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))) (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))))
Compiler

Compiled 3785 to 1804 computations (52.3% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))) (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))
0.6b
(cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))
5.7b
(*.f64 b (*.f64 eps eps))
6.0b
(*.f64 a (*.f64 eps eps))

series132.0ms (1.1%)

Counts
2 → 72
Calls

2 calls:

74.0ms
(*.f64 (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))) (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))
57.0ms
(cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
pow1_binary64
Counts
2 → 55
Calls

2 calls:

5.0ms
(*.f64 (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))) (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))
1.0ms
(cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))

simplify276.0ms (2.3%)

Algorithm
egg-herbie
Rules
544×fma-neg_binary64
413×cancel-sign-sub-inv_binary64
252×associate-/r*_binary64
220×exp-prod_binary64
213×unswap-sqr_binary64
Counts
127 → 152
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
03086165
19445933
230805552
345695350
448315192
544484798
642144708
749034708
849234708

prune505.0ms (4.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New4000400
Fresh033
Picked011
Done011
Total4005405
Error
0.0b
Counts
405 → 5
Alt Table
StatusErrorProgram
29.8b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
33.3b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (*.f64 (sqrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))) (sqrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))))
5.5b
(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))))
15.4b
(/.f64 (+.f64 a b) (*.f64 a b))
6.1b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (+.f64 (/.f64 1 b) (*.f64 (*.f64 (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))) (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))) (cbrt.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))))
Compiler

Compiled 24701 to 13626 computations (44.8% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
15.7b
(/.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))

rewrite11.0ms (0.1%)

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:

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

simplify80.0ms (0.7%)

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

prune22.0ms (0.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New32133
Fresh112
Picked011
Done112
Total34438
Error
0b
Counts
38 → 4
Alt Table
StatusErrorProgram
8.8b
(/.f64 1 (/.f64 a (/.f64 (+.f64 a b) b)))
29.8b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
5.5b
(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))))
15.4b
(/.f64 (+.f64 a b) (*.f64 a b))
Compiler

Compiled 493 to 165 computations (66.5% saved)

regimes339.0ms (2.8%)

Accuracy

Total 0.1b remaining (72.6%)

Threshold costs 0.1b (72.6%)

Counts
80 → 3
Compiler

Compiled 7078 to 4480 computations (36.7% 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
unpow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
043142
156142
259142
357142

end9.0ms (0.1%)

Compiler

Compiled 288 to 162 computations (43.8% saved)

sample7.0s (58.1%)

Algorithm
intervals
Results
3.8s4141×body2048valid
1.1s2349×body1024valid
253.0ms732×body512valid
234.0ms562×body1024overflowed
215.0ms9693×pre128true
202.0ms349×body2048overflowed
90.0ms310×body512overflowed
79.0ms543×body128valid
42.0ms220×body256valid
39.0ms171×body256overflowed
30.0ms15×body4096valid
27.0ms297×body128overflowed
3.0msbody2048invalid
Compiler

Compiled 200 to 123 computations (38.5% saved)

Profiling

Loading profile data...