DefManifold[M4, 4, {a, b, c, d, f, p, q, r, m, l, h, j, n, t, s}]
DefMetric[{1, 3, 0}, g[-a, -b], CD]
DefSpinStructure[g, Spin, {A, B, C, D, F, H, L, P, Q}, ε, σ, CDe, SpinorPrefix -> SP]
DefTensor[y[-A], M4, Dagger -> Complex]
Now if I run
ToCanonical@(y[-A] y[A])
it returns zero as expected. Also if I run
ToCanonical@ContractMetric@VarD[y[C]][(y[-A] y[A])]
0 is returned. However, the following command
ToCanonical@ContractMetric@VarD[y[-C]][(y[-A] y[A])]
2*y[C]
--
You received this message because you are subscribed to the Google Groups "xAct Tensor Computer Algebra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xact+uns...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
...
(* Same tensor. Place indices in proper delta positions. QUESTION: could this be problematic for spinors? *)
varddelta[ind1_?UpIndexQ, ind2_?DownIndexQ] := delta[ind2, ind1];
varddelta[ind1_, ind2_] := delta[ind1, ind2];
...
To unsubscribe from this group and stop receiving emails from it, send an email to xact+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "xAct Tensor Computer Algebra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xact+unsubscribe@googlegroups.com.