Details

Time bar (total: 2.5s)

analyze4.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.1s (45.8%)

Results
447.0ms2100×body512valid
415.0ms4714×body128valid
153.0ms1023×body256valid
113.0ms419×body1024valid
Compiler

Compiled 26 to 22 computations (15.4% saved)

preprocess19.0ms (0.8%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
13×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11616
22116
32916
43916
55716
69416
712716
817016
920616
1023216
1123416
011
Stop Event
saturated
saturated
Compiler

Compiled 12 to 10 computations (16.7% saved)

simplify10.0ms (0.4%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
13×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11616
22116
32916
43916
55716
69416
712716
817016
920616
1023216
1123416
Stop Event
saturated
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 47 to 39 computations (17% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series7.0ms (0.3%)

Counts
3 → 36
Calls

9 calls:

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

rewrite71.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
867×prod-diff_binary64
162×expm1-udef_binary64
162×log1p-udef_binary64
130×egg-rr
101×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0830
119230
2296830
Stop Event
node limit
Counts
3 → 180

simplify33.0ms (1.3%)

Algorithm
egg-herbie
Rules
423×associate-*l*_binary64
355×fma-neg_binary64
347×associate-/r*_binary64
286×cancel-sign-sub-inv_binary64
218×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
065575
1198543
2594540
31924537
Stop Event
node limit
Counts
216 → 221

prune187.0ms (7.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2192221
Fresh000
Picked011
Done000
Total2193222
Error
0.4b
Counts
222 → 3
Alt Table
StatusErrorProgram
32.6b
(+.f64 (/.f64 -2 (*.f64 x x)) (-.f64 (/.f64 -2 (pow.f64 x 6)) (/.f64 2 (pow.f64 x 4))))
16.2b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
29.7b
(+.f64 (fma.f64 (/.f64 1 (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)) (/.f64 -1 (+.f64 x -1))) (fma.f64 (/.f64 -1 (+.f64 x -1)) 1 (/.f64 1 (+.f64 x -1))))
Compiler

Compiled 5798 to 4685 computations (19.2% saved)

localize15.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x -1))
0.0b
(fma.f64 x x (-.f64 1 x))
0.3b
(/.f64 1 (+.f64 1 (pow.f64 x 3)))
29.6b
(fma.f64 (/.f64 1 (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)) (/.f64 -1 (+.f64 x -1)))

series12.0ms (0.5%)

Counts
4 → 48
Calls

12 calls:

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

rewrite60.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
767×prod-diff_binary64
152×add-sqr-sqrt_binary64
147×pow1_binary64
146×*-un-lft-identity_binary64
142×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01452
131551
2404751
Stop Event
node limit
Counts
4 → 105

simplify35.0ms (1.4%)

Algorithm
egg-herbie
Rules
488×fma-neg_binary64
306×cancel-sign-sub-inv_binary64
272×fma-def_binary64
208×times-frac_binary64
199×associate-/l/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
076695
1224655
2674652
32250649
Stop Event
node limit
Counts
153 → 154

prune150.0ms (6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1531154
Fresh011
Picked011
Done011
Total1534157
Error
0.0b
Counts
157 → 4
Alt Table
StatusErrorProgram
32.6b
(+.f64 (/.f64 -2 (*.f64 x x)) (-.f64 (/.f64 -2 (pow.f64 x 6)) (/.f64 2 (pow.f64 x 4))))
32.5b
(+.f64 (/.f64 (/.f64 -2 x) x) (fma.f64 (/.f64 -1 (+.f64 x -1)) 1 (/.f64 1 (+.f64 x -1))))
16.2b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
29.7b
(+.f64 (fma.f64 (/.f64 1 (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)) (/.f64 -1 (+.f64 x -1))) (fma.f64 (/.f64 -1 (+.f64 x -1)) 1 (/.f64 1 (+.f64 x -1))))
Compiler

Compiled 5610 to 4408 computations (21.4% saved)

localize9.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

series5.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite45.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
910×log1p-expm1-u_binary64
910×expm1-log1p-u_binary64
92×add-sqr-sqrt_binary64
87×*-un-lft-identity_binary64
87×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
118414
2248414
Stop Event
node limit
Counts
2 → 63

simplify24.0ms (1%)

Algorithm
egg-herbie
Rules
593×fma-def_binary64
474×fma-neg_binary64
450×associate-/r*_binary64
264×cancel-sign-sub-inv_binary64
239×times-frac_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
030267
176251
2211250
3592248
41686248
Stop Event
node limit
Counts
87 → 79

prune85.0ms (3.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1223125
Fresh011
Picked011
Done022
Total1227129
Error
0.0b
Counts
129 → 7
Alt Table
StatusErrorProgram
32.6b
(+.f64 (/.f64 -2 (*.f64 x x)) (-.f64 (/.f64 -2 (pow.f64 x 6)) (/.f64 2 (pow.f64 x 4))))
32.5b
(+.f64 (/.f64 (/.f64 -2 x) x) (fma.f64 (/.f64 -1 (+.f64 x -1)) 1 (/.f64 1 (+.f64 x -1))))
16.2b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
44.3b
(+.f64 (cbrt.f64 (pow.f64 (/.f64 -2 (*.f64 x x)) 3)) (fma.f64 (/.f64 -1 (+.f64 x -1)) 1 (/.f64 1 (+.f64 x -1))))
33.1b
(+.f64 (pow.f64 (cbrt.f64 (/.f64 -2 (*.f64 x x))) 3) (fma.f64 (/.f64 -1 (+.f64 x -1)) 1 (/.f64 1 (+.f64 x -1))))
48.7b
(+.f64 (*.f64 (/.f64 -2 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 x))) (fma.f64 (/.f64 -1 (+.f64 x -1)) 1 (/.f64 1 (+.f64 x -1))))
29.7b
(+.f64 (fma.f64 (/.f64 1 (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)) (/.f64 -1 (+.f64 x -1))) (fma.f64 (/.f64 -1 (+.f64 x -1)) 1 (/.f64 1 (+.f64 x -1))))
Compiler

Compiled 3031 to 2354 computations (22.3% saved)

localize9.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 -2 (pow.f64 x 6)) (/.f64 2 (pow.f64 x 4)))
0.2b
(/.f64 2 (pow.f64 x 4))
0.2b
(/.f64 -2 (pow.f64 x 6))
0.4b
(/.f64 -2 (*.f64 x x))

series13.0ms (0.5%)

Counts
4 → 24
Calls

12 calls:

2.0ms
(/.f64 -2 (pow.f64 x 6))
x
-inf
1.0ms
(-.f64 (/.f64 -2 (pow.f64 x 6)) (/.f64 2 (pow.f64 x 4)))
x
0
1.0ms
(-.f64 (/.f64 -2 (pow.f64 x 6)) (/.f64 2 (pow.f64 x 4)))
x
-inf
1.0ms
(-.f64 (/.f64 -2 (pow.f64 x 6)) (/.f64 2 (pow.f64 x 4)))
x
inf
1.0ms
(/.f64 -2 (pow.f64 x 6))
x
0

rewrite66.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
735×prod-diff_binary64
146×add-sqr-sqrt_binary64
141×pow1_binary64
140×add-log-exp_binary64
140×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01337
130235
2386935
Stop Event
node limit
Counts
4 → 158

simplify24.0ms (1%)

Algorithm
egg-herbie
Rules
513×associate-*l*_binary64
463×associate-*l/_binary64
373×associate-/l*_binary64
345×associate-*r/_binary64
285×unswap-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019267
146249
2109249
3285249
41224249
Stop Event
node limit
Counts
182 → 164

prune129.0ms (5.2%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1631164
Fresh303
Picked011
Done033
Total1665171
Error
0b
Counts
171 → 5
Alt Table
StatusErrorProgram
32.6b
(+.f64 (/.f64 -2 (*.f64 x x)) (-.f64 (/.f64 -2 (pow.f64 x 6)) (/.f64 2 (pow.f64 x 4))))
32.5b
(+.f64 (/.f64 (/.f64 -2 x) x) (fma.f64 (/.f64 -1 (+.f64 x -1)) 1 (/.f64 1 (+.f64 x -1))))
32.3b
(+.f64 (*.f64 -2 (pow.f64 x -2)) (-.f64 (/.f64 -2 (pow.f64 x 6)) (/.f64 2 (pow.f64 x 4))))
16.2b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
29.7b
(+.f64 (fma.f64 (/.f64 1 (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)) (/.f64 -1 (+.f64 x -1))) (fma.f64 (/.f64 -1 (+.f64 x -1)) 1 (/.f64 1 (+.f64 x -1))))
Compiler

Compiled 4287 to 3259 computations (24% saved)

regimes173.0ms (7%)

Accuracy

Total 0.0b remaining (57.8%)

Threshold costs 0.0b (57.8%)

Counts
63 → 3
Compiler

Compiled 2414 to 1922 computations (20.4% saved)

bsearch34.0ms (1.4%)

Algorithm
binary-search
Calls

2 calls:

16.0ms
x
16.0ms
x
Steps
ItersPointRange
218.49470597842105
∈ [
43.18887148678363
,
276420.7550463244
]
-220.90960044263244
∈ [
-9979.600912883168
,
-0.0035811007973851052
]
Compiler

Compiled 2 to 1 computations (50% saved)

simplify4.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03391
14791
26491
37291
47791
57891
Stop Event
saturated

end118.0ms (4.7%)

Stop Event
fuel
Compiler

Compiled 226 to 180 computations (20.4% saved)

Profiling

Loading profile data...