Details

Time bar (total: 1.1s)

sample22.0ms

Algorithm
intervals
Results
11.0ms458×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0176
1375
2465
3465

prune5.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
(+ (+ (* 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))

series65.0ms

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

simplify155.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune60.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

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

series60.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0225237
11110217
25001217

prune73.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0.0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample572.0ms

Algorithm
intervals
Results
361.0ms14091×body80valid