Details

Time bar (total: 8.4s)

sample18.0ms

Algorithm
intervals
Results
8.0ms452×body80valid

simplify81.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
1117
2257
3537
4727
5887
6977
71037
done1037

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite38.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
associate-*r/ associate-*l/
pow2 distribute-rgt-in distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 40
Calls
1 calls:
36.0ms
(* (+ x y) (+ x y))

series16.0ms

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

simplify2.2s

Counts
43 → 43
Iterations

Useful iterations: done (2.1s)

IterNodesCost
062516
1187453
2742407
33329376
done5000373

prune56.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite48.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:
17.0ms
(+ (* y (+ (* 2 x) y)) (* x x))
31.0ms
(* y (+ (* 2 x) y))

series71.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(+ (* y (+ (* 2 x) y)) (* x x))
43.0ms
(* y (+ (* 2 x) y))

simplify2.4s

Counts
41 → 41
Iterations

Useful iterations: 3 (901.0ms)

IterNodesCost
070523
1216485
2736445
33389437
done5000437

prune103.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite121.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+ distribute-lft-out
Counts
2 → 25
Calls
2 calls:
95.0ms
(+ (+ (* y (* 2 x)) (* y y)) (* x x))
25.0ms
(+ (* y (* 2 x)) (* y y))

series87.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ (+ (* y (* 2 x)) (* y y)) (* x x))
53.0ms
(+ (* y (* 2 x)) (* y y))

simplify2.4s

Counts
31 → 31
Iterations

Useful iterations: 3 (967.0ms)

IterNodesCost
057528
1186424
2770384
33467376
done5001376

prune79.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
11313
done1313

end0.0ms

sample673.0ms

Algorithm
intervals
Results
348.0ms14173×body80valid