Details

Time bar (total: 21.4s)

analyze4.6s (21.5%)

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)

sample14.2s (66.4%)

Symmetry

(sort a b)

Results
8.3s4175×body2048valid
3.1s2467×body1024valid
671.0ms756×body512valid
613.0ms618×body1024invalid
563.0ms416×body2048invalid
217.0ms291×body512invalid
169.0ms587×body128valid
140.0ms255×body256valid
93.0ms271×body128invalid
68.0ms139×body256invalid
48.0ms16×body4096valid
Compiler

Compiled 95 to 67 computations (29.5% saved)

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

prune7.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

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

series388.0ms (1.8%)

Counts
4 → 132
Calls

4 calls:

275.0ms
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
56.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
47.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
9.0ms
(expm1.f64 (*.f64 eps b))

rewrite156.0ms (0.7%)

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 → 104
Calls

4 calls:

151.0ms
(expm1.f64 (*.f64 eps b))
151.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
151.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
151.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
01460
129360
2411360
3590860

simplify137.0ms (0.6%)

Algorithm
egg-herbie
Rules
692×fma-def_binary64
492×associate-*l*_binary64
410×times-frac_binary64
350×associate-/l*_binary64
238×associate-/r*_binary64
Counts
236 → 192
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
05226487
118336111
253236111

prune231.0ms (1.1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1875192
Fresh000
Picked101
Done000
Total1885193
Error
0.0b
Counts
193 → 5
Alt Table
StatusErrorProgram
29.1b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps b))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps a))))
34.9b
(*.f64 (/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (expm1.f64 (*.f64 eps a))) (/.f64 1 (expm1.f64 (*.f64 eps b))))
6.8b
(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))))
17.8b
(/.f64 (+.f64 a b) (*.f64 a b))
40.6b
(pow.f64 (/.f64 (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))) (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))) -1)
Compiler

Compiled 9854 to 3558 computations (63.9% saved)

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

series110.0ms (0.5%)

Counts
4 → 120
Calls

4 calls:

47.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))))
33.0ms
(fma.f64 1/12 (*.f64 b (*.f64 eps eps)) (/.f64 1 a))
15.0ms
(*.f64 b (*.f64 eps eps))
14.0ms
(*.f64 a (*.f64 eps eps))

rewrite93.0ms (0.4%)

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 → 78
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01458
129858
2355758
3492558

simplify162.0ms (0.8%)

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
198 → 104
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 (4 fresh and 0 done)

PrunedKeptTotal
New1031104
Fresh134
Picked101
Done000
Total1054109
Error
0.0b
Counts
109 → 4
Alt Table
StatusErrorProgram
2.7b
(+.f64 (/.f64 1 b) (/.f64 1 a))
29.1b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps b))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps a))))
34.9b
(*.f64 (/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (expm1.f64 (*.f64 eps a))) (/.f64 1 (expm1.f64 (*.f64 eps b))))
17.8b
(/.f64 (+.f64 a b) (*.f64 a b))
Compiler

Compiled 2616 to 1350 computations (48.4% saved)

localize7.0ms (0%)

Local error

Found 1 expressions with local error:

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

series18.0ms (0.1%)

Counts
1 → 6
Calls

1 calls:

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

rewrite91.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
795×log1p-expm1-u_binary64
795×expm1-log1p-u_binary64
702×prod-diff_binary64
79×add-sqr-sqrt_binary64
73×add-cbrt-cube_binary64
Counts
1 → 46
Calls

1 calls:

89.0ms
(+.f64 (/.f64 1 b) (/.f64 1 a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
115610
2200210
3619510

simplify12.0ms (0.1%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Counts
52 → 48
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0624
1824
2724

prune61.0ms (0.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New47148
Fresh213
Picked011
Done000
Total49352
Error
0.0b
Counts
52 → 3
Alt Table
StatusErrorProgram
2.7b
(+.f64 (/.f64 1 b) (/.f64 1 a))
29.1b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps b))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps a))))
18.3b
(*.f64 (+.f64 b a) (/.f64 1 (*.f64 b a)))
Compiler

Compiled 676 to 462 computations (31.7% saved)

localize10.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.6b
(/.f64 1 (*.f64 b a))
16.4b
(*.f64 (+.f64 b a) (/.f64 1 (*.f64 b a)))

series34.0ms (0.2%)

Counts
2 → 48
Calls

2 calls:

19.0ms
(/.f64 1 (*.f64 b a))
15.0ms
(*.f64 (+.f64 b a) (/.f64 1 (*.f64 b a)))

rewrite89.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
882×expm1-log1p-u_binary64
583×prod-diff_binary64
85×add-sqr-sqrt_binary64
80×log1p-expm1-u_binary64
78×add-cbrt-cube_binary64
Counts
2 → 76
Calls

2 calls:

87.0ms
(/.f64 1 (*.f64 b a))
87.0ms
(*.f64 (+.f64 b a) (/.f64 1 (*.f64 b a)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
117217
2223117
3493417

simplify24.0ms (0.1%)

Algorithm
egg-herbie
Rules
associate-/r*_binary64
+-commutative_binary64
*-commutative_binary64
1-exp_binary64
Counts
124 → 81
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09372
114372
215372
314372

prune67.0ms (0.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New81081
Fresh011
Picked011
Done011
Total81384
Error
0.0b
Counts
84 → 3
Alt Table
StatusErrorProgram
2.7b
(+.f64 (/.f64 1 b) (/.f64 1 a))
29.1b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps b))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps a))))
18.3b
(*.f64 (+.f64 b a) (/.f64 1 (*.f64 b a)))
Compiler

Compiled 1082 to 433 computations (60% saved)

regimes541.0ms (2.5%)

Accuracy

Total 0.0b remaining (34.5%)

Threshold costs 0.0b (34.5%)

Counts
64 → 3
Compiler

Compiled 5186 to 3412 computations (34.2% saved)

bsearch3.0ms (0%)

Compiler

Compiled 27 to 19 computations (29.6% saved)

simplify6.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
038132
151132
254132
352132

end147.0ms (0.7%)

Remove

(sort a b)

Compiler

Compiled 399 to 229 computations (42.6% saved)

Profiling

Loading profile data...