Skip to main content

Crate feynkit_graph

Crate feynkit_graph 

Source
Expand description

Lightweight, application-independent Feynman diagrams.

This crate owns the structural and symbolic diagram layer, including the physical cut partitions selected during canonical cross-section generation. Runtime cut evaluators, subtraction data, parametrizations, and caches belong to applications consuming these diagrams.

Modules§

expressions
Symbolic graph traversal shared with runtime graph consumers.
routing
Momentum routing shared by standalone diagrams and GammaLoop runtime graphs.
symbols
Canonical graph symbols shared with GammaLoop.
thresholds
Initial-state attachment trees used to normalize physical threshold sides.

Structs§

CanonicalDiagramKey
Deterministic colored-topology key for diagram grouping and parity checks.
DiagramCut
A physical cross-section cut selected by canonical FeynKit generation.
DiagramCutSide
One amplitude side retained for a physical cross-section cut.
DiagramEdge
Structural and symbolic information associated with an edge.
DiagramHalfEdge
A stable half-edge reference used by canonical cut metadata.
DiagramId
Stable content-derived identifier for a finalized diagram topology.
DiagramSourceMap
Exact source ownership recorded by diagram finalization. Sewing maps two source legs to one final edge; removed generation vertices have no image.
DiagramSpectatorCut
A cut that selected a sewn cross-section diagram for a spectator range.
DiagramThresholdCandidate
One topology-only threshold candidate retained during cross-section finalization.
DiagramVertex
Structural and symbolic information associated with a vertex.
EdgeEndpoints
Source and target in the canonical orientation of an edge.
EdgeId
Stable edge identifier in a FeynmanDiagram.
ExternalLeg
Metadata carried by an external edge, including sewn initial-state connections.
FeynmanDiagram
Model-aware Feynman-diagram IR backed by Linnet’s half-edge graph.
FeynmanDiagramBuilder
Incremental owner for enforcing diagram-construction invariants.
ForwardGraph
An unsewn forward graph with its incoming and outgoing leg vertices.
ForwardPartition
A partition of an unsewn forward graph whose sides consist of whole vertex crowns, with every leg on the side of its attachment.
IntegralFamily
An ordered propagator family in ordinary Spenso scalar-product notation.
IntegralMapping
A verified, measure-preserving loop-momentum map into another family.
LoopMomentumBasis
A spanning-forest-induced loop momentum basis.
MomentumSignature
Coefficients of one momentum in loop and external momentum bases.
NumeratorInterface
Optional source-artifact ports that cannot be recovered from the expression, notably a computed zero’s rank. Entries retain logical axis order; compact representations denote distinct unresolved ports.
PropagatorMapping
A source-to-target propagator embedding without a momentum substitution.
QuadraticMomentum
Exact decomposition of an inverse denominator into scale * momentum² + remainder.
VertexId
Stable vertex identifier in a FeynmanDiagram.
VertexSlot
Stable interaction-leg position of one edge endpoint.

Enums§

CanonicalCutSide
Side label used by the auxiliary cut-incidence graph in a canonical key.
CanonicalDiagramEdge
Canonically labeled edge retained by CanonicalDiagramKey.
CanonicalDiagramVertex
Vertex color retained by CanonicalDiagramKey.
DiagramEndpoint
One stable half-edge endpoint in a finalized diagram.
DiagramError
Errors produced while constructing or transforming diagrams. See NumeratorInterface for fallible source admission and a complete round trip.
ExternalState
Whether an external momentum carrier belongs to the initial or final state.
ForwardGraphError
Why leg vertices do not describe an unsewn forward graph.
IntegralFamilyError
LegSeededCut
One cut found with only the leg vertices fixed.

Traits§

DOD
Momentum power counting shared by FeynKit diagrams and GammaLoop UV analysis.

Functions§

momentum_symbol