Details

Time bar (total: 4.7s)

sample14.0ms

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

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

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

series37.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09181
124274
270474
3341274
4500174

prune32.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

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

series34.0ms

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

simplify51.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 (4 fresh and 1 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x (/ x 2.0)) (/ y 2.0))
0.2b
(* (+ x (/ x 2.0)) (+ x (/ x 2.0)))
3.5b
(- (* (+ x (/ x 2.0)) (+ x (/ x 2.0))) (* (/ y 2.0) (/ y 2.0)))
30.1b
(/ (- (* (+ x (/ x 2.0)) (+ x (/ x 2.0))) (* (/ y 2.0) (/ y 2.0))) (+ (+ x (/ x 2.0)) (/ y 2.0)))

rewrite325.0ms

Algorithm
rewrite-expression-head
Rules
63×*-un-lft-identity
48×frac-sub
46×flip3-+ flip-+
44×frac-times
30×associate-*r/ associate-*l/
26×associate-/l/
24×distribute-lft-out
21×add-sqr-sqrt
20×times-frac
19×add-cube-cbrt
11×pow1 add-log-exp
add-exp-log add-cbrt-cube
difference-of-squares
swap-sqr
associate-/r*
associate-*r* associate-*l* frac-add associate-/r/ associate-/l*
sum-log
distribute-rgt-in flip3-- distribute-lft-in associate--l+ flip--
cbrt-undiv +-commutative pow2 sub-neg associate-+l+ frac-2neg pow-plus diff-log div-sub div-exp pow-prod-down prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv unswap-sqr
Counts
4 → 168
Calls
4 calls:
64.0ms
(+ (+ x (/ x 2.0)) (/ y 2.0))
70.0ms
(* (+ x (/ x 2.0)) (+ x (/ x 2.0)))
30.0ms
(- (* (+ x (/ x 2.0)) (+ x (/ x 2.0))) (* (/ y 2.0) (/ y 2.0)))
153.0ms
(/ (- (* (+ x (/ x 2.0)) (+ x (/ x 2.0))) (* (/ y 2.0) (/ y 2.0))) (+ (+ x (/ x 2.0)) (/ y 2.0)))

series178.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (+ x (/ x 2.0)) (/ y 2.0))
26.0ms
(* (+ x (/ x 2.0)) (+ x (/ x 2.0)))
44.0ms
(- (* (+ x (/ x 2.0)) (+ x (/ x 2.0))) (* (/ y 2.0) (/ y 2.0)))
78.0ms
(/ (- (* (+ x (/ x 2.0)) (+ x (/ x 2.0))) (* (/ y 2.0) (/ y 2.0))) (+ (+ x (/ x 2.0)) (/ y 2.0)))

simplify111.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
07732709
136772512
250012498

prune396.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite443.0ms

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity
52×cbrt-div
51×cbrt-prod
33×distribute-lft-out
26×flip3-+ frac-add flip-+
23×add-sqr-sqrt
16×frac-times
15×add-cube-cbrt
14×swap-sqr
11×pow1
pow1/3
associate-*r* associate-*l*
add-exp-log
associate-*r/ associate-*l/ add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 127
Calls
4 calls:
319.0ms
(* (cbrt (+ (+ x (/ x 2.0)) (/ y 2.0))) (cbrt (+ (+ x (/ x 2.0)) (/ y 2.0))))
39.0ms
(cbrt (+ (+ x (/ x 2.0)) (/ y 2.0)))
38.0ms
(cbrt (+ (+ x (/ x 2.0)) (/ y 2.0)))
40.0ms
(cbrt (+ (+ x (/ x 2.0)) (/ y 2.0)))

series1.9s

Counts
4 → 12
Calls
4 calls:
524.0ms
(* (cbrt (+ (+ x (/ x 2.0)) (/ y 2.0))) (cbrt (+ (+ x (/ x 2.0)) (/ y 2.0))))
456.0ms
(cbrt (+ (+ x (/ x 2.0)) (/ y 2.0)))
438.0ms
(cbrt (+ (+ x (/ x 2.0)) (/ y 2.0)))
440.0ms
(cbrt (+ (+ x (/ x 2.0)) (/ y 2.0)))

simplify129.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
03572122
110512043
244531894
350021887

prune372.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.0b

regimes68.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
140.0ms7449×body80valid
13.0ms182×body1280valid
9.0ms153×body640valid
8.0ms88×body2560valid
4.0ms85×body320valid
1.0ms46×body160valid