Details

Time bar (total: 2.4s)

sample50.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.0ms244×body80valid
1.0msbody1280valid
0.0msbody2560valid
0.0msbody320valid
0.0msbody640valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1114
2114

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

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

series5.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

prune25.0ms

Filtered
11 candidates to 15 candidates (-36.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New13215
Fresh000
Picked011
Done000
Total13316

Merged error: 0.0b

Counts
16 → 3

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

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

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

simplify46.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02901059
11130983
25002957

prune148.0ms

Filtered
67 candidates to 118 candidates (-76.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1153118
Fresh011
Picked101
Done011
Total1165121

Merged error: 0.0b

Counts
121 → 5

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

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

series58.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06642782
124892436
250012406

prune287.0ms

Filtered
101 candidates to 217 candidates (-114.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2161217
Fresh033
Picked011
Done011
Total2166222

Merged error: 0.0b

Counts
222 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
98×sqrt-div
34×associate-*r/
30×flip3-+ flip-+
28×frac-times
26×sqrt-prod
22×cbrt-div *-un-lft-identity
20×add-sqr-sqrt
15×pow1 add-exp-log add-cbrt-cube
14×cbrt-prod add-cube-cbrt
11×associate-*r*
10×associate-*l*
associate-*l/
pow-prod-down prod-exp cbrt-unprod
distribute-lft-out add-log-exp
unswap-sqr
pow1/3 *-commutative
Counts
4 → 114
Calls
4 calls:
10.0ms
(* (fabs (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (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))))
29.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (* (fabs (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) (sqrt (cbrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))))

series121.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
08593661
131233392
250023337

prune463.0ms

Filtered
93 candidates to 126 candidates (-35.5%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1260126
Fresh033
Picked011
Done022
Total1266132

Merged error: 0.0b

Counts
132 → 6

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

sample454.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 99.609375%

Results
191.0ms7698×body80valid
15.0ms111×body1280valid
8.0ms87×body640valid
5.0ms40×body2560valid
3.0ms45×body320valid
1.0ms19×body160valid
0.0msbody80invalid

Profiling

Loading profile data...