Details

Time bar (total: 1.5s)

analyze5.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50%0.4%49.6%10
50.2%0.2%49.6%11
50.2%0.1%49.7%12
50.2%0%49.8%13
50.2%0%49.8%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample1.1s (71.3%)

Results
967.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify44.0ms (2.9%)

Algorithm
egg-herbie
Rules
668×div-sub_binary64
499×fma-def_binary64
417×times-frac_binary64
411×associate-/l*_binary64
366×associate-/r*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0711
1199
2459
3897
41917
54387
612947
736357
853177

prune3.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 25 to 17 computations (32% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))

series3.0ms (0.2%)

Counts
1 → 4
Calls

1 calls:

2.0ms
(exp.f64 (fma.f64 x x -1))

rewrite2.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
exp-prod_binary64
add-log-exp_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 14
Calls

1 calls:

1.0ms
(exp.f64 (fma.f64 x x -1))

simplify53.0ms (3.5%)

Algorithm
egg-herbie
Rules
431×fma-def_binary64
418×exp-sum_binary64
378×associate-*l*_binary64
330×unswap-sqr_binary64
324×distribute-lft-out_binary64
Counts
18 → 23
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042221
184206
2178190
3528183
41777183
54482183
65315183

prune21.0ms (1.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New21223
Fresh000
Picked011
Done000
Total21324
Error
0b
Counts
24 → 3
Alt Table
StatusErrorProgram
0.5b
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
0.0b
(exp.f64 (fma.f64 x x -1))
63.8b
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
Compiler

Compiled 302 to 227 computations (24.8% saved)

localize5.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
0.2b
(*.f64 (exp.f64 -1) (pow.f64 x 2))

series8.0ms (0.5%)

Counts
2 → 3
Calls

2 calls:

4.0ms
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
4.0ms
(*.f64 (exp.f64 -1) (pow.f64 x 2))

rewrite11.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
unswap-sqr_binary64
Counts
2 → 45
Calls

2 calls:

7.0ms
(*.f64 (exp.f64 -1) (pow.f64 x 2))
3.0ms
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))

simplify103.0ms (6.8%)

Algorithm
egg-herbie
Rules
736×fma-neg_binary64
433×unswap-sqr_binary64
414×associate-*l*_binary64
335×distribute-rgt-out_binary64
331×associate-*r*_binary64
Counts
48 → 72
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
074672
1171541
2498499
31884496
44108496
54822496
64953496
74957496

prune51.0ms (3.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh011
Picked011
Done011
Total72375
Error
0b
Counts
75 → 3
Alt Table
StatusErrorProgram
0.5b
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
0.0b
(exp.f64 (fma.f64 x x -1))
63.8b
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
Compiler

Compiled 1113 to 933 computations (16.2% saved)

localize5.0ms (0.3%)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
StatusErrorProgram
0.5b
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
0.0b
(exp.f64 (fma.f64 x x -1))
63.8b
(pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))
Compiler

Compiled 29 to 22 computations (24.1% saved)

regimes66.0ms (4.3%)

Accuracy

Total 0.0b remaining (36%)

Threshold costs 0.0b (36%)

Counts
10 → 1
Compiler

Compiled 556 to 417 computations (25% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Rules
1-exp_binary64
e-exp-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
189
2109
399

end50.0ms (3.3%)

Compiler

Compiled 43 to 32 computations (25.6% saved)

Profiling

Loading profile data...