Details

Time bar (total: 2.5s)

sample13.0ms

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

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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

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

series19.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
078100
118991
242191
3112691
4325891
5500291

prune31.0ms

Filtered
15 candidates to 11 candidates (26.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12315
Fresh000
Picked011
Done000
Total12416

Merged error: 0.0b

Counts
16 → 4

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

rewrite37.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:
5.0ms
(+ x (/ (fabs (- y x)) 2.0))
5.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
16.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series136.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
02671063
11037971
25002937

prune181.0ms

Filtered
118 candidates to 64 candidates (45.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1144118
Fresh202
Picked011
Done011
Total1166122

Merged error: 0.0b

Counts
122 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
287×sqrt-prod
219×add-sqr-sqrt
122×sqrt-div
97×sqrt-pow1
78×unswap-sqr
75×pow1
72×associate-*l*
69×*-un-lft-identity
58×swap-sqr
53×pow1/2
43×pow-prod-up
35×add-cube-cbrt flip3-+ flip-+
32×frac-times
27×associate-*r*
16×associate-*l/
15×distribute-lft-out
13×pow-sqr
12×pow-prod-down
11×add-exp-log add-cbrt-cube
10×associate-*r/
pow-plus *-commutative
rem-sqrt-square prod-exp cbrt-unprod add-log-exp
sqrt-unprod
pow2 rem-square-sqrt
Counts
4 → 304
Calls
4 calls:
6.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
6.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
21.0ms
(* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))
41.0ms
(* (* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series178.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06903827
128413201
250013171

prune394.0ms

Filtered
316 candidates to 122 candidates (61.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3142316
Fresh213
Picked101
Done022
Total3175322

Merged error: 0.0b

Counts
322 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.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
add-cbrt-cube
associate-*r* associate-*l*
add-exp-log
frac-times cbrt-unprod add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative
Counts
4 → 98
Calls
4 calls:
15.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

series238.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03741552
112531450
250021311

prune401.0ms

Filtered
110 candidates to 75 candidates (31.8%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1100110
Fresh022
Picked011
Done022
Total1105115

Merged error: 0.0b

Counts
115 → 5

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

sample307.0ms

Algorithm
intervals
Results
151.0ms7683×body80valid
9.0ms104×body1280valid
8.0ms54×body2560valid
6.0ms90×body640valid
3.0ms53×body320valid
1.0ms19×body160valid