Details

Time bar (total: 2.3s)

sample25.0ms

Algorithm
intervals
Results
17.0ms286×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))
0.0b
(- (* x (- y 1.0)) (* y 0.5))

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:
13.0ms
(* x (- y 1.0))
6.0ms
(- (* x (- y 1.0)) (* y 0.5))

series54.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0186217
1673197
22660196
35003196

prune77.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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:
2.0ms
(+ (* x y) (* x (- 1.0)))
15.0ms
(- (+ (* x y) (* x (- 1.0))) (* y 0.5))

series247.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0180241
1732204
23352198
35002198

prune67.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
19×*-un-lft-identity
14×associate-*r* sqrt-prod
11×pow1 add-exp-log add-cbrt-cube
10×associate-*r/
add-log-exp difference-of-squares
add-cube-cbrt
sub-neg
distribute-rgt-in flip3-- distribute-lft-in flip--
frac-times flip3-+ associate-*l* pow-prod-down prod-exp associate--l+ cbrt-unprod flip-+ distribute-lft-out--
diff-log associate-*l/ *-commutative distribute-lft-out
unswap-sqr
Counts
4 → 94
Calls
4 calls:
6.0ms
(- (sqrt y) (sqrt 1.0))
31.0ms
(- (* (* x (+ (sqrt y) (sqrt 1.0))) (- (sqrt y) (sqrt 1.0))) (* y 0.5))
21.0ms
(* x (+ (sqrt y) (sqrt 1.0)))
39.0ms
(* (* x (+ (sqrt y) (sqrt 1.0))) (- (sqrt y) (sqrt 1.0)))

series447.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (sqrt y) (sqrt 1.0))
82.0ms
(- (* (* x (+ (sqrt y) (sqrt 1.0))) (- (sqrt y) (sqrt 1.0))) (* y 0.5))
72.0ms
(* x (+ (sqrt y) (sqrt 1.0)))
248.0ms
(* (* x (+ (sqrt y) (sqrt 1.0))) (- (sqrt y) (sqrt 1.0)))

simplify78.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
05581001
12878793
25002779

prune217.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

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

sample682.0ms

Algorithm
intervals
Results
531.0ms9134×body80valid
0.0msbody640valid