Details

Time bar (total: 2.1s)

sample27.0ms

Algorithm
intervals
Results
16.0ms474×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)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

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

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

series62.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0222234
11119217
25001217

prune55.0ms

Filtered
41 candidates to 28 candidates (68.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New40141
Fresh011
Picked101
Done000
Total41243

Merged error: 0.0b

Counts
43 → 2

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

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

series79.0ms

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

simplify150.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune49.0ms

Filtered
30 candidates to 23 candidates (76.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New30030
Fresh011
Picked011
Done000
Total30232

Merged error: 0.0b

Counts
32 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log associate-+l+ flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 sum-log
Counts
4 → 56
Calls
4 calls:
7.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
7.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
6.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))
6.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))

series155.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
27.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
51.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))
55.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))

simplify97.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (90.0ms)

IterNodesCost
0153546
1656514
23454506
35003504

prune135.0ms

Filtered
68 candidates to 54 candidates (79.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh000
Picked011
Done011
Total67370

Merged error: 0.0b

Counts
70 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (+ (* y (+ (* x 2.0) y)) (* x x))) (+ x (* 1.0 y)))
0.0b
(* y (+ (* x 2.0) y))
0.0b
(+ (* y (+ (* x 2.0) y)) (* x x))
6.1b
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))

rewrite33.0ms

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

series177.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* (sqrt (+ (* y (+ (* x 2.0) y)) (* x x))) (+ x (* 1.0 y)))
43.0ms
(* y (+ (* x 2.0) y))
24.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
57.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))

simplify71.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0464879
12197834
25002833

prune179.0ms

Filtered
94 candidates to 70 candidates (74.5%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New93194
Fresh000
Picked101
Done112
Total95297

Merged error: 0b

Counts
97 → 2

regimes36.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
085
185

end0.0ms

sample711.0ms

Algorithm
intervals
Results
491.0ms14181×body80valid

Profiling

Loading profile data...