I've been looking for a solution to this question for a while. I was wondering if anyone is aware of a way of defining symbolic dummy indices to implement Einstein's convention.
Let me explain with an example. I would like to define, say, an object with one index, defined this way (more or less):
T[i_]:=a[i,something]b[something]
so that, if I call the object multiple times, the variable "something" is always named in a different way. For example, I would like
T[i]T[i]
to return something like
a[i,symbol1]b[symbol1]a[i,symbol2]b[symbol2]
Does anyone know of a way to implement this?