Details

Time bar (total: 7.3s)

analyze18.0ms (0.2%)

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

Compiled 14 to 13 computations (7.1% saved)

sample48.0ms (0.6%)

Algorithm
intervals
Results
18.0ms59×body2048valid
11.0ms143×body128valid
7.0ms30×body1024valid
3.0ms18×body512valid
1.0msbody256valid
Compiler

Compiled 28 to 26 computations (7.1% saved)

simplify11.0ms (0.2%)

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
14.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.8b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
Compiler

Compiled 45 to 41 computations (8.9% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite28.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity_binary64
44×add-sqr-sqrt_binary64
30×add-cube-cbrt_binary64
24×sqrt-prod_binary64
21×prod-diff_binary64
Counts
4 → 117
Calls

4 calls:

9.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
6.0ms
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
5.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
2.0ms
(/.f64 1/2 (hypot.f64 1 x))

series23.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

8.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
5.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
5.0ms
(/.f64 1/2 (hypot.f64 1 x))
4.0ms
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify129.0ms (1.8%)

Algorithm
egg-herbie
Rules
663×fma-def_binary64
471×associate-*l*_binary64
406×associate-*r*_binary64
399×fma-neg_binary64
286×cancel-sign-sub-inv_binary64
Counts
165 → 258
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02573449
16433086
217722766
347722766
448752766

prune204.0ms (2.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2544258
Fresh000
Picked101
Done000
Total2554259
Error
0.0b
Counts
259 → 4
Alt Table
StatusErrorProgram
14.3b
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
14.8b
(/.f64 (-.f64 1 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)) (+.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) (+.f64 3/2 (/.f64 1/2 (hypot.f64 1 x)))))
14.8b
(log.f64 (exp.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
34.3b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
Compiler

Compiled 4490 to 4000 computations (10.9% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite33.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt_binary64
109×*-un-lft-identity_binary64
80×times-frac_binary64
58×add-cube-cbrt_binary64
39×prod-diff_binary64
Counts
2 → 138
Calls

2 calls:

15.0ms
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
7.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

series32.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

27.0ms
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
5.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify216.0ms (2.9%)

Algorithm
egg-herbie
Rules
545×times-frac_binary64
230×fma-def_binary64
191×associate-*r*_binary64
183×fma-neg_binary64
177×associate-/r*_binary64
Counts
162 → 281
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04077612
111095376
234225334
349845334
449415334

prune351.0ms (4.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New4523455
Fresh303
Picked101
Done000
Total4563459
Error
0b
Counts
459 → 3
Alt Table
StatusErrorProgram
14.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)))))
34.3b
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))
14.3b
(*.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
Compiler

Compiled 10463 to 9347 computations (10.7% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
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/2 (hypot.f64 1 x))
0.0b
(/.f64 1/2 (hypot.f64 1 x))
1.0b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
64×*-un-lft-identity_binary64
64×add-sqr-sqrt_binary64
43×times-frac_binary64
28×distribute-lft-out_binary64
15×add-cube-cbrt_binary64
Counts
1 → 66
Calls

1 calls:

14.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))))

series16.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

16.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))))

simplify134.0ms (1.8%)

Algorithm
egg-herbie
Rules
641×fma-def_binary64
434×associate--l+_binary64
397×fma-neg_binary64
299×associate-/r*_binary64
172×associate-+r+_binary64
Counts
78 → 122
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02003489
15483360
218343344
348933341
451583341

prune346.0ms (4.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New9720972
Fresh022
Picked011
Done000
Total9723975
Error
0b
Counts
975 → 3
Alt Table
StatusErrorProgram
14.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)))))
34.3b
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))
14.3b
(*.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
Compiler

Compiled 10275 to 9163 computations (10.8% saved)

localize9.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 (hypot.f64 1 x))
1.0b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite0.0ms (0%)

Algorithm
rewrite-expression-head
Counts
0 → 0

series0.0ms (0%)

Counts
0 → 0

simplify65.0ms (0.9%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune308.0ms (4.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New314003140
Fresh011
Picked011
Done011
Total314033143
Error
0b
Counts
3143 → 3
Alt Table
StatusErrorProgram
14.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)))))
34.3b
(fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128))
14.3b
(*.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
Compiler

Compiled 8539 to 7620 computations (10.8% saved)

regimes2.4s (32.5%)

Accuracy

Total 0.0b remaining (6.3%)

Threshold costs 0.0b (6.3%)

Compiler

Compiled 23787 to 21564 computations (9.3% saved)

bsearch71.0ms (1%)

Steps
ItersRangePoint
9
2.0477836685004104e-7
106.18091515429026
0.002673467331980555
9
-527.769203384588
-4.240002696744291e-6
-0.002203921674884077
Compiler

Compiled 2 to 1 computations (50% saved)

simplify8.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02886
13786
24486
34686
44786
54586

end2.0ms (0%)

Compiler

Compiled 59 to 50 computations (15.3% saved)

sample2.9s (38.9%)

Algorithm
intervals
Results
1.3s2106×body2048valid
459.0ms970×body1024valid
415.0ms4140×body128valid
169.0ms520×body512valid
53.0ms264×body256valid
Compiler

Compiled 127 to 110 computations (13.4% saved)

Profiling

Loading profile data...