Details

Time bar (total: 2.8s)

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

Results
447.0ms2072×body512valid
435.0ms4746×body128valid
188.0ms1010×body256valid
113.0ms428×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
14.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.8b
(-.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))
3.9b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite82.0ms (2.9%)

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

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
116820
2222620
3523920

simplify105.0ms (3.7%)

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
159 → 163
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
037372
198366
2234366
3577364
41646363
54272363
64983363
74917363

prune132.0ms (4.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1594163
Fresh000
Picked101
Done000
Total1604164
Error
0.4b
Counts
164 → 4
Alt Table
StatusErrorProgram
33.0b
(/.f64 -1 (pow.f64 x 2))
32.4b
(/.f64 (-.f64 (pow.f64 (+.f64 1 x) -2) (pow.f64 x -2)) (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 1 x)))
28.6b
(+.f64 (fma.f64 (/.f64 1 (fma.f64 x x -1)) (+.f64 x -1) (/.f64 -1 x)) (fma.f64 (/.f64 -1 x) 1 (/.f64 1 x)))
14.0b
(/.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)
Compiler

Compiled 3457 to 2576 computations (25.5% saved)

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series6.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite127.0ms (4.5%)

Algorithm
batch-egg-rewrite
Rules
623×prod-diff_binary64
480×fma-udef_binary64
327×fma-def_binary64
254×fma-neg_binary64
195×egg-rr
Counts
3 → 195
Calls

3 calls:

124.0ms
(/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x))
124.0ms
(/.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)
123.0ms
(-.f64 x (+.f64 1 x))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0736
116930
2262830
3483130
4485030
5500230

simplify78.0ms (2.8%)

Algorithm
egg-herbie
Rules
666×sub-neg_binary64
633×fma-def_binary64
532×fma-neg_binary64
350×cancel-sign-sub-inv_binary64
266×times-frac_binary64
Counts
231 → 223
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037384
199378
2242378
3608375
41602375
54182375
64828375
75223375

prune146.0ms (5.1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2203223
Fresh213
Picked101
Done000
Total2234227
Error
0.0b
Counts
227 → 4
Alt Table
StatusErrorProgram
33.0b
(/.f64 -1 (pow.f64 x 2))
14.8b
(/.f64 (+.f64 (/.f64 x (+.f64 x 1)) -1) x)
0.1b
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
14.8b
(-.f64 (/.f64 (-.f64 x 1) (fma.f64 x x x)) (/.f64 x (fma.f64 x x x)))
Compiler

Compiled 4075 to 2827 computations (30.6% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite47.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
761×log1p-expm1-u_binary64
761×expm1-log1p-u_binary64
128×log1p-udef_binary64
105×prod-diff_binary64
73×add-sqr-sqrt_binary64
Counts
2 → 63
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
115117
2194217
3512317

simplify75.0ms (2.6%)

Algorithm
egg-herbie
Rules
666×sub-neg_binary64
633×fma-def_binary64
532×fma-neg_binary64
350×cancel-sign-sub-inv_binary64
266×times-frac_binary64
Counts
87 → 91
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037372
199366
2242366
3608363
41602363
54182363
64828363
75223363

prune54.0ms (1.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New88391
Fresh123
Picked011
Done000
Total89695
Error
0b
Counts
95 → 6
Alt Table
StatusErrorProgram
33.0b
(/.f64 -1 (pow.f64 x 2))
14.8b
(/.f64 (+.f64 (/.f64 x (+.f64 x 1)) -1) x)
0.9b
(*.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) (pow.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) 2))
0.1b
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
31.1b
(cbrt.f64 (pow.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x) 3))
32.2b
(*.f64 (/.f64 -1 (sqrt.f64 x)) (/.f64 (/.f64 1 (+.f64 1 x)) (sqrt.f64 x)))
Compiler

Compiled 1194 to 895 computations (25% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
0.2b
(*.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) (pow.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) 2))
0.4b
(pow.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) 2)
14.4b
(cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x))

series60.0ms (2.1%)

Counts
3 → 36
Calls

3 calls:

36.0ms
(pow.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) 2)
16.0ms
(cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x))
8.0ms
(*.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) (pow.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) 2))

rewrite88.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
438×log-prod_binary64
319×prod-diff_binary64
168×pow1/3_binary64
164×expm1-udef_binary64
164×log1p-udef_binary64
Counts
3 → 109
Calls

3 calls:

86.0ms
(*.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) (pow.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) 2))
86.0ms
(pow.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) 2)
86.0ms
(cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01137
121537
2244731
3492931
4536731

simplify66.0ms (2.3%)

Algorithm
egg-herbie
Rules
504×fma-def_binary64
433×associate-*r*_binary64
379×associate-*l*_binary64
378×sub-neg_binary64
339×cancel-sign-sub-inv_binary64
Counts
145 → 172
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01441332
14421314
212711122
346341074
451731074

prune244.0ms (8.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3352337
Fresh314
Picked011
Done011
Total3385343
Error
0b
Counts
343 → 5
Alt Table
StatusErrorProgram
0.9b
(*.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) (pow.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) 2))
0.4b
(/.f64 -1 (fma.f64 x x x))
1.2b
(*.f64 (/.f64 -1 (cbrt.f64 (fma.f64 x x x))) (pow.f64 (cbrt.f64 (/.f64 (/.f64 -1 (+.f64 1 x)) x)) 2))
0.1b
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
32.2b
(*.f64 (/.f64 -1 (sqrt.f64 x)) (/.f64 (/.f64 1 (+.f64 1 x)) (sqrt.f64 x)))
Compiler

Compiled 8243 to 6334 computations (23.2% saved)

regimes190.0ms (6.7%)

Accuracy

Total 0.1b remaining (81.9%)

Threshold costs 0.1b (81.9%)

Counts
105 → 1
Compiler

Compiled 2978 to 2354 computations (21% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11010
2910

end70.0ms (2.5%)

Compiler

Compiled 84 to 62 computations (26.2% saved)

Profiling

Loading profile data...