Details

Time bar (total: 1.4s)

analyze104.0ms

Algorithm
search

sample15.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
0.0msbody80invalid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.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
(* y (+ (* x 2.0) y))
0.0b
(+ (* y (+ (* x 2.0) y)) (* x x))

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

series11.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0222234
11119217
25001217

prune47.0ms

Filtered
28 candidates to 41 candidates (-46.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New40141
Fresh011
Picked011
Done000
Total40343

Merged error: 0.0b

Counts
43 → 3

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

series14.0ms

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

simplify155.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune38.0ms

Filtered
23 candidates to 30 candidates (-30.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New29130
Fresh101
Picked101
Done011
Total31233

Merged error: 0.0b

Counts
33 → 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))

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

series11.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0225237
11110217
25001217

prune47.0ms

Filtered
29 candidates to 41 candidates (-41.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New40141
Fresh000
Picked011
Done011
Total40343

Merged error: 0b

Counts
43 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (sqrt x) (* (sqrt x) (+ (* 2.0 y) x))) (* y y))
0.1b
(* (sqrt x) (+ (* 2.0 y) x))
0.2b
(* (sqrt x) (* (sqrt x) (+ (* 2.0 y) x)))

rewrite28.0ms

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

series29.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (* (sqrt x) (* (sqrt x) (+ (* 2.0 y) x))) (* y y))
9.0ms
(* (sqrt x) (+ (* 2.0 y) x))
8.0ms
(* (sqrt x) (* (sqrt x) (+ (* 2.0 y) x)))

simplify57.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0404543
11910462
25002462

prune76.0ms

Filtered
55 candidates to 77 candidates (-40.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New77077
Fresh000
Picked011
Done022
Total77380

Merged error: 0b

Counts
80 → 3

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

analyze96.0ms

Algorithm
search

sample399.0ms

Algorithm
intervals
Results
275.0ms8000×body80valid
6.0ms181×body80invalid

Profiling

Loading profile data...