Details

Time bar (total: 9.3s)

analyze668.0ms (7.2%)

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

Results
749.0ms5383×body128valid
541.0ms1178×body2048valid
284.0ms757×body1024valid
210.0ms381×body4096valid
120.0ms1047×body128invalid
118.0ms390×body512valid
33.0ms167×body256valid
Compiler

Compiled 50 to 32 computations (36% saved)

simplify82.0ms (0.9%)

Algorithm
egg-herbie
Rules
808×fma-neg_binary64
379×associate-/l*_binary64
361×div-sub_binary64
341×fma-def_binary64
224×times-frac_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01120
12318
23918
36918
410718
517818
627918
738218
854718
958718
1085518
11124718
12111718
13103518
14104318
15105118
16107718
17109318
18112918
19113118
20114318
21105018

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
34.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
34.3b
(/.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)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
0.5b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
1.0b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
23.1b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series160.0ms (1.7%)

Counts
4 → 96
Calls

4 calls:

85.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
37.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
29.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
8.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

rewrite106.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
700×fma-def_binary64
338×fma-neg_binary64
317×egg-rr
216×expm1-udef_binary64
216×log1p-udef_binary64
Counts
4 → 317
Calls

4 calls:

97.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
97.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
97.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
97.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01055
123455
2329955
3494555
000
100

simplify69.0ms (0.7%)

Algorithm
egg-herbie
Rules
738×times-frac_binary64
493×associate-/l*_binary64
403×associate-/r*_binary64
361×fma-def_binary64
191×associate-*l/_binary64
Counts
413 → 385
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01202203
13882175
212922133
349662133

prune341.0ms (3.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3769385
Fresh000
Picked101
Done000
Total3779386
Error
7.2b
Counts
386 → 9
Alt Table
StatusErrorProgram
40.6b
(*.f64 -1/2 (/.f64 c b_2))
34.4b
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (/.f64 1 a))
47.3b
(/.f64 (*.f64 -1/2 (/.f64 (*.f64 c a) b_2)) a)
44.0b
(/.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)
46.5b
(*.f64 -2 (/.f64 b_2 a))
34.3b
(/.f64 (-.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)
35.3b
(/.f64 (-.f64 (pow.f64 (pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4) 2) b_2) a)
46.8b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
57.4b
(/.f64 (-.f64 b_2 b_2) a)
Compiler

Compiled 9490 to 2842 computations (70.1% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(-.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)
1.2b
(fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c))))
23.1b
(sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c)))))
52.7b
(fma.f64 a (neg.f64 c) (*.f64 a c))

series146.0ms (1.6%)

Counts
4 → 100
Calls

4 calls:

69.0ms
(fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c))))
37.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)
33.0ms
(sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c)))))
8.0ms
(fma.f64 a (neg.f64 c) (*.f64 a c))

rewrite103.0ms (1.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
Counts
4 → 193
Calls

4 calls:

98.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)
98.0ms
(fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c))))
98.0ms
(sqrt.f64 (fma.f64 b_2 b_2 (fma.f64 a (neg.f64 c) (fma.f64 a (neg.f64 c) (*.f64 a c)))))
98.0ms
(fma.f64 a (neg.f64 c) (*.f64 a c))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01177
123257
2263457
3500257
000
100

simplify88.0ms (0.9%)

Algorithm
egg-herbie
Rules
447×unswap-sqr_binary64
416×times-frac_binary64
278×associate-/l*_binary64
268×associate-*r*_binary64
235×associate-/r*_binary64
Counts
293 → 242
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0851573
12691557
28171533
340111533
449161500
549561500

prune119.0ms (1.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2411242
Fresh088
Picked011
Done000
Total24110251
Error
7.2b
Counts
251 → 10
Alt Table
StatusErrorProgram
40.6b
(*.f64 -1/2 (/.f64 c b_2))
34.4b
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (/.f64 1 a))
47.3b
(/.f64 (*.f64 -1/2 (/.f64 (*.f64 c a) b_2)) a)
50.8b
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 b_2 (sqrt.f64 (fma.f64 a c (*.f64 a (+.f64 c c))))) b_2))) a)
44.0b
(/.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)
46.5b
(*.f64 -2 (/.f64 b_2 a))
34.3b
(/.f64 (-.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)
35.3b
(/.f64 (-.f64 (pow.f64 (pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4) 2) b_2) a)
46.8b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
57.4b
(/.f64 (-.f64 b_2 b_2) a)
Compiler

Compiled 6374 to 1816 computations (71.5% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (/.f64 1 a))
0.5b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
1.0b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
23.1b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series52.0ms (0.6%)

Counts
1 → 20
Calls

1 calls:

52.0ms
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (/.f64 1 a))

rewrite57.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
699×fma-def_binary64
320×fma-neg_binary64
230×expm1-udef_binary64
230×log1p-udef_binary64
133×add-sqr-sqrt_binary64
Counts
1 → 43
Calls

1 calls:

55.0ms
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (/.f64 1 a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
126718
2340318
3503718
000
100

simplify44.0ms (0.5%)

Algorithm
egg-herbie
Rules
881×fma-neg_binary64
363×times-frac_binary64
351×unswap-sqr_binary64
239×associate-/l*_binary64
217×associate-*r*_binary64
Counts
63 → 64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
065654
1204642
2668624
33419624
44941624

prune254.0ms (2.7%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New3810381
Fresh088
Picked011
Done011
Total38110391
Error
7.2b
Counts
391 → 10
Alt Table
StatusErrorProgram
40.6b
(*.f64 -1/2 (/.f64 c b_2))
34.4b
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (/.f64 1 a))
47.3b
(/.f64 (*.f64 -1/2 (/.f64 (*.f64 c a) b_2)) a)
50.8b
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 b_2 (sqrt.f64 (fma.f64 a c (*.f64 a (+.f64 c c))))) b_2))) a)
44.0b
(/.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)
46.5b
(*.f64 -2 (/.f64 b_2 a))
34.3b
(/.f64 (-.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)
35.3b
(/.f64 (-.f64 (pow.f64 (pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4) 2) b_2) a)
46.8b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
57.4b
(/.f64 (-.f64 b_2 b_2) a)
Compiler

Compiled 10017 to 3495 computations (65.1% saved)

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4) 2)
1.0b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
11.9b
(-.f64 (pow.f64 (pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4) 2) b_2)
23.8b
(pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4)

series189.0ms (2%)

Counts
3 → 92
Calls

3 calls:

85.0ms
(pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4)
65.0ms
(pow.f64 (pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4) 2)
39.0ms
(-.f64 (pow.f64 (pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4) 2) b_2)

rewrite101.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
642×fma-def_binary64
278×fma-neg_binary64
228×expm1-udef_binary64
228×log1p-udef_binary64
143×egg-rr
Counts
3 → 143
Calls

3 calls:

97.0ms
(pow.f64 (pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4) 2)
97.0ms
(-.f64 (pow.f64 (pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4) 2) b_2)
97.0ms
(pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01242
127840
2320338
3499738
4488938
000
100

simplify106.0ms (1.1%)

Algorithm
egg-herbie
Rules
286×times-frac_binary64
268×associate-/r*_binary64
262×sub-neg_binary64
261×fma-neg_binary64
237×associate-*r*_binary64
Counts
235 → 267
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03294384
110734294
243244282
349804282

prune445.0ms (4.8%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New4312433
Fresh347
Picked011
Done022
Total4349443
Error
0.8b
Counts
443 → 9
Alt Table
StatusErrorProgram
40.6b
(*.f64 -1/2 (/.f64 c b_2))
34.4b
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (/.f64 1 a))
47.3b
(/.f64 (*.f64 -1/2 (/.f64 (*.f64 c a) b_2)) a)
44.0b
(/.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)
51.3b
(/.f64 (-.f64 (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 a) (log.f64 (/.f64 -1 c))))) 2) b_2) a)
34.3b
(/.f64 (-.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)
35.3b
(/.f64 (-.f64 (pow.f64 (pow.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)) 1/4) 2) b_2) a)
52.3b
(/.f64 (-.f64 (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 c) (log.f64 (/.f64 -1 a))))) 2) b_2) a)
46.8b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
Compiler

Compiled 13222 to 5789 computations (56.2% saved)

regimes3.2s (34.9%)

Accuracy

Total 9.3b remaining (91.9%)

Threshold costs 0b (0%)

Counts
196 → 3
Compiler

Compiled 14628 to 9314 computations (36.3% saved)

bsearch91.0ms (1%)

Steps
ItersRangePoint
10
2.2479505088929644e-82
9.94413970509067e-64
1.5940605920453892e-74
9
-4.700315450940392e+155
-1.5253663957040454e+147
-2.9158395222175973e+150
Compiler

Compiled 4 to 3 computations (25% saved)

simplify3.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
02761
13661
24161
34461
44561
54561

end125.0ms (1.3%)

Compiler

Compiled 244 to 149 computations (38.9% saved)

Profiling

Loading profile data...