I would like that Mathematica simplifies an expression according to some constraints. For example:
M = p.k p.k
given the constraint:
p(mu) * p(nu) = \delta(mu,nu)
should give
M = k^2
But I don’t know how to specify dummy indices, and I am also not quite sure where I should place the constraint itself. In an argument of Simplify?
1 Answer