Details

Time bar (total: 5.9s)

analyze1.0ms (0%)

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

Compiled 13 to 13 computations (0% saved)

sample40.0ms (0.7%)

Algorithm
intervals
Results
25.0ms97×body1280valid
5.0ms129×body80valid
3.0ms19×body640valid
1.0msbody320valid
0.0msbody160valid
Compiler

Compiled 25 to 26 computations (-4% saved)

simplify14.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
04615
14615

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 15.1b

Counts
2 → 1
Compiler

Compiled 20 to 20 computations (0% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
sqrt-prod_binary64
add-log-exp_binary64 difference-of-squares_binary64
pow1_binary64 add-cube-cbrt_binary64 distribute-lft-out--_binary64
distribute-lft-out_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
flip3-+_binary64 sub-neg_binary64 pow1/2_binary64 flip3--_binary64 diff-log_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip--_binary64 flip-+_binary64
Counts
2 → 34
Calls

2 calls:

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

series23.0ms (0.4%)

Counts
2 → 6
Calls

2 calls:

12.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
11.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))

simplify91.0ms (1.6%)

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
05087763

prune39.0ms (0.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New37340
Fresh000
Picked101
Done000
Total38341

Merged error: 14.6b

Counts
41 → 3
Compiler

Compiled 683 to 624 computations (8.6% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite34.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
73×add-sqr-sqrt_binary64
71×*-un-lft-identity_binary64
44×times-frac_binary64
29×distribute-lft-out_binary64
18×add-cube-cbrt_binary64 sqrt-prod_binary64
16×difference-of-squares_binary64
distribute-lft-out--_binary64
associate-/r*_binary64 associate-/l*_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64
flip3-+_binary64 associate-/l/_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64 flip-+_binary64 sqrt-div_binary64
sub-neg_binary64 pow1/2_binary64 diff-log_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 div-sub_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
3 → 95
Calls

3 calls:

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

series51.0ms (0.9%)

Counts
3 → 9
Calls

3 calls:

32.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))))))
11.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
8.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify95.0ms (1.6%)

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049803292
149803292

prune147.0ms (2.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1022104
Fresh112
Picked101
Done000
Total1043107

Merged error: 14.5b

Counts
107 → 3
Compiler

Compiled 2980 to 2682 computations (10% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
0.0b
(/.f64 1/2 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
0.2b
(/.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
0.5b
(-.f64 (/.f64 1/2 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))) (/.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))

rewrite138.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
217×*-un-lft-identity_binary64
188×times-frac_binary64
147×add-sqr-sqrt_binary64
89×distribute-lft-out_binary64
81×add-cube-cbrt_binary64
48×sqrt-prod_binary64
16×associate-/l*_binary64
12×associate-/r*_binary64
11×add-exp-log_binary64 add-cbrt-cube_binary64 distribute-lft-out--_binary64 div-inv_binary64
associate-/r/_binary64
add-log-exp_binary64 difference-of-squares_binary64
flip3-+_binary64 pow1_binary64 flip-+_binary64
cbrt-undiv_binary64 div-exp_binary64
distribute-rgt-out--_binary64
clear-num_binary64 frac-2neg_binary64 sqrt-div_binary64
associate-/l/_binary64 sub-neg_binary64 pow1/2_binary64 flip3--_binary64 diff-log_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 sub-div_binary64 flip--_binary64 frac-sub_binary64
Counts
4 → 204
Calls

4 calls:

94.0ms
(-.f64 (/.f64 1/2 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))) (/.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
15.0ms
(/.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
11.0ms
(/.f64 1/2 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
6.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))

series118.0ms (2%)

Counts
4 → 12
Calls

4 calls:

57.0ms
(-.f64 (/.f64 1/2 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))) (/.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
28.0ms
(/.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
21.0ms
(/.f64 1/2 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
12.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))

simplify129.0ms (2.2%)

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049868113
149868113

prune626.0ms (10.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2142216
Fresh022
Picked101
Done000
Total2154219

Merged error: 14.3b

Counts
219 → 4
Compiler

Compiled 8892 to 8028 computations (9.7% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.4b
(-.f64 (/.f64 1/2 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))) (/.f64 (/.f64 1/2 (hypot.f64 1 x)) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))))
0.5b
(/.f64 1/2 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
0.5b
(/.f64 1 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
0.6b
(/.f64 (/.f64 1/2 (hypot.f64 1 x)) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))

rewrite224.0ms (3.8%)

Algorithm
rewrite-expression-head
Rules
319×times-frac_binary64
306×*-un-lft-identity_binary64
256×add-sqr-sqrt_binary64
217×sqrt-prod_binary64
142×add-cube-cbrt_binary64
104×distribute-lft-out_binary64
27×associate-/r*_binary64
19×associate-/l*_binary64
16×distribute-lft-out--_binary64
15×add-exp-log_binary64 difference-of-squares_binary64 div-inv_binary64
13×add-cbrt-cube_binary64
10×associate-/r/_binary64 sqrt-div_binary64
add-log-exp_binary64 pow1_binary64 div-exp_binary64
flip3-+_binary64 cbrt-undiv_binary64 flip-+_binary64
distribute-rgt-out--_binary64 clear-num_binary64 frac-2neg_binary64 pow-flip_binary64
associate-/l/_binary64 sub-neg_binary64 pow1/2_binary64 flip3--_binary64 diff-log_binary64 1-exp_binary64 sqrt-pow1_binary64 inv-pow_binary64 rec-exp_binary64 sub-div_binary64 flip--_binary64 frac-sub_binary64
Counts
4 → 315
Calls

4 calls:

160.0ms
(-.f64 (/.f64 1/2 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))) (/.f64 (/.f64 1/2 (hypot.f64 1 x)) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))))
20.0ms
(/.f64 (/.f64 1/2 (hypot.f64 1 x)) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
13.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
12.0ms
(/.f64 1/2 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))

series155.0ms (2.6%)

Counts
4 → 12
Calls

4 calls:

63.0ms
(-.f64 (/.f64 1/2 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))) (/.f64 (/.f64 1/2 (hypot.f64 1 x)) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))))
41.0ms
(/.f64 (/.f64 1/2 (hypot.f64 1 x)) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
26.0ms
(/.f64 1/2 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))
23.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))))

simplify193.0ms (3.3%)

Algorithm
egg-herbie
Counts
327 → 327
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
0494413386
1494413386

prune2.1s (36.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3243327
Fresh123
Picked101
Done000
Total3265331

Merged error: 14.3b

Counts
331 → 5
Compiler

Compiled 18777 to 17166 computations (8.6% saved)

regimes55.0ms (0.9%)

Compiler

Compiled 536 to 498 computations (7.1% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04468
14468

end0.0ms (0%)

sample1.5s (25.2%)

Algorithm
intervals
Results
623.0ms2910×body1280valid
151.0ms4021×body80valid
104.0ms609×body640valid
37.0ms299×body320valid
12.0ms161×body160valid
Compiler

Compiled 321 to 300 computations (6.5% saved)

Profiling

Loading profile data...