Details

Time bar (total: 12.6s)

analyze987.0ms (7.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
37.4%12.5%50.1%4
37.4%12.5%50.1%5
37.4%12.5%50.1%6
37.4%12.5%50.1%7
37.4%12.5%50.1%8
37.8%12.1%50.1%9
37.8%12.1%50.1%10
37.9%12%50.1%11
38.1%11.8%50.1%12
38.5%11.4%50.1%13
38.6%11.3%50.1%14
Compiler

Compiled 34 to 24 computations (29.4% saved)

sample8.8s (70.1%)

Symmetry

(sort a b)

Results
5.2s4185×body2048valid
1.9s2523×body1024valid
357.0ms738×body512valid
355.0ms391×body2048invalid
338.0ms554×body1024invalid
177.0ms273×body512invalid
105.0ms554×body128invalid
95.0ms538×body128valid
83.0ms254×body256valid
56.0ms144×body256invalid
29.0ms18×body4096valid
Compiler

Compiled 95 to 67 computations (29.5% saved)

simplify23.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.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
37.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)

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

series369.0ms (2.9%)

Counts
4 → 132
Calls

4 calls:

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

rewrite21.0ms (0.2%)

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:

6.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))))
1.0ms
(expm1.f64 (*.f64 eps a))

simplify163.0ms (1.3%)

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

prune243.0ms (1.9%)

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
37.7b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
14.0b
(/.f64 (+.f64 a b) (*.f64 a b))
8.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))))
53.0b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (cbrt.f64 (pow.f64 (*.f64 (expm1.f64 (*.f64 b eps)) (expm1.f64 (*.f64 a eps))) 3)))
Compiler

Compiled 10530 to 3504 computations (66.7% saved)

localize22.0ms (0.2%)

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))
5.5b
(*.f64 b (*.f64 eps eps))
6.6b
(*.f64 a (*.f64 eps eps))

series135.0ms (1.1%)

Counts
4 → 120
Calls

4 calls:

58.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))))
51.0ms
(fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))
13.0ms
(*.f64 a (*.f64 eps eps))
12.0ms
(*.f64 b (*.f64 eps eps))

rewrite20.0ms (0.2%)

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:

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

simplify191.0ms (1.5%)

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

prune156.0ms (1.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1202122
Fresh022
Picked101
Done011
Total1215126
Error
0b
Counts
126 → 5
Alt Table
StatusErrorProgram
51.4b
(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))))))
53.0b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (cbrt.f64 (pow.f64 (*.f64 (expm1.f64 (*.f64 b eps)) (expm1.f64 (*.f64 a eps))) 3)))
37.7b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
14.0b
(/.f64 (+.f64 a b) (*.f64 a b))
4.8b
(+.f64 (/.f64 1 b) (/.f64 1 a))
Compiler

Compiled 3173 to 1551 computations (51.1% saved)

localize9.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series13.0ms (0.1%)

Counts
1 → 6
Calls

1 calls:

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

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

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

simplify209.0ms (1.7%)

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

prune50.0ms (0.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New37037
Fresh033
Picked011
Done011
Total37542
Error
0b
Counts
42 → 5
Alt Table
StatusErrorProgram
51.4b
(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))))))
53.0b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (cbrt.f64 (pow.f64 (*.f64 (expm1.f64 (*.f64 b eps)) (expm1.f64 (*.f64 a eps))) 3)))
37.7b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
14.0b
(/.f64 (+.f64 a b) (*.f64 a b))
4.8b
(+.f64 (/.f64 1 b) (/.f64 1 a))
Compiler

Compiled 690 to 493 computations (28.6% saved)

localize14.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series16.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

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

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

simplify139.0ms (1.1%)

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.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New32133
Fresh112
Picked101
Done022
Total34438
Error
0b
Counts
38 → 4
Alt Table
StatusErrorProgram
12.2b
(/.f64 (/.f64 (+.f64 a b) a) b)
53.0b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (cbrt.f64 (pow.f64 (*.f64 (expm1.f64 (*.f64 b eps)) (expm1.f64 (*.f64 a eps))) 3)))
37.7b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
4.8b
(+.f64 (/.f64 1 b) (/.f64 1 a))
Compiler

Compiled 491 to 166 computations (66.2% saved)

regimes427.0ms (3.4%)

Accuracy

Total 0.4b remaining (96.8%)

Threshold costs 0.4b (96.8%)

Counts
43 → 3
Compiler

Compiled 3366 to 2132 computations (36.7% saved)

bsearch3.0ms (0%)

Compiler

Compiled 27 to 19 computations (29.6% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038142
154142
257142
355142

end455.0ms (3.6%)

Compiler

Compiled 449 to 259 computations (42.3% saved)

Profiling

Loading profile data...