Details

Time bar (total: 1.9s)

analyze7.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
0%50%50%2
0%50%50%3
37.5%12.5%50%4
43.7%6.2%50%5
46.9%3.1%50%6
48.4%1.6%50%7
49.2%0.8%50%8
49.6%0.4%50%9
49.8%0.2%50%10
49.9%0.1%50%11
49.9%0%50%12
50%0%50%13
50%0%50%14
Compiler

Compiled 29 to 19 computations (34.5% saved)

sample1.3s (70%)

Results
1.2s8256×body128valid
Compiler

Compiled 84 to 55 computations (34.5% saved)

simplify57.0ms (3.1%)

Algorithm
egg-herbie
Rules
581×associate-/r*_binary64
510×distribute-rgt-in_binary64
489×distribute-lft-in_binary64
463×fma-neg_binary64
415×associate-/r/_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01131
14026
218517
391513
4234013
5445513
6495813
7507713

prune4.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
48.9b
(/.f64 (/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i))) (-.f64 (*.f64 (*.f64 2 i) (*.f64 2 i)) 1))
0.4b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
Compiler

Compiled 107 to 73 computations (31.8% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.4b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
0.5b
(/.f64 1 (*.f64 i i))

series10.0ms (0.5%)

Counts
2 → 24
Calls

2 calls:

8.0ms
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
2.0ms
(/.f64 1 (*.f64 i i))

rewrite48.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
882×log1p-expm1-u_binary64
882×expm1-log1p-u_binary64
92×add-sqr-sqrt_binary64
91×add-cbrt-cube_binary64
91×add-log-exp_binary64
Counts
2 → 48
Calls

2 calls:

47.0ms
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
47.0ms
(/.f64 1 (*.f64 i i))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0920
120214
2228814
3537414

simplify92.0ms (5%)

Algorithm
egg-herbie
Rules
590×distribute-rgt-neg-in_binary64
538×distribute-lft-neg-in_binary64
472×associate-*l*_binary64
438×fma-neg_binary64
414×unswap-sqr_binary64
Counts
72 → 65
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041273
1104271
2280267
3846267
42593267
54622267
64902267
74992267

prune34.0ms (1.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New63265
Fresh101
Picked101
Done000
Total65267
Error
0b
Counts
67 → 2
Alt Table
StatusErrorProgram
30.1b
(*.f64 -1/4 (pow.f64 i 2))
33.5b
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
Compiler

Compiled 761 to 640 computations (15.9% saved)

localize3.0ms (0.1%)

prune2.0ms (0.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done000
Total022
Error
0b
Counts
2 → 2
Alt Table
StatusErrorProgram
30.1b
(*.f64 -1/4 (pow.f64 i 2))
33.5b
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
Compiler

Compiled 22 to 17 computations (22.7% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.4b
(/.f64 1/64 (*.f64 i i))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(/.f64 1/64 (*.f64 i i))

rewrite70.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
469×log1p-expm1-u_binary64
469×expm1-log1p-u_binary64
268×unpow-prod-down_binary64
213×log-prod_binary64
158×prod-diff_binary64
Counts
1 → 40
Calls

1 calls:

69.0ms
(/.f64 1/64 (*.f64 i i))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11107
212487
348497
450057

simplify136.0ms (7.4%)

Algorithm
egg-herbie
Rules
1108×sqr-pow_binary64
573×fabs-mul_binary64
560×cube-prod_binary64
536×pow-sqr_binary64
434×unswap-sqr_binary64
Counts
52 → 41
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11184
21984
33484
47084
516684
649184
7114784
8114984
9129784
10146784
11164684
12187184
13215684
14257584
15314084
16382684
17404484
18428884
19437084
20440384
21442484
22499284

prune18.0ms (1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New41041
Fresh000
Picked011
Done011
Total41243
Error
0b
Counts
43 → 2
Alt Table
StatusErrorProgram
30.1b
(*.f64 -1/4 (pow.f64 i 2))
33.5b
(+.f64 1/16 (/.f64 1/64 (*.f64 i i)))
Compiler

Compiled 498 to 376 computations (24.5% saved)

regimes23.0ms (1.3%)

Accuracy

Total -0.2b remaining (-47%)

Threshold costs -0.2b (-47%)

Counts
5 → 1
Compiler

Compiled 240 to 165 computations (31.3% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
distribute-neg-frac_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
11313
21913
32113
42213
52013

end38.0ms (2.1%)

Compiler

Compiled 34 to 27 computations (20.6% saved)

Profiling

Loading profile data...