Details

Time bar (total: 3.8s)

sample17.0ms

Algorithm
intervals
Results
5.0ms249×body80valid
0.0msbody1280valid
0.0msbody2560valid
0.0msbody640valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1114
2114

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

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

series19.0ms

Counts
1 → 3
Calls
1 calls:
19.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
5500191

prune32.0ms

Filtered
15 candidates to 11 candidates (26.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12315
Fresh000
Picked011
Done000
Total12416

Merged error: 0.0b

Counts
16 → 4

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

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

series197.0ms

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

IterNodesCost
02901059
11130983
25002957

prune237.0ms

Filtered
118 candidates to 66 candidates (44.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1153118
Fresh202
Picked101
Done011
Total1184122

Merged error: 0.0b

Counts
122 → 4

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

rewrite72.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))))
28.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)))))

series209.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
56.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
19.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))))
80.0ms
(* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))

simplify88.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06602756
124992410
250012374

prune693.0ms

Filtered
217 candidates to 104 candidates (52.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2152217
Fresh112
Picked101
Done011
Total2174221

Merged error: 0b

Counts
221 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (cbrt (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3))))
0.4b
(* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (cbrt (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3)))
0.5b
(cbrt (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3))
0.6b
(pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3)

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
126×sqrt-prod
122×sqrt-div
82×add-sqr-sqrt
76×cbrt-prod
47×*-un-lft-identity
39×unpow-prod-down cube-prod
35×flip3-+ flip-+
32×frac-times
31×add-cube-cbrt
30×associate-*r*
28×cube-div
27×unswap-sqr
26×cbrt-div
17×associate-*l*
16×associate-*r/
14×pow1
12×add-exp-log
10×associate-*l/ add-cbrt-cube
distribute-lft-out
sqr-pow
pow-pow
sqrt-pow1 pow-prod-down prod-exp cbrt-unprod add-log-exp
cube-mult pow-unpow unpow3
pow1/2 *-commutative
pow-to-exp pow1/3 pow-exp sqrt-pow2 rem-cbrt-cube rem-cube-cbrt
Counts
4 → 214
Calls
4 calls:
25.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (cbrt (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3))))
27.0ms
(* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (cbrt (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3)))
9.0ms
(cbrt (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3))
8.0ms
(pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3)

series260.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (cbrt (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3))))
79.0ms
(* (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (cbrt (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3)))
54.0ms
(cbrt (pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3))
107.0ms
(pow (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))) 3)

simplify120.0ms

Algorithm
egg-herbie
Counts
226 → 226
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
08904090
135713264
250013042

prune1.1s

Filtered
226 candidates to 109 candidates (51.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2251226
Fresh112
Picked011
Done011
Total2264230

Merged error: 0b

Counts
230 → 4

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

sample379.0ms

Algorithm
intervals
Results
164.0ms7696×body80valid
12.0ms120×body1280valid
6.0ms74×body640valid
6.0ms48×body2560valid
2.0ms34×body320valid
1.0ms31×body160valid

Profiling

Loading profile data...