Details

Time bar (total: 4.7s)

analyze103.0ms (2.2%)

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.4s (29.6%)

Results
648.0ms6454×body128valid
237.0ms721×body512valid
237.0ms630×body1024valid
134.0ms444×body256valid
2.0msbody2048valid
Compiler

Compiled 41 to 32 computations (22% saved)

simplify197.0ms (4.2%)

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
16.6b
Counts
3 → 2
Alt Table
StatusErrorProgram
24.1b
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
16.8b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 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))
16.9b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)

series20.0ms (0.4%)

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

rewrite88.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
439×log-prod_binary64
270×prod-diff_binary64
215×fma-def_binary64
172×expm1-udef_binary64
172×log1p-udef_binary64
Counts
2 → 67
Calls

2 calls:

87.0ms
(/.f64 (+.f64 x -1) (+.f64 1 y))
86.0ms
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0924
119324
2248124
3489224
4510624

simplify76.0ms (1.6%)

Algorithm
egg-herbie
Rules
561×fma-neg_binary64
486×associate--l+_binary64
453×times-frac_binary64
420×associate--r+_binary64
353×associate-+l+_binary64
Counts
115 → 106
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0761015
1233980
2818936
33450893
44788893
55485893

prune174.0ms (3.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1024106
Fresh101
Picked011
Done000
Total1035108
Error
0.1b
Counts
108 → 5
Alt Table
StatusErrorProgram
16.9b
(+.f64 1 (*.f64 (/.f64 y (+.f64 1 y)) (+.f64 x -1)))
30.2b
(-.f64 (+.f64 (+.f64 x (/.f64 x (*.f64 y y))) (/.f64 1 (pow.f64 y 3))) (+.f64 (/.f64 x (pow.f64 y 3)) (+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y))))
39.1b
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 y (/.f64 (+.f64 x -1) (+.f64 y 1)) 1)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 y (/.f64 (+.f64 x -1) (+.f64 y 1)) 1)))))
33.9b
(fma.f64 y (-.f64 x (-.f64 (fma.f64 y x 1) y)) 1)
16.8b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)
Compiler

Compiled 1943 to 1366 computations (29.7% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series25.0ms (0.5%)

Counts
3 → 60
Calls

3 calls:

13.0ms
(+.f64 1 (*.f64 (/.f64 y (+.f64 1 y)) (+.f64 x -1)))
10.0ms
(*.f64 (/.f64 y (+.f64 1 y)) (+.f64 x -1))
2.0ms
(/.f64 y (+.f64 1 y))

rewrite80.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
488×fma-def_binary64
237×fma-neg_binary64
202×expm1-udef_binary64
202×log1p-udef_binary64
197×log-div_binary64
Counts
3 → 187
Calls

3 calls:

76.0ms
(*.f64 (/.f64 y (+.f64 1 y)) (+.f64 x -1))
76.0ms
(/.f64 y (+.f64 1 y))
76.0ms
(+.f64 1 (*.f64 (/.f64 y (+.f64 1 y)) (+.f64 x -1)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01036
122834
2313534
3514034

simplify77.0ms (1.6%)

Algorithm
egg-herbie
Rules
816×fma-neg_binary64
519×associate--l+_binary64
413×associate--r+_binary64
335×associate-+l+_binary64
327×fma-def_binary64
Counts
247 → 237
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0821139
12631116
2906994
33547978
44800978
54968978

prune218.0ms (4.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2352237
Fresh123
Picked101
Done011
Total2375242
Error
0.1b
Counts
242 → 5
Alt Table
StatusErrorProgram
16.9b
(+.f64 1 (/.f64 y (/.f64 (+.f64 1 y) (+.f64 x -1))))
30.2b
(-.f64 (+.f64 (+.f64 x (/.f64 x (*.f64 y y))) (/.f64 1 (pow.f64 y 3))) (+.f64 (/.f64 x (pow.f64 y 3)) (+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y))))
17.3b
(fma.f64 (/.f64 y (pow.f64 (cbrt.f64 (+.f64 1 y)) 2)) (/.f64 (+.f64 x -1) (cbrt.f64 (+.f64 1 y))) 1)
39.1b
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 y (/.f64 (+.f64 x -1) (+.f64 y 1)) 1)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 y (/.f64 (+.f64 x -1) (+.f64 y 1)) 1)))))
16.8b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)
Compiler

Compiled 4568 to 3193 computations (30.1% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 1 y) (+.f64 x -1))
0.1b
(/.f64 y (/.f64 (+.f64 1 y) (+.f64 x -1)))
3.0b
(+.f64 1 (/.f64 y (/.f64 (+.f64 1 y) (+.f64 x -1))))

series47.0ms (1%)

Counts
3 → 72
Calls

3 calls:

26.0ms
(/.f64 (+.f64 1 y) (+.f64 x -1))
11.0ms
(+.f64 1 (/.f64 y (/.f64 (+.f64 1 y) (+.f64 x -1))))
10.0ms
(/.f64 y (/.f64 (+.f64 1 y) (+.f64 x -1)))

rewrite73.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
741×prod-diff_binary64
204×log1p-udef_binary64
117×egg-rr
114×add-sqr-sqrt_binary64
110×log1p-expm1-u_binary64
Counts
3 → 117
Calls

3 calls:

71.0ms
(/.f64 (+.f64 1 y) (+.f64 x -1))
71.0ms
(/.f64 y (/.f64 (+.f64 1 y) (+.f64 x -1)))
71.0ms
(+.f64 1 (/.f64 y (/.f64 (+.f64 1 y) (+.f64 x -1))))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01039
122837
2320737
3515737

simplify181.0ms (3.9%)

Algorithm
egg-herbie
Rules
504×fma-def_binary64
496×+-commutative_binary64
492×associate--r+_binary64
459×associate--l+_binary64
370×times-frac_binary64
Counts
189 → 174
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01241540
13911515
213581385
345031385
448831385
552611385

prune123.0ms (2.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1740174
Fresh033
Picked011
Done011
Total1745179
Error
0.1b
Counts
179 → 5
Alt Table
StatusErrorProgram
16.9b
(+.f64 1 (/.f64 y (/.f64 (+.f64 1 y) (+.f64 x -1))))
30.2b
(-.f64 (+.f64 (+.f64 x (/.f64 x (*.f64 y y))) (/.f64 1 (pow.f64 y 3))) (+.f64 (/.f64 x (pow.f64 y 3)) (+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y))))
17.3b
(fma.f64 (/.f64 y (pow.f64 (cbrt.f64 (+.f64 1 y)) 2)) (/.f64 (+.f64 x -1) (cbrt.f64 (+.f64 1 y))) 1)
39.1b
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 y (/.f64 (+.f64 x -1) (+.f64 y 1)) 1)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 y (/.f64 (+.f64 x -1) (+.f64 y 1)) 1)))))
16.8b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)
Compiler

Compiled 3292 to 2324 computations (29.4% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (+.f64 x -1) (cbrt.f64 (+.f64 1 y)))
0.3b
(cbrt.f64 (+.f64 1 y))
0.3b
(pow.f64 (cbrt.f64 (+.f64 1 y)) 2)
17.0b
(fma.f64 (/.f64 y (pow.f64 (cbrt.f64 (+.f64 1 y)) 2)) (/.f64 (+.f64 x -1) (cbrt.f64 (+.f64 1 y))) 1)

series246.0ms (5.2%)

Counts
4 → 72
Calls

4 calls:

168.0ms
(fma.f64 (/.f64 y (pow.f64 (cbrt.f64 (+.f64 1 y)) 2)) (/.f64 (+.f64 x -1) (cbrt.f64 (+.f64 1 y))) 1)
67.0ms
(/.f64 (+.f64 x -1) (cbrt.f64 (+.f64 1 y)))
6.0ms
(pow.f64 (cbrt.f64 (+.f64 1 y)) 2)
4.0ms
(cbrt.f64 (+.f64 1 y))

rewrite109.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
234×expm1-udef_binary64
234×log1p-udef_binary64
224×fma-def_binary64
204×prod-diff_binary64
198×fma-udef_binary64
Counts
4 → 102
Calls

4 calls:

107.0ms
(/.f64 (+.f64 x -1) (cbrt.f64 (+.f64 1 y)))
107.0ms
(cbrt.f64 (+.f64 1 y))
107.0ms
(pow.f64 (cbrt.f64 (+.f64 1 y)) 2)
107.0ms
(fma.f64 (/.f64 y (pow.f64 (cbrt.f64 (+.f64 1 y)) 2)) (/.f64 (+.f64 x -1) (cbrt.f64 (+.f64 1 y))) 1)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01354
127943
2340843
3494143
4491743

simplify94.0ms (2%)

Algorithm
egg-herbie
Rules
672×cancel-sign-sub-inv_binary64
558×fma-neg_binary64
490×times-frac_binary64
350×sub-neg_binary64
271×fma-def_binary64
Counts
174 → 203
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02452644
18122449
227072116
343421833
451671833

prune257.0ms (5.5%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2510251
Fresh022
Picked011
Done022
Total2515256
Error
0.1b
Counts
256 → 5
Alt Table
StatusErrorProgram
16.9b
(+.f64 1 (/.f64 y (/.f64 (+.f64 1 y) (+.f64 x -1))))
30.2b
(-.f64 (+.f64 (+.f64 x (/.f64 x (*.f64 y y))) (/.f64 1 (pow.f64 y 3))) (+.f64 (/.f64 x (pow.f64 y 3)) (+.f64 (/.f64 1 (*.f64 y y)) (/.f64 (+.f64 x -1) y))))
17.3b
(fma.f64 (/.f64 y (pow.f64 (cbrt.f64 (+.f64 1 y)) 2)) (/.f64 (+.f64 x -1) (cbrt.f64 (+.f64 1 y))) 1)
39.1b
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 y (/.f64 (+.f64 x -1) (+.f64 y 1)) 1)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 y (/.f64 (+.f64 x -1) (+.f64 y 1)) 1)))))
16.8b
(fma.f64 y (/.f64 (+.f64 x -1) (+.f64 1 y)) 1)
Compiler

Compiled 7061 to 5544 computations (21.5% saved)

regimes921.0ms (19.6%)

Accuracy

Total 0.0b remaining (28.6%)

Threshold costs 0.0b (28.6%)

Counts
106 → 3
Compiler

Compiled 8921 to 6628 computations (25.7% saved)

bsearch39.0ms (0.8%)

Steps
ItersRangePoint
9
83.88382976737913
5515880.36144037
11649.159016303365
8
-10106929.118142124
-15760.002573564716
-16205.4911207915
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
17×+-commutative_binary64
12×sub-neg_binary64
10×*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
031127
147127
260127
378127
497127
5110127
6116127
7117127
8114127

end122.0ms (2.6%)

Compiler

Compiled 283 to 185 computations (34.6% saved)

Profiling

Loading profile data...