Details

Time bar (total: 4.3s)

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.9s (43.4%)

Results
811.0ms2008×body1024valid
465.0ms4484×body128valid
280.0ms1009×body512valid
103.0ms552×body256valid
98.0ms203×body2048valid
Compiler

Compiled 38 to 35 computations (7.9% saved)

simplify65.0ms (1.5%)

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

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 36 to 33 computations (8.3% saved)

localize6.0ms (0.1%)

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

series18.0ms (0.4%)

Counts
3 → 20
Calls

3 calls:

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

rewrite31.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
102×*-un-lft-identity_binary64
75×add-sqr-sqrt_binary64
64×add-cube-cbrt_binary64
63×times-frac_binary64
54×prod-diff_binary64
Counts
3 → 149
Calls

3 calls:

11.0ms
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)
4.0ms
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))
3.0ms
(+.f64 1 (exp.f64 (*.f64 -2 x)))

simplify120.0ms (2.8%)

Algorithm
egg-herbie
Rules
745×fma-neg_binary64
409×cancel-sign-sub-inv_binary64
312×distribute-rgt-in_binary64
288×fma-def_binary64
267×distribute-lft-in_binary64
Counts
169 → 220
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01513241
13393128
28092722
322972604
447422603
549492603

prune180.0ms (4.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2173220
Fresh000
Picked101
Done000
Total2183221
Error
0.0b
Counts
221 → 3
Alt Table
StatusErrorProgram
32.2b
(fma.f64 (pow.f64 x 3) -1/3 x)
29.0b
(log.f64 (/.f64 (exp.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))) (exp.f64 1)))
44.8b
(+.f64 (fma.f64 (/.f64 2 (neg.f64 (expm1.f64 (*.f64 x -4)))) (neg.f64 (expm1.f64 (*.f64 x -2))) -1) 0)
Compiler

Compiled 5056 to 4605 computations (8.9% saved)

localize10.0ms (0.2%)

Local error

Found 4 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))))
0.3b
(/.f64 (exp.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))) (exp.f64 1))
3.1b
(log.f64 (/.f64 (exp.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))) (exp.f64 1)))

series228.0ms (5.3%)

Counts
2 → 16
Calls

2 calls:

215.0ms
(log.f64 (/.f64 (exp.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))) (exp.f64 1)))
13.0ms
(/.f64 (exp.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))) (exp.f64 1))

rewrite19.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity_binary64
18×times-frac_binary64
17×add-sqr-sqrt_binary64
17×add-cube-cbrt_binary64
13×log-prod_binary64
Counts
2 → 59
Calls

2 calls:

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

simplify87.0ms (2%)

Algorithm
egg-herbie
Rules
609×fma-def_binary64
342×times-frac_binary64
310×associate-/l*_binary64
284×fma-neg_binary64
265×div-exp_binary64
Counts
75 → 119
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01221941
12521739
25401662
313691654
442961654
550011654

prune140.0ms (3.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2150215
Fresh022
Picked011
Done000
Total2153218
Error
0.0b
Counts
218 → 3
Alt Table
StatusErrorProgram
32.2b
(fma.f64 (pow.f64 x 3) -1/3 x)
29.0b
(log.f64 (/.f64 (exp.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))) (exp.f64 1)))
44.8b
(+.f64 (fma.f64 (/.f64 2 (neg.f64 (expm1.f64 (*.f64 x -4)))) (neg.f64 (expm1.f64 (*.f64 x -2))) -1) 0)
Compiler

Compiled 4503 to 4032 computations (10.5% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (pow.f64 x 3) -1/3 x)

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 (pow.f64 x 3) -1/3 x)

simplify57.0ms (1.3%)

Algorithm
egg-herbie
Rules
435×neg-mul-1_binary64
394×associate-*l*_binary64
372×associate-*r*_binary64
317×distribute-rgt-out_binary64
261×exp-prod_binary64
Counts
22 → 16
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
020232
135197
287197
3323197
41660197
54537197
65209197

prune8.0ms (0.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New16016
Fresh011
Picked011
Done011
Total16319
Error
0.0b
Counts
19 → 3
Alt Table
StatusErrorProgram
32.2b
(fma.f64 (pow.f64 x 3) -1/3 x)
29.0b
(log.f64 (/.f64 (exp.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))) (exp.f64 1)))
44.8b
(+.f64 (fma.f64 (/.f64 2 (neg.f64 (expm1.f64 (*.f64 x -4)))) (neg.f64 (expm1.f64 (*.f64 x -2))) -1) 0)
Compiler

Compiled 208 to 162 computations (22.1% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 x -2))
0.0b
(expm1.f64 (*.f64 x -4))
0.0b
(/.f64 2 (neg.f64 (expm1.f64 (*.f64 x -4))))
29.6b
(fma.f64 (/.f64 2 (neg.f64 (expm1.f64 (*.f64 x -4)))) (neg.f64 (expm1.f64 (*.f64 x -2))) -1)

series23.0ms (0.5%)

Counts
4 → 48
Calls

4 calls:

12.0ms
(fma.f64 (/.f64 2 (neg.f64 (expm1.f64 (*.f64 x -4)))) (neg.f64 (expm1.f64 (*.f64 x -2))) -1)
7.0ms
(/.f64 2 (neg.f64 (expm1.f64 (*.f64 x -4))))
2.0ms
(expm1.f64 (*.f64 x -4))
2.0ms
(expm1.f64 (*.f64 x -2))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
30×times-frac_binary64
27×*-un-lft-identity_binary64
27×add-sqr-sqrt_binary64
27×add-cube-cbrt_binary64
12×distribute-lft-neg-in_binary64
Counts
4 → 89
Calls

4 calls:

3.0ms
(/.f64 2 (neg.f64 (expm1.f64 (*.f64 x -4))))
0.0ms
(expm1.f64 (*.f64 x -2))
0.0ms
(fma.f64 (/.f64 2 (neg.f64 (expm1.f64 (*.f64 x -4)))) (neg.f64 (expm1.f64 (*.f64 x -2))) -1)
0.0ms
(expm1.f64 (*.f64 x -4))

simplify103.0ms (2.4%)

Algorithm
egg-herbie
Rules
869×fma-neg_binary64
239×fma-def_binary64
217×sub-neg_binary64
210×cancel-sign-sub-inv_binary64
188×associate-/r*_binary64
Counts
137 → 153
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01932336
13932135
210222094
330031992
446161992
548671992

prune95.0ms (2.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1530153
Fresh000
Picked011
Done022
Total1533156
Error
0.0b
Counts
156 → 3
Alt Table
StatusErrorProgram
32.2b
(fma.f64 (pow.f64 x 3) -1/3 x)
29.0b
(log.f64 (/.f64 (exp.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))) (exp.f64 1)))
44.8b
(+.f64 (fma.f64 (/.f64 2 (neg.f64 (expm1.f64 (*.f64 x -4)))) (neg.f64 (expm1.f64 (*.f64 x -2))) -1) 0)
Compiler

Compiled 3472 to 3039 computations (12.5% saved)

regimes1.1s (26.3%)

Accuracy

Total 0.1b remaining (75.3%)

Threshold costs 0.1b (75.3%)

Counts
81 → 3
Compiler

Compiled 11625 to 10773 computations (7.3% saved)

bsearch2.0ms (0.1%)

Compiler

Compiled 5 to 4 computations (20% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
+-rgt-identity_binary64
sub-neg_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03566
14266
24466
34566
44466

end79.0ms (1.8%)

Compiler

Compiled 131 to 112 computations (14.5% saved)

Profiling

Loading profile data...