Details

Time bar (total: 2.2s)

sample174.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 97.668457%

Results
6.0ms247×body80valid
1.0msbody2560valid
0.0msbody640valid
0.0msbody320valid
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.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:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))

series5.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

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

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

series84.0ms

Counts
4 → 12
Calls
4 calls:
24.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)))
22.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

simplify54.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03861546
113041467
250011344

prune210.0ms

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

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1061107
Fresh022
Picked011
Done011
Total1065111

Merged error: 0.0b

Counts
111 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
23×cbrt-prod
17×*-un-lft-identity
10×cbrt-div
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ distribute-lft-out add-log-exp
Counts
4 → 59
Calls
4 calls:
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
5.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(cbrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))

series79.0ms

Counts
4 → 12
Calls
4 calls:
21.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)))
20.0ms
(cbrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))

simplify86.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0324960
1944914
23639882
35001871

prune219.0ms

Filtered
54 candidates to 71 candidates (-31.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New71071
Fresh022
Picked011
Done022
Total71576

Merged error: 0.0b

Counts
76 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (/ (fabs (- y x)) 2.0))
0.0b
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
14.0b
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
31.0b
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

rewrite36.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:
6.0ms
(- x (/ (fabs (- y x)) 2.0))
10.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
3.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
11.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

series38.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- x (/ (fabs (- y x)) 2.0))
7.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
8.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
18.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

simplify106.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
06462135
133741888
250011853

prune203.0ms

Filtered
115 candidates to 158 candidates (-37.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1571158
Fresh101
Picked011
Done123
Total1594163

Merged error: 0.0b

Counts
163 → 4

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

sample559.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 97.668457%

Results
184.0ms7674×body80valid
13.0ms118×body1280valid
9.0ms76×body640valid
6.0ms48×body2560valid
3.0ms50×body320valid
2.0ms34×body160valid
0.0msbody80invalid

Profiling

Loading profile data...