Details

Time bar (total: 1.9s)

sample22.0ms

Algorithm
intervals
Results
12.0ms480×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0176
1375
2465
3465

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
0.0b
(+ (* x x) (* (* x 2.0) 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:
12.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
3.0ms
(+ (* x x) (* (* x 2.0) y))

series61.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
39.0ms
(+ (* x x) (* (* x 2.0) y))

simplify154.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune59.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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-+r+ 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:
6.0ms
(+ (pow x 2) (* y (+ (* x 2.0) y)))
11.0ms
(* y (+ (* x 2.0) y))

series62.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (pow x 2) (* y (+ (* x 2.0) y)))
39.0ms
(* y (+ (* x 2.0) y))

simplify37.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0216231
11074212
25002212

prune72.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.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:
5.0ms
(+ (* x (+ (* 2.0 y) x)) (* y y))
10.0ms
(* x (+ (* 2.0 y) x))

series59.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (* x (+ (* 2.0 y) x)) (* y y))
37.0ms
(* x (+ (* 2.0 y) x))

simplify36.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0225237
11110217
25001217

prune74.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
associate-*r* associate-*l* sqrt-prod
flip3-+ sqrt-div associate-*r/ flip-+ add-log-exp
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 74
Calls
4 calls:
11.0ms
(* x (+ (* 2.0 y) x))
12.0ms
(* x (+ (* 2.0 y) x))
8.0ms
(sqrt (+ (* x (+ (* 2.0 y) x)) (* y y)))
8.0ms
(sqrt (+ (* x (+ (* 2.0 y) x)) (* y y)))

series189.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* x (+ (* 2.0 y) x))
37.0ms
(* x (+ (* 2.0 y) x))
57.0ms
(sqrt (+ (* x (+ (* 2.0 y) x)) (* y y)))
54.0ms
(sqrt (+ (* x (+ (* 2.0 y) x)) (* y y)))

simplify146.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0221514
1947492
24803490
35002490

prune195.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes37.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
0135
1135

end0.0ms

sample591.0ms

Algorithm
intervals
Results
377.0ms14396×body80valid