ComparatorChallenges/SwitchChain.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.
Project sources: Pinned openai/math documentation, Pinned formalization catalogue
31 declarations, 3 contain sorry, 0 declared as axioms
- def
OAI.Problem315.graphDegreeline 11Also declared: OAI/Probability/SwitchChain/Definitions.lean:11 (same declaration text).
- def
OAI.Problem315.Realizesline 15Also declared: OAI/Probability/SwitchChain/Definitions.lean:15 (same declaration text).
- abbrev
OAI.Problem315.GraphStateline 18Also declared: OAI/Probability/SwitchChain/Definitions.lean:18 (same declaration text).
- def
OAI.Problem315.Graphicalline 21Also declared: OAI/Probability/SwitchChain/Definitions.lean:21 (same declaration text).
- abbrev
OAI.Problem315.FourSetline 24Also declared: OAI/Probability/SwitchChain/Definitions.lean:24 (same declaration text).
- def
OAI.Problem315.IsPerfectMatchingOnline 26Also declared: OAI/Probability/SwitchChain/Definitions.lean:26 (same declaration text).
- abbrev
OAI.Problem315.PerfectMatchingline 31Also declared: OAI/Probability/SwitchChain/Definitions.lean:31 (same declaration text).
- abbrev
OAI.Problem315.SwitchProposalline 34Also declared: OAI/Probability/SwitchChain/Definitions.lean:34 (same declaration text).
- def
OAI.Problem315.removedMatchingline 38Also declared: OAI/Probability/SwitchChain/Definitions.lean:38 (same declaration text).
- def
OAI.Problem315.addedMatchingline 41Also declared: OAI/Probability/SwitchChain/Definitions.lean:41 (same declaration text).
- def
OAI.Problem315.validSwitchline 44Also declared: OAI/Probability/SwitchChain/Definitions.lean:44 (same declaration text).
- def
OAI.Problem315.replaceEdgesline 49Also declared: OAI/Probability/SwitchChain/Definitions.lean:49 (same declaration text).
- def
OAI.Problem315.proposalResultline 67Also declared: OAI/Probability/SwitchChain/Definitions.lean:67 (same declaration text).
- def
OAI.Problem315.allGraphStatesline 75Also declared: OAI/Probability/SwitchChain/Definitions.lean:75 (same declaration text).
- def
OAI.Problem315.allProposalsline 80Also declared: OAI/Probability/SwitchChain/Definitions.lean:80 (same declaration text).
- def
OAI.Problem315.stateCountline 84Also declared: OAI/Probability/SwitchChain/Definitions.lean:84 (same declaration text).
- def
OAI.Problem315.switchKernelline 87Also declared: OAI/Probability/SwitchChain/Definitions.lean:87 (same declaration text).
- def
OAI.Problem315.kernelPowline 96Also declared: OAI/Probability/SwitchChain/Definitions.lean:96 (same declaration text).
- def
OAI.Problem315.uniformAverageline 108Also declared: OAI/Probability/SwitchChain/Definitions.lean:108 (same declaration text).
- def
OAI.Problem315.uniformInnerline 113Also declared: OAI/Probability/SwitchChain/Definitions.lean:113 (same declaration text).
- def
OAI.Problem315.uniformVarianceline 117Also declared: OAI/Probability/SwitchChain/Definitions.lean:117 (same declaration text).
- def
OAI.Problem315.markovApplyline 122Also declared: OAI/Probability/SwitchChain/Definitions.lean:122 (same declaration text).
- def
OAI.Problem315.dirichletEnergyline 127Also declared: OAI/Probability/SwitchChain/Definitions.lean:127 (same declaration text).
- def
OAI.Problem315.hasSpectralGapAtLeastline 131Also declared: OAI/Probability/SwitchChain/Definitions.lean:131 (same declaration text).
- def
OAI.Problem315.tvDistanceFromline 135Also declared: OAI/Probability/SwitchChain/Definitions.lean:135 (same declaration text).
- def
OAI.Problem315.MixedAtline 142Also declared: OAI/Probability/SwitchChain/Definitions.lean:142 (same declaration text).
- def
OAI.Problem315.mixingTimeline 145Also declared: OAI/Probability/SwitchChain/Definitions.lean:145 (same declaration text).
- def
OAI.Problem315.SwitchStepline 150Also declared: OAI/Probability/SwitchChain/Definitions.lean:150 (same declaration text).
- theorem
OAI.Problem315.switch_chain_mainChallenge statement: Rapid mixing of graph switches for every degree sequence sorry line 155L4DEL explanation
The Kannan–Tetali–Vempala conjecture asks for polynomial mixing of the switch chain for every graphical degree sequence. The formalization proves the simple undirected case: for $n\ge4$, the lazy chain that proposes switches on four vertices has total-variation mixing time at distance $1/4$ at most $2n^8$. It also proves switch connectivity, the stated exponential total-variation bound, and a spectral gap of at least $1/(24n^2\binom n4)$ when more than one graph realizes the degree sequence. The paper's exactly uniform sampling algorithm is outside these selected chain estimates.
- This is an exact comparator target linked by the pinned repository's formalization note for this result.
- The repository's comparator configuration selects OAI.Probability.SwitchChain.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Probability/SwitchChain/Main.lean:18 (same statement text; different proof or body). Qualify references as OAI.Problem315.switch_chain_main@path.
theorem switch_chain_main : ∀ (n : Nat) (d : Fin n → Nat), 4 ≤ n → (∀ v, d v ≤ n - 1) → Graphical n d → ((∃ h : (∃ t : Nat, MixedAt n d t), mixingTime n d h ≤ 2 * n ^ 8) ∧ (stateCount n d = 1 → (MixedAt n d 0 ∧ ∀ h : (∃ t : Nat, MixedAt n d t), mixingTime n d h = 0)) ∧ (1 < stateCount n d → hasSpectralGapAtLeast n d ((1 : ℝ) / (24 * (n : ℝ) ^ 2 * (Nat.choose n 4 : ℝ))))) := by …Mentions: OAI.Problem315.Graphical, OAI.Problem315.MixedAt, OAI.Problem315.mixingTime, OAI.Problem315.stateCount, OAI.Problem315.hasSpectralGapAtLeast
- theorem
OAI.Problem315.switch_chain_tv_boundChallenge statement: Rapid mixing of graph switches for every degree sequence sorry line 159L4DEL explanation
The Kannan–Tetali–Vempala conjecture asks for polynomial mixing of the switch chain for every graphical degree sequence. The formalization proves the simple undirected case: for $n\ge4$, the lazy chain that proposes switches on four vertices has total-variation mixing time at distance $1/4$ at most $2n^8$. It also proves switch connectivity, the stated exponential total-variation bound, and a spectral gap of at least $1/(24n^2\binom n4)$ when more than one graph realizes the degree sequence. The paper's exactly uniform sampling algorithm is outside these selected chain estimates.
- This is an exact comparator target linked by the pinned repository's formalization note for this result.
- The repository's comparator configuration selects OAI.Probability.SwitchChain.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Probability/SwitchChain/Main.lean:30 (same statement text; different proof or body). Qualify references as OAI.Problem315.switch_chain_tv_bound@path.
theorem switch_chain_tv_bound : ∀ (n : Nat) (d : Fin n → Nat), 4 ≤ n → (∀ v, d v ≤ n - 1) → Graphical n d → 1 < stateCount n d → ∀ (t : Nat) (G : GraphState n d), tvDistanceFrom n d t G ≤ Real.sqrt (stateCount n d : ℝ) / 2 * Real.exp (- (t : ℝ) / (24 * (n : ℝ) ^ 2 * (Nat.choose n 4 : ℝ))) := by …Mentions: OAI.Problem315.Graphical, OAI.Problem315.stateCount, OAI.Problem315.GraphState, OAI.Problem315.tvDistanceFrom
- theorem
OAI.Problem315.switch_connectivityChallenge statement: Rapid mixing of graph switches for every degree sequence sorry line 163L4DEL explanation
The Kannan–Tetali–Vempala conjecture asks for polynomial mixing of the switch chain for every graphical degree sequence. The formalization proves the simple undirected case: for $n\ge4$, the lazy chain that proposes switches on four vertices has total-variation mixing time at distance $1/4$ at most $2n^8$. It also proves switch connectivity, the stated exponential total-variation bound, and a spectral gap of at least $1/(24n^2\binom n4)$ when more than one graph realizes the degree sequence. The paper's exactly uniform sampling algorithm is outside these selected chain estimates.
- This is an exact comparator target linked by the pinned repository's formalization note for this result.
- The repository's comparator configuration selects OAI.Probability.SwitchChain.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Probability/SwitchChain/Main.lean:36 (same statement text; different proof or body). Qualify references as OAI.Problem315.switch_connectivity@path.
theorem switch_connectivity : ∀ (n : Nat) (d : Fin n → Nat), 4 ≤ n → (∀ v, d v ≤ n - 1) → Graphical n d → ∀ G H : GraphState n d, Relation.ReflTransGen (SwitchStep n d) G H := by …Mentions: OAI.Problem315.Graphical, OAI.Problem315.GraphState, OAI.Problem315.SwitchStep