Details

Time bar (total: 7.2s)

analyze6.0ms (0.1%)

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

Results
447.0ms2033×body512valid
417.0ms4776×body128valid
154.0ms1012×body256valid
126.0ms435×body1024valid
Compiler

Compiled 32 to 26 computations (18.8% saved)

simplify11.0ms (0.2%)

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

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 39 to 31 computations (20.5% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series5.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite73.0ms (1%)

Algorithm
rewrite-expression-head
Rules
377×*-un-lft-identity_binary64
375×times-frac_binary64
284×add-sqr-sqrt_binary64
260×add-cube-cbrt_binary64
234×prod-diff_binary64
Counts
2 → 337
Calls

2 calls:

19.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
4.0ms
(/.f64 1 (+.f64 x 1))

simplify298.0ms (4.1%)

Algorithm
egg-herbie
Rules
781×fma-def_binary64
395×sub-neg_binary64
340×times-frac_binary64
306×div-sub_binary64
297×associate-*l*_binary64
Counts
361 → 324
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
018311806
13806831
210405351
337265350
441765350
544255342
648035342

prune294.0ms (4.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New3222324
Fresh000
Picked101
Done000
Total3232325
Error
0.4b
Counts
325 → 2
Alt Table
StatusErrorProgram
34.0b
(fma.f64 (sqrt.f64 (/.f64 1 (+.f64 x 1))) (sqrt.f64 (/.f64 1 (+.f64 x 1))) (/.f64 -1 x))
28.7b
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))
Compiler

Compiled 11306 to 8613 computations (23.8% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1 (pow.f64 x 3))
0.4b
(/.f64 1 (pow.f64 x 2))
4.8b
(-.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 2)))

series9.0ms (0.1%)

Counts
3 → 3
Calls

3 calls:

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

rewrite429.0ms (5.9%)

Algorithm
rewrite-expression-head
Rules
2250×times-frac_binary64
1484×add-sqr-sqrt_binary64
1386×*-un-lft-identity_binary64
1304×add-cube-cbrt_binary64
1120×prod-diff_binary64
Counts
3 → 1430
Calls

3 calls:

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

simplify1.5s (20.1%)

Algorithm
egg-herbie
Rules
1021×fma-neg_binary64
694×fma-def_binary64
382×unswap-sqr_binary64
372×log-prod_binary64
307×cube-prod_binary64
Counts
1433 → 1153
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
030466345
153534734
2126524020
3343223602
4391323218
5404223209
6483223209
7472123209

prune1.8s (25.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New115211153
Fresh011
Picked101
Done000
Total115321155
Error
0b
Counts
1155 → 2
Alt Table
StatusErrorProgram
28.3b
(-.f64 (/.f64 1 (pow.f64 x 3)) (pow.f64 x -2))
34.0b
(fma.f64 (sqrt.f64 (/.f64 1 (+.f64 x 1))) (sqrt.f64 (/.f64 1 (+.f64 x 1))) (/.f64 -1 x))
Compiler

Compiled 57517 to 47188 computations (18% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1 (pow.f64 x 3))
4.8b
(-.f64 (/.f64 1 (pow.f64 x 3)) (pow.f64 x -2))

series13.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

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

rewrite82.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
312×times-frac_binary64
310×add-sqr-sqrt_binary64
280×prod-diff_binary64
274×*-un-lft-identity_binary64
259×add-cube-cbrt_binary64
Counts
1 → 369
Calls

1 calls:

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

simplify373.0ms (5.2%)

Algorithm
egg-herbie
Rules
786×fma-neg_binary64
529×fma-def_binary64
277×exp-prod_binary64
261×difference-of-squares_binary64
257×associate-/r*_binary64
Counts
381 → 324
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
019317412
132112341
29495415
328215319
440155319
549855319
647905319

prune351.0ms (4.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New3970397
Fresh011
Picked011
Done000
Total3972399
Error
0b
Counts
399 → 2
Alt Table
StatusErrorProgram
28.3b
(-.f64 (/.f64 1 (pow.f64 x 3)) (pow.f64 x -2))
34.0b
(fma.f64 (sqrt.f64 (/.f64 1 (+.f64 x 1))) (sqrt.f64 (/.f64 1 (+.f64 x 1))) (/.f64 -1 x))
Compiler

Compiled 13119 to 9912 computations (24.4% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x 1))
0.1b
(sqrt.f64 (/.f64 1 (+.f64 x 1)))
16.3b
(fma.f64 (sqrt.f64 (/.f64 1 (+.f64 x 1))) (sqrt.f64 (/.f64 1 (+.f64 x 1))) (/.f64 -1 x))

series23.0ms (0.3%)

Counts
2 → 10
Calls

2 calls:

14.0ms
(fma.f64 (sqrt.f64 (/.f64 1 (+.f64 x 1))) (sqrt.f64 (/.f64 1 (+.f64 x 1))) (/.f64 -1 x))
9.0ms
(sqrt.f64 (/.f64 1 (+.f64 x 1)))

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
18×sqrt-prod_binary64
17×*-un-lft-identity_binary64
14×times-frac_binary64
14×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
Counts
2 → 45
Calls

2 calls:

4.0ms
(sqrt.f64 (/.f64 1 (+.f64 x 1)))
0.0ms
(fma.f64 (sqrt.f64 (/.f64 1 (+.f64 x 1))) (sqrt.f64 (/.f64 1 (+.f64 x 1))) (/.f64 -1 x))

simplify80.0ms (1.1%)

Algorithm
egg-herbie
Rules
437×distribute-rgt-in_binary64
435×times-frac_binary64
435×fma-def_binary64
299×div-sub_binary64
243×distribute-rgt-neg-in_binary64
Counts
55 → 68
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
083726
1145687
2307683
3814675
42518675
54524675
65076675

prune147.0ms (2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2210221
Fresh000
Picked011
Done011
Total2212223
Error
0b
Counts
223 → 2
Alt Table
StatusErrorProgram
28.3b
(-.f64 (/.f64 1 (pow.f64 x 3)) (pow.f64 x -2))
34.0b
(fma.f64 (sqrt.f64 (/.f64 1 (+.f64 x 1))) (sqrt.f64 (/.f64 1 (+.f64 x 1))) (/.f64 -1 x))
Compiler

Compiled 4756 to 3895 computations (18.1% saved)

regimes507.0ms (7%)

Accuracy

Total 0.2b remaining (44.3%)

Threshold costs 0.2b (44.3%)

Counts
192 → 1
Compiler

Compiled 11434 to 9264 computations (19% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
158

end49.0ms (0.7%)

Compiler

Compiled 41 to 30 computations (26.8% saved)

Profiling

Loading profile data...