Details

Time bar (total: 3.4s)

sample21.0ms

Algorithm
intervals
Results
12.0ms249×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.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 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))

simplify118.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

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

rewrite82.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))
11.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
11.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
51.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series135.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+ x (/ (fabs (- y x)) 2.0))
50.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
47.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
21.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

prune220.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

rewrite95.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:
28.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
53.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))))
6.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:
82.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
76.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))))
52.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
56.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06431976
123041836
250021802

prune364.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* (sqrt (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))) (* (sqrt (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))))
0.4b
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (* (sqrt (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))) (* (sqrt (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (cbrt (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)))

rewrite347.0ms

Algorithm
rewrite-expression-head
Rules
114×sqrt-div
82×pow1
64×associate-*r/
56×pow-prod-down
52×cbrt-div
35×flip3-+ flip-+
34×add-exp-log add-cbrt-cube
32×frac-times
21×sqrt-pow1 pow1/2 prod-exp cbrt-unprod
14×*-un-lft-identity
10×add-sqr-sqrt associate-*l/
sqrt-unprod
cbrt-prod add-cube-cbrt associate-*l* pow-prod-up
pow-sqr
sqrt-prod
add-log-exp
distribute-lft-out
pow-plus pow1/3 associate-*r* *-commutative unswap-sqr
pow2 swap-sqr rem-square-sqrt
Counts
4 → 142
Calls
4 calls:
76.0ms
(* (* (sqrt (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))) (* (sqrt (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))))
250.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (* (sqrt (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))) (* (sqrt (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (cbrt (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)))

series273.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
08514498
132763636
250023530

prune536.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

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

sample555.0ms

Algorithm
intervals
Results
364.0ms7680×body80valid
21.0ms113×body1280valid
11.0ms73×body640valid
10.0ms44×body2560valid
6.0ms51×body320valid
3.0ms40×body160valid