Details

Time bar (total: 2.0s)

sample16.0ms

Algorithm
intervals
Results
6.0ms250×body80valid
1.0msbody1280valid
0.0msbody640valid

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

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

series4.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

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

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

series36.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ x (/ (fabs (- y x)) 2.0))
13.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
13.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

prune157.0ms

Filtered
66 candidates to 118 candidates (-78.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1144118
Fresh112
Picked101
Done011
Total1166122

Merged error: 0.0b

Counts
122 → 6

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

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

series61.0ms

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

IterNodesCost
06642782
124792436
250012400

prune293.0ms

Filtered
100 candidates to 217 candidates (-117.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2161217
Fresh044
Picked101
Done011
Total2176223

Merged error: 0b

Counts
223 → 6

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
121×sqrt-prod
74×add-sqr-sqrt
39×*-un-lft-identity
36×sqrt-div
29×unpow-prod-down cube-prod
26×associate-*l*
25×add-cube-cbrt
24×unswap-sqr
12×pow1 sqrt-pow1
10×add-exp-log associate-*r*
flip3-+ flip-+
cube-div
add-cbrt-cube distribute-lft-out
pow1/2
pow-pow sqr-pow
frac-times rem-sqrt-square add-log-exp
pow-unpow prod-exp
cube-mult pow-to-exp unpow3 associate-*r/ associate-*l/ pow-exp
pow-plus *-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 170
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
(* (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3) (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))
10.0ms
(pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3)

series77.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05872387
124772116
250021905

prune247.0ms

Filtered
87 candidates to 182 candidates (-109.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1811182
Fresh134
Picked011
Done011
Total1826188

Merged error: 0b

Counts
188 → 6

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

sample418.0ms

Algorithm
intervals
Results
179.0ms7681×body80valid
12.0ms112×body1280valid
8.0ms93×body640valid
5.0ms42×body2560valid
3.0ms48×body320valid
1.0ms24×body160valid

Profiling

Loading profile data...