Details

Time bar (total: 1.8s)

sample27.0ms

Algorithm
intervals
Results
14.0ms425×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0176
1375
2465
3465

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

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

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

series13.0ms

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

simplify151.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune37.0ms

Filtered
30 candidates to 23 candidates (23.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New29130
Fresh011
Picked101
Done000
Total30232

Merged error: 0.0b

Counts
32 → 2

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

rewrite14.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:
6.0ms
(+ (* x (+ (* 2.0 y) x)) (* y y))
6.0ms
(* x (+ (* 2.0 y) x))

series13.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (* x (+ (* 2.0 y) x)) (* y y))
7.0ms
(* x (+ (* 2.0 y) x))

simplify34.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0225237
11110217
25001217

prune43.0ms

Filtered
41 candidates to 29 candidates (29.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New40141
Fresh011
Picked011
Done000
Total40343

Merged error: 0b

Counts
43 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
7.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
6.0ms
(* y (+ (* x 2.0) y))

series11.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0222234
11119217
25001217

prune46.0ms

Filtered
41 candidates to 28 candidates (31.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New41041
Fresh011
Picked011
Done011
Total41344

Merged error: 0b

Counts
44 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* y y) (* y y))
0.2b
(* (* x (+ (* 2.0 y) x)) (* x (+ (* 2.0 y) x)))
2.1b
(- (* (* x (+ (* 2.0 y) x)) (* x (+ (* 2.0 y) x))) (* (* y y) (* y y)))
31.4b
(/ (- (* (* x (+ (* 2.0 y) x)) (* x (+ (* 2.0 y) x))) (* (* y y) (* y y))) (- (* x (+ (* 2.0 y) x)) (* y y)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
154×pow1
40×pow-prod-down pow-prod-up
30×add-exp-log add-cbrt-cube
26×pow-sqr
20×pow-plus
16×prod-exp cbrt-unprod
14×pow2 associate-*r/
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
distribute-rgt-in distribute-lft-in
flip3-+ flip-+ add-log-exp
difference-of-squares
frac-times associate--l+ associate-/l*
flip3-- associate-/r* flip--
swap-sqr associate-*r* associate-*l* associate-*l/ associate-/r/ *-commutative associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv unswap-sqr
Counts
4 → 162
Calls
4 calls:
8.0ms
(* (* y y) (* y y))
12.0ms
(* (* x (+ (* 2.0 y) x)) (* x (+ (* 2.0 y) x)))
13.0ms
(- (* (* x (+ (* 2.0 y) x)) (* x (+ (* 2.0 y) x))) (* (* y y) (* y y)))
21.0ms
(/ (- (* (* x (+ (* 2.0 y) x)) (* x (+ (* 2.0 y) x))) (* (* y y) (* y y))) (- (* x (+ (* 2.0 y) x)) (* y y)))

series45.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* y y) (* y y))
6.0ms
(* (* x (+ (* 2.0 y) x)) (* x (+ (* 2.0 y) x)))
15.0ms
(- (* (* x (+ (* 2.0 y) x)) (* x (+ (* 2.0 y) x))) (* (* y y) (* y y)))
20.0ms
(/ (- (* (* x (+ (* 2.0 y) x)) (* x (+ (* 2.0 y) x))) (* (* y y) (* y y))) (- (* x (+ (* 2.0 y) x)) (* y y)))

simplify93.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06211638
131681395
250021367

prune167.0ms

Filtered
174 candidates to 84 candidates (51.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1740174
Fresh000
Picked011
Done022
Total1743177

Merged error: 0b

Counts
177 → 3

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

sample873.0ms

Algorithm
intervals
Results
509.0ms14272×body80valid

Profiling

Loading profile data...