Details

Time bar (total: 2.2s)

sample16.0ms

Algorithm
intervals
Results
6.0ms241×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody2560valid
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.1b

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

simplify133.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

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

series38.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
02901059
11130983
25002957

prune149.0ms

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

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1162118
Fresh011
Picked011
Done011
Total1165121

Merged error: 0.0b

Counts
121 → 5

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

rewrite52.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))))
22.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)

series81.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05872387
124772116
250021905

prune267.0ms

Filtered
86 candidates to 182 candidates (-111.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1793182
Fresh112
Picked101
Done022
Total1816187

Merged error: 0.0b

Counts
187 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
50×sqrt-prod
40×add-sqr-sqrt
26×*-un-lft-identity
20×unpow-prod-down
16×add-cube-cbrt
12×unswap-sqr
11×associate-*l*
10×pow1 add-exp-log sqrt-div associate-*r*
sqrt-pow1
add-cbrt-cube
pow1/2 distribute-lft-out sqr-pow
add-log-exp
rem-sqrt-square pow-unpow pow-pow flip3-+ prod-exp flip-+
pow-to-exp associate-*r/ pow-exp pow-prod-up
*-commutative sqrt-pow2 cbrt-unprod
Counts
4 → 111
Calls
4 calls:
6.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
7.0ms
(pow (sqrt (+ x (/ (fabs (- y x)) 2.0))) 3/2)
22.0ms
(* (pow (sqrt (+ x (/ (fabs (- y x)) 2.0))) 3/2) (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))

series72.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
20.0ms
(sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0))))
30.0ms
(pow (sqrt (+ x (/ (fabs (- y x)) 2.0))) 3/2)
5.0ms
(* (pow (sqrt (+ x (/ (fabs (- y x)) 2.0))) 3/2) (sqrt (sqrt (+ x (/ (fabs (- y x)) 2.0)))))

simplify75.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06221647
123751573
250011482

prune424.0ms

Filtered
76 candidates to 123 candidates (-61.8%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1230123
Fresh033
Picked011
Done022
Total1236129

Merged error: 0.0b

Counts
129 → 6

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

sample401.0ms

Algorithm
intervals
Results
192.0ms7670×body80valid
13.0ms113×body1280valid
9.0ms95×body640valid
6.0ms42×body2560valid
4.0ms58×body320valid
1.0ms23×body160valid

Profiling

Loading profile data...