Details

Time bar (total: 2.9s)

sample18.0ms

Algorithm
intervals
Results
9.0ms243×body80valid
1.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

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

series16.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

prune33.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

rewrite78.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))
10.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
10.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
49.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series134.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
02731063
11071971
25001937

prune210.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite90.0ms

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

series267.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06431976
123041836
250021802

prune346.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
94×sqrt-div
42×cbrt-div
32×associate-*r/
30×flip3-+ flip-+
28×frac-times
19×*-un-lft-identity
18×cbrt-prod
13×pow1 add-exp-log add-cbrt-cube
12×sqrt-prod
11×add-sqr-sqrt add-cube-cbrt
associate-*l/
associate-*l*
pow-prod-down prod-exp cbrt-unprod
distribute-lft-out add-log-exp
pow1/3
associate-*r* *-commutative
Counts
4 → 99
Calls
4 calls:
152.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))) (sqrt (cbrt (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))))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

series232.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
07482952
125212648
250012619

prune441.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample464.0ms

Algorithm
intervals
Results
294.0ms7718×body80valid
17.0ms102×body1280valid
9.0ms46×body2560valid
9.0ms71×body640valid
5.0ms49×body320valid
1.0ms16×body160valid