ComparatorChallenges/SecondKahnKalai.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
13 declarations, 1 contain sorry, 0 declared as axioms
- def
OAI.LeanBlast.SecondKahnKalai.bernoulliWeightline 15Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:15 (same declaration text).
- def
OAI.LeanBlast.SecondKahnKalai.bernoulliExpectationline 19Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:19 (same declaration text).
- def
OAI.LeanBlast.SecondKahnKalai.bernoulliProbabilityline 23Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:23 (same declaration text).
- abbrev
OAI.LeanBlast.SecondKahnKalai.EdgeThe unordered non-loop edges of the complete graph onnvertices line 29Source documentation
The unordered non-loop edges of the complete graph on
nvertices.L4DEL explanation
The unordered non-loop edges of the complete graph on
nvertices.- 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} - def
OAI.LeanBlast.SecondKahnKalai.graphOfEdgesA set of edges, interpreted as an ordinary graph on allnvertices line 32Source documentation
A set of edges, interpreted as an ordinary graph on all
nvertices.L4DEL explanation
A set of edges, interpreted as an ordinary graph on all
nvertices.- 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
- def
OAI.LeanBlast.SecondKahnKalai.edgeCountThe number of unordered edges, each counted once line 36Source documentation
The number of unordered edges, each counted once.
L4DEL explanation
The number of unordered edges, each counted once.
- 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 - def
OAI.LeanBlast.SecondKahnKalai.expectedCopiesExpected number of actual unlabelled non-induced copies inG(n,p)line 39Source 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).- 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) : ℝ := … - def
OAI.LeanBlast.SecondKahnKalai.containmentProbabilityProbability thatG(n,p)contains at least one non-induced copy line 44Source 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.- 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) : ℝ := … - def
OAI.LeanBlast.SecondKahnKalai.criticalThresholdline 49Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:49 (same declaration text).
- def
OAI.LeanBlast.SecondKahnKalai.expectationThresholdline 52Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:52 (same declaration text).
- def
OAI.LeanBlast.SecondKahnKalai.logTwoline 56Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:56 (same declaration text).
- def
OAI.LeanBlast.SecondKahnKalai.SecondKahnKalaiBoundsline 58Also declared: OAI/Combinatorics/GraphThreshold/Model.lean:58 (same declaration text).
- theorem
OAI.LeanBlast.SecondKahnKalai.secondKahnKalaiBoundsChallenge statement: The second Kahn–Kalai conjecture with an edge-count bound sorry line 65L4DEL 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.
- This is an exact comparator target linked by the pinned repository's formalization note for this result.
- 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