Details

Time bar (total: 4.2s)

analyze42.0ms (1%)

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

Compiled 14 to 13 computations (7.1% saved)

sample91.0ms (2.2%)

Algorithm
intervals
Results
40.0ms67×body2048valid
21.0ms35×body1024valid
15.0ms139×body128valid
4.0ms12×body512valid
1.0msbody256valid
Compiler

Compiled 28 to 26 computations (7.1% saved)

simplify23.0ms (0.5%)

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

prune6.0ms (0.1%)

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)

localize14.0ms (0.3%)

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

rewrite141.0ms (3.3%)

Algorithm
rewrite-expression-head
Rules
45×add-cube-cbrt_binary64
24×add-sqr-sqrt_binary64
16×pow1_binary64
16×add-cbrt-cube_binary64
16×add-log-exp_binary64
Counts
4 → 175
Calls

4 calls:

28.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
25.0ms
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
24.0ms
(/.f64 1/2 (hypot.f64 1 x))
23.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))

series65.0ms (1.5%)

Counts
4 → 48
Calls

4 calls:

27.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
18.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
11.0ms
(/.f64 1/2 (hypot.f64 1 x))
9.0ms
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify176.0ms (4.2%)

Algorithm
egg-herbie
Rules
869×fma-def_binary64
480×fma-neg_binary64
412×cancel-sign-sub-inv_binary64
235×sub-neg_binary64
223×times-frac_binary64
Counts
223 → 325
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02863473
17253277
222003084
345093084
447873084

prune218.0ms (5.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New3214325
Fresh000
Picked101
Done000
Total3224326
Error
0.0b
Counts
326 → 4
Alt Table
StatusErrorProgram
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))
34.4b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
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))))))
Compiler

Compiled 6020 to 5388 computations (10.5% 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 1/2 (hypot.f64 1 x))
0.1b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite17.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
16×add-cube-cbrt_binary64
add-sqr-sqrt_binary64
add-log-exp_binary64
flip3--_binary64
pow1_binary64
Counts
1 → 46
Calls

1 calls:

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

series5.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

simplify83.0ms (2%)

Algorithm
egg-herbie
Rules
630×fma-neg_binary64
293×neg-mul-1_binary64
272×fma-def_binary64
249×distribute-rgt-neg-in_binary64
248×div-sub_binary64
Counts
58 → 86
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0111830
1281805
2774786
32375786
44329786
54777786

prune253.0ms (6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New4110411
Fresh033
Picked011
Done000
Total4114415
Error
0.0b
Counts
415 → 4
Alt Table
StatusErrorProgram
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))
34.4b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
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))))))
Compiler

Compiled 7727 to 6827 computations (11.6% saved)

localize8.0ms (0.2%)

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

rewrite40.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
27×add-cube-cbrt_binary64
16×add-sqr-sqrt_binary64
12×pow1_binary64
10×add-log-exp_binary64
add-cbrt-cube_binary64
Counts
3 → 117
Calls

3 calls:

13.0ms
(-.f64 1 (hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
11.0ms
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
8.0ms
(hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))

series68.0ms (1.6%)

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

simplify111.0ms (2.6%)

Algorithm
egg-herbie
Rules
484×fma-def_binary64
452×sub-neg_binary64
289×associate-*l*_binary64
288×associate-*r*_binary64
235×cancel-sign-sub-inv_binary64
Counts
133 → 176
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01702346
14232248
212852169
344392128
448372128

prune182.0ms (4.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New5040504
Fresh022
Picked011
Done011
Total5044508
Error
0.0b
Counts
508 → 4
Alt Table
StatusErrorProgram
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))
34.4b
(fma.f64 (pow.f64 x 4) -11/128 (*.f64 1/8 (*.f64 x x)))
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))))))
Compiler

Compiled 5303 to 4822 computations (9.1% saved)

localize9.0ms (0.2%)

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

rewrite32.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
14×add-cube-cbrt_binary64
cube-div_binary64
flip3--_binary64
add-sqr-sqrt_binary64
pow1/3_binary64
Counts
2 → 85
Calls

2 calls:

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

series24.0ms (0.6%)

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)
7.0ms
(cbrt.f64 (pow.f64 (-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) 3))

simplify98.0ms (2.3%)

Algorithm
egg-herbie
Rules
736×fma-def_binary64
333×distribute-rgt-in_binary64
271×cancel-sign-sub-inv_binary64
231×sub-neg_binary64
202×distribute-neg-in_binary64
Counts
109 → 175
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02352501
16562200
224462174
349172174

prune254.0ms (6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

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

Compiled 7490 to 6785 computations (9.4% saved)

regimes750.0ms (17.7%)

Accuracy

Total 0.1b remaining (55%)

Threshold costs 0.1b (55%)

Compiler

Compiled 10414 to 9539 computations (8.4% saved)

bsearch2.0ms (0.1%)

Compiler

Compiled 4 to 3 computations (25% saved)

simplify4.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

end1.0ms (0%)

Compiler

Compiled 35 to 29 computations (17.1% saved)

sample1.5s (35.6%)

Algorithm
intervals
Results
689.0ms2149×body2048valid
226.0ms1032×body1024valid
212.0ms4110×body128valid
75.0ms465×body512valid
25.0ms244×body256valid
Compiler

Compiled 109 to 95 computations (12.8% saved)

Profiling

Loading profile data...