Details

Time bar (total: 2.6s)

analyze6.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
99.9%0.1%0%13
99.9%0%0%14
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.1s (43.2%)

Results
407.0ms2027×body512valid
403.0ms4741×body128valid
149.0ms1037×body256valid
122.0ms451×body1024valid
0.0msbody128invalid
Compiler

Compiled 32 to 26 computations (18.8% saved)

simplify10.0ms (0.4%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11213
21813
32613
43413
55213
67713
79413
811113
912113
1012513
1112713
1211313

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
12.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
12.7b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Compiler

Compiled 39 to 31 computations (20.5% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x 1))
2.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
2.0ms
(/.f64 1 (+.f64 x 1))

rewrite59.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
896×expm1-log1p-u_binary64
733×prod-diff_binary64
137×egg-rr
85×add-sqr-sqrt_binary64
83×log1p-expm1-u_binary64
Counts
2 → 137
Calls

2 calls:

56.0ms
(/.f64 1 (+.f64 x 1))
56.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
116820
2222620
3523920
000
100

simplify75.0ms (2.9%)

Algorithm
egg-herbie
Rules
625×fma-neg_binary64
429×cancel-sign-sub-inv_binary64
405×associate-/r*_binary64
338×div-sub_binary64
334×sub-neg_binary64
Counts
161 → 165
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
037372
198366
2234366
3577364
41646363
54272363
64983363
74917363

prune170.0ms (6.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1632165
Fresh000
Picked011
Done000
Total1633166
Error
0.3b
Counts
166 → 3
Alt Table
StatusErrorProgram
12.7b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
51.0b
(*.f64 (-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) -2) (+.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x (+.f64 1 x)))))))
34.3b
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))
Compiler

Compiled 3447 to 2574 computations (25.3% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1 (pow.f64 x 3))
0.4b
(/.f64 1 (pow.f64 x 2))
6.0b
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))

series8.0ms (0.3%)

Counts
3 → 3
Calls

3 calls:

3.0ms
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))
2.0ms
(/.f64 1 (pow.f64 x 3))
2.0ms
(/.f64 1 (pow.f64 x 2))

rewrite111.0ms (4.3%)

Algorithm
batch-egg-rewrite
Rules
768×prod-diff_binary64
557×fma-udef_binary64
282×fma-def_binary64
217×fma-neg_binary64
170×egg-rr
Counts
3 → 170
Calls

3 calls:

108.0ms
(/.f64 1 (pow.f64 x 3))
108.0ms
(/.f64 1 (pow.f64 x 2))
108.0ms
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
123118
2243418
3480818
4469018
5502718
000
100

simplify136.0ms (5.3%)

Algorithm
egg-herbie
Rules
959×sqr-pow_binary64
561×cube-prod_binary64
543×fabs-mul_binary64
538×unswap-sqr_binary64
499×associate-/l/_binary64
Counts
173 → 173
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01021
12221
24021
38121
417621
563421
6164821
7165921
8187121
9210621
10243621
11254821
12297021
13344421
14374221
15395521
16407921
17412521
18415221
19481121
20483421

prune125.0ms (4.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1721173
Fresh011
Picked101
Done011
Total1733176
Error
0b
Counts
176 → 3
Alt Table
StatusErrorProgram
34.0b
(-.f64 (pow.f64 x -3) (pow.f64 x -2))
12.7b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
51.0b
(*.f64 (-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) -2) (+.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x (+.f64 1 x)))))))
Compiler

Compiled 2743 to 2106 computations (23.2% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
6.0b
(-.f64 (pow.f64 x -3) (pow.f64 x -2))

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

4.0ms
(-.f64 (pow.f64 x -3) (pow.f64 x -2))

rewrite65.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
725×log1p-expm1-u_binary64
725×expm1-log1p-u_binary64
567×prod-diff_binary64
78×add-sqr-sqrt_binary64
77×egg-rr
Counts
1 → 77
Calls

1 calls:

63.0ms
(-.f64 (pow.f64 x -3) (pow.f64 x -2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
116410
2182810
3534610
000
100

simplify61.0ms (2.3%)

Algorithm
egg-herbie
Rules
538×unswap-sqr_binary64
434×div-sub_binary64
398×neg-mul-1_binary64
365×fma-def_binary64
340×times-frac_binary64
Counts
89 → 82
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
012165
126165
248165
3102165
4220165
5806165
62480165
74305165
85118165

prune51.0ms (2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh011
Picked011
Done011
Total82385
Error
0b
Counts
85 → 3
Alt Table
StatusErrorProgram
34.0b
(-.f64 (pow.f64 x -3) (pow.f64 x -2))
12.7b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
51.0b
(*.f64 (-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) -2) (+.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x (+.f64 1 x)))))))
Compiler

Compiled 1722 to 1209 computations (29.8% saved)

localize13.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1 (*.f64 x (+.f64 1 x)))
0.4b
(/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) -2) (+.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x (+.f64 1 x))))))
2.8b
(-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3))
37.5b
(*.f64 (-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) -2) (+.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x (+.f64 1 x)))))))

series15.0ms (0.6%)

Counts
4 → 48
Calls

4 calls:

5.0ms
(/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) -2) (+.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x (+.f64 1 x))))))
4.0ms
(*.f64 (-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) -2) (+.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x (+.f64 1 x)))))))
3.0ms
(-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3))
2.0ms
(/.f64 1 (*.f64 x (+.f64 1 x)))

rewrite80.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
608×prod-diff_binary64
199×log1p-expm1-u_binary64
199×expm1-log1p-u_binary64
194×add-sqr-sqrt_binary64
184×add-cbrt-cube_binary64
Counts
4 → 126
Calls

4 calls:

77.0ms
(/.f64 1 (*.f64 x (+.f64 1 x)))
77.0ms
(/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) -2) (+.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x (+.f64 1 x))))))
77.0ms
(-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3))
77.0ms
(*.f64 (-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) -2) (+.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x (+.f64 1 x)))))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01791
141191
2444991
3554391
000
100

simplify95.0ms (3.7%)

Algorithm
egg-herbie
Rules
751×fma-def_binary64
474×associate-*l*_binary64
409×cancel-sign-sub-inv_binary64
385×associate-/r*_binary64
343×fma-neg_binary64
Counts
174 → 186
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
079779
1227747
2607747
31576744
44370744
54813744
64953744

prune172.0ms (6.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1860186
Fresh000
Picked011
Done022
Total1863189
Error
0b
Counts
189 → 3
Alt Table
StatusErrorProgram
34.0b
(-.f64 (pow.f64 x -3) (pow.f64 x -2))
12.7b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
51.0b
(*.f64 (-.f64 (pow.f64 (+.f64 1 x) -3) (pow.f64 x -3)) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) -2) (+.f64 (pow.f64 x -2) (/.f64 1 (*.f64 x (+.f64 1 x)))))))
Compiler

Compiled 6286 to 4936 computations (21.5% saved)

regimes109.0ms (4.2%)

Accuracy

Total 0.2b remaining (62%)

Threshold costs 0.2b (62%)

Counts
36 → 3
Compiler

Compiled 1020 to 796 computations (22% saved)

bsearch1.0ms (0%)

Compiler

Compiled 10 to 8 computations (20% saved)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
17×distribute-rgt-neg-in_binary64
16×sub-neg_binary64
15×cancel-sign-sub-inv_binary64
15×neg-sub0_binary64
14×neg-mul-1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03188
15977
28377
311077
412877
514077
614777
714977
814577

end76.0ms (3%)

Compiler

Compiled 154 to 120 computations (22.1% saved)

Profiling

Loading profile data...