Details

Time bar (total: 1.2s)

analyze4.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
62.5%12.5%25%5
68.7%6.2%25%6
71.8%3.1%25%7
73.4%1.6%25%8
74.2%0.8%25%9
74.6%0.4%25%10
74.8%0.2%25%11
74.9%0.1%25%12
74.9%0%25%13
74.9%0%25%14
Compiler

Compiled 7 to 5 computations (28.6% saved)

sample616.0ms (53.4%)

Results
579.0ms8256×body128valid
Compiler

Compiled 20 to 14 computations (30% saved)

simplify15.0ms (1.3%)

Algorithm
egg-herbie
Rules
92×fma-def_binary64
68×fma-neg_binary64
24×cancel-sign-sub-inv_binary64
16×distribute-rgt-in_binary64
12×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1117
2177
3197
4237
5287
6377
7567
81127
91727
101947
112127
122147
131837

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 18 to 12 computations (33.3% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (-.f64 x 1))

series2.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

2.0ms
(*.f64 x (-.f64 x 1))

rewrite12.0ms (1%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
20×*-un-lft-identity_binary64
18×prod-diff_binary64
17×add-cube-cbrt_binary64
13×distribute-lft-in_binary64
Counts
1 → 52
Calls

1 calls:

9.0ms
(*.f64 x (-.f64 x 1))

simplify74.0ms (6.5%)

Algorithm
egg-herbie
Rules
411×unswap-sqr_binary64
411×fma-neg_binary64
340×*-commutative_binary64
316×exp-prod_binary64
265×distribute-rgt-neg-in_binary64
Counts
64 → 75
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
066597
1121507
2321503
31110503
41977503
54623503
64945503

prune44.0ms (3.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New74175
Fresh000
Picked011
Done000
Total74276
Error
0b
Counts
76 → 2
Alt Table
StatusErrorProgram
12.6b
(/.f64 (-.f64 (pow.f64 x 4) x) (+.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (*.f64 x 1))))
0.0b
(*.f64 x (-.f64 x 1))
Compiler

Compiled 1127 to 756 computations (32.9% saved)

localize11.0ms (1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (pow.f64 x 4) x)
0.0b
(+.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (*.f64 x 1)))
11.7b
(/.f64 (-.f64 (pow.f64 x 4) x) (+.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (*.f64 x 1))))

series8.0ms (0.7%)

Counts
3 → 27
Calls

3 calls:

4.0ms
(/.f64 (-.f64 (pow.f64 x 4) x) (+.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (*.f64 x 1))))
3.0ms
(-.f64 (pow.f64 x 4) x)
2.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (*.f64 x 1)))

rewrite33.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt_binary64
41×*-un-lft-identity_binary64
31×add-cube-cbrt_binary64
21×prod-diff_binary64
21×times-frac_binary64
Counts
3 → 114
Calls

3 calls:

12.0ms
(/.f64 (-.f64 (pow.f64 x 4) x) (+.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (*.f64 x 1))))
6.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (*.f64 x 1)))
5.0ms
(-.f64 (pow.f64 x 4) x)

simplify98.0ms (8.5%)

Algorithm
egg-herbie
Rules
943×fma-neg_binary64
527×distribute-rgt-in_binary64
470×distribute-lft-in_binary64
266×times-frac_binary64
202×cancel-sign-sub-inv_binary64
Counts
141 → 172
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01812443
14122200
213992134
345632133
451672133

prune117.0ms (10.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1720172
Fresh000
Picked011
Done011
Total1722174
Error
0b
Counts
174 → 2
Alt Table
StatusErrorProgram
12.6b
(/.f64 (-.f64 (pow.f64 x 4) x) (+.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (*.f64 x 1))))
0.0b
(*.f64 x (-.f64 x 1))
Compiler

Compiled 4748 to 2851 computations (40% saved)

regimes72.0ms (6.3%)

Accuracy

Total 0.0b remaining (63.2%)

Threshold costs 0.0b (63.2%)

Counts
35 → 1
Compiler

Compiled 909 to 605 computations (33.4% saved)

simplify2.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
047
167
2117
3137
4147
5147

end39.0ms (3.4%)

Compiler

Compiled 36 to 23 computations (36.1% saved)

Profiling

Loading profile data...