ComparatorChallenges/SecondKahnKalai.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

13 declarations, 1 contain sorry, 0 declared as axioms

  1. def OAI.LeanBlast.SecondKahnKalai.bernoulliWeight line 15

    Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:15 (same declaration text).

  2. def OAI.LeanBlast.SecondKahnKalai.bernoulliExpectation line 19

    Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:19 (same declaration text).

  3. def OAI.LeanBlast.SecondKahnKalai.bernoulliProbability line 23

    Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:23 (same declaration text).

  4. abbrev OAI.LeanBlast.SecondKahnKalai.Edge The unordered non-loop edges of the complete graph on n vertices line 29

    Source documentation

    The unordered non-loop edges of the complete graph on n vertices.

    L4DEL explanation

    The unordered non-loop edges of the complete graph on n vertices.

    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/GraphThreshold/Model.lean:29 (same declaration text).

    abbrev Edge (n : ℕ) := {e : Sym2 (Fin n) // ¬e.IsDiag}
  5. def OAI.LeanBlast.SecondKahnKalai.graphOfEdges A set of edges, interpreted as an ordinary graph on all n vertices line 32

    Source documentation

    A set of edges, interpreted as an ordinary graph on all n vertices.

    L4DEL explanation

    A set of edges, interpreted as an ordinary graph on all n vertices.

    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/GraphThreshold/Model.lean:32 (same declaration text).

    def graphOfEdges {n : ℕ} (W : Finset (Edge n)) : SimpleGraph (Fin n) :=
    …

    Mentions: OAI.LeanBlast.SecondKahnKalai.Edge

  6. def OAI.LeanBlast.SecondKahnKalai.edgeCount The number of unordered edges, each counted once line 36

    Source documentation

    The number of unordered edges, each counted once.

    L4DEL explanation

    The number of unordered edges, each counted once.

    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/GraphThreshold/Model.lean:36 (same declaration text).

    def edgeCount {V : Type u} (H : SimpleGraph V) : ℕ := Nat.card H.edgeSet
  7. def OAI.LeanBlast.SecondKahnKalai.expectedCopies Expected number of actual unlabelled non-induced copies in G(n,p) line 39

    Source documentation

    Expected number of actual unlabelled non-induced copies in G(n,p).

    L4DEL explanation

    Expected number of actual unlabelled non-induced copies in G(n,p).

    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/GraphThreshold/Model.lean:39 (same declaration text).

    def expectedCopies {V : Type u} (n : ℕ) (p : ℝ) (H : SimpleGraph V) : ℝ :=
    …
  8. def OAI.LeanBlast.SecondKahnKalai.containmentProbability Probability that G(n,p) contains at least one non-induced copy line 44

    Source documentation

    Probability that G(n,p) contains at least one non-induced copy.

    L4DEL explanation

    Probability that G(n,p) contains at least one non-induced copy.

    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/GraphThreshold/Model.lean:44 (same declaration text).

    def containmentProbability {V : Type u} (n : ℕ) (p : ℝ)
        (H : SimpleGraph V) : ℝ :=
    …
  9. def OAI.LeanBlast.SecondKahnKalai.criticalThreshold line 49

    Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:49 (same declaration text).

  10. def OAI.LeanBlast.SecondKahnKalai.expectationThreshold line 52

    Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:52 (same declaration text).

  11. def OAI.LeanBlast.SecondKahnKalai.logTwo line 56

    Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:56 (same declaration text).

  12. def OAI.LeanBlast.SecondKahnKalai.SecondKahnKalaiBounds line 58

    Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:58 (same declaration text).

  13. theorem OAI.LeanBlast.SecondKahnKalai.secondKahnKalaiBounds Challenge statement: The second Kahn–Kalai conjecture with an edge-count bound sorry line 65

    L4DEL explanation

    The second Kahn–Kalai conjecture compares the threshold for a random graph to contain a fixed graph with its expectation threshold. The formalized result proves the comparison up to a universal factor times $1+\log_2|E(H)|$, and hence up to a universal factor times $\log_2 n$, for every graph $H$ with at least one edge and at most $n$ vertices, $n\ge2$. The bounds use the actual containment and expectation thresholds.

    1. This is an exact comparator target linked by the pinned repository's formalization note for this result.
    2. The repository's comparator configuration selects OAI.Combinatorics.GraphThreshold.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/Combinatorics/GraphThreshold/Main.lean:25 (same statement text; different proof or body). Qualify references as OAI.LeanBlast.SecondKahnKalai.secondKahnKalaiBounds@path.

    theorem secondKahnKalaiBounds (n : ℕ) (V : Type u) [Fintype V]
        (H : SimpleGraph V) (hn : 2 ≤ n) (hcard : Fintype.card V ≤ n)
        (hedge : 1 ≤ edgeCount H) : SecondKahnKalaiBounds n H := by
    …

    Mentions: OAI.LeanBlast.SecondKahnKalai.edgeCount, OAI.LeanBlast.SecondKahnKalai.SecondKahnKalaiBounds