Details

Time bar (total: 1.4s)

sample16.0ms

Algorithm
intervals
Results
7.0ms455×body80valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0113
1273
2663
31133
41453
51653
61823
71843
81843

prune2.0ms

Filtered
1 candidates to 0 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 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
pow1
add-sqr-sqrt
flip3-+ swap-sqr flip-+ distribute-lft-out
add-cube-cbrt
frac-times associate-*r* associate-*l*
add-exp-log add-cbrt-cube
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ associate-*l/
pow2 expm1-log1p-u pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 44
Calls
1 calls:
11.0ms
(* (+ x y) (+ x y))

series18.0ms

Counts
1 → 3
Calls
1 calls:
18.0ms
(* (+ x y) (+ x y))

simplify57.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0194229
1953202
25002188

prune68.0ms

Filtered
47 candidates to 22 candidates (46.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New44347
Fresh000
Picked011
Done000
Total44448

Merged error: 0b

Counts
48 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
28×associate-*r*
18×add-sqr-sqrt
14×distribute-lft-out
13×fma-def associate-*l*
12×add-cube-cbrt associate-*r/
11×distribute-rgt-out
+-commutative
distribute-rgt-in distribute-lft-in
pow1 add-exp-log flip3-+ add-cbrt-cube flip-+
*-commutative add-log-exp
associate-+l+ associate-+r+ frac-add
expm1-log1p-u log1p-expm1-u unswap-sqr
pow-prod-down prod-exp cbrt-unprod
sum-log
Counts
3 → 108
Calls
3 calls:
6.0ms
(* x (+ x y))
6.0ms
(* y (+ x y))
22.0ms
(+ (* x (+ x y)) (* y (+ x y)))

series96.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(* x (+ x y))
32.0ms
(* y (+ x y))
33.0ms
(+ (* x (+ x y)) (* y (+ x y)))

simplify96.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
0394455
12226394
25001387

prune230.0ms

Filtered
117 candidates to 76 candidates (65.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1152117
Fresh202
Picked101
Done011
Total1183121

Merged error: 0b

Counts
121 → 3

localize12.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma (* 2 x) y (pow y 2))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (* 2 x) y (pow y 2))

series51.0ms

Counts
1 → 3
Calls
1 calls:
50.0ms
(fma (* 2 x) y (pow y 2))

simplify133.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (27.0ms)

IterNodesCost
03059
18052
237948
3185947
4500247

prune44.0ms

Filtered
13 candidates to 11 candidates (84.6%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New12113
Fresh101
Picked101
Done101
Total15116

Merged error: 0b

Counts
16 → 1

localize7.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify4.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
000

prune2.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011

Merged error: 0b

Counts
1 → 1

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
073
173

end0.0ms

sample425.0ms

Algorithm
intervals
Results
212.0ms14072×body80valid