Details

Time bar (total: 1.4s)

sample19.0ms

Algorithm
intervals
Results
7.0ms305×body80valid

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

rewrite36.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:
15.0ms
(- (* x (- y 1.0)) (* y 0.5))
20.0ms
(* x (- y 1.0))

series56.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0186217
1673197
22659196
35002196

prune76.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite19.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:
18.0ms
(+ (* x y) (- (* (- 1.0) x) (* y 0.5)))

series24.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0115153
1367127
21793124
35002124

prune34.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (- y 1.0))
0.0b
(sqrt (* x (- y 1.0)))
0.0b
(sqrt (* x (- y 1.0)))
0.2b
(* (sqrt (* x (- y 1.0))) (sqrt (* x (- y 1.0))))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1
32×sqrt-pow1
23×pow-prod-down
20×associate-*r/
16×add-sqr-sqrt sqrt-div
12×*-un-lft-identity pow1/2
10×add-cube-cbrt pow-prod-up
flip3-- associate-*r* flip--
add-exp-log add-cbrt-cube
associate-*l*
sqrt-prod pow-sqr
frac-times swap-sqr add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 pow-plus sqrt-unprod rem-square-sqrt distribute-lft-out-- difference-of-squares
Counts
4 → 109
Calls
4 calls:
22.0ms
(* x (- y 1.0))
7.0ms
(sqrt (* x (- y 1.0)))
7.0ms
(sqrt (* x (- y 1.0)))
56.0ms
(* (sqrt (* x (- y 1.0))) (sqrt (* x (- y 1.0))))

series137.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* x (- y 1.0))
39.0ms
(sqrt (* x (- y 1.0)))
43.0ms
(sqrt (* x (- y 1.0)))
28.0ms
(* (sqrt (* x (- y 1.0))) (sqrt (* x (- y 1.0))))

simplify49.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0257532
11141473
25002465

prune202.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

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

sample398.0ms

Algorithm
intervals
Results
206.0ms9095×body80valid
0.0msbody640valid
0.0msbody320valid