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.5s (65.7%)

Results
1.4s8256×body128valid
Compiler

Compiled 84 to 55 computations (34.5% saved)

simplify56.0ms (2.4%)

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.7b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.8b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
42.2b
(/.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))
Compiler

Compiled 107 to 73 computations (31.8% saved)

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (*.f64 i i))
0.8b
(/.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))

rewrite57.0ms (2.5%)

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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
120214
2228814
3537414
000
100

simplify95.0ms (4.1%)

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

prune41.0ms (1.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New63164
Fresh101
Picked011
Done000
Total64266
Error
0b
Counts
66 → 2
Alt Table
StatusErrorProgram
28.7b
(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)))))
0.8b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
Compiler

Compiled 776 to 648 computations (16.5% saved)

localize12.0ms (0.5%)

Local error

Found 4 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
(*.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))

series16.0ms (0.7%)

Counts
4 → 36
Calls

4 calls:

4.0ms
(fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))
4.0ms
(*.f64 i (fma.f64 i i 1/4))
4.0ms
(*.f64 16 (pow.f64 i 8))
4.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))))

rewrite91.0ms (3.9%)

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
4 → 119
Calls

4 calls:

88.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))))
88.0ms
(*.f64 16 (pow.f64 i 8))
88.0ms
(fma.f64 4 (pow.f64 i 6) (*.f64 16 (pow.f64 i 8)))
88.0ms
(*.f64 i (fma.f64 i i 1/4))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01454
129454
2289254
3496954
000
100

simplify192.0ms (8.3%)

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
155 → 135
Iterations

Useful iterations: 2 (0.0ms)

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

prune109.0ms (4.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1350135
Fresh000
Picked011
Done011
Total1352137
Error
0b
Counts
137 → 2
Alt Table
StatusErrorProgram
28.7b
(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)))))
0.8b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
Compiler

Compiled 3285 to 2353 computations (28.4% saved)

regimes49.0ms (2.1%)

Accuracy

Total 0.3b remaining (98.7%)

Threshold costs 0.3b (98.7%)

Counts
19 → 1
Compiler

Compiled 600 to 445 computations (25.8% saved)

simplify2.0ms (0.1%)

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

end53.0ms (2.3%)

Compiler

Compiled 50 to 38 computations (24% saved)

Profiling

Loading profile data...