Details

Time bar (total: 1.1s)

sample23.0ms

Algorithm
intervals
Results
12.0ms460×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

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

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

series66.0ms

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

simplify159.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune53.0ms

Filtered
30 candidates to 23 candidates (76.7%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New29130
Fresh101
Picked101
Done000
Total31132

Merged error: 0.0b

Counts
32 → 1

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

series63.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0225237
11110217
25001217

prune58.0ms

Filtered
41 candidates to 29 candidates (70.7%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New41041
Fresh000
Picked011
Done000
Total41142

Merged error: 0.0b

Counts
42 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample596.0ms

Algorithm
intervals
Results
378.0ms14299×body80valid

Profiling

Loading profile data...