

For the most part, the code behaves as expected. However, after expanding the 10D fields into wedge products of 4D and 6D forms, expressions of the form
Diff @ Hodge[g10][...]appear, and in this situation my replacement rule for the Hodge star is no longer applied consistently.
As a result, I am unable to enforce the factorized Hodge star on all terms. In addition, I encounter the following error message :
DimOfManifold::unknown: Unknown manifold AnyDependencies.I think it comes from
HoldPattern[xAct`xTerior`Diff[Pattern[xAct`xTerior`Private`expr, ], xAct`xTensor`PD]] :=
0 /; 1 +
Plus @@ (Grade[#1, Wedge] &) /@ {xAct`xTerior`Private`expr} >
Plus @@ DimOfManifold /@ DependenciesOf[xAct`xTerior`Private`expr]
in the definition of Diff.
I would appreciate any suggestions on how to address this issue.
Sincerely,
Nils
Dear Juan,
It works! Thank you very much for your help. I had no idea setting the signature of the product metric was enough. The more I learn, the more I'm impressed with xAct.
I have one last question. Suppose I end up with expressions of the form
(expr on M4) ^ omega + (expr' on M4) ^ omega ^ omega + ...
How can I extract or collect the coefficients that live purely on M4?
Using IndexCoefficient[expr, omega[]] does not seem to work in this case.
Thanks again for your help, and I wish you an excellent weekend.
Best regards,
Nils
Dear Juan,
Thank you again for your help.
I have one last question. By trial and error, I noticed that applying UxSort@xSort to an expression involving wedge products seems to reorder the factors so that forms on Manifold1 appear on the left and those on Manifold2 on the right.
Is there a way to sort systematically a given product (in this case the wedge product) under some given criteria with these functions?
I wish you a beautiful weekend.
Cheers,
Nils