Details

Time bar (total: 2.5s)

sample23.0ms

Algorithm
intervals
Results
14.0ms282×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))

rewrite16.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:
5.0ms
(- (* x (- y 1.0)) (* y 0.5))
9.0ms
(* x (- y 1.0))

series57.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0186217
1673197
22659196
35002196

prune74.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 1 expressions with local error:

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

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

series26.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0116149
1370130
21792129
35001129

prune42.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (* x (- (pow y 3) (pow 1.0 3))) (+ (* y y) (+ (* 1.0 1.0) (* y 1.0)))) (* y 0.5))
0.0b
(+ (* y y) (+ (* 1.0 1.0) (* y 1.0)))
4.2b
(* x (- (pow y 3) (pow 1.0 3)))
17.6b
(/ (* x (- (pow y 3) (pow 1.0 3))) (+ (* y y) (+ (* 1.0 1.0) (* y 1.0))))

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
25×associate-*r*
18×*-un-lft-identity
16×difference-of-squares
12×unpow-prod-down cube-prod
11×add-exp-log add-cbrt-cube add-log-exp
add-cube-cbrt sqr-pow
pow1
distribute-lft-out--
associate-*r/
sub-neg flip3-- times-frac associate-*l* associate-/r* sum-log flip--
cbrt-undiv distribute-rgt-in distribute-lft-in flip3-+ div-exp prod-exp associate-/r/ cbrt-unprod flip-+ associate-/l/
difference-cubes +-commutative associate-+r+ frac-2neg diff-log pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 96
Calls
4 calls:
77.0ms
(- (/ (* x (- (pow y 3) (pow 1.0 3))) (+ (* y y) (+ (* 1.0 1.0) (* y 1.0)))) (* y 0.5))
7.0ms
(+ (* y y) (+ (* 1.0 1.0) (* y 1.0)))
49.0ms
(* x (- (pow y 3) (pow 1.0 3)))
31.0ms
(/ (* x (- (pow y 3) (pow 1.0 3))) (+ (* y y) (+ (* 1.0 1.0) (* y 1.0))))

series330.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(- (/ (* x (- (pow y 3) (pow 1.0 3))) (+ (* y y) (+ (* 1.0 1.0) (* y 1.0)))) (* y 0.5))
19.0ms
(+ (* y y) (+ (* 1.0 1.0) (* y 1.0)))
80.0ms
(* x (- (pow y 3) (pow 1.0 3)))
142.0ms
(/ (* x (- (pow y 3) (pow 1.0 3))) (+ (* y y) (+ (* 1.0 1.0) (* y 1.0))))

simplify74.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0530967
12619849
25001842

prune281.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
14×sqrt-div add-log-exp
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 flip3-+ pow1/2 flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
frac-times associate-+r+ sum-log unswap-sqr
pow-prod-down pow-sqr
+-commutative associate-+r- sub-neg diff-log associate-*r/ associate-*l/
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 102
Calls
4 calls:
13.0ms
(sqrt (+ (* y x) (- (* (- 1.0) x) (* y 0.5))))
7.0ms
(+ (* y x) (- (* (- 1.0) x) (* y 0.5)))
7.0ms
(+ (* y x) (- (* (- 1.0) x) (* y 0.5)))
61.0ms
(* (sqrt (+ (* y x) (- (* (- 1.0) x) (* y 0.5)))) (sqrt (+ (* y x) (- (* (- 1.0) x) (* y 0.5)))))

series246.0ms

Counts
4 → 12
Calls
4 calls:
165.0ms
(sqrt (+ (* y x) (- (* (- 1.0) x) (* y 0.5))))
26.0ms
(+ (* y x) (- (* (- 1.0) x) (* y 0.5)))
25.0ms
(+ (* y x) (- (* (- 1.0) x) (* y 0.5)))
30.0ms
(* (sqrt (+ (* y x) (- (* (- 1.0) x) (* y 0.5)))) (sqrt (+ (* y x) (- (* (- 1.0) x) (* y 0.5)))))

simplify44.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02561223
19371096
250011054

prune231.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample570.0ms

Algorithm
intervals
Results
421.0ms9147×body80valid
0.0msbody640valid
0.0msbody160valid