Details

Time bar (total: 4.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)

sample64.0ms (1.6%)

Algorithm
intervals
Results
21.0ms63×body2048valid
11.0ms140×body128valid
8.0ms37×body1024valid
2.0ms10×body512valid
1.0msbody256valid
Compiler

Compiled 28 to 26 computations (7.1% saved)

simplify8.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.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 45 to 41 computations (8.9% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series18.0ms (0.5%)

Counts
4 → 48
Calls

4 calls:

6.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))))
4.0ms
(/.f64 1/2 (hypot.f64 1 x))
3.0ms
(hypot.f64 1 x)

rewrite22.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity_binary64
43×add-sqr-sqrt_binary64
29×add-cube-cbrt_binary64
24×sqrt-prod_binary64
21×prod-diff_binary64
Counts
4 → 110
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))))
3.0ms
(/.f64 1/2 (hypot.f64 1 x))
0.0ms
(hypot.f64 1 x)

simplify133.0ms (3.4%)

Algorithm
egg-herbie
Rules
661×fma-def_binary64
463×fma-neg_binary64
398×times-frac_binary64
372×associate-*l*_binary64
332×associate-*r*_binary64
Counts
158 → 196
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02613244
16532896
218052575
345602539
448602539
552662539

prune170.0ms (4.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1933196
Fresh000
Picked011
Done000
Total1934197
Error
0b
Counts
197 → 4
Alt Table
StatusErrorProgram
14.5b
(/.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))))))
15.3b
(+.f64 (fma.f64 1 1 (neg.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (sqrt.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))) (fma.f64 (neg.f64 (sqrt.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))) (sqrt.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (sqrt.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))))
15.0b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
33.0b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
Compiler

Compiled 4534 to 4028 computations (11.2% saved)

localize8.0ms (0.2%)

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 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
2.5b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

series29.0ms (0.7%)

Counts
2 → 24
Calls

2 calls:

26.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))))))
3.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite36.0ms (0.9%)

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))))))
6.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify198.0ms (5%)

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 → 186
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04077612
111095376
234225334
349845334
449415334

prune370.0ms (9.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New3361337
Fresh112
Picked101
Done101
Total3392341
Error
0b
Counts
341 → 2
Alt Table
StatusErrorProgram
33.0b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
14.5b
(/.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 11652 to 10396 computations (10.8% saved)

localize10.0ms (0.3%)

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 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
2.5b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

series10.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

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

rewrite21.0ms (0.5%)

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

simplify108.0ms (2.7%)

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 → 79
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02003489
15483360
218343344
348933341
451583341

prune328.0ms (8.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New3340334
Fresh011
Picked011
Done000
Total3342336
Error
0b
Counts
336 → 2
Alt Table
StatusErrorProgram
33.0b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
14.5b
(/.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 11556 to 10304 computations (10.8% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
16.1b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

4.0ms
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))

simplify43.0ms (1.1%)

Algorithm
egg-herbie
Rules
563×distribute-rgt-out_binary64
508×associate-*l*_binary64
438×associate-*r*_binary64
278×exp-prod_binary64
199×distribute-lft-neg-out_binary64
Counts
22 → 23
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
026364
142317
288317
3337317
42024317
54944317

prune14.0ms (0.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New23023
Fresh000
Picked011
Done011
Total23225
Error
0b
Counts
25 → 2
Alt Table
StatusErrorProgram
33.0b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
14.5b
(/.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 367 to 239 computations (34.9% saved)

regimes816.0ms (20.6%)

Accuracy

Total 0.0b remaining (44.4%)

Threshold costs 0.0b (44.4%)

Counts
79 → 2
Compiler

Compiled 13403 to 12115 computations (9.6% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 4 to 3 computations (25% saved)

simplify6.0ms (0.2%)

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
02353
13053
23753
33953
44053
53853

end1.0ms (0%)

Compiler

Compiled 37 to 31 computations (16.2% saved)

sample1.5s (38.6%)

Algorithm
intervals
Results
684.0ms2127×body2048valid
241.0ms1001×body1024valid
231.0ms4115×body128valid
90.0ms512×body512valid
26.0ms245×body256valid
Compiler

Compiled 84 to 72 computations (14.3% saved)

Profiling

Loading profile data...