ComparatorChallenges/MatchingEntropy.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
14 declarations, 1 contain sorry, 0 declared as axioms
- def
OAI.MatchingEntropy.probabilitySimplexNonnegative real weights with total mass one line 12Source documentation
Nonnegative real weights with total mass one.
L4DEL explanation
Nonnegative real weights with total mass one.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/PerfectMatching/Simplex.lean:17 (same declaration text).
def probabilitySimplex (Index : Type*) [Fintype Index] : Set (Index → ℝ) := …
- structure
OAI.MatchingEntropy.LooplessGraphline 15Distinct definitions of this name: ComparatorChallenges/BinaryMatching.lean:9 (different declaration text), ComparatorChallenges/SingletonLoopMatching.lean:8 (different declaration text), OAI/Combinatorics/PerfectMatching/Model.lean:8 (different declaration text). Qualify references as OAI.MatchingEntropy.LooplessGraph@path.
- def
OAI.MatchingEntropy.LooplessGraph.Incidentline 24Distinct definitions of this name: ComparatorChallenges/BinaryMatching.lean:17 (same statement text; different proof or body), ComparatorChallenges/SingletonLoopMatching.lean:14 (same statement text; different proof or body), OAI/Combinatorics/PerfectMatching/Model.lean:14 (same statement text; different proof or body). Qualify references as OAI.MatchingEntropy.LooplessGraph.Incident@path.
- def
OAI.MatchingEntropy.LooplessGraph.IsPerfectMatchingline 27Distinct definitions of this name: ComparatorChallenges/BinaryMatching.lean:19 (same statement text; different proof or body), OAI/Combinatorics/PerfectMatching/Model.lean:16 (same statement text; different proof or body). Qualify references as OAI.MatchingEntropy.LooplessGraph.IsPerfectMatching@path.
- abbrev
OAI.MatchingEntropy.LooplessGraph.Matchingline 30Also declared: ComparatorChallenges/BinaryMatching.lean:21 (same declaration text), OAI/Combinatorics/PerfectMatching/Model.lean:18 (same declaration text).
- instance
OAI.MatchingEntropy.LooplessGraph.matchingFintypeline 32Distinct definitions of this name: ComparatorChallenges/BinaryMatching.lean:22 (different declaration text), OAI/Combinatorics/PerfectMatching/Model.lean:19 (different declaration text). Qualify references as OAI.MatchingEntropy.LooplessGraph.matchingFintype@path.
- def
OAI.MatchingEntropy.LooplessGraph.indicatorline 35Also declared: OAI/Combinatorics/PerfectMatching/Basic.lean:26 (same declaration text).
- def
OAI.MatchingEntropy.LooplessGraph.polytopeline 38Also declared: OAI/Combinatorics/PerfectMatching/Basic.lean:29 (same declaration text).
- def
OAI.MatchingEntropy.LooplessGraph.meanline 41Also declared: OAI/Combinatorics/PerfectMatching/Basic.lean:32 (same declaration text).
- def
OAI.MatchingEntropy.LooplessGraph.feasibleLawsline 44Distinct definitions of this name: OAI/Combinatorics/PerfectMatching/Basic.lean:35 (same statement text; different proof or body). Qualify references as OAI.MatchingEntropy.LooplessGraph.feasibleLaws@path.
- def
OAI.MatchingEntropy.entropyline 49Also declared: OAI/Combinatorics/PerfectMatching/Entropy.lean:18 (same declaration text).
- def
OAI.MatchingEntropy.marginalEntropyline 52Also declared: OAI/Combinatorics/PerfectMatching/Entropy.lean:21 (same declaration text).
- def
OAI.MatchingEntropy.maxMatchingEntropyline 54Also declared: OAI/Combinatorics/PerfectMatching/Entropy.lean:23 (same declaration text).
- theorem
OAI.MatchingEntropy.entropy_mainChallenge statement: Perfect-matching entropy bound sorry line 58Source documentation
Main entropy comparison, for every marginal in the actual matching polytope.
L4DEL explanation
Main entropy comparison, for every marginal in the actual matching polytope.
- This explanation is a condensed rendering of this declaration's own doc comment at the pinned source commit.
- The linked formalization note covers 6 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.PerfectMatching.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/PerfectMatching/Main.lean:85 (same statement text; different proof or body). Qualify references as OAI.MatchingEntropy.entropy_main@path.
theorem entropy_main (G : LooplessGraph V E) (m : ℕ) (hm : 0 < m) (hV : Fintype.card V = 2 * m) (hPM : Nonempty G.Matching) (y : E → ℝ) (hy : y ∈ G.polytope) : marginalEntropy y - maxMatchingEntropy G y ≤ 8 * (m : ℝ) * (1 - Real.exp (-marginalEntropy y / (m : ℝ))) := by …Mentions: OAI.MatchingEntropy.marginalEntropy, OAI.MatchingEntropy.maxMatchingEntropy