Details

Time bar (total: 2.3s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample1.2s (53.9%)

Alt Table
StatusErrorProgram
14.6b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Results
473.0ms2097×body512valid
425.0ms4677×body128valid
161.0ms1030×body256valid
133.0ms452×body1024valid
Compiler

Compiled 62 to 52 computations (16.1% saved)

localize8.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series4.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

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

rewrite100.0ms (4.4%)

Algorithm
batch-egg-rewrite
Rules
867×prod-diff_binary64
441×fma-def_binary64
272×fma-neg_binary64
162×expm1-udef_binary64
162×log1p-udef_binary64
Counts
1 → 147
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
119216
2253716
3491016
4493816
000
100

prune131.0ms (5.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1572159
Fresh000
Picked011
Done000
Total1573160
Error
0.3b
Counts
160 → 3
Alt Table
StatusErrorProgram
13.9b
(/.f64 (/.f64 (-.f64 (-.f64 x 1) (+.f64 1 x)) (+.f64 1 x)) (-.f64 x 1))
33.9b
(/.f64 -2 (pow.f64 x 2))
14.6b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 4886 to 4007 computations (18% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series4.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite96.0ms (4.2%)

Algorithm
batch-egg-rewrite
Rules
915×prod-diff_binary64
205×egg-rr
177×log1p-udef_binary64
102×add-sqr-sqrt_binary64
100×log1p-expm1-u_binary64
Counts
2 → 205
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0832
120121
2314121
3518721
000
100

prune160.0ms (7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2281229
Fresh011
Picked101
Done011
Total2293232
Error
0.0b
Counts
232 → 3
Alt Table
StatusErrorProgram
33.9b
(/.f64 -2 (pow.f64 x 2))
0.1b
(/.f64 (/.f64 -2 (+.f64 1 x)) (-.f64 x 1))
14.6b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 6749 to 4764 computations (29.4% saved)

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

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

rewrite81.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
421×log-prod_binary64
385×prod-diff_binary64
207×fma-def_binary64
195×log-div_binary64
158×expm1-udef_binary64
Counts
1 → 43
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11878
224808
349618
453638
000
100

prune38.0ms (1.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New52355
Fresh101
Picked011
Done101
Total54458
Error
0.0b
Counts
58 → 4
Alt Table
StatusErrorProgram
0.3b
(+.f64 0 (/.f64 -2 (fma.f64 x x -1)))
1.6b
(pow.f64 (cbrt.f64 (/.f64 -2 (fma.f64 x x -1))) 3)
0.3b
(*.f64 (/.f64 -2 (pow.f64 (cbrt.f64 (-.f64 x 1)) 2)) (/.f64 (/.f64 1 (+.f64 1 x)) (cbrt.f64 (-.f64 x 1))))
0.1b
(/.f64 (/.f64 -2 (+.f64 1 x)) (-.f64 x 1))
Compiler

Compiled 877 to 718 computations (18.1% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series78.0ms (3.4%)

Counts
4 → 48
Calls

4 calls:

24.0ms
(/.f64 -2 (pow.f64 (cbrt.f64 (-.f64 x 1)) 2))
21.0ms
(pow.f64 (cbrt.f64 (-.f64 x 1)) 2)
20.0ms
(/.f64 (/.f64 1 (+.f64 1 x)) (cbrt.f64 (-.f64 x 1)))
12.0ms
(cbrt.f64 (-.f64 x 1))

rewrite65.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
219×fma-def_binary64
210×expm1-udef_binary64
210×log1p-udef_binary64
210×prod-diff_binary64
188×log-div_binary64
Counts
4 → 98
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01242
126936
2309836
3495836
000
100

prune146.0ms (6.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1821183
Fresh022
Picked011
Done011
Total1825187
Error
0b
Counts
187 → 5
Alt Table
StatusErrorProgram
0.3b
(+.f64 0 (/.f64 -2 (fma.f64 x x -1)))
1.6b
(pow.f64 (cbrt.f64 (/.f64 -2 (fma.f64 x x -1))) 3)
0.3b
(*.f64 (/.f64 -2 (pow.f64 (cbrt.f64 (-.f64 x 1)) 2)) (/.f64 (/.f64 1 (+.f64 1 x)) (cbrt.f64 (-.f64 x 1))))
0.6b
(*.f64 (/.f64 -2 (pow.f64 (/.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (+.f64 x 1))) 2)) (/.f64 (/.f64 1 (+.f64 1 x)) (cbrt.f64 (-.f64 x 1))))
0.1b
(/.f64 (/.f64 -2 (+.f64 1 x)) (-.f64 x 1))
Compiler

Compiled 4999 to 4326 computations (13.5% saved)

regimes29.0ms (1.3%)

Accuracy

Total 0.1b remaining (82.6%)

Threshold costs 0.1b (82.6%)

Counts
13 → 1
Compiler

Compiled 414 to 336 computations (18.8% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11413
21513
31313

end78.0ms (3.4%)

Compiler

Compiled 95 to 77 computations (18.9% saved)

Profiling

Loading profile data...