Details

Time bar (total: 3.4s)

sample13.0ms

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

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series38.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
09181
124274
270474
3341274
4500174

prune34.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series38.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0161176
1472166
21719162
35002162

prune44.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (/ (- x y) 2.0))
0.0b
(* (/ (- x y) 2.0) (/ (- x y) 2.0))
12.9b
(- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0)))
27.6b
(/ (- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0))) (- x (/ (- x y) 2.0)))

rewrite85.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:
12.0ms
(- x (/ (- x y) 2.0))
30.0ms
(* (/ (- x y) 2.0) (/ (- x y) 2.0))
3.0ms
(- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0)))
32.0ms
(/ (- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0))) (- x (/ (- x y) 2.0)))

series204.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- x (/ (- x y) 2.0))
24.0ms
(* (/ (- x y) 2.0) (/ (- x y) 2.0))
33.0ms
(- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0)))
108.0ms
(/ (- (* x x) (* (/ (- x y) 2.0) (/ (- x y) 2.0))) (- x (/ (- x y) 2.0)))

simplify125.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
07671986
140211797
250011766

prune361.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.6b
(cbrt (- x (/ (- x y) 2.0)))
0.6b
(cbrt (- x (/ (- x y) 2.0)))
0.6b
(cbrt (- x (/ (- x y) 2.0)))

rewrite143.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:
100.0ms
(* (cbrt (- x (/ (- x y) 2.0))) (cbrt (- x (/ (- x y) 2.0))))
15.0ms
(cbrt (- x (/ (- x y) 2.0)))
11.0ms
(cbrt (- x (/ (- x y) 2.0)))
12.0ms
(cbrt (- x (/ (- x y) 2.0)))

series1.3s

Counts
4 → 12
Calls
4 calls:
541.0ms
(* (cbrt (- x (/ (- x y) 2.0))) (cbrt (- x (/ (- x y) 2.0))))
239.0ms
(cbrt (- x (/ (- x y) 2.0)))
233.0ms
(cbrt (- x (/ (- x y) 2.0)))
239.0ms
(cbrt (- x (/ (- x y) 2.0)))

simplify124.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
03121322
19291257
241831180
350011166

prune316.0ms

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 0.0b

regimes83.0ms

Accuracy

0% (0.1b 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

sample310.0ms

Algorithm
intervals
Results
141.0ms7402×body80valid
16.0ms218×body1280valid
10.0ms154×body640valid
8.0ms85×body2560valid
4.0ms95×body320valid
2.0ms48×body160valid