Details

Time bar (total: 2.8s)

sample16.0ms

Algorithm
intervals
Results
8.0ms249×body80valid
0.0msbody2560valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1114
2114

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ x (/ (fabs (- y x)) 2.0))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
fma-def add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ sum-log add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
Counts
1 → 17
Calls
1 calls:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))

series16.0ms

Counts
1 → 3
Calls
1 calls:
16.0ms
(+ x (/ (fabs (- y x)) 2.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
088110
122697
254097
3152297
4500197

prune49.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (fabs (- y x)) 2.0))
0.0b
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
0.0b
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
0.4b
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
35×*-un-lft-identity
34×sqrt-prod
21×pow1
16×sqrt-div
15×add-cube-cbrt
11×swap-sqr
10×sqrt-pow1 pow1/2
flip3-+ flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log add-cbrt-cube add-log-exp
pow-prod-up
expm1-log1p-u frac-times hypot-def log1p-expm1-u unswap-sqr
fma-def pow-prod-down pow-sqr
rem-sqrt-square times-frac associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 121
Calls
4 calls:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))
11.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
11.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
50.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series128.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ x (/ (fabs (- y x)) 2.0))
50.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
45.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
17.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

simplify44.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
02871107
111251001
25002967

prune271.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
0.1b
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
0.2b
(* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3))
0.5b
(pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3)

rewrite302.0ms

Algorithm
rewrite-expression-head
Rules
121×sqrt-prod
74×add-sqr-sqrt
39×*-un-lft-identity
36×sqrt-div
29×unpow-prod-down cube-prod
26×associate-*r*
25×add-cube-cbrt
24×unswap-sqr
12×pow1 sqrt-pow1
10×add-exp-log associate-*l*
flip3-+ flip-+
cube-div
add-cbrt-cube distribute-lft-out
pow1/2
pow-pow sqr-pow
expm1-log1p-u frac-times rem-sqrt-square log1p-expm1-u add-log-exp
pow-unpow prod-exp
cube-mult pow-to-exp unpow3 associate-*r/ associate-*l/ pow-exp
*-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 177
Calls
4 calls:
11.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
14.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
258.0ms
(* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3))
13.0ms
(pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3)

series209.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
52.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
16.0ms
(* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3))
93.0ms
(pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3)

simplify90.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05922815
125672142
250021947

prune377.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (fabs (- y x)) 2.0))
0.0b
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
0.1b
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
0.7b
(pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 4)

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
27×sqrt-prod
20×add-sqr-sqrt *-un-lft-identity
12×add-cube-cbrt
10×pow1 unpow-prod-down
sqrt-pow1
sqrt-div add-log-exp
add-exp-log pow-pow pow1/2
expm1-log1p-u add-cbrt-cube log1p-expm1-u distribute-lft-out
rem-sqrt-square pow-unpow fma-def flip3-+ flip-+
hypot-def
+-commutative pow-to-exp times-frac pow-exp sum-log sqrt-pow2 sqr-pow
Counts
4 → 92
Calls
4 calls:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))
12.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
13.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
13.0ms
(pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 4)

series275.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ x (/ (fabs (- y x)) 2.0))
46.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
48.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
165.0ms
(pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 4)

simplify56.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0463872
11753766
25001755

prune233.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes83.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample393.0ms

Algorithm
intervals
Results
235.0ms7711×body80valid
15.0ms111×body1280valid
9.0ms52×body2560valid
5.0ms59×body640valid
3.0ms38×body320valid
1.0ms29×body160valid