Details

Time bar (total: 3.8s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%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 15 to 11 computations (26.7% saved)

sample1.5s (39.3%)

Results
637.0ms2085×body1024valid
406.0ms4400×body128valid
248.0ms1014×body512valid
92.0ms537×body256valid
83.0ms220×body2048valid
Compiler

Compiled 30 to 22 computations (26.7% saved)

preprocess69.0ms (1.8%)

Algorithm
egg-herbie
Rules
859×fma-neg_binary64
764×fma-def_binary64
321×div-sub_binary64
169×associate-/l*_binary64
149×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11619
22219
33419
46019
510019
620519
737719
895119
9212719
10275119
11306219
12387919
13417319
14421519
15421719
16421919
17422919
18422919
011
Stop Event
saturated
saturated
Compiler

Compiled 14 to 10 computations (28.6% saved)

simplify59.0ms (1.6%)

Algorithm
egg-herbie
Rules
859×fma-neg_binary64
764×fma-def_binary64
321×div-sub_binary64
169×associate-/l*_binary64
149×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11619
22219
33419
46019
510019
620519
737719
895119
9212719
10275119
11306219
12387919
13417319
14421519
15421719
16421919
17422919
18422919
Stop Event
saturated
Counts
1 → 2

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 55 to 39 computations (29.1% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series9.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

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

rewrite77.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
470×fma-def_binary64
286×fma-neg_binary64
267×log-div_binary64
174×expm1-udef_binary64
174×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0836
119536
2322236
Stop Event
node limit
Counts
3 → 210

simplify30.0ms (0.8%)

Algorithm
egg-herbie
Rules
405×fma-neg_binary64
344×cancel-sign-sub-inv_binary64
288×fma-def_binary64
287×associate-*l*_binary64
233×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
064475
1204443
2627430
31940428
Stop Event
node limit
Counts
246 → 250

prune228.0ms (6.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2473250
Fresh000
Picked101
Done000
Total2483251
Error
0.0b
Counts
251 → 3
Alt Table
StatusErrorProgram
32.4b
(fma.f64 x (+.f64 3 x) 1)
30.1b
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (*.f64 (/.f64 (+.f64 x 1) x) (/.f64 (+.f64 x -1) (+.f64 x 1))))
30.9b
(+.f64 (/.f64 -3 x) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -3 (pow.f64 x 3))))
Compiler

Compiled 6096 to 4485 computations (26.4% saved)

localize28.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

series10.0ms (0.3%)

Counts
4 → 48
Calls

12 calls:

1.0ms
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (*.f64 (/.f64 (+.f64 x 1) x) (/.f64 (+.f64 x -1) (+.f64 x 1))))
x
-inf
1.0ms
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (*.f64 (/.f64 (+.f64 x 1) x) (/.f64 (+.f64 x -1) (+.f64 x 1))))
x
inf
1.0ms
(-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1))
x
-inf
1.0ms
(-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1))
x
inf
1.0ms
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (*.f64 (/.f64 (+.f64 x 1) x) (/.f64 (+.f64 x -1) (+.f64 x 1))))
x
0

rewrite94.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
230×log1p-udef_binary64
142×add-sqr-sqrt_binary64
139×*-un-lft-identity_binary64
139×pow1_binary64
133×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01288
129364
2483364
Stop Event
node limit
Counts
4 → 183

simplify48.0ms (1.3%)

Algorithm
egg-herbie
Rules
402×fma-neg_binary64
290×cancel-sign-sub-inv_binary64
222×associate-+l-_binary64
215×fma-def_binary64
212×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
063589
1206560
2595553
31708547
44886547
Stop Event
node limit
Counts
231 → 225

prune252.0ms (6.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2721273
Fresh112
Picked011
Done000
Total2733276
Error
0.0b
Counts
276 → 3
Alt Table
StatusErrorProgram
30.9b
(+.f64 (/.f64 -3 x) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -3 (pow.f64 x 3))))
30.1b
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (*.f64 (/.f64 (+.f64 x 1) x) (/.f64 (+.f64 x -1) (+.f64 x 1))))
30.1b
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (/.f64 1 (/.f64 x (+.f64 x -1))))
Compiler

Compiled 8656 to 6315 computations (27% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series6.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

2.0ms
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (/.f64 1 (/.f64 x (+.f64 x -1))))
x
inf
1.0ms
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (/.f64 1 (/.f64 x (+.f64 x -1))))
x
-inf
1.0ms
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (/.f64 1 (/.f64 x (+.f64 x -1))))
x
0
1.0ms
(/.f64 1 (/.f64 x (+.f64 x -1)))
x
0
1.0ms
(/.f64 1 (/.f64 x (+.f64 x -1)))
x
inf

rewrite67.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
246×log1p-udef_binary64
153×add-sqr-sqrt_binary64
150×*-un-lft-identity_binary64
150×pow1_binary64
143×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01341
131535
2487835
Stop Event
node limit
Counts
2 → 86

simplify26.0ms (0.7%)

Algorithm
egg-herbie
Rules
532×times-frac_binary64
434×cancel-sign-sub-inv_binary64
367×fma-def_binary64
302×associate-/l/_binary64
198×sub-neg_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
035261
196242
2271238
3810238
42415235
Stop Event
node limit
Counts
110 → 103

prune182.0ms (4.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2121213
Fresh011
Picked011
Done011
Total2124216
Error
0b
Counts
216 → 4
Alt Table
StatusErrorProgram
30.9b
(+.f64 (/.f64 -3 x) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -3 (pow.f64 x 3))))
30.1b
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (*.f64 (/.f64 (+.f64 x 1) x) (/.f64 (+.f64 x -1) (+.f64 x 1))))
30.1b
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (/.f64 1 (/.f64 x (+.f64 x -1))))
30.6b
(/.f64 (+.f64 (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -3 x)) (/.f64 -2 (pow.f64 x 3))) (/.f64 1 (/.f64 x (+.f64 x -1))))
Compiler

Compiled 5912 to 4380 computations (25.9% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (/.f64 2 x) x)
0.3b
(/.f64 -2 (pow.f64 x 3))
4.4b
(/.f64 (+.f64 (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -3 x)) (/.f64 -2 (pow.f64 x 3))) (/.f64 1 (/.f64 x (+.f64 x -1))))
6.5b
(+.f64 (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -3 x)) (/.f64 -2 (pow.f64 x 3)))

series13.0ms (0.3%)

Counts
4 → 36
Calls

12 calls:

2.0ms
(+.f64 (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -3 x)) (/.f64 -2 (pow.f64 x 3)))
x
0
2.0ms
(/.f64 -2 (pow.f64 x 3))
x
0
1.0ms
(/.f64 (+.f64 (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -3 x)) (/.f64 -2 (pow.f64 x 3))) (/.f64 1 (/.f64 x (+.f64 x -1))))
x
-inf
1.0ms
(+.f64 (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -3 x)) (/.f64 -2 (pow.f64 x 3)))
x
inf
1.0ms
(/.f64 (+.f64 (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -3 x)) (/.f64 -2 (pow.f64 x 3))) (/.f64 1 (/.f64 x (+.f64 x -1))))
x
inf

rewrite39.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
220×add-sqr-sqrt_binary64
210×pow1_binary64
209×*-un-lft-identity_binary64
206×add-cbrt-cube_binary64
205×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01970
145163
Stop Event
node limit
Counts
4 → 87

simplify34.0ms (0.9%)

Algorithm
egg-herbie
Rules
377×fma-def_binary64
295×distribute-neg-frac_binary64
240×sub-neg_binary64
211×associate-/r*_binary64
186×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041477
1127465
2343462
3990462
43190462
Stop Event
node limit
Counts
123 → 109

prune84.0ms (2.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1090109
Fresh011
Picked011
Done022
Total1094113
Error
0b
Counts
113 → 4
Alt Table
StatusErrorProgram
30.9b
(+.f64 (/.f64 -3 x) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -3 (pow.f64 x 3))))
30.1b
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (*.f64 (/.f64 (+.f64 x 1) x) (/.f64 (+.f64 x -1) (+.f64 x 1))))
30.1b
(/.f64 (-.f64 (/.f64 (+.f64 x -1) (+.f64 x 1)) (*.f64 (/.f64 (+.f64 x 1) x) 1)) (/.f64 1 (/.f64 x (+.f64 x -1))))
30.6b
(/.f64 (+.f64 (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -3 x)) (/.f64 -2 (pow.f64 x 3))) (/.f64 1 (/.f64 x (+.f64 x -1))))
Compiler

Compiled 2808 to 2057 computations (26.7% saved)

regimes736.0ms (19.5%)

Accuracy

Total 0.0b remaining (16.9%)

Threshold costs 0.0b (16.9%)

Counts
246 → 3
Compiler

Compiled 10274 to 7674 computations (25.3% saved)

bsearch43.0ms (1.1%)

Algorithm
binary-search
Calls

2 calls:

19.0ms
x
17.0ms
x
Steps
ItersPointRange
16767.2313256428
∈ [
11.162057359689127
,
299408.37602779915
]
-12339.105848947931
∈ [
-30770404.13233236
,
-0.0035811007973851052
]
Compiler

Compiled 2 to 1 computations (50% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
unsub-neg_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039106
152106
254106
355106
Stop Event
saturated

end113.0ms (3%)

Stop Event
fuel
Compiler

Compiled 240 to 174 computations (27.5% saved)

Profiling

Loading profile data...