Details

Time bar (total: 1.5s)

sample15.0ms

Algorithm
intervals
Results
7.0ms295×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))

rewrite20.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))
13.0ms
(* x (- y 1.0))

series71.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0186217
1673197
22659196
35002196

prune77.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
distribute-rgt-neg-out
pow1 add-exp-log associate--l- add-sqr-sqrt add-cube-cbrt *-un-lft-identity diff-log unsub-neg sum-log add-cbrt-cube
+-commutative sub-neg flip3-- flip3-+ associate--l+ flip-- flip-+ distribute-lft-out
Counts
2 → 30
Calls
2 calls:
15.0ms
(- (+ (* x y) (* x (- 1.0))) (* y 0.5))
3.0ms
(+ (* x y) (* x (- 1.0)))

series70.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0180241
1732204
23352198
35002198

prune68.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0)) (* y 0.5))
3.3b
(* x (- (* y y) (* 1.0 1.0)))
10.6b
(/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
times-frac associate-*r/ associate-*r* associate-/r*
sub-neg flip3-- associate-*l* flip--
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out
frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative flip-+ div-inv associate-/l* difference-of-squares unswap-sqr
Counts
3 → 64
Calls
3 calls:
27.0ms
(- (/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0)) (* y 0.5))
10.0ms
(* x (- (* y y) (* 1.0 1.0)))
10.0ms
(/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0))

series214.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(- (/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0)) (* y 0.5))
64.0ms
(* x (- (* y y) (* 1.0 1.0)))
91.0ms
(/ (* x (- (* y y) (* 1.0 1.0))) (+ y 1.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0368564
11721488
25001484

prune143.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes55.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0197
1237
2247
3247

end0.0ms

sample366.0ms

Algorithm
intervals
Results
215.0ms9154×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid