Details

Time bar (total: 4.2s)

analyze145.0ms (3.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
31.2%68.7%0.1%6
67.1%32.8%0.1%7
71%28.9%0.1%8
82.3%17.6%0.1%9
84.9%15%0.1%10
90.8%9.1%0.1%11
92.2%7.7%0.1%12
95.3%4.6%0.1%13
96%3.9%0.1%14
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample1.3s (32.1%)

Results
737.0ms6443×body128valid
205.0ms638×body1024valid
188.0ms706×body512valid
77.0ms463×body256valid
2.0msbody2048valid
Compiler

Compiled 41 to 32 computations (22% saved)

simplify198.0ms (4.7%)

Algorithm
egg-herbie
Rules
1996×fma-def_binary64
1626×fma-neg_binary64
1098×div-sub_binary64
733×sub-neg_binary64
664×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0916
11916
24316
310214
427414
565214
6127214
7169714
8241614
9293314
10327814
11346114
12198014
13199614
14265914
15253914
16249714
17253114
18253114
19472314
20490314
21594214

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
15.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
15.7b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)
23.6b
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
Compiler

Compiled 73 to 55 computations (24.7% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 x -1) (+.f64 1 y))
15.6b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)

series19.0ms (0.5%)

Counts
2 → 48
Calls

2 calls:

12.0ms
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)
8.0ms
(/.f64 (+.f64 x -1) (+.f64 1 y))

rewrite12.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity_binary64
20×times-frac_binary64
18×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
11×distribute-lft-out_binary64
Counts
2 → 57
Calls

2 calls:

5.0ms
(/.f64 (+.f64 x -1) (+.f64 1 y))
0.0ms
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)

simplify113.0ms (2.7%)

Algorithm
egg-herbie
Rules
780×fma-neg_binary64
491×associate--l+_binary64
425×associate--r+_binary64
390×associate-+l+_binary64
315×fma-def_binary64
Counts
105 → 102
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01602086
14161897
212751850
347011850
454021850

prune71.0ms (1.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1011102
Fresh011
Picked011
Done000
Total1013104
Error
0.0b
Counts
104 → 3
Alt Table
StatusErrorProgram
15.7b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)
29.8b
(-.f64 (+.f64 x (/.f64 x (*.f64 y y))) (+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y)))
23.6b
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
Compiler

Compiled 1870 to 1280 computations (31.6% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (-.f64 1 x) y)
2.7b
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
7.5b
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1))

series26.0ms (0.6%)

Counts
3 → 60
Calls

3 calls:

11.0ms
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1))
11.0ms
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
4.0ms
(*.f64 (-.f64 1 x) y)

rewrite30.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity_binary64
34×add-sqr-sqrt_binary64
30×prod-diff_binary64
26×add-cube-cbrt_binary64
20×times-frac_binary64
Counts
3 → 113
Calls

3 calls:

8.0ms
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
6.0ms
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1))
5.0ms
(*.f64 (-.f64 1 x) y)

simplify120.0ms (2.9%)

Algorithm
egg-herbie
Rules
395×fma-neg_binary64
383×cancel-sign-sub-inv_binary64
261×sub-neg_binary64
216×distribute-rgt-neg-in_binary64
160×exp-prod_binary64
Counts
173 → 202
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02483950
16903374
227342924
345402924
448602924

prune138.0ms (3.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2020202
Fresh011
Picked011
Done011
Total2023205
Error
0.0b
Counts
205 → 3
Alt Table
StatusErrorProgram
15.7b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)
29.8b
(-.f64 (+.f64 x (/.f64 x (*.f64 y y))) (+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y)))
23.6b
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
Compiler

Compiled 4886 to 3480 computations (28.8% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(/.f64 1 (*.f64 y y))
2.2b
(+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y))
5.9b
(-.f64 (+.f64 x (/.f64 x (*.f64 y y))) (+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y)))
6.5b
(/.f64 x (*.f64 y y))

series84.0ms (2%)

Counts
4 → 84
Calls

4 calls:

33.0ms
(-.f64 (+.f64 x (/.f64 x (*.f64 y y))) (+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y)))
26.0ms
(/.f64 x (*.f64 y y))
22.0ms
(+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y))
2.0ms
(/.f64 1 (*.f64 y y))

rewrite69.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
77×*-un-lft-identity_binary64
26×distribute-lft-out_binary64
24×prod-diff_binary64
24×add-sqr-sqrt_binary64
22×add-cube-cbrt_binary64
Counts
4 → 146
Calls

4 calls:

38.0ms
(-.f64 (+.f64 x (/.f64 x (*.f64 y y))) (+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y)))
13.0ms
(+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y))
3.0ms
(/.f64 1 (*.f64 y y))
3.0ms
(/.f64 x (*.f64 y y))

simplify140.0ms (3.4%)

Algorithm
egg-herbie
Rules
550×fma-neg_binary64
251×cancel-sign-sub-inv_binary64
196×associate-/r/_binary64
171×distribute-rgt-neg-in_binary64
166×distribute-rgt-in_binary64
Counts
230 → 189
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02255463
16434334
224353523
343703521
449673521

prune141.0ms (3.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1881189
Fresh000
Picked011
Done022
Total1884192
Error
0.0b
Counts
192 → 4
Alt Table
StatusErrorProgram
50.2b
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 (/.f64 (+.f64 x -1) y) (+.f64 (/.f64 1 y) -1))) 3))
15.7b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)
29.8b
(-.f64 (+.f64 x (/.f64 x (*.f64 y y))) (+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y)))
23.6b
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
Compiler

Compiled 6062 to 2813 computations (53.6% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 x -1) y)
0.1b
(*.f64 (/.f64 (+.f64 x -1) y) (+.f64 (/.f64 1 y) -1))
0.1b
(pow.f64 (+.f64 x (*.f64 (/.f64 (+.f64 x -1) y) (+.f64 (/.f64 1 y) -1))) 3)
27.0b
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 (/.f64 (+.f64 x -1) y) (+.f64 (/.f64 1 y) -1))) 3))

series118.0ms (2.8%)

Counts
4 → 96
Calls

4 calls:

58.0ms
(pow.f64 (+.f64 x (*.f64 (/.f64 (+.f64 x -1) y) (+.f64 (/.f64 1 y) -1))) 3)
36.0ms
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 (/.f64 (+.f64 x -1) y) (+.f64 (/.f64 1 y) -1))) 3))
18.0ms
(*.f64 (/.f64 (+.f64 x -1) y) (+.f64 (/.f64 1 y) -1))
5.0ms
(/.f64 (+.f64 x -1) y)

rewrite34.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity_binary64
46×add-sqr-sqrt_binary64
33×times-frac_binary64
30×add-cube-cbrt_binary64
19×associate-*l*_binary64
Counts
4 → 142
Calls

4 calls:

16.0ms
(*.f64 (/.f64 (+.f64 x -1) y) (+.f64 (/.f64 1 y) -1))
4.0ms
(/.f64 (+.f64 x -1) y)
3.0ms
(pow.f64 (+.f64 x (*.f64 (/.f64 (+.f64 x -1) y) (+.f64 (/.f64 1 y) -1))) 3)
3.0ms
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 (/.f64 (+.f64 x -1) y) (+.f64 (/.f64 1 y) -1))) 3))

simplify115.0ms (2.7%)

Algorithm
egg-herbie
Rules
508×associate-+r+_binary64
450×fma-def_binary64
329×associate-+l+_binary64
191×distribute-rgt-in_binary64
172×distribute-lft-in_binary64
Counts
238 → 261
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04337203
113826599
252986599

prune194.0ms (4.6%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2610261
Fresh000
Picked011
Done033
Total2614265
Error
0.0b
Counts
265 → 4
Alt Table
StatusErrorProgram
50.2b
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 (/.f64 (+.f64 x -1) y) (+.f64 (/.f64 1 y) -1))) 3))
15.7b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)
29.8b
(-.f64 (+.f64 x (/.f64 x (*.f64 y y))) (+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y)))
23.6b
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
Compiler

Compiled 8303 to 6083 computations (26.7% saved)

regimes906.0ms (21.7%)

Accuracy

Total 0.1b remaining (71%)

Threshold costs 0.1b (71%)

Counts
88 → 3
Compiler

Compiled 6565 to 4776 computations (27.3% saved)

bsearch29.0ms (0.7%)

Steps
ItersRangePoint
9
8.778871274599725
839681.9684021454
449605.74478200584
3
-424883597567483.56
-304245671921634.56
-311785542274500.1
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Rules
26×cancel-sign-sub-inv_binary64
20×+-commutative_binary64
19×sub-neg_binary64
17×neg-sub0_binary64
17×neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02678
14178
26278
38778
410878
512478
613178
713978
815478
916678
1017578
1117878
1217478

end87.0ms (2.1%)

Compiler

Compiled 174 to 109 computations (37.4% saved)

Profiling

Loading profile data...