I'm manipulating abstract tensors with Mathematica. I have a question. With the assumptions
$Assumptions = (R | r) ∈ Arrays[{4}];
I can do two operations: R.r and TensorContract[R \[TensorProduct] r, {{1, 2}}] which are the same obviously. The problem is that doing
R.r - TensorContract[R \[TensorProduct] r, {{1, 2}}]
I cannot get 0 as expected. I try to apply TensorReduce, TensorExpand, FullSimplify and their combination without any result. What can I do?