Details

Time bar (total: 7.5s)

analyze710.0ms (9.5%)

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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
18.7%76.5%4.8%7
28.1%66.3%5.6%8
34.7%55.4%9.9%9
36.1%51.1%12.8%10
42.1%42.4%15.5%11
47.5%33.8%18.7%12
48.8%30.7%20.6%13
51.8%25.6%22.5%14
Compiler

Compiled 17 to 11 computations (35.3% saved)

sample2.0s (26.7%)

Results
636.0ms5304×body128valid
554.0ms1225×body2048valid
284.0ms759×body1024valid
234.0ms425×body4096valid
122.0ms1077×body128invalid
106.0ms366×body512valid
36.0ms177×body256valid
Compiler

Compiled 34 to 22 computations (35.3% saved)

preprocess94.0ms (1.3%)

Algorithm
egg-herbie
Rules
508×times-frac_binary64
390×div-sub_binary64
354×fma-def_binary64
351×fma-neg_binary64
312×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03080
16572
211272
322272
436572
562072
6105772
7176872
8402572
033
Stop Event
saturated
node limit
Compiler

Compiled 16 to 10 computations (37.5% saved)

simplify60.0ms (0.8%)

Algorithm
egg-herbie
Rules
808×fma-neg_binary64
361×div-sub_binary64
341×fma-def_binary64
313×associate-/l*_binary64
224×times-frac_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01120
12318
24218
37718
412318
521818
637018
758618
894818
9147118
10200018
11322018
12409518
13442718
14443518
15444318
16446918
17448518
18452118
19455318
20456518
Stop Event
saturated
Counts
1 → 2

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
35.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
35.2b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
Compiler

Compiled 58 to 30 computations (48.3% saved)

localize28.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
0.6b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.2b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
26.2b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series116.0ms (1.6%)

Counts
4 → 96
Calls

36 calls:

12.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
a
-inf
8.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
a
inf
7.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
c
-inf
7.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
c
inf
5.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
c
-inf

rewrite91.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
700×fma-def_binary64
338×fma-neg_binary64
313×egg-rr
216×expm1-udef_binary64
216×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01055
123955
2360555
Stop Event
node limit
Counts
4 → 313

simplify54.0ms (0.7%)

Algorithm
egg-herbie
Rules
738×times-frac_binary64
490×associate-/l*_binary64
401×associate-/r*_binary64
360×fma-def_binary64
133×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01202203
13922175
213832133
Stop Event
node limit
Counts
409 → 388

prune244.0ms (3.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New3799388
Fresh000
Picked011
Done000
Total37910389
Error
6.1b
Counts
389 → 10
Alt Table
StatusErrorProgram
41.9b
(/.f64 (*.f64 -2 b_2) a)
51.0b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)) 2)
41.9b
(/.f64 (*.f64 c -1/2) b_2)
46.3b
(/.f64 (/.f64 (-.f64 (*.f64 b_2 b_2) (fma.f64 b_2 b_2 (*.f64 a c))) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))) a)
35.3b
(pow.f64 (/.f64 a (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) -1)
35.2b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
41.9b
(*.f64 (/.f64 -2 a) b_2)
56.2b
(/.f64 (-.f64 b_2 b_2) a)
36.5b
(fma.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) (/.f64 1 a) (neg.f64 (/.f64 b_2 a)))
42.2b
(/.f64 (fma.f64 1/2 (*.f64 (/.f64 c b_2) a) (*.f64 b_2 -2)) a)
Compiler

Compiled 9506 to 2913 computations (69.4% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (/.f64 a (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) -1)
0.6b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.2b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
26.2b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series691.0ms (9.3%)

Counts
1 → 20
Calls

9 calls:

192.0ms
(pow.f64 (/.f64 a (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) -1)
c
-inf
185.0ms
(pow.f64 (/.f64 a (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) -1)
c
inf
155.0ms
(pow.f64 (/.f64 a (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) -1)
a
-inf
136.0ms
(pow.f64 (/.f64 a (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) -1)
a
inf
6.0ms
(pow.f64 (/.f64 a (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) -1)
b_2
inf

rewrite52.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
323×fma-neg_binary64
238×expm1-udef_binary64
238×log1p-udef_binary64
137×add-sqr-sqrt_binary64
133×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01221
127718
2391218
Stop Event
node limit
Counts
1 → 46

simplify37.0ms (0.5%)

Algorithm
egg-herbie
Rules
881×fma-neg_binary64
363×times-frac_binary64
239×associate-/l*_binary64
212×associate-*r*_binary64
206×associate-/r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
065654
1207642
2703624
33907624
Stop Event
node limit
Counts
66 → 69

prune236.0ms (3.2%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New3824386
Fresh268
Picked011
Done011
Total38412396
Error
6.1b
Counts
396 → 12
Alt Table
StatusErrorProgram
41.9b
(*.f64 (/.f64 -2 a) b_2)
42.3b
(pow.f64 (/.f64 a (fma.f64 1/2 (*.f64 (/.f64 c b_2) a) (*.f64 b_2 -2))) -1)
41.9b
(/.f64 (*.f64 c -1/2) b_2)
35.3b
(/.f64 (/.f64 1 a) (/.f64 1 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)))
46.3b
(/.f64 (/.f64 (-.f64 (*.f64 b_2 b_2) (fma.f64 b_2 b_2 (*.f64 a c))) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))) a)
35.3b
(pow.f64 (/.f64 a (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) -1)
41.9b
(/.f64 (*.f64 -2 b_2) a)
35.2b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
41.9b
(pow.f64 (/.f64 a (*.f64 b_2 -2)) -1)
56.2b
(/.f64 (-.f64 b_2 b_2) a)
35.5b
(/.f64 (sqrt.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) (/.f64 a (sqrt.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2))))
42.2b
(/.f64 (fma.f64 1/2 (*.f64 (/.f64 c b_2) a) (*.f64 b_2 -2)) a)
Compiler

Compiled 10153 to 3561 computations (64.9% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (/.f64 1 a) (/.f64 1 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)))
0.6b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.2b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
26.2b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series48.0ms (0.6%)

Counts
1 → 20
Calls

9 calls:

11.0ms
(/.f64 (/.f64 1 a) (/.f64 1 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)))
a
-inf
8.0ms
(/.f64 (/.f64 1 a) (/.f64 1 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)))
a
inf
7.0ms
(/.f64 (/.f64 1 a) (/.f64 1 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)))
c
inf
6.0ms
(/.f64 (/.f64 1 a) (/.f64 1 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)))
c
-inf
4.0ms
(/.f64 (/.f64 1 a) (/.f64 1 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)))
b_2
inf

rewrite57.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
256×expm1-udef_binary64
256×log1p-udef_binary64
149×add-sqr-sqrt_binary64
144×log1p-expm1-u_binary64
144×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01324
130318
2432518
Stop Event
node limit
Counts
1 → 38

simplify38.0ms (0.5%)

Algorithm
egg-herbie
Rules
881×fma-neg_binary64
363×times-frac_binary64
239×associate-/l*_binary64
212×associate-*r*_binary64
206×associate-/r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
065654
1207642
2703624
33907624
Stop Event
node limit
Counts
58 → 61

prune222.0ms (3%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New3762378
Fresh189
Picked101
Done022
Total37812390
Error
6.1b
Counts
390 → 12
Alt Table
StatusErrorProgram
35.2b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
35.3b
(/.f64 (/.f64 1 a) (/.f64 1 (-.f64 (sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c))))) b_2)))
41.9b
(*.f64 (/.f64 -2 a) b_2)
42.3b
(pow.f64 (/.f64 a (fma.f64 1/2 (*.f64 (/.f64 c b_2) a) (*.f64 b_2 -2))) -1)
41.9b
(/.f64 (*.f64 c -1/2) b_2)
44.8b
(/.f64 (/.f64 1 a) (/.f64 1 (*.f64 (/.f64 (*.f64 c -1/2) b_2) a)))
46.3b
(/.f64 (/.f64 (-.f64 (*.f64 b_2 b_2) (fma.f64 b_2 b_2 (*.f64 a c))) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))) a)
35.3b
(pow.f64 (/.f64 a (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) -1)
41.9b
(/.f64 (*.f64 -2 b_2) a)
41.9b
(pow.f64 (/.f64 a (*.f64 b_2 -2)) -1)
56.2b
(/.f64 (-.f64 b_2 b_2) a)
42.2b
(/.f64 (fma.f64 1/2 (*.f64 (/.f64 c b_2) a) (*.f64 b_2 -2)) a)
Compiler

Compiled 10602 to 4235 computations (60.1% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.8b
(fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c))))
1.2b
(-.f64 (sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c))))) b_2)
26.2b
(sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c)))))
52.2b
(fma.f64 a (neg.f64 c) (*.f64 a c))

series89.0ms (1.2%)

Counts
4 → 100
Calls

33 calls:

7.0ms
(-.f64 (sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c))))) b_2)
c
-inf
5.0ms
(-.f64 (sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c))))) b_2)
c
inf
5.0ms
(-.f64 (sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c))))) b_2)
a
inf
5.0ms
(-.f64 (sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c))))) b_2)
a
-inf
5.0ms
(sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c)))))
c
inf

rewrite77.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
514×log-prod_binary64
367×fma-def_binary64
217×fma-neg_binary64
195×expm1-udef_binary64
195×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01177
123357
2309257
Stop Event
node limit
Counts
4 → 191

simplify61.0ms (0.8%)

Algorithm
egg-herbie
Rules
416×times-frac_binary64
278×associate-/l*_binary64
264×associate-*r*_binary64
235×associate-/r*_binary64
224×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0851573
12721557
28791533
346121533
Stop Event
node limit
Counts
291 → 243

prune133.0ms (1.8%)

Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New2421243
Fresh099
Picked011
Done022
Total24213255
Error
6.1b
Counts
255 → 13
Alt Table
StatusErrorProgram
35.2b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
35.3b
(/.f64 (/.f64 1 a) (/.f64 1 (-.f64 (sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c))))) b_2)))
41.9b
(*.f64 (/.f64 -2 a) b_2)
42.3b
(pow.f64 (/.f64 a (fma.f64 1/2 (*.f64 (/.f64 c b_2) a) (*.f64 b_2 -2))) -1)
41.9b
(/.f64 (*.f64 c -1/2) b_2)
44.8b
(/.f64 (/.f64 1 a) (/.f64 1 (*.f64 (/.f64 (*.f64 c -1/2) b_2) a)))
46.3b
(/.f64 (/.f64 (-.f64 (*.f64 b_2 b_2) (fma.f64 b_2 b_2 (*.f64 a c))) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))) a)
42.2b
(/.f64 (fma.f64 1/2 (*.f64 (/.f64 c b_2) a) (*.f64 b_2 -2)) a)
47.0b
(/.f64 (/.f64 1 a) (/.f64 1 (exp.f64 (log.f64 (-.f64 (hypot.f64 b_2 (sqrt.f64 (fma.f64 a c (*.f64 a (+.f64 c c))))) b_2)))))
35.3b
(pow.f64 (/.f64 a (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)) -1)
41.9b
(/.f64 (*.f64 -2 b_2) a)
41.9b
(pow.f64 (/.f64 a (*.f64 b_2 -2)) -1)
56.2b
(/.f64 (-.f64 b_2 b_2) a)
Compiler

Compiled 7272 to 2815 computations (61.3% saved)

regimes2.1s (27.9%)

Accuracy

Total 4.8b remaining (47.1%)

Threshold costs 0b (0%)

Counts
136 → 3
Compiler

Compiled 10700 to 6862 computations (35.9% saved)

bsearch57.0ms (0.8%)

Algorithm
binary-search
Calls

2 calls:

34.0ms
b_2
18.0ms
b_2
Steps
ItersPointRange
3.5516450204745413e-95
∈ [
2.4336191574493255e-95
,
7.555548468790224e-94
]
-2.3813446637561993e+60
∈ [
-2.414460495428899e+60
,
-6.160930651602259e+58
]
Compiler

Compiled 4 to 3 computations (25% saved)

simplify4.0ms (0%)

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
02857
14357
25757
36657
47157
57257
Stop Event
saturated

end147.0ms (2%)

Stop Event
fuel
Compiler

Compiled 282 to 182 computations (35.5% saved)

Profiling

Loading profile data...