Details

Time bar (total: 2.8s)

sample20.0ms

Algorithm
intervals
Results
12.0ms251×body80valid
1.0msbody1280valid
0.0msbody640valid
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))

rewrite7.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:
7.0ms
(+ x (/ (fabs (- y x)) 2.0))

series24.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

prune36.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
8.0ms
(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)))
52.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))

series231.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
58.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
60.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
52.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))

simplify48.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03641473
112091394
250011293

prune292.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
30×sqrt-prod
26×add-sqr-sqrt
20×pow1
14×sqrt-div
13×add-cube-cbrt
11×swap-sqr
sqrt-pow1 flip3-+ pow1/2 flip-+ distribute-lft-out
add-log-exp
associate-*r* associate-*l*
add-exp-log add-cbrt-cube
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
+-commutative associate-*r/ associate-*l/ sum-log
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 102
Calls
4 calls:
14.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(+ x (/ (fabs (- y x)) 2.0))
6.0ms
(+ x (/ (fabs (- y x)) 2.0))
53.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series115.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
18.0ms
(+ x (/ (fabs (- y x)) 2.0))
18.0ms
(+ x (/ (fabs (- y x)) 2.0))
20.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

simplify46.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0273965
11071878
25001848

prune205.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize16.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.5b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
0.5b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

rewrite105.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:
32.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
57.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)))

series290.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
81.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))))
61.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
57.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

simplify71.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06431976
123041836
250021802

prune371.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample548.0ms

Algorithm
intervals
Results
361.0ms7698×body80valid
21.0ms114×body1280valid
12.0ms77×body640valid
10.0ms46×body2560valid
5.0ms44×body320valid
2.0ms22×body160valid