Details

Time bar (total: 2.6s)

sample24.0ms

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

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0104
1114
2114

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize11.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ x (/ (fabs (- y x)) 2.0))

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

series21.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

prune42.0ms

Filtered
15 candidates to 11 candidates (73.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12315
Fresh000
Picked011
Done000
Total12416

Merged error: 0.0b

Counts
16 → 4

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

rewrite39.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))
6.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
17.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series156.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
02731063
11071971
25001937

prune224.0ms

Filtered
118 candidates to 64 candidates (54.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1162118
Fresh112
Picked011
Done011
Total1175122

Merged error: 0.0b

Counts
122 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod
22×*-un-lft-identity
16×sqrt-prod
14×add-sqr-sqrt add-cube-cbrt
10×unpow-prod-down
cbrt-div sqrt-div
pow1 add-exp-log
pow1/3 add-cbrt-cube distribute-lft-out add-log-exp
pow-unpow flip3-+ flip-+
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 76
Calls
4 calls:
6.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
6.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
9.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
9.0ms
(pow (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 4)

series310.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
75.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
77.0ms
(cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
95.0ms
(pow (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 4)

simplify52.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04161169
113891103
250021078

prune306.0ms

Filtered
88 candidates to 63 candidates (71.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New88088
Fresh022
Picked011
Done022
Total88593

Merged error: 0.0b

Counts
93 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
0.0b
(- x (/ (fabs (- y x)) 2.0))
11.9b
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
27.8b
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
86×add-sqr-sqrt
70×times-frac
56×*-un-lft-identity
44×add-cube-cbrt
20×difference-of-squares
18×add-exp-log add-cbrt-cube
13×swap-sqr associate-*r* associate-*l*
11×pow1
add-log-exp
associate-/r* distribute-lft-out--
cbrt-undiv div-exp div-inv
flip3-- prod-exp flip-- cbrt-unprod associate-/l* unswap-sqr
sub-neg diff-log associate-/r/ associate-/l/
pow2 frac-times frac-2neg pow-plus div-sub associate-*r/ pow-prod-down associate-*l/ clear-num pow-sqr *-commutative pow-prod-up
Counts
4 → 146
Calls
4 calls:
15.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
7.0ms
(- x (/ (fabs (- y x)) 2.0))
4.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
13.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

series140.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
22.0ms
(- x (/ (fabs (- y x)) 2.0))
39.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
58.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

simplify113.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
06462135
133741888
250021853

prune436.0ms

Filtered
158 candidates to 115 candidates (72.8%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1571158
Fresh011
Picked101
Done033
Total1585163

Merged error: 0b

Counts
163 → 5

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

sample334.0ms

Algorithm
intervals
Results
166.0ms7672×body80valid
12.0ms126×body1280valid
6.0ms50×body2560valid
5.0ms72×body640valid
4.0ms61×body320valid
1.0ms20×body160valid