Details

Time bar (total: 5.2s)

sample20.0ms

Algorithm
intervals
Results
9.0ms244×body80valid
1.0msbody2560valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1114
2114

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

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

series5.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
088110
122697
254097
3152297
4500197

prune114.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

rewrite74.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
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u 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 → 103
Calls
4 calls:
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
7.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
51.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))

series96.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
24.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
22.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
28.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))

simplify47.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03751533
112741446
250011341

prune915.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite88.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))
13.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
12.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
53.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series40.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
02871107
111251001
25002967

prune679.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite292.0ms

Algorithm
rewrite-expression-head
Rules
222×sqrt-div
168×cbrt-div
136×frac-times
111×flip3-+ flip-+
50×associate-*r/
44×associate-*l/
21×cbrt-prod
20×*-un-lft-identity
16×sqrt-prod
15×pow1
13×add-exp-log add-cube-cbrt
12×add-sqr-sqrt
pow1/3 add-cbrt-cube
associate-*l*
pow-prod-down prod-exp cbrt-unprod
pow-prod-up
expm1-log1p-u log1p-expm1-u distribute-lft-out add-log-exp
swap-sqr associate-*r* pow-sqr *-commutative
Counts
4 → 167
Calls
4 calls:
256.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (* (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))))
7.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
6.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
7.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series77.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (* (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))))
22.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
23.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
26.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))

simplify89.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
07706381
118406164
250015730

prune1.8s

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0.0b

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

sample477.0ms

Algorithm
intervals
Results
298.0ms7710×body80valid
18.0ms99×body1280valid
13.0ms58×body2560valid
11.0ms77×body640valid
4.0ms38×body320valid
1.0ms20×body160valid