Details

Time bar (total: 2.6s)

sample17.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
6.0ms242×body80valid
1.0msbody1280valid
0.0msbody320valid
0.0msbody640valid
0.0msbody2560valid
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

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

series6.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

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

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.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))
6.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
25.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)))
14.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
7.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

prune168.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1135118
Fresh011
Picked101
Done011
Total1147121

Merged error: 0.0b

Counts
121 → 7

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

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

series62.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
23.0ms
(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))))))
14.0ms
(* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))

simplify85.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06642782
124792436
250012400

prune310.0ms

Filtered
98 candidates to 217 candidates (-121.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2161217
Fresh145
Picked011
Done011
Total2177224

Merged error: 0.0b

Counts
224 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))
0.3b
(* (pow (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) 3) (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))))
0.3b
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (pow (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) 3) (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))))
0.5b
(pow (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) 3)

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
241×sqrt-prod
174×sqrt-div
110×add-sqr-sqrt
45×*-un-lft-identity
42×unpow-prod-down cube-prod
40×unswap-sqr
39×associate-*l*
35×flip3-+ flip-+
32×frac-times
31×add-cube-cbrt
26×cube-div
20×add-exp-log
18×sqrt-pow1
16×associate-*r/
14×pow1 associate-*r*
12×add-cbrt-cube
10×associate-*l/ prod-exp
pow-pow distribute-lft-out
pow1/2 sqr-pow
cbrt-unprod add-log-exp
pow-to-exp rem-sqrt-square pow-unpow pow-exp
cube-mult unpow3 *-commutative
pow-plus pow-prod-down pow-prod-up sqrt-pow2 rem-cube-cbrt
Counts
4 → 236
Calls
4 calls:
10.0ms
(sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))
26.0ms
(* (pow (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) 3) (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))))
28.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (pow (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) 3) (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))))
10.0ms
(pow (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) 3)

series76.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))
14.0ms
(* (pow (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) 3) (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))))
5.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (pow (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) 3) (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))))
33.0ms
(pow (sqrt (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))) 3)

simplify129.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
09184652
138214179
250023749

prune635.0ms

Filtered
122 candidates to 248 candidates (-103.3%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2471248
Fresh044
Picked011
Done022
Total2478255

Merged error: 0.0b

Counts
255 → 8

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

sample414.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
195.0ms7676×body80valid
13.0ms114×body1280valid
8.0ms86×body640valid
6.0ms45×body2560valid
4.0ms56×body320valid
1.0ms26×body160valid

Profiling

Loading profile data...