ComparatorChallenges/OneWayLiveness.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
23 declarations, 1 contain sorry, 0 declared as axioms
- structure
OAI.OneWayLiveness.BRelline 7Also declared: OAI/Combinatorics/Automata/Model.lean:7 (same declaration text).
- instance
OAI.OneWayLiveness.BRel.(instance at line 12)line 12 - instance
OAI.OneWayLiveness.BRel.(instance at line 13)line 13 - instance
OAI.OneWayLiveness.BRel.(instance at line 14)line 14 - def
OAI.OneWayLiveness.BRel.liveNonemptiness is the existence of a path through the word's ordered product line 24Source documentation
Nonemptiness is the existence of a path through the word's ordered product.
L4DEL explanation
Nonemptiness is the existence of a path through the word's ordered product.
- 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/Automata/Model.lean:28 (same declaration text).
def live (w : List (BRel H)) : Prop := ∃ x y, w.prod.holds x y …
Mentions: OAI.OneWayLiveness.BRel
- abbrev
OAI.OneWayLiveness.Alphabetline 27Also declared: OAI/Combinatorics/Automata/Model.lean:33 (same declaration text).
- def
OAI.OneWayLiveness.OWLline 28Also declared: OAI/Combinatorics/Automata/Model.lean:34 (same declaration text).
- inductive
OAI.OneWayLiveness.Symbolline 30Also declared: OAI/Combinatorics/Automata/Model.lean:36 (same declaration text).
- inductive
OAI.OneWayLiveness.Moveline 35Also declared: OAI/Combinatorics/Automata/Model.lean:41 (same declaration text).
- def
OAI.OneWayLiveness.Move.Relline 39Also declared: OAI/Combinatorics/Automata/Model.lean:45 (same declaration text).
- def
OAI.OneWayLiveness.scannedThe finite word including both endmarkers line 45Source documentation
The finite word including both endmarkers.
L4DEL explanation
The finite word including both endmarkers.
- 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/Automata/Model.lean:51 (same declaration text).
def scanned {Alpha : Type*} (w : List Alpha) (i : Fin (w.length + 2)) : Symbol Alpha := …Mentions: OAI.OneWayLiveness.Symbol
- abbrev
OAI.OneWayLiveness.Configurationline 50Also declared: OAI/Combinatorics/Automata/Model.lean:56 (same declaration text).
- structure
OAI.OneWayLiveness.DMachineline 52Also declared: OAI/Combinatorics/Automata/Model.lean:58 (same declaration text).
- structure
OAI.OneWayLiveness.NMachineline 59Also declared: OAI/Combinatorics/Automata/Model.lean:65 (same declaration text).
- def
OAI.OneWayLiveness.DMachine.Stepline 66Also declared: OAI/Combinatorics/Automata/Model.lean:72 (same declaration text).
- def
OAI.OneWayLiveness.NMachine.Stepline 70Also declared: OAI/Combinatorics/Automata/Model.lean:76 (same declaration text).
- def
OAI.OneWayLiveness.FiniteRunThe positive convention explicitly excludes a length-zero computation line 75Source documentation
The positive convention explicitly excludes a length-zero computation.
L4DEL explanation
The positive convention explicitly excludes a length-zero computation.
- 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/Automata/Model.lean:81 (same declaration text).
def FiniteRun {C : Type*} (positive : Bool) (step : C → C → Prop) (c c' : C) : Prop := … - def
OAI.OneWayLiveness.DMachine.Acceptsline 78Also declared: OAI/Combinatorics/Automata/Model.lean:84 (same declaration text).
- def
OAI.OneWayLiveness.NMachine.Acceptsline 82Also declared: OAI/Combinatorics/Automata/Model.lean:88 (same declaration text).
- def
OAI.OneWayLiveness.NMachine.NoLeftline 86Also declared: OAI/Combinatorics/Automata/Model.lean:92 (same declaration text).
- def
OAI.OneWayLiveness.NMachine.Recognizesline 89Also declared: OAI/Combinatorics/Automata/Model.lean:95 (same declaration text).
- def
OAI.OneWayLiveness.DMachine.Recognizesline 92Also declared: OAI/Combinatorics/Automata/Model.lean:98 (same declaration text).
- theorem
OAI.OneWayLiveness.main_theoremChallenge statement: Exponential deterministic state lower bound for liveness sorry line 95L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 3 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.Automata.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/Automata/Main.lean:10 (same statement text; different proof or body). Qualify references as OAI.OneWayLiveness.main_theorem@path.
theorem main_theorem (h : ℕ) (hh : 2 ≤ h) : (∃ N : NMachine (Alphabet h) (h + 3), N.NoLeft ∧ ∀ positive : Bool, N.Recognizes positive (OWL h)) ∧ (∀ (positive : Bool) (s : ℕ) (D : DMachine (Alphabet h) s), D.Recognizes positive (OWL h) → 2 ^ ((h - 2) / 31) ≤ 4 * (s + if positive then 2 else 1) ^ 2) := by …Mentions: OAI.OneWayLiveness.NMachine, OAI.OneWayLiveness.Alphabet, OAI.OneWayLiveness.OWL, OAI.OneWayLiveness.DMachine