Details

Time bar (total: 2.3s)

analyze7.0ms (0.3%)

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.1s (49.5%)

Results
1.0s8256×body128valid
Compiler

Compiled 84 to 55 computations (34.5% saved)

simplify57.0ms (2.5%)

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
46.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.2%)

Local error

Found 2 expressions with local error:

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

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite50.0ms (2.2%)

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 → 47
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
120214
2228814
3537414
000
100

simplify96.0ms (4.2%)

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
71 → 64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041273
1104271
2280267
3846267
42593267
54622267
64902267
74992267

prune59.0ms (2.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New62264
Fresh101
Picked101
Done000
Total64266
Error
0b
Counts
66 → 2
Alt Table
StatusErrorProgram
26.4b
(*.f64 (/.f64 1/4 (-.f64 16 (/.f64 1 (pow.f64 i 4)))) (+.f64 4 (pow.f64 i -2)))
30.3b
(neg.f64 (fma.f64 i (*.f64 i (fma.f64 i i 1/4)) (fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))))
Compiler

Compiled 798 to 668 computations (16.3% saved)

localize8.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1 (pow.f64 i 4))
0.3b
(/.f64 1/4 (-.f64 16 (/.f64 1 (pow.f64 i 4))))
25.8b
(*.f64 (/.f64 1/4 (-.f64 16 (/.f64 1 (pow.f64 i 4)))) (+.f64 4 (pow.f64 i -2)))

series12.0ms (0.5%)

Counts
3 → 24
Calls

3 calls:

5.0ms
(/.f64 1 (pow.f64 i 4))
3.0ms
(*.f64 (/.f64 1/4 (-.f64 16 (/.f64 1 (pow.f64 i 4)))) (+.f64 4 (pow.f64 i -2)))
3.0ms
(/.f64 1/4 (-.f64 16 (/.f64 1 (pow.f64 i 4))))

rewrite69.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
398×prod-diff_binary64
250×expm1-udef_binary64
250×log1p-udef_binary64
151×log1p-expm1-u_binary64
151×expm1-log1p-u_binary64
Counts
3 → 103
Calls

3 calls:

67.0ms
(/.f64 1 (pow.f64 i 4))
67.0ms
(/.f64 1/4 (-.f64 16 (/.f64 1 (pow.f64 i 4))))
67.0ms
(*.f64 (/.f64 1/4 (-.f64 16 (/.f64 1 (pow.f64 i 4)))) (+.f64 4 (pow.f64 i -2)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01433
132924
2368924
3499924
000
100

simplify72.0ms (3.2%)

Algorithm
egg-herbie
Rules
547×times-frac_binary64
457×sub-neg_binary64
433×associate-/r*_binary64
422×unswap-sqr_binary64
287×fma-def_binary64
Counts
127 → 132
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
072381
1192379
2538371
31688371
43441371
54733371
64915371

prune95.0ms (4.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1320132
Fresh011
Picked011
Done000
Total1322134
Error
0b
Counts
134 → 2
Alt Table
StatusErrorProgram
26.4b
(*.f64 (/.f64 1/4 (-.f64 16 (/.f64 1 (pow.f64 i 4)))) (+.f64 4 (pow.f64 i -2)))
30.3b
(neg.f64 (fma.f64 i (*.f64 i (fma.f64 i i 1/4)) (fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))))
Compiler

Compiled 2386 to 2013 computations (15.6% saved)

localize11.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 i (*.f64 i (fma.f64 i i 1/4)) (fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8))))
0.0b
(fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))
0.0b
(*.f64 i (fma.f64 i i 1/4))

series14.0ms (0.6%)

Counts
3 → 36
Calls

3 calls:

6.0ms
(fma.f64 i (*.f64 i (fma.f64 i i 1/4)) (fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8))))
5.0ms
(fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))
3.0ms
(*.f64 i (fma.f64 i i 1/4))

rewrite63.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
534×log-prod_binary64
225×expm1-udef_binary64
225×log1p-udef_binary64
194×log-pow_binary64
187×fma-def_binary64
Counts
3 → 103
Calls

3 calls:

61.0ms
(fma.f64 i (*.f64 i (fma.f64 i i 1/4)) (fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8))))
61.0ms
(fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))
61.0ms
(*.f64 i (fma.f64 i i 1/4))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01447
129447
2289247
3496947
000
100

simplify185.0ms (8.1%)

Algorithm
egg-herbie
Rules
748×unswap-sqr_binary64
714×distribute-rgt-out_binary64
623×sqr-pow_binary64
596×distribute-lft-out_binary64
568×*-commutative_binary64
Counts
139 → 119
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
026452
164432
2153420
3411420
41493420
53328420
63320420
73674420
84015420
94425420
104308420
114708420
124703420
134935420
144870420

prune93.0ms (4.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh000
Picked011
Done011
Total1192121
Error
0b
Counts
121 → 2
Alt Table
StatusErrorProgram
26.4b
(*.f64 (/.f64 1/4 (-.f64 16 (/.f64 1 (pow.f64 i 4)))) (+.f64 4 (pow.f64 i -2)))
30.3b
(neg.f64 (fma.f64 i (*.f64 i (fma.f64 i i 1/4)) (fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))))
Compiler

Compiled 2918 to 2085 computations (28.5% saved)

regimes189.0ms (8.2%)

Accuracy

Total 0.4b remaining (98.4%)

Threshold costs 0.4b (98.4%)

Counts
104 → 1
Compiler

Compiled 2872 to 2421 computations (15.7% saved)

simplify2.0ms (0.1%)

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
0913
11113
21513
31713
41813
51813

end59.0ms (2.6%)

Compiler

Compiled 56 to 44 computations (21.4% saved)

Profiling

Loading profile data...