Details

Time bar (total: 4.5s)

analyze1.4s (32.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
0%50%50%2
0%50%50%3
0%50%50%4
3.1%46.9%50%5
7.8%42.2%50%6
10.2%39.8%50%7
10.9%39%50%8
11.3%38.7%50%9
11.6%38.4%50%10
11.8%38.2%50%11
11.8%38.2%50%12
11.8%38.1%50%13
11.9%38.1%50%14
Compiler

Compiled 29 to 19 computations (34.5% saved)

sample1.1s (25.3%)

Results
1.1s8256×body128valid
Compiler

Compiled 55 to 36 computations (34.5% saved)

simplify60.0ms (1.3%)

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

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 107 to 73 computations (31.8% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.1%)

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))

rewrite14.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt_binary64
35×times-frac_binary64
33×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64
15×add-exp-log_binary64
Counts
2 → 85
Calls

2 calls:

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

simplify138.0ms (3.1%)

Algorithm
egg-herbie
Rules
484×cancel-sign-sub-inv_binary64
484×fma-neg_binary64
262×associate-/l/_binary64
260×unsub-neg_binary64
197×neg-mul-1_binary64
Counts
109 → 114
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01571670
13041577
27011474
318551474
442051414
548871414
649991414
748671414

prune78.0ms (1.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1122114
Fresh101
Picked011
Done000
Total1133116
Error
0b
Counts
116 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 1/4 (+.f64 2 (/.f64 1 i))) (-.f64 (sqrt.f64 4) (sqrt.f64 (/.f64 1 (*.f64 i i)))))
0.1b
(*.f64 (/.f64 1/2 (+.f64 2 (/.f64 1 i))) (/.f64 1/2 (-.f64 2 (/.f64 1 i))))
0.1b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
Compiler

Compiled 1869 to 1408 computations (24.7% saved)

localize7.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)))

series10.0ms (0.2%)

Counts
4 → 39
Calls

4 calls:

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)))
1.0ms
(+.f64 2 (/.f64 1 i))

rewrite61.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
110×add-sqr-sqrt_binary64
101×*-un-lft-identity_binary64
96×times-frac_binary64
49×add-cube-cbrt_binary64
30×associate-*r*_binary64
Counts
4 → 185
Calls

4 calls:

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

simplify130.0ms (2.9%)

Algorithm
egg-herbie
Rules
499×associate-/l*_binary64
456×fma-def_binary64
288×associate-/l/_binary64
277×fma-neg_binary64
200×associate-/r*_binary64
Counts
224 → 263
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02654371
17044054
220983932
346203930
450263930

prune234.0ms (5.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2630263
Fresh011
Picked011
Done011
Total2633266
Error
0b
Counts
266 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 1/4 (+.f64 2 (/.f64 1 i))) (-.f64 (sqrt.f64 4) (sqrt.f64 (/.f64 1 (*.f64 i i)))))
0.1b
(*.f64 (/.f64 1/2 (+.f64 2 (/.f64 1 i))) (/.f64 1/2 (-.f64 2 (/.f64 1 i))))
0.1b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
Compiler

Compiled 6249 to 5401 computations (13.6% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 1/4 (+.f64 2 (/.f64 1 i))) (-.f64 (sqrt.f64 4) (sqrt.f64 (/.f64 1 (*.f64 i i)))))
0.1b
(/.f64 1/4 (+.f64 2 (/.f64 1 i)))
0.7b
(/.f64 1 (*.f64 i i))
31.8b
(sqrt.f64 (/.f64 1 (*.f64 i i)))

series8.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(/.f64 (/.f64 1/4 (+.f64 2 (/.f64 1 i))) (-.f64 (sqrt.f64 4) (sqrt.f64 (/.f64 1 (*.f64 i i)))))
3.0ms
(/.f64 1/4 (+.f64 2 (/.f64 1 i)))
1.0ms
(sqrt.f64 (/.f64 1 (*.f64 i i)))

rewrite129.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
627×times-frac_binary64
482×add-sqr-sqrt_binary64
474×*-un-lft-identity_binary64
315×sqrt-prod_binary64
176×difference-of-squares_binary64
Counts
3 → 416
Calls

3 calls:

21.0ms
(/.f64 (/.f64 1/4 (+.f64 2 (/.f64 1 i))) (-.f64 (sqrt.f64 4) (sqrt.f64 (/.f64 1 (*.f64 i i)))))
6.0ms
(/.f64 1/4 (+.f64 2 (/.f64 1 i)))
3.0ms
(sqrt.f64 (/.f64 1 (*.f64 i i)))

simplify466.0ms (10.5%)

Algorithm
egg-herbie
Rules
442×fma-def_binary64
430×associate-/l/_binary64
359×div-sub_binary64
308×times-frac_binary64
279×distribute-rgt-in_binary64
Counts
452 → 363
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
035318086
185517810
2216316001
3466114812
4461414811
5490014811

prune379.0ms (8.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New4030403
Fresh000
Picked011
Done022
Total4033406
Error
0b
Counts
406 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 1/4 (+.f64 2 (/.f64 1 i))) (-.f64 (sqrt.f64 4) (sqrt.f64 (/.f64 1 (*.f64 i i)))))
0.1b
(*.f64 (/.f64 1/2 (+.f64 2 (/.f64 1 i))) (/.f64 1/2 (-.f64 2 (/.f64 1 i))))
0.1b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
Compiler

Compiled 11482 to 9463 computations (17.6% saved)

regimes93.0ms (2.1%)

Accuracy

Total 0.3b remaining (97.4%)

Threshold costs 0.3b (97.4%)

Counts
41 → 1
Compiler

Compiled 1316 to 1063 computations (19.2% 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

end51.0ms (1.1%)

Compiler

Compiled 64 to 53 computations (17.2% saved)

Profiling

Loading profile data...