What else is needed to make Mathematica to simplify the following expression to $z[j]$?
Code:
Assuming[
{n \[Element] Integers, p \[Element] Integers,
i \[Element] Integers, j \[Element] Integers,
r \[Element] Integers, s \[Element] Integers,
n >= 1, p >= 1,
i >= 1, i <= n,
j >= 1, j <= p,
r >= 1, r <= p,
s >= 1, s <= n,
},
FullSimplify[\!\(
\*UnderoverscriptBox[\(\[Sum]\), \(r = 1\), \(p\)]\(z[r]*\(
\*UnderoverscriptBox[\(\[Sum]\), \(s = 1\), \(n\)]\*
TemplateBox[{RowBox[{"i", ",", "s"}]},
"KroneckerDeltaSeq"] \*
TemplateBox[{RowBox[{"j", ",", "r"}]},
"KroneckerDeltaSeq"]\)\)\)]
]
KroneckerDelta
instead of"KroneckerDeltaSeq"
(no idea what's that supposed to mean); 2) what is it that you really want to achieve? As shown, you're multiplying a sum ofz
s by a sum of $\delta$s - why should it even be equal toz[j]
? $\endgroup$FullSimplify[ Sum[z[r]* Sum[KroneckerDelta[i, s]*KroneckerDelta[j, r], {s, 1, n}], {r, 1, p}]]
. $\endgroup$FullSimplify...
) wouldn't yield the desired result. $\endgroup$