Details

Time bar (total: 3.4s)

analyze1.0ms (0%)

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)

sample1.7s (51.6%)

Results
759.0ms1978×body1024valid
435.0ms4451×body128valid
270.0ms1028×body512valid
119.0ms242×body2048valid
96.0ms557×body256valid
Compiler

Compiled 38 to 35 computations (7.9% saved)

simplify25.0ms (0.8%)

Algorithm
egg-herbie
Rules
978×times-frac_binary64
434×unswap-sqr_binary64
374×associate-*l/_binary64
342×associate-/l*_binary64
228×*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
11915
22515
33415
45915
512415
631115
797215
8254915
9418915
Stop Event
node limit
Counts
1 → 2

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
30.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
30.8b
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)
Compiler

Compiled 46 to 42 computations (8.7% saved)

localize7.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.0b
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)

series16.0ms (0.5%)

Counts
3 → 20
Calls

3 calls:

8.0ms
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)
7.0ms
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))
1.0ms
(+.f64 1 (exp.f64 (*.f64 -2 x)))

rewrite53.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
426×log-prod_binary64
259×prod-diff_binary64
227×fma-def_binary64
175×expm1-udef_binary64
175×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01036
121836
2266536
Stop Event
node limit
Counts
3 → 114
Calls

3 calls:

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

simplify30.0ms (0.9%)

Algorithm
egg-herbie
Rules
652×fma-def_binary64
431×distribute-rgt-neg-in_binary64
352×distribute-lft-neg-in_binary64
349×cancel-sign-sub-inv_binary64
277×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042257
1126252
2325238
31082231
43632231
Stop Event
node limit
Counts
134 → 137

prune87.0ms (2.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1343137
Fresh000
Picked101
Done000
Total1353138
Error
0.0b
Counts
138 → 3
Alt Table
StatusErrorProgram
30.8b
(fma.f64 2 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1)
30.8b
(expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 -2) x))))
30.5b
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))
Compiler

Compiled 2345 to 2110 computations (10% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite40.0ms (1.2%)

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
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
121423
2228423
Stop Event
node limit
Counts
2 → 47
Calls

2 calls:

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

simplify32.0ms (0.9%)

Algorithm
egg-herbie
Rules
759×fma-neg_binary64
416×unswap-sqr_binary64
405×cancel-sign-sub-inv_binary64
315×associate-*l*_binary64
304×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
014246
142242
296228
3285228
4693228
51942228
63515228
Stop Event
node limit
Counts
71 → 56

prune31.0ms (0.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New56056
Fresh022
Picked011
Done000
Total56359
Error
0.0b
Counts
59 → 3
Alt Table
StatusErrorProgram
30.8b
(fma.f64 2 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1)
30.8b
(expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 -2) x))))
30.5b
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))
Compiler

Compiled 935 to 731 computations (21.8% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (exp.f64 -2) x)
0.7b
(log1p.f64 (pow.f64 (exp.f64 -2) x))
3.3b
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 -2) x)))

series310.0ms (9.2%)

Counts
3 → 36
Calls

3 calls:

177.0ms
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 -2) x)))
130.0ms
(log1p.f64 (pow.f64 (exp.f64 -2) x))
2.0ms
(pow.f64 (exp.f64 -2) x)

rewrite51.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
826×expm1-log1p-u_binary64
825×log1p-expm1-u_binary64
415×prod-diff_binary64
90×add-sqr-sqrt_binary64
86×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0927
118927
2225027
Stop Event
node limit
Counts
3 → 82
Calls

3 calls:

50.0ms
(pow.f64 (exp.f64 -2) x)
50.0ms
(log1p.f64 (pow.f64 (exp.f64 -2) x))
50.0ms
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 -2) x)))

simplify25.0ms (0.7%)

Algorithm
egg-herbie
Rules
544×fma-def_binary64
530×associate-*l*_binary64
490×cancel-sign-sub-inv_binary64
480×associate-*r*_binary64
302×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042361
1119352
2329343
31176331
Stop Event
node limit
Counts
118 → 107

prune67.0ms (2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh101
Picked101
Done011
Total1082110
Error
0.0b
Counts
110 → 2
Alt Table
StatusErrorProgram
30.8b
(expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))))
30.5b
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))
Compiler

Compiled 1840 to 1633 computations (11.3% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (exp.f64 x) -2)
0.7b
(log1p.f64 (pow.f64 (exp.f64 x) -2))
3.3b
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))

series477.0ms (14.2%)

Counts
3 → 36
Calls

3 calls:

240.0ms
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))
231.0ms
(log1p.f64 (pow.f64 (exp.f64 x) -2))
7.0ms
(pow.f64 (exp.f64 x) -2)

rewrite53.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
808×expm1-log1p-u_binary64
807×log1p-expm1-u_binary64
408×prod-diff_binary64
90×add-sqr-sqrt_binary64
86×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0927
119027
2222927
Stop Event
node limit
Counts
3 → 81
Calls

3 calls:

51.0ms
(pow.f64 (exp.f64 x) -2)
51.0ms
(log1p.f64 (pow.f64 (exp.f64 x) -2))
51.0ms
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))

simplify24.0ms (0.7%)

Algorithm
egg-herbie
Rules
541×fma-def_binary64
527×associate-*l*_binary64
498×cancel-sign-sub-inv_binary64
477×associate-*r*_binary64
307×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042433
1121424
2332343
31176331
Stop Event
node limit
Counts
117 → 107

prune59.0ms (1.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh000
Picked011
Done011
Total1072109
Error
0.0b
Counts
109 → 2
Alt Table
StatusErrorProgram
30.8b
(expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))))
30.5b
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))
Compiler

Compiled 1831 to 1475 computations (19.4% saved)

regimes135.0ms (4%)

Accuracy

Total 0.5b remaining (98.1%)

Threshold costs 0.5b (98.1%)

Counts
19 → 2
Compiler

Compiled 1613 to 1403 computations (13% saved)

bsearch1.0ms (0%)

Compiler

Compiled 10 to 9 computations (10% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02344
13644
24844
35444
45844
55944
Stop Event
saturated

end62.0ms (1.9%)

Compiler

Compiled 84 to 72 computations (14.3% saved)

Profiling

Loading profile data...