Details

Time bar (total: 3.1s)

analyze11.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%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.2s (39.1%)

Results
1.1s8256×body128valid
Compiler

Compiled 84 to 55 computations (34.5% saved)

simplify60.0ms (2%)

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

prune5.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.5b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.5b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
47.5b
(/.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.2%)

Local error

Found 3 expressions with local error:

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

series16.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

6.0ms
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
6.0ms
(/.f64 1 (*.f64 i i))
4.0ms
(-.f64 4 (/.f64 1 (*.f64 i i)))

rewrite109.0ms (3.6%)

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt_binary64
54×*-un-lft-identity_binary64
49×times-frac_binary64
34×add-cube-cbrt_binary64
21×prod-diff_binary64
Counts
3 → 134
Calls

3 calls:

68.0ms
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
11.0ms
(-.f64 4 (/.f64 1 (*.f64 i i)))
9.0ms
(/.f64 1 (*.f64 i i))

simplify165.0ms (5.4%)

Algorithm
egg-herbie
Rules
817×fma-neg_binary64
446×unswap-sqr_binary64
408×associate-*l*_binary64
361×fma-def_binary64
294×associate-*r*_binary64
Counts
170 → 196
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02032573
13822324
29772089
334182089
446412081
549492081
647802081

prune180.0ms (5.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1933196
Fresh101
Picked101
Done000
Total1953198
Error
0b
Counts
198 → 3
Alt Table
StatusErrorProgram
15.4b
(exp.f64 (log.f64 (/.f64 1/4 (+.f64 4 (/.f64 -1 (*.f64 i i))))))
0.5b
(/.f64 1/4 (-.f64 4 (pow.f64 i -2)))
30.5b
(*.f64 -1/4 (pow.f64 i 2))
Compiler

Compiled 3680 to 2730 computations (25.8% saved)

localize9.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 4 (pow.f64 i -2))
0.5b
(/.f64 1/4 (-.f64 4 (pow.f64 i -2)))

series11.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

6.0ms
(/.f64 1/4 (-.f64 4 (pow.f64 i -2)))
4.0ms
(-.f64 4 (pow.f64 i -2))

rewrite32.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt_binary64
40×*-un-lft-identity_binary64
30×add-cube-cbrt_binary64
21×prod-diff_binary64
21×times-frac_binary64
Counts
2 → 95
Calls

2 calls:

10.0ms
(/.f64 1/4 (-.f64 4 (pow.f64 i -2)))
9.0ms
(-.f64 4 (pow.f64 i -2))

simplify214.0ms (7%)

Algorithm
egg-herbie
Rules
841×times-frac_binary64
658×fma-neg_binary64
467×associate-*l*_binary64
386×fma-def_binary64
334×associate-*r*_binary64
Counts
119 → 144
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02092626
13892113
210191527
330581527
449651527
547871527

prune214.0ms (7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1431144
Fresh112
Picked011
Done000
Total1443147
Error
0b
Counts
147 → 3
Alt Table
StatusErrorProgram
0.5b
(/.f64 1/4 (-.f64 4 (pow.f64 i -2)))
15.4b
(exp.f64 (log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))
30.5b
(*.f64 -1/4 (pow.f64 i 2))
Compiler

Compiled 2665 to 2209 computations (17.1% saved)

localize15.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 4 (pow.f64 i -2))
0.0b
(exp.f64 (log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))
0.5b
(/.f64 1/4 (-.f64 4 (pow.f64 i -2)))
17.2b
(log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))

series16.0ms (0.5%)

Counts
2 → 24
Calls

2 calls:

9.0ms
(exp.f64 (log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))
7.0ms
(log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))

rewrite38.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt_binary64
54×log-prod_binary64
42×times-frac_binary64
37×*-un-lft-identity_binary64
27×exp-sum_binary64
Counts
2 → 82
Calls

2 calls:

14.0ms
(exp.f64 (log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))
10.0ms
(log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2))))

simplify228.0ms (7.4%)

Algorithm
egg-herbie
Rules
494×fma-neg_binary64
415×cancel-sign-sub-inv_binary64
323×times-frac_binary64
296×fma-def_binary64
218×sub-neg_binary64
Counts
106 → 143
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
02532193
14742114
210372021
324191937
441981927
545691903
649361903
748781903

prune258.0ms (8.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2870287
Fresh011
Picked011
Done011
Total2873290
Error
0b
Counts
290 → 3
Alt Table
StatusErrorProgram
0.5b
(/.f64 1/4 (-.f64 4 (pow.f64 i -2)))
15.4b
(exp.f64 (log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))
30.5b
(*.f64 -1/4 (pow.f64 i 2))
Compiler

Compiled 5517 to 4759 computations (13.7% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.f64 -1/4 (pow.f64 i 2))

series3.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

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

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
associate-*r*_binary64
add-exp-log_binary64
unswap-sqr_binary64
unpow-prod-down_binary64
Counts
1 → 29
Calls

1 calls:

4.0ms
(*.f64 -1/4 (pow.f64 i 2))

simplify85.0ms (2.8%)

Algorithm
egg-herbie
Rules
964×fma-def_binary64
644×unswap-sqr_binary64
397×log-prod_binary64
394×sqr-pow_binary64
337×*-commutative_binary64
Counts
29 → 45
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
055321
197249
2198239
3636233
41071233
52844233
63957233
74846233
84880233

prune24.0ms (0.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New45045
Fresh000
Picked011
Done022
Total45348
Error
0b
Counts
48 → 3
Alt Table
StatusErrorProgram
0.5b
(/.f64 1/4 (-.f64 4 (pow.f64 i -2)))
15.4b
(exp.f64 (log.f64 (/.f64 1/4 (-.f64 4 (pow.f64 i -2)))))
30.5b
(*.f64 -1/4 (pow.f64 i 2))
Compiler

Compiled 484 to 372 computations (23.1% saved)

regimes90.0ms (2.9%)

Accuracy

Total 0.3b remaining (97.8%)

Threshold costs 0.3b (97.8%)

Counts
19 → 1
Compiler

Compiled 518 to 411 computations (20.7% saved)

simplify5.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

end64.0ms (2.1%)

Compiler

Compiled 44 to 37 computations (15.9% saved)

Profiling

Loading profile data...