The NBC cancellation is first proved at the level of a finite matroid. The graphic specialization only needs the standard cycle-matroid interface: spanning edge sets are the connected subgraphs and circuits are graph cycles. Keeping this layer independent makes the cancellation proof auditable and avoids hiding it behind a library theorem.
The ground set of a matroid on a finite ambient type, as a finite set.
Equations
- HsVirial.matroidGround M = {e : α | e ∈ M.E}
Instances For
An element completing a circuit whose other elements lie in the specified set.
Equations
Instances For
The possible circuit-completing elements used by the cancellation involution.
Equations
Instances For
The set has at least one broken-circuit witness.
Equations
- HsVirial.IsNBCBad M A = (HsVirial.nbcCandidates M A).Nonempty
Instances For
The least circuit-completing element, chosen to define the cancellation pairing.
Equations
- HsVirial.leastNBCandidate M A h = (HsVirial.nbcCandidates M A).min' h
Instances For
Remove an element if present and insert it otherwise.
Instances For
The alternating sign determined by a natural-number cardinality.
Equations
Instances For
Enumerate the spanning subsets of the matroid ground set.
Equations
- HsVirial.spanningSubsets M = {A ∈ (HsVirial.matroidGround M).powerset | M.Spanning ↑A}
Instances For
Enumerate spanning subsets with a broken-circuit witness.
Equations
Instances For
Enumerate the bases of the matroid.
Equations
- HsVirial.baseSubsets M = {A ∈ (HsVirial.matroidGround M).powerset | M.IsBase ↑A}
Instances For
Enumerate spanning sets with no broken circuit, which are the surviving bases.
Equations
- HsVirial.nbcBaseSubsets M = {A ∈ HsVirial.spanningSubsets M | ¬HsVirial.IsNBCBad M A}
Instances For
The sum of cardinality-parity signs over all spanning subsets.
Equations
Instances For
The sum of cardinality-parity signs over the surviving no-broken-circuit sets.