ToFieldComponents - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Physics : ToFieldComponents

Physics[ToFieldComponents] - rewrite functions of anticommutative variables in terms of functions of commutative variables

Physics[ToSuperfields] - rewrite expressions with field components in terms of the corresponding superfields

Calling Sequence

ToFieldComponents(expression, F, ...)





algebraic expression, or relation between them, or a set, list or rtable of them



optional, a set of functions restricting the action of ToFieldComponents; if not given, all functions in expression are considered

anticommutativeparameter = ...


optional, default to _lambda, the right-hand-side can be any anticommutative symbol

anticommutativefunction = ...


optional, default to _lambda, the right-hand-side can be any anticommutative symbol

query = ...


optional, to query about the expansions performed by ToFieldComponents during the current Maple session

reset = ...


optional, to reset the tracking of expansions performed

useonlycommutativefunctions = ...


optional, can be true (default) or false, to use or not anticommutative functions of commutative variables in the result returned



The ToFieldComponents command computes an exact expansion of expression, containing functions of anticommutative variables, by rewriting them in terms of functions of commutative variables. In some frameworks, functions of anticommutative variables are also called superfields, and the functions of commutative variables entering the output of ToFieldComponents are called the field components. Note: mathematical functions such as exp, sin are not expanded - for them you can use Gtaylor.


The ToSuperfields command reverses in a given expression the expansions performed by ToFieldComponents.


Each expansion performed with ToFieldComponents is a polynomial in the function's anticommutative variables, with arbitrary functions of commutative variables as coefficients. This polynomial has terms of degree 0 and 1 with respect to each of its anticommutative variables. In the simplest case, for instance, let Fx,θ be a commutative function F of x (commutative) and θ (anticommutative); the expansion returned by ToFieldComponents is according to



This expansion involves only functions of commutative variables _F1x and _Q1x, where the function _Q1 itself is anticommutative (not its argument x), and preserves the grassmannian parity of the expression: if the left-hand-side is (anti)commutative, so is the sum of terms on the right-hand-side.


Regarding the anticommutative functions (_Q1) of commutative variables (x), introduced by ToFieldComponents, you can optionally indicate the prefix to be used (instead of _Q) for the function's name by passing it on the right-hand-side of the optional argument anticommutativefunction = ....


To avoid introducing anticommutative functions of commutative variables in the returned result and perform the expansion using only commutative functions of commutative variables, pass the optional argument useonlycommutativefunctions; for the example presented above, for instance, the result would be according to



Note the introduction of anticommutative parameters prefixed by _λ, necessary to preserve the parity of the right-hand-side the same as that of the left-hand-side. You can optionally indicate the anticommutative parameter to be used as a prefix by passing it in the right-hand-side of the optional argument anticommutativeparameter = ....


To restrict the expansion of the functions found in expression to only a subset of them, pass this set as second argument to ToFieldComponents.


ToFieldComponents keeps track of the expansions performed so that ToSuperfields can revert them. To query about the expansions tracked pass the optional argument query. To reset the tracking of expansions (equivalent to forget the ones performed) use the optional argument reset.






Set first θ and Q as prefixes for variables of type/anticommutative (see Setup)


* Partial match of 'anticommutativepre' against keyword 'anticommutativeprefix'




A commutative function (its name F is of type commutative) of commutative x,y,z and anticommutative variables θ1,θ2,θ3




The expansion of (3) is a polynomial in θ1,θ2 and θ3 with terms of degree 0 and 1 with respect to each of θ1,θ2 and θ3. Recall that any product of these variables is also of degree 0 or 1 with respect to each of them, so the expansion contains all the monomials that can be constructed with products of θ1,θ2 and θ3




This expansion preserves the parity of (3)




The expansion of (3) using only commutative functions


* Partial match of 'useonly' against keyword 'useonlycommutativefunctions'



Compare the expansion (6) returned by ToFieldComponents with a multivariable taylor expansion of (3) (see Gtaylor)




The reverse transformation, expressing (6) in terms of superfields




See Also

anticommutative, Coefficients, commutative, GrassmannParity, Gtaylor, PerformOnAnticommutativeSystem, Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Setup, taylor