Details

Time bar (total: 2.2s)

analyze39.0ms

Algorithm
search

sample13.0ms

Algorithm
intervals
Results
5.0ms239×body80valid
0.0msbody1280valid
0.0msbody2560valid
0.0msbody640valid
0.0msbody160valid
0.0msbody320valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0123
1193
2293
3413
4513
5793
61343
71693
81853
92133
102263
112263

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

localize4.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ x (/ (- x y) 2.0))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r- flip3-+ div-sub sum-log add-cbrt-cube flip-+ distribute-lft-out
Counts
1 → 13
Calls
1 calls:
8.0ms
(+ x (/ (- x y) 2.0))

series5.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09181
124274
270474
3341274
4500174

prune28.0ms

Filtered
12 candidates to 16 candidates (-33.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New13316
Fresh000
Picked011
Done000
Total13417

Merged error: 0.0b

Counts
17 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (- x y) 2.0))
0.0b
(sqrt (+ x (/ (- x y) 2.0)))
0.0b
(sqrt (+ x (/ (- x y) 2.0)))
0.3b
(* (sqrt (+ x (/ (- x y) 2.0))) (sqrt (+ x (/ (- x y) 2.0))))

rewrite48.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 associate-+r- pow-plus sqrt-unprod div-sub prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 107
Calls
4 calls:
8.0ms
(+ x (/ (- x y) 2.0))
8.0ms
(sqrt (+ x (/ (- x y) 2.0)))
8.0ms
(sqrt (+ x (/ (- x y) 2.0)))
20.0ms
(* (sqrt (+ x (/ (- x y) 2.0))) (sqrt (+ x (/ (- x y) 2.0))))

series34.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ x (/ (- x y) 2.0))
11.0ms
(sqrt (+ x (/ (- x y) 2.0)))
13.0ms
(sqrt (+ x (/ (- x y) 2.0)))
5.0ms
(* (sqrt (+ x (/ (- x y) 2.0))) (sqrt (+ x (/ (- x y) 2.0))))

simplify202.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0241807
1905745
24988723
35001723

prune129.0ms

Filtered
65 candidates to 119 candidates (-83.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1181119
Fresh022
Picked011
Done011
Total1185123

Merged error: 0.0b

Counts
123 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.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:
13.0ms
(* (fabs (cbrt (+ x (/ (- x y) 2.0)))) (sqrt (cbrt (+ x (/ (- x y) 2.0)))))
21.0ms
(* (sqrt (+ x (/ (- x y) 2.0))) (* (fabs (cbrt (+ x (/ (- x y) 2.0)))) (sqrt (cbrt (+ x (/ (- x y) 2.0))))))
8.0ms
(cbrt (+ x (/ (- x y) 2.0)))
10.0ms
(cbrt (+ x (/ (- x y) 2.0)))

series233.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* (fabs (cbrt (+ x (/ (- x y) 2.0)))) (sqrt (cbrt (+ x (/ (- x y) 2.0)))))
78.0ms
(* (sqrt (+ x (/ (- x y) 2.0))) (* (fabs (cbrt (+ x (/ (- x y) 2.0)))) (sqrt (cbrt (+ x (/ (- x y) 2.0))))))
40.0ms
(cbrt (+ x (/ (- x y) 2.0)))
42.0ms
(cbrt (+ x (/ (- x y) 2.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05371530
116741413
250011388

prune246.0ms

Filtered
77 candidates to 99 candidates (-28.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New99099
Fresh022
Picked011
Done022
Total995104

Merged error: 0.0b

Counts
104 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (- x y) 2.0) (/ (- x y) 2.0))
0.0b
(- x (/ (- x y) 2.0))
15.0b
(- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0)))
31.8b
(/ (- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0))) (- x (/ (- x y) 2.0)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
122×add-sqr-sqrt
110×*-un-lft-identity
106×times-frac
56×add-cube-cbrt
32×difference-of-squares
25×swap-sqr
24×distribute-lft-out--
19×associate-*r* associate-*l*
18×add-exp-log add-cbrt-cube
11×pow1
add-log-exp
associate-/r*
cbrt-undiv div-exp div-inv
flip3-- prod-exp flip-- cbrt-unprod associate-/l* unswap-sqr
sub-neg diff-log div-sub associate-/r/ associate-/l/
pow2 frac-times frac-2neg pow-plus associate-*r/ pow-prod-down associate-*l/ clear-num pow-sqr *-commutative pow-prod-up associate--r-
Counts
4 → 171
Calls
4 calls:
17.0ms
(* (/ (- x y) 2.0) (/ (- x y) 2.0))
8.0ms
(- x (/ (- x y) 2.0))
3.0ms
(- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0)))
13.0ms
(/ (- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0))) (- x (/ (- x y) 2.0)))

series36.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
07671986
140211797
250021766

prune216.0ms

Filtered
123 candidates to 183 candidates (-48.8%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1821183
Fresh011
Picked011
Done033
Total1826188

Merged error: 0.0b

Counts
188 → 6

regimes144.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
073
173

end0.0ms

analyze34.0ms

Algorithm
search

sample348.0ms

Algorithm
intervals
Results
172.0ms7377×body80valid
22.0ms236×body1280valid
12.0ms162×body640valid
10.0ms89×body2560valid
5.0ms82×body320valid
2.0ms54×body160valid
0.0msbody80invalid

Profiling

Loading profile data...