Details

Time bar (total: 14.0s)

analyze2.8s (19.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.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.7s (62.3%)

Symmetry

(sort a b)

Results
5.1s4196×body2048valid
1.9s2510×body1024valid
451.0ms416×body2048invalid
410.0ms655×body1024invalid
359.0ms736×body512valid
122.0ms280×body512invalid
100.0ms522×body128valid
90.0ms274×body256valid
54.0ms297×body128invalid
44.0ms141×body256invalid
33.0ms18×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

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
43.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
43.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)

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)))
41.9b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))

series261.0ms (1.9%)

Counts
4 → 144
Calls

4 calls:

199.0ms
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
26.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
24.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
12.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:

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

simplify133.0ms (1%)

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

prune161.0ms (1.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2263229
Fresh000
Picked101
Done000
Total2273230
Error
0.0b
Counts
230 → 3
Alt Table
StatusErrorProgram
3.7b
(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))))
12.8b
(/.f64 (+.f64 a b) (*.f64 a b))
31.2b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
Compiler

Compiled 11404 to 3825 computations (66.5% saved)

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

series67.0ms (0.5%)

Counts
4 → 120
Calls

4 calls:

24.0ms
(+.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))
14.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))

simplify112.0ms (0.8%)

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

prune100.0ms (0.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1301131
Fresh022
Picked011
Done000
Total1304134
Error
0b
Counts
134 → 4
Alt Table
StatusErrorProgram
3.7b
(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))))
4.3b
(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))))))
12.8b
(/.f64 (+.f64 a b) (*.f64 a b))
31.2b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
Compiler

Compiled 3703 to 1754 computations (52.6% saved)

localize14.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)))
6.0b
(*.f64 b (*.f64 eps eps))
8.2b
(*.f64 a (*.f64 eps eps))

series107.0ms (0.8%)

Counts
2 → 72
Calls

2 calls:

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

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

simplify263.0ms (1.9%)

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

prune573.0ms (4.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4000400
Fresh022
Picked011
Done011
Total4004404
Error
0b
Counts
404 → 4
Alt Table
StatusErrorProgram
3.7b
(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))))
4.3b
(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))))))
12.8b
(/.f64 (+.f64 a b) (*.f64 a b))
31.2b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
Compiler

Compiled 24619 to 13576 computations (44.9% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

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

series8.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

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

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

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

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

prune48.0ms (0.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New33033
Fresh011
Picked011
Done022
Total33437
Error
0b
Counts
37 → 4
Alt Table
StatusErrorProgram
3.7b
(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))))
4.3b
(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))))))
12.8b
(/.f64 (+.f64 a b) (*.f64 a b))
31.2b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
Compiler

Compiled 530 to 185 computations (65.1% saved)

regimes359.0ms (2.6%)

Accuracy

Total 0.2b remaining (76.2%)

Threshold costs 0.2b (76.2%)

Counts
92 → 3
Compiler

Compiled 8238 to 5184 computations (37.1% 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
038132
152132
255132
353132

end112.0ms (0.8%)

Remove

(sort a b)

Compiler

Compiled 460 to 262 computations (43% saved)

Profiling

Loading profile data...