Details

Time bar (total: 2.2s)

analyze1.0ms

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

sample36.0ms

Algorithm
intervals
Results
19.0ms89×body1280valid
5.0ms129×body80valid
3.0ms18×body640valid
1.0ms12×body320valid
1.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
04410
14410

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 17.0b

Counts
2 → 1

localize6.0ms

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
times-frac_binary64
sqrt-prod_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64
difference-of-squares_binary64
associate-/r*_binary64 associate-/l*_binary64 distribute-lft-out--_binary64
distribute-lft-out_binary64 sqrt-div_binary64
flip3-+_binary64 sub-neg_binary64 pow1/2_binary64 flip3--_binary64 diff-log_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip--_binary64 flip-+_binary64
Counts
4 → 68
Calls
4 calls:
7.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
3.0ms
(/.f64 1/2 (hypot.f64 1 x))
1.0ms
(hypot.f64 1 x)
9.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

series35.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
5.0ms
(/.f64 1/2 (hypot.f64 1 x))
1.0ms
(hypot.f64 1 x)
17.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
04987797
14987797

prune76.0ms

Filtered
53 candidates to 80 candidates (-50.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New77380
Fresh000
Picked011
Done000
Total77481

Merged error: 16.5b

Counts
81 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
add-log-exp_binary64
pow1_binary64 distribute-lft-out_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
difference-of-squares_binary64 sqrt-prod_binary64
flip3-+_binary64 sub-neg_binary64 flip3--_binary64 diff-log_binary64 distribute-lft-out--_binary64 times-frac_binary64 +-commutative_binary64 flip--_binary64 flip-+_binary64 sum-log_binary64
Counts
4 → 42
Calls
4 calls:
1.0ms
(hypot.f64 1 x)
1.0ms
(hypot.f64 1 x)
8.0ms
(+.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)))

series23.0ms

Counts
4 → 12
Calls
4 calls:
1.0ms
(hypot.f64 1 x)
1.0ms
(hypot.f64 1 x)
13.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
9.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify51.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05040477

prune59.0ms

Filtered
37 candidates to 54 candidates (-45.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New53154
Fresh112
Picked011
Done011
Total54458

Merged error: 16.5b

Counts
58 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
0.1b
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
0.5b
(*.f64 (+.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))) (-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
2.3b
(-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt_binary64
46×sqrt-prod_binary64
32×*-un-lft-identity_binary64
24×times-frac_binary64
20×add-cube-cbrt_binary64
12×difference-of-squares_binary64
11×associate-*r*_binary64
pow1_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
associate-*l*_binary64
flip3--_binary64 rem-sqrt-square_binary64 distribute-lft-out--_binary64 flip--_binary64 frac-times_binary64
flip3-+_binary64 sub-neg_binary64 flip-+_binary64
pow1/2_binary64 distribute-lft-out_binary64 associate-*r/_binary64 sqrt-pow1_binary64 div-inv_binary64 sqrt-div_binary64 associate-*l/_binary64
pow-prod-down_binary64 diff-log_binary64 cbrt-unprod_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 unswap-sqr_binary64 prod-exp_binary64 *-commutative_binary64
Counts
4 → 107
Calls
4 calls:
3.0ms
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
3.0ms
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
22.0ms
(*.f64 (+.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))) (-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
10.0ms
(-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))

series77.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
12.0ms
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
38.0ms
(*.f64 (+.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))) (-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
15.0ms
(-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))

simplify60.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
054501627

prune205.0ms

Filtered
84 candidates to 119 candidates (-41.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1172119
Fresh011
Picked101
Done112
Total1194123

Merged error: 16.5b

Counts
123 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (+.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 1 x))) -1/2)) (+.f64 1 (sqrt.f64 (/.f64 1 (hypot.f64 1 x)))))
0.1b
(sqrt.f64 (/.f64 1 (hypot.f64 1 x)))
0.1b
(sqrt.f64 (/.f64 1 (hypot.f64 1 x)))
2.4b
(+.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 1 x))) -1/2))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt_binary64
28×sqrt-prod_binary64
25×*-un-lft-identity_binary64
22×times-frac_binary64
20×add-cube-cbrt_binary64
10×pow1_binary64
flip3-+_binary64 flip-+_binary64
add-log-exp_binary64 associate-*r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
frac-times_binary64
distribute-lft-out_binary64 associate-*l*_binary64 div-inv_binary64
pow1/2_binary64 associate-*r/_binary64 inv-pow_binary64 pow-flip_binary64 sqrt-div_binary64 associate-*l/_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 unswap-sqr_binary64 prod-exp_binary64 +-commutative_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 98
Calls
4 calls:
12.0ms
(*.f64 (+.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 1 x))) -1/2)) (+.f64 1 (sqrt.f64 (/.f64 1 (hypot.f64 1 x)))))
3.0ms
(sqrt.f64 (/.f64 1 (hypot.f64 1 x)))
3.0ms
(sqrt.f64 (/.f64 1 (hypot.f64 1 x)))
3.0ms
(+.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 1 x))) -1/2))

series52.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(*.f64 (+.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 1 x))) -1/2)) (+.f64 1 (sqrt.f64 (/.f64 1 (hypot.f64 1 x)))))
8.0ms
(sqrt.f64 (/.f64 1 (hypot.f64 1 x)))
8.0ms
(sqrt.f64 (/.f64 1 (hypot.f64 1 x)))
12.0ms
(+.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (hypot.f64 1 x))) -1/2))

simplify60.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
050261251

prune151.0ms

Filtered
74 candidates to 110 candidates (-48.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh112
Picked101
Done011
Total1113114

Merged error: 16.5b

Counts
114 → 3

regimes57.0ms

Accuracy

0% (0.0b remaining)

Error of 14.9b against oracle of 14.9b and baseline of 14.9b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02918
12918

end0.0ms

sample1.1s

Algorithm
intervals
Results
643.0ms2899×body1280valid
160.0ms4050×body80valid
106.0ms595×body640valid
37.0ms305×body320valid
12.0ms151×body160valid

Profiling

Loading profile data...