Is there a way to make this work?
THM = TensorDimensions[M];
Assuming[ Element[M, Vectors[n]],
THM
]
Which gives:
TensorDimensions[M]
But I would like it to try executing the expression again, and get
{n}
None of these potential solutions work:
Assuming[ Element[T, Vectors[n]],
{THM,
Simplify[THM],
Evaluate[THM]}
]
This works, but is a profoundly ugly kludge:
Assuming[ Element[T, Vectors[n]],
{THM /. TensorDimensions[x_] :> TensorDimensions[x]}
]
Can anyone explain what is happening here?