Details

Time bar (total: 2.5s)

sample15.0ms

Algorithm
intervals
Results
6.0ms243×body80valid
1.0msbody1280valid
0.0msbody2560valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1114
2114

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
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))

series16.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
083100
120791
248191
3128891
4389991
5500291

prune31.0ms

Filtered
15 candidates to 11 candidates (73.3%)
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.5b
(* (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:
6.0ms
(+ x (/ (fabs (- y x)) 2.0))
6.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
16.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

series129.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+ x (/ (fabs (- y x)) 2.0))
48.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
44.0ms
(sqrt (+ x (/ (fabs (- y x)) 2.0)))
19.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))

simplify47.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02731063
11071971
25001937

prune217.0ms

Filtered
118 candidates to 65 candidates (55.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1144118
Fresh011
Picked011
Done011
Total1147121

Merged error: 0.0b

Counts
121 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
0.5b
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))))
0.5b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
0.5b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
18×add-sqr-sqrt
14×sqrt-div
13×cbrt-prod sqrt-prod
12×add-cube-cbrt cbrt-div
11×pow1 add-exp-log associate-*r* add-cbrt-cube
10×associate-*r/ associate-*l*
flip3-+ flip-+
frac-times pow-prod-down prod-exp cbrt-unprod distribute-lft-out add-log-exp
unswap-sqr
pow1/3 associate-*l/ *-commutative
Counts
4 → 87
Calls
4 calls:
11.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
21.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
74.0ms
(* (sqrt (+ x (/ (fabs (- y x)) 2.0))) (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0))))))
53.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
50.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

simplify68.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06431976
123041836
250021802

prune355.0ms

Filtered
99 candidates to 76 candidates (76.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New98199
Fresh134
Picked101
Done022
Total1006106

Merged error: 0b

Counts
106 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
0.3b
(* (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
0.5b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
0.5b
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
17×associate-*r*
16×add-sqr-sqrt
14×sqrt-div
12×cbrt-prod add-cube-cbrt sqrt-prod
11×pow1 add-exp-log add-cbrt-cube
10×cbrt-div associate-*r/
flip3-+ flip-+
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod distribute-lft-out add-log-exp
pow1/3 associate-*l/ *-commutative unswap-sqr
Counts
4 → 86
Calls
4 calls:
9.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
17.0ms
(* (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
6.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

series251.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0))))
75.0ms
(* (* (fabs (cbrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (+ x (/ (fabs (- y x)) 2.0)))) (sqrt (cbrt (+ x (/ (fabs (- y x)) 2.0)))))
50.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))
52.0ms
(cbrt (+ x (/ (fabs (- y x)) 2.0)))

simplify65.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06361937
124391795
250021745

prune321.0ms

Filtered
98 candidates to 73 candidates (74.5%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New98098
Fresh033
Picked011
Done022
Total986104

Merged error: 0b

Counts
104 → 6

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

sample354.0ms

Algorithm
intervals
Results
195.0ms7690×body80valid
14.0ms121×body1280valid
8.0ms54×body2560valid
6.0ms64×body640valid
3.0ms41×body320valid
2.0ms31×body160valid

Profiling

Loading profile data...