ComparatorChallenges/MatchingEntropy.lean

GitHub source file

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

  1. def OAI.MatchingEntropy.probabilitySimplex Nonnegative real weights with total mass one line 12

    Source documentation

    Nonnegative real weights with total mass one.

    L4DEL explanation

    Nonnegative real weights with total mass one.

    1. 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 → ℝ) :=
    …
  2. structure OAI.MatchingEntropy.LooplessGraph line 15

    Distinct 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.

  3. def OAI.MatchingEntropy.LooplessGraph.Incident line 24

    Distinct 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.

  4. def OAI.MatchingEntropy.LooplessGraph.IsPerfectMatching line 27

    Distinct 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.

  5. abbrev OAI.MatchingEntropy.LooplessGraph.Matching line 30

    Also declared: ComparatorChallenges/BinaryMatching.lean:21 (same declaration text), OAI/Combinatorics/PerfectMatching/Model.lean:18 (same declaration text).

  6. instance OAI.MatchingEntropy.LooplessGraph.matchingFintype line 32

    Distinct 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.

  7. def OAI.MatchingEntropy.LooplessGraph.indicator line 35

    Also declared: OAI/Combinatorics/PerfectMatching/Basic.lean:26 (same declaration text).

  8. def OAI.MatchingEntropy.LooplessGraph.polytope line 38

    Also declared: OAI/Combinatorics/PerfectMatching/Basic.lean:29 (same declaration text).

  9. def OAI.MatchingEntropy.LooplessGraph.mean line 41

    Also declared: OAI/Combinatorics/PerfectMatching/Basic.lean:32 (same declaration text).

  10. def OAI.MatchingEntropy.LooplessGraph.feasibleLaws line 44

    Distinct 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.

  11. def OAI.MatchingEntropy.entropy line 49

    Also declared: OAI/Combinatorics/PerfectMatching/Entropy.lean:18 (same declaration text).

  12. def OAI.MatchingEntropy.marginalEntropy line 52

    Also declared: OAI/Combinatorics/PerfectMatching/Entropy.lean:21 (same declaration text).

  13. def OAI.MatchingEntropy.maxMatchingEntropy line 54

    Also declared: OAI/Combinatorics/PerfectMatching/Entropy.lean:23 (same declaration text).

  14. theorem OAI.MatchingEntropy.entropy_main Challenge statement: Perfect-matching entropy bound sorry line 58

    Source 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.

    1. This explanation is a condensed rendering of this declaration's own doc comment at the pinned source commit.
    2. The linked formalization note covers 6 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    3. 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