Details

Time bar (total: 22.6s)

analyze2.7s (12%)

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 (38.1%)

Symmetry

(sort a b)

Results
5.0s4196×body2048valid
1.9s2510×body1024valid
467.0ms401×body2048invalid
370.0ms578×body1024invalid
358.0ms724×body512valid
135.0ms297×body512invalid
100.0ms580×body128valid
75.0ms237×body256valid
59.0ms301×body128invalid
44.0ms132×body256invalid
17.0msbody4096valid
Compiler

Compiled 95 to 67 computations (29.5% saved)

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

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series282.0ms (1.2%)

Counts
4 → 144
Calls

4 calls:

223.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)))
22.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
13.0ms
(expm1.f64 (*.f64 eps (+.f64 a b)))

rewrite89.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
916×prod-diff_binary64
149×add-sqr-sqrt_binary64
141×associate-*r*_binary64
141×log1p-expm1-u_binary64
141×expm1-log1p-u_binary64
Counts
4 → 108
Calls

4 calls:

85.0ms
(expm1.f64 (*.f64 eps (+.f64 a b)))
85.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
85.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
85.0ms
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01463
129363
2411363
3590863

simplify149.0ms (0.7%)

Algorithm
egg-herbie
Rules
828×fma-def_binary64
410×times-frac_binary64
350×associate-/l*_binary64
238×associate-/r*_binary64
221×*-commutative_binary64
Counts
252 → 212
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
05567020
119786629
249326625
352156625

prune171.0ms (0.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2093212
Fresh000
Picked101
Done000
Total2103213
Error
0.0b
Counts
213 → 3
Alt Table
StatusErrorProgram
6.2b
(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))))
37.9b
(pow.f64 (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))) -1)
36.5b
(*.f64 (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (pow.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))) 2)) (/.f64 eps (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))))
Compiler

Compiled 10787 to 3843 computations (64.4% saved)

localize11.0ms (0%)

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

series57.0ms (0.3%)

Counts
4 → 120
Calls

4 calls:

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

rewrite65.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
743×prod-diff_binary64
148×add-sqr-sqrt_binary64
139×log1p-expm1-u_binary64
139×expm1-log1p-u_binary64
137×add-cbrt-cube_binary64
Counts
4 → 82
Calls

4 calls:

63.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))))
63.0ms
(fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))
63.0ms
(*.f64 a (*.f64 eps eps))
63.0ms
(*.f64 b (*.f64 eps eps))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01458
129858
2355758
3492558

simplify133.0ms (0.6%)

Algorithm
egg-herbie
Rules
731×distribute-rgt-out_binary64
626×associate-*l*_binary64
552×fma-def_binary64
484×*-commutative_binary64
362×distribute-rgt-in_binary64
Counts
202 → 107
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0261742
1651511
21401461
32951461
46161461
515291461
627681461
737901461
849971461
949961461
1049471461

prune83.0ms (0.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh022
Picked011
Done000
Total1064110
Error
0.0b
Counts
110 → 4
Alt Table
StatusErrorProgram
6.2b
(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))))
37.9b
(pow.f64 (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))) -1)
36.5b
(*.f64 (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (pow.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))) 2)) (/.f64 eps (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))))
7.4b
(pow.f64 (cbrt.f64 (fma.f64 1/12 (*.f64 (*.f64 eps eps) a) (+.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)) (/.f64 1 b)))) 3)
Compiler

Compiled 2745 to 1408 computations (48.7% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(cbrt.f64 (fma.f64 1/12 (*.f64 (*.f64 eps eps) a) (+.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)) (/.f64 1 b))))
0.7b
(pow.f64 (cbrt.f64 (fma.f64 1/12 (*.f64 (*.f64 eps eps) a) (+.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)) (/.f64 1 b)))) 3)
5.9b
(*.f64 (*.f64 eps eps) a)
7.5b
(*.f64 b (*.f64 eps eps))

series2.4s (10.6%)

Counts
3 → 96
Calls

3 calls:

2.3s
(pow.f64 (cbrt.f64 (fma.f64 1/12 (*.f64 (*.f64 eps eps) a) (+.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)) (/.f64 1 b)))) 3)
98.0ms
(cbrt.f64 (fma.f64 1/12 (*.f64 (*.f64 eps eps) a) (+.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)) (/.f64 1 b))))
7.0ms
(*.f64 (*.f64 eps eps) a)

rewrite68.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
725×prod-diff_binary64
165×add-sqr-sqrt_binary64
158×log1p-expm1-u_binary64
158×expm1-log1p-u_binary64
155×add-cbrt-cube_binary64
Counts
3 → 68
Calls

3 calls:

65.0ms
(cbrt.f64 (fma.f64 1/12 (*.f64 (*.f64 eps eps) a) (+.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)) (/.f64 1 b))))
65.0ms
(pow.f64 (cbrt.f64 (fma.f64 1/12 (*.f64 (*.f64 eps eps) a) (+.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)) (/.f64 1 b)))) 3)
65.0ms
(*.f64 (*.f64 eps eps) a)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01769
134469
2395269
3517069

simplify138.0ms (0.6%)

Algorithm
egg-herbie
Rules
679×fma-def_binary64
597×associate-/r*_binary64
486×times-frac_binary64
337×associate-/l*_binary64
213×*-commutative_binary64
Counts
164 → 188
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
06159404
121258992
255998992

prune292.0ms (1.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2060206
Fresh022
Picked011
Done011
Total2064210
Error
0.0b
Counts
210 → 4
Alt Table
StatusErrorProgram
6.2b
(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))))
37.9b
(pow.f64 (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))) -1)
36.5b
(*.f64 (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (pow.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))) 2)) (/.f64 eps (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))))
7.4b
(pow.f64 (cbrt.f64 (fma.f64 1/12 (*.f64 (*.f64 eps eps) a) (+.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)) (/.f64 1 b)))) 3)
Compiler

Compiled 13933 to 9513 computations (31.7% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.1b
(/.f64 eps (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))))
2.1b
(*.f64 (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (pow.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))) 2)) (/.f64 eps (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))))
20.1b
(/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (pow.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))) 2))
33.1b
(cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))

series4.8s (21.1%)

Counts
4 → 144
Calls

4 calls:

2.8s
(/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (pow.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))) 2))
1.1s
(/.f64 eps (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))))
734.0ms
(cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
178.0ms
(*.f64 (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (pow.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))) 2)) (/.f64 eps (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))))

rewrite105.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
941×prod-diff_binary64
187×add-sqr-sqrt_binary64
178×log1p-expm1-u_binary64
178×expm1-log1p-u_binary64
172×associate-*r*_binary64
Counts
4 → 160
Calls

4 calls:

101.0ms
(/.f64 eps (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))))
101.0ms
(*.f64 (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (pow.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))) 2)) (/.f64 eps (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))))
101.0ms
(/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (pow.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))) 2))
101.0ms
(cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01893
137993
2500093
3686393

simplify398.0ms (1.8%)

Algorithm
egg-herbie
Rules
638×fma-def_binary64
457×associate-*r/_binary64
425×associate-/l*_binary64
66×sqr-pow_binary64
43×sub-neg_binary64
Counts
304 → 260
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0250344933
1526344933

prune1.0s (4.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3061307
Fresh101
Picked011
Done022
Total3074311
Error
0.0b
Counts
311 → 4
Alt Table
StatusErrorProgram
36.1b
(/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) eps))
6.2b
(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))))
36.5b
(*.f64 (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (pow.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))) 2)) (/.f64 eps (cbrt.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))))
7.4b
(pow.f64 (cbrt.f64 (fma.f64 1/12 (*.f64 (*.f64 eps eps) a) (+.f64 (fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a)) (/.f64 1 b)))) 3)
Compiler

Compiled 70411 to 33559 computations (52.3% saved)

regimes664.0ms (2.9%)

Accuracy

Total 0.2b remaining (87.5%)

Threshold costs 0.2b (87.5%)

Counts
123 → 3
Compiler

Compiled 10922 to 7064 computations (35.3% saved)

bsearch5.0ms (0%)

Compiler

Compiled 27 to 19 computations (29.6% saved)

simplify5.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
046156
161156
264156
362156

end303.0ms (1.3%)

Compiler

Compiled 527 to 299 computations (43.3% saved)

Profiling

Loading profile data...