Details

Time bar (total: 2.2s)

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 (48.9%)

Results
1.0s8256×body128valid
Compiler

Compiled 84 to 55 computations (34.5% saved)

simplify54.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
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01131
14026
218517
391513
4234013
5445513
6495813
7507713
Stop Event
node limit
Counts
1 → 2

prune4.0ms (0.2%)

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

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series6.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

rewrite56.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
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0930
120221
2228821
3537421
Stop Event
node limit
Counts
3 → 77
Calls

3 calls:

54.0ms
(-.f64 4 (/.f64 1 (*.f64 i i)))
54.0ms
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
54.0ms
(/.f64 1 (*.f64 i i))

simplify81.0ms (3.6%)

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
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
044372
1108370
2290366
3871366
42646366
54704366
64924366
Stop Event
node limit
Counts
113 → 99

prune66.0ms (2.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New98199
Fresh011
Picked011
Done000
Total983101
Error
0b
Counts
101 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
45.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))
32.0b
(-.f64 (*.f64 (*.f64 i i) -1/4) (pow.f64 i 4))
Compiler

Compiled 1259 to 1053 computations (16.4% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series8.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

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

rewrite60.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
777×log1p-expm1-u_binary64
777×expm1-log1p-u_binary64
758×prod-diff_binary64
154×egg-rr
81×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0820
117820
2197520
3600020
Stop Event
node limit
Counts
2 → 154
Calls

2 calls:

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

simplify161.0ms (7.1%)

Algorithm
egg-herbie
Rules
1464×fma-neg_binary64
1060×fma-def_binary64
648×distribute-rgt-neg-in_binary64
530×distribute-rgt-in_binary64
530×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 9 (0.0ms)

IterNodesCost
014238
131220
279220
3198220
4572220
5986220
61979220
72952220
83425220
93584198
102734198
112509198
123052198
134274198
144574198
154965198
164736198
Stop Event
node limit
Counts
178 → 160

prune113.0ms (5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1600160
Fresh011
Picked011
Done011
Total1603163
Error
0b
Counts
163 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
45.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))
32.0b
(-.f64 (*.f64 (*.f64 i i) -1/4) (pow.f64 i 4))
Compiler

Compiled 4339 to 2797 computations (35.5% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series8.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

3.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))
2.0ms
(/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i)))
2.0ms
(*.f64 (*.f64 i i) (*.f64 i i))

rewrite77.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
508×prod-diff_binary64
200×log1p-udef_binary64
199×expm1-udef_binary64
151×times-frac_binary64
122×egg-rr
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01151
125540
2354240
3499840
Stop Event
node limit
Counts
3 → 122
Calls

3 calls:

75.0ms
(*.f64 (*.f64 i i) (*.f64 i i))
75.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))
75.0ms
(/.f64 (*.f64 (*.f64 i i) (*.f64 i i)) (*.f64 (*.f64 2 i) (*.f64 2 i)))

simplify93.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
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041321
1104319
2280315
3846315
42593315
54622315
64902315
74992315
Stop Event
node limit
Counts
158 → 139

prune113.0ms (5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1390139
Fresh000
Picked011
Done022
Total1393142
Error
0b
Counts
142 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 1/4 (-.f64 4 (/.f64 1 (*.f64 i i))))
45.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))
32.0b
(-.f64 (*.f64 (*.f64 i i) -1/4) (pow.f64 i 4))
Compiler

Compiled 3136 to 2254 computations (28.1% saved)

regimes177.0ms (7.9%)

Accuracy

Total 0.3b remaining (98.6%)

Threshold costs 0.3b (98.6%)

Counts
89 → 1
Compiler

Compiled 3374 to 2591 computations (23.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
Stop Event
saturated

end47.0ms (2.1%)

Compiler

Compiled 66 to 48 computations (27.3% saved)

Profiling

Loading profile data...