natto computes the operators of Wen, 2026, but not always by the paper’s
formulas taken literally. This page collects the rewritings it uses instead. Each
leaves the computed quantity unchanged and only makes it cheaper. Equations of the
paper are written (W15) for Eq. 15 of Wen, 2026.
Notation¶
is the rank of the Cartesian tensor and the weight of an ICT. The reduction is built from the rank-lowering tensors (W2)–(W5) and the natural projector (W7), which give the mappings, their Gram matrix and their duals,
(W13), (W15) and (W16), where contracts every index. The composed operator contracts the ICT indices of a mapping and its dual.
The natural projector as a sum over matchings¶
Each term of (W7) is one perfect matching of the projector’s indices, and its coefficient depends only on the number of pairs within each index group:
with the product of the matching’s deltas and the number of matchings with that . The recursion is (W S27). The projector has terms, so a product of two projectors has term pairs, about 108 at . The rewritings below avoid forming such products.
One projector suffices¶
The projector is symmetric and idempotent, so one of the two projectors in an inner product of mappings can be left out:
The same holds for the composed operator, whose tensor indices stay free:
Both cost products instead of .
Mappings as vectors¶
Every mapping of a weight, whether a candidate, a dual or a symmetry-adapted mapping, is the projector applied to a rational combination of the same rank-lowering tensors , so it is stored as a coefficient vector . All inner products then come from one table, computed once per weight and rank:
where the rows of and are the coefficient vectors of two lists of mappings. The Gram matrix of any mappings, the adapted Gram matrix , and the orthonormal mappings (W21) are all matrix algebra on these vectors.
Permuted mappings¶
Permuting the tensor indices of a rank-lowering tensor gives another rank-lowering tensor, up to the sign of reordering its Levi-Civita symbol:
So a permuted mapping is another coefficient vector, and the mixing matrix of a symmetry generator (W30),
is read from the table (5) with no contraction.
Contracting products of deltas and Levi-Civita symbols¶
Every operator is a sum of products of Kronecker deltas and Levi-Civita symbols, so contracting operators reduces to contracting such products term by term, with no arrays. Following the repeated indices, a chain of deltas collapses to one delta, a closed chain is a factor of 3, and a Levi-Civita symbol with a repeated index vanishes:
Two Levi-Civita symbols joined by a repeated index are expanded into deltas by their determinant identity, and the chains are followed again:
Two symbols with no index in common are kept as they are, since expanding them would turn one product into six.
Full contraction is cycle counting¶
Every entry of the table is a full contraction, a number rather than an operator. A product of deltas in which every index occurs twice is a union of cycles, each a factor of 3, and with one Levi-Civita symbol on each side the paths between the two symbols give the sign:
where is the bijection the delta paths make between the slots of the two symbols, and the product is zero if a path joins two slots of the same symbol. The table is filled by counting cycles, without forming any terms.
Selecting independent mappings¶
The number of independent mappings of weight in a rank- tensor, Table II of Wen, 2026, follows from :
The candidates are scanned in order, and the scan stops once are kept. A candidate with Gram entries against the kept mappings and with itself is kept exactly when
with extended by the bordered inverse as candidates are kept. The decision is exact, where the paper’s Algorithm 1 decides by a pivoted QR against a tolerance.
- Wen, M. (2026). Reusable Operators for Irreducible Cartesian Tensor Decomposition and Coupling. arXiv Preprint arXiv:2609.05971. 10.48550/arXiv.2609.05971