Details

Time bar (total: 6.0s)

analyze21.0ms (0.3%)

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

Compiled 14 to 13 computations (7.1% saved)

sample62.0ms (1%)

Algorithm
intervals
Results
30.0ms67×body2048valid
11.0ms35×body1024valid
10.0ms139×body128valid
3.0ms12×body512valid
0.0msbody256valid
Compiler

Compiled 28 to 26 computations (7.1% saved)

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

rewrite28.0ms (0.5%)

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:

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

series24.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

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

simplify128.0ms (2.1%)

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

prune168.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
13.1b
(/.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))))))
34.4b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
13.7b
(-.f64 1 (hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
14.0b
(cbrt.f64 (pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3))
Compiler

Compiled 4456 to 3970 computations (10.9% saved)

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

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt_binary64
45×*-un-lft-identity_binary64
43×add-cube-cbrt_binary64
39×prod-diff_binary64
37×times-frac_binary64
Counts
1 → 71
Calls

1 calls:

6.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

series6.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

simplify124.0ms (2.1%)

Algorithm
egg-herbie
Rules
427×fma-def_binary64
384×associate-*l/_binary64
374×fma-neg_binary64
350×associate-*r/_binary64
237×associate-/l*_binary64
Counts
83 → 155
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02081994
15161332
21253978
33914978
44325978
54895978
64565978

prune234.0ms (3.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3770377
Fresh033
Picked011
Done000
Total3774381
Error
0.0b
Counts
381 → 4
Alt Table
StatusErrorProgram
13.1b
(/.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))))))
34.4b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
13.7b
(-.f64 1 (hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
14.0b
(cbrt.f64 (pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3))
Compiler

Compiled 7981 to 7068 computations (11.4% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))
0.0b
(/.f64 1/2 (hypot.f64 1 x))
0.1b
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
0.7b
(-.f64 1 (hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
21×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64
13×sqrt-prod_binary64
10×times-frac_binary64
Counts
3 → 68
Calls

3 calls:

3.0ms
(-.f64 1 (hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
2.0ms
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
0.0ms
(hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))

series70.0ms (1.2%)

Counts
3 → 16
Calls

3 calls:

30.0ms
(-.f64 1 (hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
30.0ms
(hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))
10.0ms
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))

simplify101.0ms (1.7%)

Algorithm
egg-herbie
Rules
461×sub-neg_binary64
420×fma-def_binary64
302×associate-*l*_binary64
280×associate-*r*_binary64
205×associate-+l+_binary64
Counts
84 → 121
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01812158
13881926
211851723
345771723
449671723

prune122.0ms (2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3530353
Fresh022
Picked011
Done011
Total3534357
Error
0.0b
Counts
357 → 4
Alt Table
StatusErrorProgram
13.1b
(/.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))))))
34.4b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
13.7b
(-.f64 1 (hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
14.0b
(cbrt.f64 (pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3))
Compiler

Compiled 3753 to 3403 computations (9.3% 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
(pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3)
0.5b
(cbrt.f64 (pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3))
0.7b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

rewrite23.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt_binary64
36×*-un-lft-identity_binary64
26×cbrt-prod_binary64
20×cube-prod_binary64
20×unpow-prod-down_binary64
Counts
2 → 80
Calls

2 calls:

9.0ms
(cbrt.f64 (pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3))
8.0ms
(pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3)

series25.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

17.0ms
(pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3)
8.0ms
(cbrt.f64 (pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3))

simplify130.0ms (2.2%)

Algorithm
egg-herbie
Rules
767×fma-def_binary64
348×distribute-rgt-in_binary64
256×cancel-sign-sub-inv_binary64
232×sub-neg_binary64
229×unswap-sqr_binary64
Counts
104 → 188
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02353182
16772883
224382855
348832855
449302855

prune211.0ms (3.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New7611762
Fresh011
Picked101
Done112
Total7633766
Error
0.0b
Counts
766 → 3
Alt Table
StatusErrorProgram
13.1b
(/.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))))))
34.4b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
14.4b
(*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3))) (cbrt.f64 (cbrt.f64 (pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3)))) (cbrt.f64 (cbrt.f64 (pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3))))
Compiler

Compiled 6362 to 5751 computations (9.6% saved)

regimes1.4s (23.7%)

Accuracy

Total 0.1b remaining (53.7%)

Threshold costs 0.1b (53.7%)

Compiler

Compiled 12871 to 11806 computations (8.3% saved)

bsearch7.0ms (0.1%)

Compiler

Compiled 4 to 3 computations (25% 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
02250
12950
23650
33850
43950
53750

end2.0ms (0%)

Compiler

Compiled 35 to 29 computations (17.1% saved)

sample3.0s (50.3%)

Algorithm
intervals
Results
1.4s2149×body2048valid
476.0ms1032×body1024valid
437.0ms4110×body128valid
161.0ms465×body512valid
49.0ms244×body256valid
Compiler

Compiled 125 to 110 computations (12% saved)

Profiling

Loading profile data...