Details

Time bar (total: 2.9s)

sample12.0ms

Algorithm
intervals
Results
5.0ms252×body80valid
0.0msbody1280valid
0.0msbody2560valid
0.0msbody640valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1114
2114

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

series16.0ms

Counts
1 → 3
Calls
1 calls:
16.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

prune45.0ms

Filtered
20 candidates to 16 candidates (80.0%)
Pruning

3 alts after pruning (2 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))))

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

series130.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ x (/ (fabs (- y x)) 2.0))
44.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
49.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
17.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 (34.0ms)

IterNodesCost
02871107
111251001
25002967

prune260.0ms

Filtered
133 candidates to 80 candidates (60.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite326.0ms

Algorithm
rewrite-expression-head
Rules
222×sqrt-div
168×cbrt-div
136×frac-times
111×flip3-+ flip-+
68×associate-*l/
26×associate-*r/
21×cbrt-prod
20×*-un-lft-identity
16×sqrt-prod
15×pow1 pow1/3
13×add-exp-log add-cube-cbrt
12×add-sqr-sqrt
add-cbrt-cube
pow-prod-up
associate-*r*
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u distribute-lft-out add-log-exp
pow-plus pow-sqr
swap-sqr associate-*l* *-commutative
Counts
4 → 169
Calls
4 calls:
285.0ms
(* (* (* (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) (cbrt (sqrt (+ 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))))
10.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series172.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
07626367
121365993
250035635

prune489.0ms

Filtered
181 candidates to 104 candidates (57.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
26×cbrt-div
16×cbrt-prod
14×*-un-lft-identity
flip3-+ flip-+
add-sqr-sqrt add-cube-cbrt sqrt-div
pow1 add-exp-log expm1-log1p-u frac-times pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
distribute-lft-out
associate-*r/ associate-*l/
sqrt-prod
Counts
4 → 70
Calls
4 calls:
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
8.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
15.0ms
(cbrt (sqrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))))

series218.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
49.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
64.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
51.0ms
(cbrt (sqrt (* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))))

simplify93.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
03861293
110611227
238581207
350021203

prune424.0ms

Filtered
82 candidates to 73 candidates (89.0%)
Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

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

sample297.0ms

Algorithm
intervals
Results
151.0ms7714×body80valid
10.0ms115×body1280valid
5.0ms65×body640valid
4.0ms39×body2560valid
2.0ms43×body320valid
1.0ms25×body160valid