Details

Time bar (total: 2.6s)

sample13.0ms

Algorithm
intervals
Results
5.0ms243×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody2560valid
0.0msbody320valid
0.0msbody160valid

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.1b

localize9.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 add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ sum-log add-cbrt-cube flip-+ distribute-lft-out
Counts
1 → 12
Calls
1 calls:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))

series17.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

prune34.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity sqrt-prod
28×add-sqr-sqrt
21×pow1
16×sqrt-div
14×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
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 106
Calls
4 calls:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))
14.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))))

series131.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02731063
11071971
25001937

prune233.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
0.3b
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
0.6b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
0.6b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
17×associate-*r*
16×add-sqr-sqrt
14×sqrt-div
12×cbrt-prod add-cube-cbrt sqrt-prod
11×pow1 add-exp-log add-cbrt-cube
10×cbrt-div associate-*r/
flip3-+ flip-+
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod distribute-lft-out add-log-exp
pow1/3 associate-*l/ *-commutative unswap-sqr
Counts
4 → 86
Calls
4 calls:
52.0ms
(* (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
28.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

series263.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(* (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
73.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
57.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
55.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06361937
124391795
250021745

prune376.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
0.4b
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
0.4b
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
0.6b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
18×cbrt-prod
16×add-sqr-sqrt
13×sqrt-prod
12×add-cube-cbrt
associate-*r*
pow1 add-exp-log cbrt-div sqrt-div add-cbrt-cube
flip3-+ flip-+ distribute-lft-out add-log-exp
pow1/3 associate-*l*
associate-*r/ unswap-sqr
pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
28.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
6.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
6.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

series237.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
52.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
56.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
52.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

simplify48.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
05161293
116771208
250021172

prune367.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes77.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample295.0ms

Algorithm
intervals
Results
143.0ms7690×body80valid
14.0ms108×body1280valid
8.0ms49×body2560valid
6.0ms82×body640valid
3.0ms49×body320valid
1.0ms23×body160valid