Details

Time bar (total: 6.0s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 14 to 13 computations (7.1% saved)

sample2.2s (36.8%)

Results
1.1s2189×body2048valid
447.0ms4257×body128valid
408.0ms1030×body1024valid
142.0ms510×body512valid
52.0ms270×body256valid
Compiler

Compiled 41 to 38 computations (7.3% saved)

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
fma-def_binary64
+-commutative_binary64
*-commutative_binary64
associate-+l-_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01018
12215
22715
33515
44215
55215
66015
76915
87215
95315

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
13.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
13.8b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
Compiler

Compiled 45 to 41 computations (8.9% saved)

localize6.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
0.0b
(/.f64 1/2 (hypot.f64 1 x))
0.0b
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
1.8b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

series18.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

6.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
4.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
4.0ms
(/.f64 1/2 (hypot.f64 1 x))
3.0ms
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite94.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
466×prod-diff_binary64
406×log-prod_binary64
205×fma-def_binary64
170×expm1-udef_binary64
169×log1p-udef_binary64
Counts
4 → 139
Calls

4 calls:

92.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
92.0ms
(/.f64 1/2 (hypot.f64 1 x))
91.0ms
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
91.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0944
120044
2240844
3493344
4509444
000
100

simplify55.0ms (0.9%)

Algorithm
egg-herbie
Rules
752×fma-neg_binary64
538×sub-neg_binary64
430×fma-def_binary64
239×associate--l+_binary64
232×cancel-sign-sub-inv_binary64
Counts
187 → 219
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0120934
1399916
21174892
33690892
44978892

prune179.0ms (3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2163219
Fresh000
Picked101
Done000
Total2173220
Error
0.0b
Counts
220 → 3
Alt Table
StatusErrorProgram
35.9b
(fma.f64 (pow.f64 x 4) -11/128 (fma.f64 1/8 (*.f64 x x) (*.f64 69/1024 (pow.f64 x 6))))
13.8b
(*.f64 (-.f64 1 (pow.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) 3/2)) (/.f64 1 (+.f64 1 (+.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))))
13.3b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
Compiler

Compiled 4136 to 3673 computations (11.2% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
0.0b
(/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
0.0b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
1.2b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

series39.0ms (0.6%)

Counts
3 → 36
Calls

3 calls:

25.0ms
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
10.0ms
(/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
3.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite78.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
504×prod-diff_binary64
236×log1p-udef_binary64
136×add-sqr-sqrt_binary64
131×log1p-expm1-u_binary64
131×expm1-log1p-u_binary64
Counts
3 → 126
Calls

3 calls:

75.0ms
(/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
75.0ms
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
75.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01267
127843
2359243
3489443
000
100

simplify64.0ms (1.1%)

Algorithm
egg-herbie
Rules
452×distribute-rgt-in_binary64
293×associate-+r+_binary64
293×fma-def_binary64
238×cancel-sign-sub-inv_binary64
230×+-commutative_binary64
Counts
162 → 192
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02601930
18411747
231471742
350961742

prune498.0ms (8.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2531254
Fresh022
Picked011
Done000
Total2534257
Error
0b
Counts
257 → 4
Alt Table
StatusErrorProgram
35.9b
(fma.f64 (pow.f64 x 4) -11/128 (fma.f64 1/8 (*.f64 x x) (*.f64 69/1024 (pow.f64 x 6))))
13.8b
(*.f64 (-.f64 1 (pow.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) 3/2)) (/.f64 1 (+.f64 1 (+.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))))
36.2b
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))
13.3b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
Compiler

Compiled 8033 to 7166 computations (10.8% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
0.0b
(pow.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) 3/2)
0.5b
(/.f64 1 (+.f64 1 (+.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
1.2b
(-.f64 1 (pow.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) 3/2))

series59.0ms (1%)

Counts
3 → 36
Calls

3 calls:

49.0ms
(/.f64 1 (+.f64 1 (+.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
5.0ms
(-.f64 1 (pow.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) 3/2))
4.0ms
(pow.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) 3/2)

rewrite72.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
348×fma-neg_binary64
274×expm1-udef_binary64
273×log1p-udef_binary64
161×log1p-expm1-u_binary64
161×expm1-log1p-u_binary64
Counts
3 → 82
Calls

3 calls:

70.0ms
(pow.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) 3/2)
70.0ms
(/.f64 1 (+.f64 1 (+.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
70.0ms
(-.f64 1 (pow.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) 3/2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01459
133456
2411856
3512756
000
100

simplify80.0ms (1.3%)

Algorithm
egg-herbie
Rules
299×fma-neg_binary64
292×times-frac_binary64
251×fma-def_binary64
245×cancel-sign-sub-inv_binary64
239×associate-+r+_binary64
Counts
118 → 143
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02882266
17471785
230271684
349191684
450311684

prune464.0ms (7.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3290329
Fresh022
Picked011
Done011
Total3294333
Error
0b
Counts
333 → 4
Alt Table
StatusErrorProgram
35.9b
(fma.f64 (pow.f64 x 4) -11/128 (fma.f64 1/8 (*.f64 x x) (*.f64 69/1024 (pow.f64 x 6))))
13.8b
(*.f64 (-.f64 1 (pow.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) 3/2)) (/.f64 1 (+.f64 1 (+.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))))
36.2b
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))
13.3b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
Compiler

Compiled 14579 to 13140 computations (9.9% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/8 (*.f64 x x) (*.f64 69/1024 (pow.f64 x 6)))
0.1b
(*.f64 69/1024 (pow.f64 x 6))
20.7b
(fma.f64 (pow.f64 x 4) -11/128 (fma.f64 1/8 (*.f64 x x) (*.f64 69/1024 (pow.f64 x 6))))

series13.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

6.0ms
(fma.f64 (pow.f64 x 4) -11/128 (fma.f64 1/8 (*.f64 x x) (*.f64 69/1024 (pow.f64 x 6))))
4.0ms
(fma.f64 1/8 (*.f64 x x) (*.f64 69/1024 (pow.f64 x 6)))
3.0ms
(*.f64 69/1024 (pow.f64 x 6))

rewrite58.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
448×log-prod_binary64
292×pow2_binary64
202×expm1-udef_binary64
202×log1p-udef_binary64
199×pow1/3_binary64
Counts
3 → 75
Calls

3 calls:

56.0ms
(fma.f64 1/8 (*.f64 x x) (*.f64 69/1024 (pow.f64 x 6)))
56.0ms
(*.f64 69/1024 (pow.f64 x 6))
56.0ms
(fma.f64 (pow.f64 x 4) -11/128 (fma.f64 1/8 (*.f64 x x) (*.f64 69/1024 (pow.f64 x 6))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01342
127342
2256142
3488042
000
100

simplify65.0ms (1.1%)

Algorithm
egg-herbie
Rules
678×distribute-rgt-neg-in_binary64
616×distribute-lft-neg-in_binary64
395×distribute-lft-out_binary64
340×cancel-sign-sub-inv_binary64
326×distribute-lft-out--_binary64
Counts
99 → 86
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
018354
147336
293336
3275336
4963336
52435336
64742336
74958336

prune71.0ms (1.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New86086
Fresh011
Picked011
Done022
Total86490
Error
0b
Counts
90 → 4
Alt Table
StatusErrorProgram
35.9b
(fma.f64 (pow.f64 x 4) -11/128 (fma.f64 1/8 (*.f64 x x) (*.f64 69/1024 (pow.f64 x 6))))
13.8b
(*.f64 (-.f64 1 (pow.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) 3/2)) (/.f64 1 (+.f64 1 (+.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))))
36.2b
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))
13.3b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
Compiler

Compiled 1816 to 1320 computations (27.3% saved)

regimes1.7s (27.9%)

Accuracy

Total 0.0b remaining (32.6%)

Threshold costs 0.0b (32.6%)

Counts
199 → 3
Compiler

Compiled 27531 to 25026 computations (9.1% saved)

bsearch46.0ms (0.8%)

Steps
ItersRangePoint
9
0.0003357114060053016
351.5834476539697
0.010586867664495958
9
-3.2663422632621986
-8.797170471362198e-6
-0.0108257881037984
Compiler

Compiled 2 to 1 computations (50% saved)

simplify5.0ms (0.1%)

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
042116
155116
264116
368116
470116
568116

end125.0ms (2.1%)

Compiler

Compiled 239 to 205 computations (14.2% saved)

Profiling

Loading profile data...