LeanPool.AsymptoticTrianglePacking.Internal — round-dependent iteration of nibble rounds #
Standalone, Mathlib-only. LeanPool.AsymptoticTrianglePacking.Internal.Iteration iterates ONE fixed
retention strategy R. The
obstruction LeanPool.AsymptoticTrianglePacking.Internal.total_gain_le shows that a fixed strategy
— in particular a fixed retention
probability p — can never cover more than a (1-μ)d/(rΔ) ≤ 1/r fraction of the vertex set, no
matter how many rounds are run: with p fixed, the residual degree decays like (1-rΔp)^k and so
does the per-round covering fraction, whose total is a convergent geometric series.
The nibble therefore has to re-tune its retention probability from round to round
(p_k ≈ x / (r·d_k), tracking the shrinking residual degree d_k). This file provides the
corresponding deterministic scaffolding: iteration along a sequence R : ℕ → strategy of
retention strategies. Its round-to-round invariants are the common core specialized by
LeanPool.AsymptoticTrianglePacking.Internal.Iteration and
LeanPool.AsymptoticTrianglePacking.Internal.Assemble.
nibbleIterSeq,nibbleResidualSeq,nibbleMatchingSeq— the sequence-indexed iteration.nibbleResidualSeq_subset,nibbleResidualSeq_uniform— residual invariants.nibbleResidualSeq_disjoint_support,nibbleMatchingSeq_isMatching— the assembly invariants. The fixed-strategy iteration is recovered by specializing this sequence inLeanPool.AsymptoticTrianglePacking.Internal.Iteration.
Must be placeholder-free and axiom-clean [propext, Classical.choice, Quot.sound].
Run k nibble rounds from H, using the strategy R i in round i; returns
(accumulated matching, current residual).
Equations
Instances For
The residual hypergraph after k rounds of a strategy sequence.
Equations
- Hypergraph.nibbleResidualSeq R H k = (Hypergraph.nibbleIterSeq R H k).2
Instances For
The matching accumulated over k rounds of a strategy sequence.
Equations
- Hypergraph.nibbleMatchingSeq R H k = (Hypergraph.nibbleIterSeq R H k).1
Instances For
The residual after k rounds is a sub-hypergraph of H.
Cross-round invariant: every edge of the residual after k rounds avoids everything covered so
far.
The accumulated matching is a matching of H.
New vertices covered in round k add exactly to the accumulated covered count.