ComparatorChallenges/BinaryEditLower.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
10 declarations, 1 contain sorry, 0 declared as axioms
- inductive
OAI.TreeEdit.EditStepA single unit-cost insertion, deletion, or substitution at any position line 10Source documentation
A single unit-cost insertion, deletion, or substitution at any position.
L4DEL explanation
A single unit-cost insertion, deletion, or substitution at any position.
- 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: ComparatorChallenges/TreeEdit.lean:10 (same declaration text), OAI/Combinatorics/TreeEdit/Model.lean:10 (same declaration text).
inductive EditStep {α : Type u} : List α → List α → Prop | insert (p q : List α) (a : α) : EditStep (p ++ q) (p ++ a :: q) | delete (p q : List α) (a : α) : EditStep (p ++ a :: q) (p ++ q) | substitute (p q : List α) (a b : α) : EditStep (p ++ a :: q) (p ++ b :: q) /-- An edit script with no restriction on intermediate word lengths. -/ - inductive
OAI.TreeEdit.EditScriptAn edit script with no restriction on intermediate word lengths line 16Source documentation
An edit script with no restriction on intermediate word lengths.
L4DEL explanation
An edit script with no restriction on intermediate word lengths.
- 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: ComparatorChallenges/TreeEdit.lean:16 (same declaration text), OAI/Combinatorics/TreeEdit/Model.lean:16 (same declaration text).
inductive EditScript {α : Type u} : List α → List α → ℕ → Prop | nil (x : List α) : EditScript x x 0 | cons {x y z : List α} {n : ℕ} : EditStep x y → EditScript y z n → EditScript x z (n + 1)Mentions: OAI.TreeEdit.EditStep
- def
OAI.TreeEdit.edline 21Also declared: ComparatorChallenges/TreeEdit.lean:22 (same declaration text), OAI/Combinatorics/TreeEdit/Model.lean:22 (same declaration text).
- abbrev
OAI.TreeEdit.RealL1line 24Also declared: ComparatorChallenges/TreeEdit.lean:26 (same declaration text), OAI/Combinatorics/TreeEdit/Model.lean:26 (same declaration text).
- abbrev
OAI.TreeEdit.Wordline 25Also declared: OAI/Combinatorics/TreeEdit/Model.lean:54 (same declaration text).
- def
OAI.TreeEdit.BinaryLower.distortionThe product of the two maximal pairwise distance ratios line 30Source documentation
The product of the two maximal pairwise distance ratios.
L4DEL explanation
The product of the two maximal pairwise distance ratios.
- 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)
Distinct definitions of this name: OAI/Combinatorics/BinaryEdit/Model.lean:19 (different declaration text). Qualify references as OAI.TreeEdit.BinaryLower.distortion@path.
noncomputable def distortion {X : Type u} (ρ : X → X → ℝ) (f : X → RealL1) : ℝ := …Mentions: OAI.TreeEdit.RealL1
- def
OAI.TreeEdit.BinaryLower.c1The infimum over every injective map into the full real sequence space ℓ₁ line 35Source documentation
The infimum over every injective map into the full real sequence space ℓ₁.
L4DEL explanation
The infimum over every injective map into the full real sequence space ℓ₁.
- 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)
Distinct definitions of this name: OAI/Combinatorics/BinaryEdit/Model.lean:25 (different declaration text). Qualify references as OAI.TreeEdit.BinaryLower.c1@path.
noncomputable def c1 (X : Type u) (ρ : X → X → ℝ) : ℝ := …
- def
OAI.TreeEdit.BinaryLower.binarySetDistortionline 38Distinct definitions of this name: OAI/Combinatorics/BinaryEdit/Model.lean:36 (different declaration text). Qualify references as OAI.TreeEdit.BinaryLower.binarySetDistortion@path.
- def
OAI.TreeEdit.BinaryLower.growthline 42Distinct definitions of this name: OAI/Combinatorics/BinaryEdit/Model.lean:47 (different declaration text). Qualify references as OAI.TreeEdit.BinaryLower.growth@path.
- theorem
OAI.TreeEdit.binary_lower_boundChallenge statement: Binary edit-distance distortion lower bound sorry line 51Source documentation
The binary lower-bound theorem of OpenAI's September 27, 2026 tree-constructions manuscript: finite equal-length witnesses for every sufficiently large length cap.
L4DEL explanation
The binary lower-bound theorem of OpenAI's September 27, 2026 tree-constructions manuscript: finite equal-length witnesses for every sufficiently large length cap.
- This explanation is a condensed rendering of this declaration's own doc comment at the pinned source commit.
- The linked formalization note covers 4 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.BinaryEdit.BinaryLowerBound as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/BinaryEdit/BinaryLowerBound.lean:12 (same statement text; different proof or body). Qualify references as OAI.TreeEdit.binary_lower_bound@path.
theorem binary_lower_bound : ∃ c : ℝ, 0 < c ∧ ∃ d₀ : ℕ, ∀ d : ℕ, d₀ ≤ d → ∃ n : ℕ, 1 ≤ n ∧ n ≤ d ∧ ∃ W : Finset (Word Bool n), 2 ≤ W.card ∧ growth c d ≤ binarySetDistortion W := by …Mentions: OAI.TreeEdit.Word