Details

Time bar (total: 12.4s)

analyze2.6s (21.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.5s (68.5%)

Symmetry

(sort a b)

Results
5.1s4179×body2048valid
1.7s2453×body1024valid
361.0ms782×body512valid
354.0ms576×body1024invalid
314.0ms379×body2048invalid
301.0ms305×body512invalid
95.0ms557×body128valid
84.0ms267×body256valid
47.0ms278×body128invalid
38.0ms137×body256invalid
30.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
42.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
42.9b
(/.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)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series230.0ms (1.9%)

Counts
4 → 132
Calls

4 calls:

179.0ms
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
24.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
21.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
7.0ms
(*.f64 eps (+.f64 a b))

rewrite19.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
22×add-cbrt-cube_binary64
22×add-exp-log_binary64
16×add-sqr-sqrt_binary64
12×*-un-lft-identity_binary64
10×associate-*r*_binary64
Counts
4 → 88
Calls

4 calls:

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

simplify124.0ms (1%)

Algorithm
egg-herbie
Rules
712×fma-def_binary64
622×times-frac_binary64
470×associate-/l*_binary64
257×*-commutative_binary64
166×+-commutative_binary64
Counts
220 → 226
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
06388331
121077574
253177574

prune166.0ms (1.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2242226
Fresh000
Picked011
Done000
Total2243227
Error
0b
Counts
227 → 3
Alt Table
StatusErrorProgram
4.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))))
13.7b
(/.f64 (+.f64 a b) (*.f64 a b))
42.9b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
Compiler

Compiled 10714 to 3505 computations (67.3% saved)

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

series60.0ms (0.5%)

Counts
4 → 120
Calls

4 calls:

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

simplify94.0ms (0.8%)

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

prune91.0ms (0.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1220122
Fresh011
Picked011
Done011
Total1223125
Error
0b
Counts
125 → 3
Alt Table
StatusErrorProgram
4.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))))
13.7b
(/.f64 (+.f64 a b) (*.f64 a b))
42.9b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
Compiler

Compiled 3055 to 1474 computations (51.8% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
12.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))

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

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

prune21.0ms (0.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New33033
Fresh000
Picked011
Done022
Total33336
Error
0b
Counts
36 → 3
Alt Table
StatusErrorProgram
4.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))))
13.7b
(/.f64 (+.f64 a b) (*.f64 a b))
42.9b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
Compiler

Compiled 481 to 157 computations (67.4% saved)

regimes221.0ms (1.8%)

Accuracy

Total 0.5b remaining (92.8%)

Threshold costs 0.5b (92.8%)

Counts
62 → 3
Compiler

Compiled 4594 to 2904 computations (36.8% saved)

bsearch2.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
035132
149132
252132
350132

end88.0ms (0.7%)

Remove

(sort a b)

Compiler

Compiled 411 to 234 computations (43.1% saved)

Profiling

Loading profile data...