Details

Time bar (total: 2.2s)

sample175.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 99.609375%

Results
6.0ms246×body80valid
0.0msbody320valid
0.0msbody2560valid
0.0msbody640valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1114
2114

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

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

series6.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

prune27.0ms

Filtered
11 candidates to 15 candidates (-36.4%)
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.5b
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))
0.6b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
0.6b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
0.6b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

rewrite36.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:
14.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))
8.0ms
(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)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (cbrt (+ x (/ (fabs (- y x)) 2.0))) (cbrt (+ x (/ (fabs (- y x)) 2.0))))
19.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
19.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
19.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03861546
113041467
250011344

prune210.0ms

Filtered
72 candidates to 107 candidates (-48.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1052107
Fresh022
Picked011
Done011
Total1056111

Merged error: 0.0b

Counts
111 → 6

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

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

series39.0ms

Counts
4 → 12
Calls
4 calls:
4.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))))

simplify44.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02901059
11130983
25002957

prune150.0ms

Filtered
65 candidates to 118 candidates (-81.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1153118
Fresh123
Picked101
Done022
Total1177124

Merged error: 0.0b

Counts
124 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
122×sqrt-div
112×sqrt-prod
91×sqrt-pow1
69×pow1
60×add-sqr-sqrt
47×pow1/2
42×*-un-lft-identity
39×pow-prod-up
35×flip3-+ flip-+
32×frac-times
22×add-cube-cbrt
20×swap-sqr
17×associate-*l*
16×associate-*r/
12×pow-prod-down
11×add-exp-log associate-*r* pow-sqr add-cbrt-cube unswap-sqr
10×associate-*l/
distribute-lft-out
rem-sqrt-square prod-exp cbrt-unprod add-log-exp
sqrt-unprod
*-commutative
pow2 pow-plus rem-square-sqrt
Counts
4 → 205
Calls
4 calls:
6.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
8.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
19.0ms
(* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))
29.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))))

series60.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06642782
124892436
250012406

prune280.0ms

Filtered
99 candidates to 217 candidates (-119.2%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2161217
Fresh224
Picked011
Done022
Total2186224

Merged error: 0.0b

Counts
224 → 6

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

sample560.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 99.609375%

Results
182.0ms7680×body80valid
15.0ms113×body1280valid
9.0ms45×body2560valid
8.0ms94×body640valid
3.0ms40×body320valid
1.0ms28×body160valid
0.0msbody80invalid

Profiling

Loading profile data...