Weighted pair-node layouts and effective-cut bounds on cubic multigraphs #
Extends CslibFrontier.Computability.Circuit.Frontier.Layouts.Matching to fractional (1, 1)
straddle weights λ ∈ [0, 1] on a clean sub-matching M_clean ⊆ M of a loopless cubic multigraph:
- Lifting
SimpleGraph.exists_isMatching_mul_eight_geto loopless edge-simple cubic multigraphs (Multigraph.exists_isMatching_seven_eighths). - An exact natural-number prefix slack bound (
ncard_edgeCut_add_inactive_le_matchingCost) showing that every clean(1, 1)pair whose high-score outer edges do not both stay on the prefix cut already saves at least1cut edge belowmatchingCost. - Grouping equal-key clean pairs into
PairNodes and sorting bypairNodeKey, bounding the(1 - λ)-discounted effective cut at every prefix across a score grid (exists_u2_pairNode_layout), packaged atλ = log₂ 3 - 1asU2CubicPairBound.
The fractional prefix-slack reduction (ncard_edgeCut_add_inactive_le_matchingCost) and
equal-key PairNode layout (exists_u2_pairNode_layout) are original to this library.
Main definitions #
Cslib.Circuits.Frontier.Multigraph.outerLow,Cslib.Circuits.Frontier.Multigraph.outerHigh: ordered outer incident edges at a cubic endpoint.Cslib.Circuits.Frontier.Multigraph.activeCleanPairs: clean matched pairs in a prefixPwhose two high-score outer edges both crossG.edgeCut P.Cslib.Circuits.Frontier.Multigraph.weightedMatchingCost: threshold cost assigning weightλtoPairStraddlesBothonM_cleanand1onM \ M_clean.Cslib.Circuits.Frontier.Multigraph.PairNode,Cslib.Circuits.Frontier.Multigraph.pairNodeVerts: equal-key pair/singleton quotient nodes and their expanded vertex sets.Cslib.Circuits.Frontier.U2CubicPairBound: cubic pair-node effective-cut layout hypothesis at1 - λ = 2 - log₂ 3.
Main results #
Cslib.Circuits.Frontier.Multigraph.ncard_matchedVertices_eq_two_mul,Cslib.Circuits.Frontier.Multigraph.exists_isMatching_seven_eighths:7/8vertex-coverage and7/16edge-count matching bounds on loopless edge-simple cubic multigraphs.Cslib.Circuits.Frontier.Multigraph.ncard_edgeCut_add_inactive_le_matchingCost,Cslib.Circuits.Frontier.Multigraph.ncard_edgeCut_sub_active_le_weightedMatchingCost: natural-number prefix slack and real effective-cut bounds.Cslib.Circuits.Frontier.Multigraph.exists_u2_pairNode_layout: grid reduction forPairNodethreshold layouts.
A matching M in a loopless multigraph covers 2 * M.ncard vertices.
The 7 / 8 matching bound for simple cubic multigraphs. Every finite loopless multigraph
without parallel edges in which every vertex has degree three has a matching M covering at least
7 / 8 of the vertices (7 * Nat.card V ≤ 8 * (G.matchedVertices M).ncard, equivalently
7 * Nat.card V ≤ 16 * M.ncard).
Weighted matching cost and prefix slack on (1, 1) matched pairs #
Lower-scoring outer edge at v excluding e (falling back to e outside degree 3).
Higher-scoring outer edge at v excluding e (falling back to e outside degree 3).
Clean matched edges e ∈ M_clean whose endpoints share their matchingKey, both lie in P,
and whose two high-score outer edges both cross G.edgeCut P.
Weighted matching cost at threshold t: unpaired straddling vertices pay 1, matched edges
satisfying PairStraddlesAny pay 1, dirty matched edges (M \ M_clean) satisfying
PairStraddlesBoth pay 1, and clean matched edges (M_clean) satisfying PairStraddlesBoth pay
lam.
The two non-e incident edges at a degree-3 vertex v are {outerLow, outerHigh} in
nondecreasing score order.
High-score outer edge pairs {b_e, d_e} of activeCleanPairs have 2 distinct edges each.
High-score outer edge pairs {b_e, d_e} of activeCleanPairs are pairwise disjoint across
distinct active pairs.
Exact natural-number prefix slack. For P₀ = {v | matchingKey v < t} ⊆ P, every clean
(1, 1) pair e ∈ M_clean whose two high-score outer edges do not both lie in G.edgeCut P
contributes at least 1 unit of slack below G.matchingCost M score t + 3 * (P \ P₀).ncard.
Effective real cut bound. For 0 ≤ lam ≤ 1 and P₀ = {v | matchingKey v < t} ⊆ P,
|edgeCut P| - (1 - lam) |activeCleanPairs P| ≤ weightedMatchingCost + 3 |P \ P₀|.
Clean matched edges whose endpoints share the same matchingKey.
Super-nodes contracting each equal-key clean matched edge into one node while keeping all remaining vertices individual.
Key assigned to each PairNode: matchingKey on individual vertices and the shared endpoint
matchingKey on equal-key clean pairs.
Grid bound on PairNode prefixes. Sorting PairNode G M M_clean score by pairNodeKey
yields a layout σ whose every expanded prefix P = pairNodeVerts (σ.initial s) satisfies
|edgeCut P| - (1 - lam) |activeCleanPairs P| ≤ B over any grid a, a + δ, ..., a + K δ.
U₂ cubic pair-node layout hypothesis with unmatched per-vertex cost p and per-matched
clean-pair cost B_pair at weight λ = log₂ 3 - 1 (1 - λ = 2 - log₂ 3).