Details

Time bar (total: 3.7s)

analyze7.0ms (0.2%)

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.2s (31.3%)

Results
1.1s8256×body128valid
Compiler

Compiled 84 to 55 computations (34.5% saved)

simplify225.0ms (6.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

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

localize5.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series90.0ms (2.4%)

Counts
3 → 36
Calls

3 calls:

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

rewrite27.0ms (0.7%)

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:

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

simplify147.0ms (4%)

Algorithm
egg-herbie
Rules
817×fma-neg_binary64
446×unswap-sqr_binary64
409×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

prune195.0ms (5.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1942196
Fresh011
Picked101
Done000
Total1953198
Error
0b
Counts
198 → 3
Alt Table
StatusErrorProgram
45.3b
(/.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))
31.5b
(*.f64 -1/4 (pow.f64 i 2))
0.1b
(*.f64 (/.f64 1/2 (+.f64 2 (/.f64 1 i))) (/.f64 1/2 (-.f64 2 (/.f64 1 i))))
Compiler

Compiled 3724 to 2758 computations (25.9% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 2 (/.f64 1 i))
0.0b
(*.f64 (/.f64 1/2 (+.f64 2 (/.f64 1 i))) (/.f64 1/2 (-.f64 2 (/.f64 1 i))))
0.1b
(/.f64 1/2 (-.f64 2 (/.f64 1 i)))
0.1b
(/.f64 1/2 (+.f64 2 (/.f64 1 i)))

series13.0ms (0.3%)

Counts
4 → 39
Calls

4 calls:

4.0ms
(-.f64 2 (/.f64 1 i))
3.0ms
(*.f64 (/.f64 1/2 (+.f64 2 (/.f64 1 i))) (/.f64 1/2 (-.f64 2 (/.f64 1 i))))
3.0ms
(/.f64 1/2 (+.f64 2 (/.f64 1 i)))
3.0ms
(/.f64 1/2 (-.f64 2 (/.f64 1 i)))

rewrite67.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
158×add-sqr-sqrt_binary64
143×*-un-lft-identity_binary64
134×times-frac_binary64
90×add-cube-cbrt_binary64
39×prod-diff_binary64
Counts
4 → 240
Calls

4 calls:

25.0ms
(*.f64 (/.f64 1/2 (+.f64 2 (/.f64 1 i))) (/.f64 1/2 (-.f64 2 (/.f64 1 i))))
8.0ms
(-.f64 2 (/.f64 1 i))
7.0ms
(/.f64 1/2 (-.f64 2 (/.f64 1 i)))
6.0ms
(/.f64 1/2 (+.f64 2 (/.f64 1 i)))

simplify224.0ms (6%)

Algorithm
egg-herbie
Rules
740×fma-def_binary64
446×fma-neg_binary64
279×times-frac_binary64
230×cancel-sign-sub-inv_binary64
190×distribute-rgt-in_binary64
Counts
279 → 349
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03225864
18114962
224864702
343944700
449484700
548444700

prune316.0ms (8.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3490349
Fresh022
Picked011
Done000
Total3493352
Error
0b
Counts
352 → 3
Alt Table
StatusErrorProgram
45.3b
(/.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))
31.5b
(*.f64 -1/4 (pow.f64 i 2))
0.1b
(*.f64 (/.f64 1/2 (+.f64 2 (/.f64 1 i))) (/.f64 1/2 (-.f64 2 (/.f64 1 i))))
Compiler

Compiled 9337 to 7891 computations (15.5% 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))

rewrite7.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:

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

simplify79.0ms (2.1%)

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

prune40.0ms (1.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New45045
Fresh011
Picked011
Done011
Total45348
Error
0b
Counts
48 → 3
Alt Table
StatusErrorProgram
45.3b
(/.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))
31.5b
(*.f64 -1/4 (pow.f64 i 2))
0.1b
(*.f64 (/.f64 1/2 (+.f64 2 (/.f64 1 i))) (/.f64 1/2 (-.f64 2 (/.f64 1 i))))
Compiler

Compiled 534 to 404 computations (24.3% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 i i) (*.f64 i i))
12.6b
(/.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))
42.0b
(/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i)))

series12.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

5.0ms
(/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i)))
4.0ms
(/.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))
3.0ms
(*.f64 (*.f64 i i) (*.f64 i i))

rewrite116.0ms (3.1%)

Algorithm
rewrite-expression-head
Rules
302×add-cbrt-cube_binary64
302×add-exp-log_binary64
168×cbrt-unprod_binary64
168×prod-exp_binary64
114×pow1_binary64
Counts
3 → 238
Calls

3 calls:

31.0ms
(/.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))
22.0ms
(/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i)))
7.0ms
(*.f64 (*.f64 i i) (*.f64 i i))

simplify164.0ms (4.4%)

Algorithm
egg-herbie
Rules
585×times-frac_binary64
452×fma-neg_binary64
367×fma-def_binary64
294×associate-/l*_binary64
236×associate-/r*_binary64
Counts
274 → 277
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02867448
15353595
228913441
345183441
448543441

prune214.0ms (5.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2770277
Fresh000
Picked011
Done022
Total2773280
Error
0b
Counts
280 → 3
Alt Table
StatusErrorProgram
45.3b
(/.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))
31.5b
(*.f64 -1/4 (pow.f64 i 2))
0.1b
(*.f64 (/.f64 1/2 (+.f64 2 (/.f64 1 i))) (/.f64 1/2 (-.f64 2 (/.f64 1 i))))
Compiler

Compiled 10214 to 5835 computations (42.9% saved)

regimes499.0ms (13.5%)

Accuracy

Total 0.0b remaining (88.6%)

Threshold costs 0.0b (88.6%)

Counts
239 → 1
Compiler

Compiled 8010 to 6591 computations (17.7% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01124
11424
21324

end68.0ms (1.8%)

Compiler

Compiled 84 to 64 computations (23.8% saved)

Profiling

Loading profile data...