feynkit_tensor/lib.rs
1//! Symmetry-aware covariant tensor reduction for loop integrals.
2//!
3//! A configured external basis separates longitudinal loop components from
4//! their orthogonal complement. Symbolica inverts the external Gram matrix;
5//! the same vacuum projector then reduces the transverse tensors in `D-n`
6//! dimensions. Scalar products remain explicit for later integral reduction.
7//!
8//! The universal coefficient engine uses orthogonal Weingarten functions.
9//! Their value depends only on the coset type of two metric pairings, so a
10//! rank-20 table requires 42 classes rather than a `19!!`-by-`19!!` Gram
11//! matrix. Fully contracted reductions additionally project onto the repeated-
12//! vector orbit spaces on both sides and solve the smaller one. For example,
13//! rank-20 multiplicities `[2, 18]` on each side require a 2-by-2 exact solve.
14
15#![forbid(unsafe_code)]
16
17mod orbit_projector;
18mod reduction;
19mod weingarten;
20
21pub use reduction::{
22 ContractionOrbit, FeynmanDiagramTensorExt, TensorReducer, TensorReduction,
23 TensorReductionError, TensorReductionTerm,
24};
25pub use weingarten::{CosetType, OrthogonalWeingarten, WeingartenError};