Details

Time bar (total: 3.4s)

sample13.0ms

Algorithm
intervals
Results
4.0ms241×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody2560valid
0.0msbody160valid

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

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite21.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:
20.0ms
(+ x (/ (- x y) 2.0))

series38.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
09181
124274
270474
3341274
4500174

prune29.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
diff-log frac-sub distribute-lft-out-- difference-of-squares
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- flip3-+ times-frac associate--l+ sum-log add-cbrt-cube flip-- flip-+ distribute-lft-out
Counts
1 → 20
Calls
1 calls:
87.0ms
(- (+ x (/ x 2.0)) (/ y 2.0))

series33.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0161176
1472166
21719162
35002162

prune44.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

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))
14.5b
(- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0)))
34.6b
(/ (- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0))) (- x (/ (- x y) 2.0)))

rewrite150.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:
52.0ms
(* (/ (- x y) 2.0) (/ (- x y) 2.0))
20.0ms
(- x (/ (- x y) 2.0))
10.0ms
(- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0)))
60.0ms
(/ (- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0))) (- x (/ (- x y) 2.0)))

series181.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (/ (- x y) 2.0) (/ (- x y) 2.0))
35.0ms
(- x (/ (- x y) 2.0))
29.0ms
(- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0)))
95.0ms
(/ (- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0))) (- x (/ (- x y) 2.0)))

simplify121.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (103.0ms)

IterNodesCost
07671986
140211797
250011766

prune340.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- x (/ (- x y) 2.0))) (cbrt (- x (/ (- x y) 2.0))))
0.5b
(cbrt (- x (/ (- x y) 2.0)))
0.5b
(cbrt (- x (/ (- x y) 2.0)))
0.5b
(cbrt (- x (/ (- x y) 2.0)))

rewrite221.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
50×cbrt-prod
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
14×difference-of-squares
11×pow1 swap-sqr
flip3-- pow1/3 associate-*r* associate-*l* flip-- distribute-lft-out--
times-frac
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 107
Calls
4 calls:
158.0ms
(* (cbrt (- x (/ (- x y) 2.0))) (cbrt (- x (/ (- x y) 2.0))))
19.0ms
(cbrt (- x (/ (- x y) 2.0)))
18.0ms
(cbrt (- x (/ (- x y) 2.0)))
22.0ms
(cbrt (- x (/ (- x y) 2.0)))

series1.1s

Counts
4 → 12
Calls
4 calls:
492.0ms
(* (cbrt (- x (/ (- x y) 2.0))) (cbrt (- x (/ (- x y) 2.0))))
208.0ms
(cbrt (- x (/ (- x y) 2.0)))
213.0ms
(cbrt (- x (/ (- x y) 2.0)))
212.0ms
(cbrt (- x (/ (- x y) 2.0)))

simplify123.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
03121322
19291257
241831163
350011148

prune291.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0.0b

regimes82.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
073
173

end0.0ms

sample341.0ms

Algorithm
intervals
Results
132.0ms7358×body80valid
15.0ms225×body1280valid
11.0ms194×body640valid
8.0ms93×body2560valid
3.0ms79×body320valid
2.0ms53×body160valid