Details

Time bar (total: 14.8s)

analyze2.7s (18.1%)

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.6s (58.1%)

Symmetry

(sort a b)

Results
5.2s4290×body2048valid
1.7s2430×body1024valid
394.0ms724×body512valid
388.0ms604×body1024invalid
377.0ms390×body2048invalid
126.0ms288×body512invalid
91.0ms543×body128valid
86.0ms252×body256valid
63.0ms171×body256invalid
56.0ms333×body128invalid
28.0ms17×body4096valid
Compiler

Compiled 95 to 67 computations (29.5% saved)

simplify22.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
39.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
39.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)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series338.0ms (2.3%)

Counts
4 → 132
Calls

4 calls:

274.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)))
27.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
6.0ms
(expm1.f64 (*.f64 eps b))

rewrite15.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 b))

simplify131.0ms (0.9%)

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
06128300
120217554
250597554

prune173.0ms (1.2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2067213
Fresh000
Picked101
Done000
Total2077214
Error
0.0b
Counts
214 → 7
Alt Table
StatusErrorProgram
27.5b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
7.1b
(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))))
49.3b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (fma.f64 b eps (*.f64 1/2 (*.f64 (*.f64 eps eps) (*.f64 b b))))))
12.2b
(/.f64 (+.f64 a b) (*.f64 a b))
27.5b
(/.f64 (*.f64 (/.f64 eps (expm1.f64 (*.f64 a eps))) (expm1.f64 (*.f64 (+.f64 a b) eps))) (expm1.f64 (*.f64 eps b)))
38.8b
(/.f64 eps (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (expm1.f64 (*.f64 eps (+.f64 a b)))))
40.1b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 eps b))) (cbrt.f64 (expm1.f64 (*.f64 eps b))))) (cbrt.f64 (expm1.f64 (*.f64 eps b)))))
Compiler

Compiled 10713 to 3604 computations (66.4% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))
0.0b
(+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))
7.5b
(*.f64 a (*.f64 eps eps))
8.5b
(*.f64 b (*.f64 eps eps))

series60.0ms (0.4%)

Counts
4 → 120
Calls

4 calls:

22.0ms
(+.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))
8.0ms
(*.f64 b (*.f64 eps eps))
8.0ms
(*.f64 a (*.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:

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

simplify103.0ms (0.7%)

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 → 130
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01052505
12362362
26562362
322572360
445242360
550012360

prune116.0ms (0.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1291130
Fresh066
Picked011
Done000
Total1298137
Error
0.0b
Counts
137 → 8
Alt Table
StatusErrorProgram
27.5b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
7.1b
(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))))
8.3b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (*.f64 (*.f64 (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))) (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))) (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))))
49.3b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (fma.f64 b eps (*.f64 1/2 (*.f64 (*.f64 eps eps) (*.f64 b b))))))
12.2b
(/.f64 (+.f64 a b) (*.f64 a b))
27.5b
(/.f64 (*.f64 (/.f64 eps (expm1.f64 (*.f64 a eps))) (expm1.f64 (*.f64 (+.f64 a b) eps))) (expm1.f64 (*.f64 eps b)))
38.8b
(/.f64 eps (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (expm1.f64 (*.f64 eps (+.f64 a b)))))
40.1b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 eps b))) (cbrt.f64 (expm1.f64 (*.f64 eps b))))) (cbrt.f64 (expm1.f64 (*.f64 eps b)))))
Compiler

Compiled 3895 to 1862 computations (52.2% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))
0.5b
(*.f64 (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))) (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))))
7.5b
(*.f64 a (*.f64 eps eps))
8.5b
(*.f64 b (*.f64 eps eps))

series307.0ms (2.1%)

Counts
2 → 72
Calls

2 calls:

215.0ms
(*.f64 (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))) (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))))
92.0ms
(cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))

rewrite32.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity_binary64
41×cbrt-prod_binary64
19×add-sqr-sqrt_binary64
18×distribute-lft-out_binary64
14×swap-sqr_binary64
Counts
2 → 79
Calls

2 calls:

13.0ms
(*.f64 (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))) (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))))
8.0ms
(cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))

simplify186.0ms (1.3%)

Algorithm
egg-herbie
Rules
677×fma-def_binary64
527×associate-/r*_binary64
240×times-frac_binary64
226×*-commutative_binary64
144×+-commutative_binary64
Counts
151 → 229
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
068713176
1222212078
2514212078

prune951.0ms (6.4%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New5381539
Fresh066
Picked011
Done011
Total5389547
Error
0.0b
Counts
547 → 9
Alt Table
StatusErrorProgram
27.5b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
7.1b
(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))))
8.3b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (*.f64 (*.f64 (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))) (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))) (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))))
49.3b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (fma.f64 b eps (*.f64 1/2 (*.f64 (*.f64 eps eps) (*.f64 b b))))))
12.2b
(/.f64 (+.f64 a b) (*.f64 a b))
27.5b
(/.f64 (*.f64 (/.f64 eps (expm1.f64 (*.f64 a eps))) (expm1.f64 (*.f64 (+.f64 a b) eps))) (expm1.f64 (*.f64 eps b)))
49.3b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (*.f64 (fma.f64 1/18 (*.f64 (*.f64 b (*.f64 eps eps)) (cbrt.f64 a)) (fma.f64 2/3 (/.f64 (cbrt.f64 a) b) (cbrt.f64 (/.f64 1 (*.f64 a a))))) (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))))
38.8b
(/.f64 eps (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (expm1.f64 (*.f64 eps (+.f64 a b)))))
40.1b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 eps b))) (cbrt.f64 (expm1.f64 (*.f64 eps b))))) (cbrt.f64 (expm1.f64 (*.f64 eps b)))))
Compiler

Compiled 47378 to 28785 computations (39.2% saved)

localize6.0ms (0%)

Local error

Found 1 expressions with local error:

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

series7.0ms (0%)

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

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

prune32.0ms (0.2%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New32133
Fresh156
Picked011
Done022
Total33942
Error
0.0b
Counts
42 → 9
Alt Table
StatusErrorProgram
27.5b
(/.f64 (*.f64 (/.f64 eps (expm1.f64 (*.f64 a eps))) (expm1.f64 (*.f64 (+.f64 a b) eps))) (expm1.f64 (*.f64 eps b)))
10.6b
(/.f64 (/.f64 (+.f64 a b) a) b)
27.5b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
7.1b
(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))))
8.3b
(fma.f64 1/12 (*.f64 a (*.f64 eps eps)) (*.f64 (*.f64 (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)))) (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))) (cbrt.f64 (+.f64 (/.f64 1 b) (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))))))
49.3b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (fma.f64 b eps (*.f64 1/2 (*.f64 (*.f64 eps eps) (*.f64 b b))))))
12.2b
(/.f64 (+.f64 a b) (*.f64 a b))
38.8b
(/.f64 eps (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (expm1.f64 (*.f64 eps (+.f64 a b)))))
40.1b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 eps b))) (cbrt.f64 (expm1.f64 (*.f64 eps b))))) (cbrt.f64 (expm1.f64 (*.f64 eps b)))))
Compiler

Compiled 653 to 256 computations (60.8% saved)

regimes558.0ms (3.8%)

Accuracy

Total 0.2b remaining (89.5%)

Threshold costs 0.2b (89.5%)

Counts
98 → 3
Compiler

Compiled 9302 to 5632 computations (39.5% saved)

bsearch6.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
039137
153137
256137
354137

end323.0ms (2.2%)

Compiler

Compiled 595 to 345 computations (42% saved)

Profiling

Loading profile data...