Details

Time bar (total: 1.7s)

sample21.0ms

Algorithm
intervals
Results
11.0ms439×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0176
1375
2465
3465

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* y (+ (* x 2.0) y))
0.0b
(+ (* y (+ (* x 2.0) y)) (* x x))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
distribute-rgt-in associate-+l+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 35
Calls
2 calls:
10.0ms
(* y (+ (* x 2.0) y))
5.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))

series62.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(* y (+ (* x 2.0) y))
23.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))

simplify41.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0222234
11119217
25001217

prune71.0ms

Filtered
41 candidates to 28 candidates (68.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* (* x 2.0) y))
0.0b
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
2 → 24
Calls
2 calls:
3.0ms
(+ (* x x) (* (* x 2.0) y))
12.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))

series61.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(+ (* x x) (* (* x 2.0) y))
23.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))

simplify163.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune58.0ms

Filtered
30 candidates to 23 candidates (76.7%)
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
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
0.0b
(* (sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y))) (sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y))))
8.1b
(sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y)))
8.1b
(sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y)))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+ add-log-exp
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
frac-times unswap-sqr
pow-prod-down sum-log pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 associate-+l+ pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 100
Calls
4 calls:
12.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
63.0ms
(* (sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y))) (sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y))))
13.0ms
(sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y)))
13.0ms
(sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y)))

series158.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
26.0ms
(* (sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y))) (sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y))))
53.0ms
(sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y)))
56.0ms
(sqrt (+ (+ (* x x) (* (* x 2.0) y)) (* y y)))

simplify48.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
02341224
110511115
250021076

prune214.0ms

Filtered
112 candidates to 69 candidates (61.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes58.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
0125
1125

end0.0ms

sample580.0ms

Algorithm
intervals
Results
371.0ms14077×body80valid