Details

Time bar (total: 4.5s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 13 to 12 computations (7.7% saved)

sample3.2s (72.5%)

Results
1.5s2136×body1024valid
759.0ms4332×body128valid
479.0ms1036×body512valid
176.0ms209×body2048valid
173.0ms543×body256valid
Compiler

Compiled 38 to 35 computations (7.9% saved)

simplify75.0ms (1.7%)

Algorithm
egg-herbie
Rules
978×times-frac_binary64
434×unswap-sqr_binary64
378×associate-*l/_binary64
368×fma-neg_binary64
358×fma-def_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
11915
22515
33415
45915
511315
623515
760015
8150415
9255715
10458215
11495615
12470115

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
33.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
33.2b
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)
Compiler

Compiled 36 to 33 computations (8.3% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (exp.f64 (*.f64 -2 x)))
0.0b
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))
3.6b
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)

series34.0ms (0.8%)

Counts
3 → 20
Calls

3 calls:

16.0ms
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)
14.0ms
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))
3.0ms
(+.f64 1 (exp.f64 (*.f64 -2 x)))

rewrite123.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
426×log-prod_binary64
330×prod-diff_binary64
227×fma-def_binary64
175×expm1-udef_binary64
175×log1p-udef_binary64
Counts
3 → 114
Calls

3 calls:

119.0ms
(+.f64 1 (exp.f64 (*.f64 -2 x)))
119.0ms
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))
119.0ms
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01036
121736
2247036
3491436
4502636
000
100

simplify112.0ms (2.5%)

Algorithm
egg-herbie
Rules
652×fma-def_binary64
437×distribute-rgt-neg-in_binary64
394×sub-neg_binary64
355×distribute-lft-neg-in_binary64
348×cancel-sign-sub-inv_binary64
Counts
134 → 137
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042257
1125252
2304238
3837231
42598231
54317231
64968231
74999231
84881231

prune154.0ms (3.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1361137
Fresh000
Picked011
Done000
Total1362138
Error
0b
Counts
138 → 2
Alt Table
StatusErrorProgram
27.6b
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))
33.2b
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)
Compiler

Compiled 2309 to 2077 computations (10% saved)

localize14.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 2/15 (pow.f64 x 5) x)
18.5b
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))

series13.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

7.0ms
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))
6.0ms
(fma.f64 2/15 (pow.f64 x 5) x)

rewrite75.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
835×log1p-expm1-u_binary64
835×expm1-log1p-u_binary64
103×prod-diff_binary64
100×add-sqr-sqrt_binary64
95×add-cbrt-cube_binary64
Counts
2 → 47
Calls

2 calls:

73.0ms
(fma.f64 2/15 (pow.f64 x 5) x)
73.0ms
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
121423
2215223
3504723
000
100

simplify154.0ms (3.4%)

Algorithm
egg-herbie
Rules
992×fma-neg_binary64
552×distribute-rgt-neg-in_binary64
422×distribute-lft-neg-in_binary64
416×unswap-sqr_binary64
405×cancel-sign-sub-inv_binary64
Counts
71 → 56
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
014246
142242
288228
3223228
4500228
51264228
61975228
73745228
84307228
94647228
104957228
114997228
124831228

prune54.0ms (1.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New56056
Fresh000
Picked011
Done011
Total56258
Error
0b
Counts
58 → 2
Alt Table
StatusErrorProgram
27.6b
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))
33.2b
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)
Compiler

Compiled 899 to 698 computations (22.4% saved)

regimes262.0ms (5.9%)

Accuracy

Total 1.3b remaining (99%)

Threshold costs 0b (0%)

Counts
9 → 3
Compiler

Compiled 806 to 679 computations (15.8% saved)

bsearch1.0ms (0%)

Compiler

Compiled 5 to 4 computations (20% saved)

simplify6.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02563
13263
23363
33163

end137.0ms (3.1%)

Compiler

Compiled 115 to 97 computations (15.7% saved)

Profiling

Loading profile data...