Details

Time bar (total: 1.8s)

sample15.0ms

Algorithm
intervals
Results
7.0ms303×body80valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0195
1425
2875
31755
43105
55005
67205
79485
811485
911485

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x (- y 1.0)) (* y 0.5))
0.0b
(* x (- y 1.0))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
sub-neg associate-*r*
pow1 add-exp-log distribute-rgt-in add-cube-cbrt distribute-lft-in associate--l+ add-cbrt-cube add-log-exp
associate-*l*
flip3-- associate-*r/ flip--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 42
Calls
2 calls:
6.0ms
(- (* x (- y 1.0)) (* y 0.5))
6.0ms
(* x (- y 1.0))

series61.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(- (* x (- y 1.0)) (* y 0.5))
35.0ms
(* x (- y 1.0))

simplify69.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0186217
1673197
22659196
35002196

prune77.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ (* y x) (- (* (- 1.0) x) (* y 0.5)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
associate-+r+ sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r- sub-neg *-un-lft-identity flip3-+ diff-log add-cbrt-cube flip-+
Counts
1 → 15
Calls
1 calls:
6.0ms
(+ (* y x) (- (* (- 1.0) x) (* y 0.5)))

series27.0ms

Counts
1 → 3
Calls
1 calls:
27.0ms
(+ (* y x) (- (* (- 1.0) x) (* y 0.5)))

simplify50.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0116149
1370130
21792129
35001129

prune36.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (* x (- y 1.0)) 3)
2.1b
(- (pow (* x (- y 1.0)) 3) (pow (* y 0.5) 3))
2.8b
(+ (* (* x (- y 1.0)) (+ (* x (- y 1.0)) (* y 0.5))) (* (* y 0.5) (* y 0.5)))
37.6b
(/ (- (pow (* x (- y 1.0)) 3) (pow (* y 0.5) 3)) (+ (* (* x (- y 1.0)) (+ (* x (- y 1.0)) (* y 0.5))) (* (* y 0.5) (* y 0.5))))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
29×*-un-lft-identity
27×times-frac
21×sqr-pow
20×difference-of-squares
19×add-cube-cbrt
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
pow1
difference-cubes distribute-lft-out--
pow-unpow flip3-- associate-/r* flip--
cube-div associate-+l+ pow-pow flip3-+ associate-*r/ pow-exp associate-/r/ flip-+ associate-/l/ rem-cube-cbrt
cbrt-undiv +-commutative distribute-rgt-in cube-mult pow-to-exp sub-neg unpow-prod-down frac-2neg distribute-lft-in diff-log unpow3 div-sub cube-prod div-exp pow-prod-down prod-exp clear-num sum-log cbrt-unprod div-inv
Counts
4 → 111
Calls
4 calls:
6.0ms
(pow (* x (- y 1.0)) 3)
8.0ms
(- (pow (* x (- y 1.0)) 3) (pow (* y 0.5) 3))
17.0ms
(+ (* (* x (- y 1.0)) (+ (* x (- y 1.0)) (* y 0.5))) (* (* y 0.5) (* y 0.5)))
24.0ms
(/ (- (pow (* x (- y 1.0)) 3) (pow (* y 0.5) 3)) (+ (* (* x (- y 1.0)) (+ (* x (- y 1.0)) (* y 0.5))) (* (* y 0.5) (* y 0.5))))

series388.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(pow (* x (- y 1.0)) 3)
106.0ms
(- (pow (* x (- y 1.0)) 3) (pow (* y 0.5) 3))
56.0ms
(+ (* (* x (- y 1.0)) (+ (* x (- y 1.0)) (* y 0.5))) (* (* y 0.5) (* y 0.5)))
173.0ms
(/ (- (pow (* x (- y 1.0)) 3) (pow (* y 0.5) 3)) (+ (* (* x (- y 1.0)) (+ (* x (- y 1.0)) (* y 0.5))) (* (* y 0.5) (* y 0.5))))

simplify104.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
06072334
127612175
250022158

prune400.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes61.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample352.0ms

Algorithm
intervals
Results
213.0ms9140×body80valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid