Details

Time bar (total: 14.0s)

analyze2.7s (19.3%)

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.8s (62.3%)

Symmetry

(sort a b)

Results
5.2s4259×body2048valid
1.7s2466×body1024valid
476.0ms637×body1024invalid
399.0ms712×body512valid
352.0ms404×body2048invalid
178.0ms291×body512invalid
113.0ms255×body256valid
110.0ms554×body128valid
48.0ms296×body128invalid
44.0ms156×body256invalid
16.0ms10×body4096valid
Compiler

Compiled 95 to 67 computations (29.5% saved)

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

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
39.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
39.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
(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))))
38.1b
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))

series324.0ms (2.3%)

Counts
4 → 144
Calls

4 calls:

261.0ms
(/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))
28.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
22.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
12.0ms
(expm1.f64 (*.f64 eps (+.f64 a b)))

rewrite81.0ms (0.6%)

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:

78.0ms
(expm1.f64 (*.f64 eps (+.f64 a b)))
78.0ms
(*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b)))
78.0ms
(*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b))))
78.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
000
100

simplify139.0ms (1%)

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

prune163.0ms (1.2%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2075212
Fresh000
Picked101
Done000
Total2085213
Error
0.0b
Counts
213 → 5
Alt Table
StatusErrorProgram
27.2b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps b))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps a))))
27.6b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
39.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)
8.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))))
40.2b
(pow.f64 (cbrt.f64 (/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))) 3)
Compiler

Compiled 10849 to 3893 computations (64.1% saved)

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

series61.0ms (0.4%)

Counts
4 → 120
Calls

4 calls:

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

rewrite64.0ms (0.5%)

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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01458
129858
2355758
3492558
000
100

simplify128.0ms (0.9%)

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

prune84.0ms (0.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1052107
Fresh134
Picked101
Done000
Total1075112
Error
0.0b
Counts
112 → 5
Alt Table
StatusErrorProgram
9.8b
(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)
27.2b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps b))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps a))))
5.5b
(+.f64 (/.f64 1 b) (/.f64 1 a))
27.6b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
40.2b
(pow.f64 (cbrt.f64 (/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))) 3)
Compiler

Compiled 2757 to 1429 computations (48.2% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

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

series5.0ms (0%)

Counts
1 → 6
Calls

1 calls:

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

rewrite47.0ms (0.3%)

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

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
115610
2200210
3619510
000
100

simplify7.0ms (0%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Counts
53 → 49
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0624
1824
2724

prune41.0ms (0.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New48149
Fresh134
Picked011
Done000
Total49554
Error
0.0b
Counts
54 → 5
Alt Table
StatusErrorProgram
27.2b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps b))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps a))))
5.5b
(+.f64 (/.f64 1 b) (/.f64 1 a))
27.6b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
40.2b
(pow.f64 (cbrt.f64 (/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))) 3)
12.1b
(/.f64 (/.f64 (+.f64 b a) b) a)
Compiler

Compiled 769 to 521 computations (32.2% saved)

localize4.0ms (0%)

Local error

Found 2 expressions with local error:

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

series14.0ms (0.1%)

Counts
2 → 48
Calls

2 calls:

9.0ms
(/.f64 (/.f64 (+.f64 b a) b) a)
5.0ms
(/.f64 (+.f64 b a) b)

rewrite55.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
895×log1p-expm1-u_binary64
895×expm1-log1p-u_binary64
561×prod-diff_binary64
76×add-sqr-sqrt_binary64
75×egg-rr
Counts
2 → 75
Calls

2 calls:

53.0ms
(/.f64 (+.f64 b a) b)
53.0ms
(/.f64 (/.f64 (+.f64 b a) b) a)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0617
114317
2220317
3658817
000
100

simplify11.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Counts
123 → 81
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09345
113345
212345

prune57.0ms (0.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New80181
Fresh033
Picked101
Done011
Total81586
Error
0b
Counts
86 → 5
Alt Table
StatusErrorProgram
11.2b
(pow.f64 (*.f64 a (/.f64 b (+.f64 b a))) -1)
27.2b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps b))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps a))))
5.5b
(+.f64 (/.f64 1 b) (/.f64 1 a))
27.6b
(*.f64 (/.f64 eps (expm1.f64 (*.f64 eps a))) (/.f64 (expm1.f64 (*.f64 eps (+.f64 a b))) (expm1.f64 (*.f64 eps b))))
40.2b
(pow.f64 (cbrt.f64 (/.f64 (*.f64 eps (expm1.f64 (*.f64 eps (+.f64 a b)))) (*.f64 (expm1.f64 (*.f64 eps a)) (expm1.f64 (*.f64 eps b))))) 3)
Compiler

Compiled 1050 to 371 computations (64.7% saved)

regimes926.0ms (6.6%)

Accuracy

Total 0.3b remaining (94.5%)

Threshold costs 0.3b (94.5%)

Counts
105 → 3
Compiler

Compiled 7570 to 4972 computations (34.3% saved)

bsearch3.0ms (0%)

Compiler

Compiled 27 to 19 computations (29.6% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Rules
11×*-commutative_binary64
10×+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
042136
161136
275136
385136
489136
590136
688136

end300.0ms (2.1%)

Compiler

Compiled 452 to 254 computations (43.8% saved)

Profiling

Loading profile data...