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

23 declarations, 1 contain sorry, 0 declared as axioms

  1. structure OAI.OneWayLiveness.BRel line 7

    Also declared: OAI/Combinatorics/Automata/Model.lean:7 (same declaration text).

  2. instance OAI.OneWayLiveness.BRel.(instance at line 12) line 12
  3. instance OAI.OneWayLiveness.BRel.(instance at line 13) line 13
  4. instance OAI.OneWayLiveness.BRel.(instance at line 14) line 14
  5. def OAI.OneWayLiveness.BRel.live Nonemptiness is the existence of a path through the word's ordered product line 24

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

    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/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

  6. abbrev OAI.OneWayLiveness.Alphabet line 27

    Also declared: OAI/Combinatorics/Automata/Model.lean:33 (same declaration text).

  7. def OAI.OneWayLiveness.OWL line 28

    Also declared: OAI/Combinatorics/Automata/Model.lean:34 (same declaration text).

  8. inductive OAI.OneWayLiveness.Symbol line 30

    Also declared: OAI/Combinatorics/Automata/Model.lean:36 (same declaration text).

  9. inductive OAI.OneWayLiveness.Move line 35

    Also declared: OAI/Combinatorics/Automata/Model.lean:41 (same declaration text).

  10. def OAI.OneWayLiveness.Move.Rel line 39

    Also declared: OAI/Combinatorics/Automata/Model.lean:45 (same declaration text).

  11. def OAI.OneWayLiveness.scanned The finite word including both endmarkers line 45

    Source documentation

    The finite word including both endmarkers.

    L4DEL explanation

    The finite word including both endmarkers.

    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/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

  12. abbrev OAI.OneWayLiveness.Configuration line 50

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

  13. structure OAI.OneWayLiveness.DMachine line 52

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

  14. structure OAI.OneWayLiveness.NMachine line 59

    Also declared: OAI/Combinatorics/Automata/Model.lean:65 (same declaration text).

  15. def OAI.OneWayLiveness.DMachine.Step line 66

    Also declared: OAI/Combinatorics/Automata/Model.lean:72 (same declaration text).

  16. def OAI.OneWayLiveness.NMachine.Step line 70

    Also declared: OAI/Combinatorics/Automata/Model.lean:76 (same declaration text).

  17. def OAI.OneWayLiveness.FiniteRun The positive convention explicitly excludes a length-zero computation line 75

    Source documentation

    The positive convention explicitly excludes a length-zero computation.

    L4DEL explanation

    The positive convention explicitly excludes a length-zero computation.

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

    def FiniteRun {C : Type*} (positive : Bool) (step : C → C → Prop) (c c' : C) : Prop :=
    …
  18. def OAI.OneWayLiveness.DMachine.Accepts line 78

    Also declared: OAI/Combinatorics/Automata/Model.lean:84 (same declaration text).

  19. def OAI.OneWayLiveness.NMachine.Accepts line 82

    Also declared: OAI/Combinatorics/Automata/Model.lean:88 (same declaration text).

  20. def OAI.OneWayLiveness.NMachine.NoLeft line 86

    Also declared: OAI/Combinatorics/Automata/Model.lean:92 (same declaration text).

  21. def OAI.OneWayLiveness.NMachine.Recognizes line 89

    Also declared: OAI/Combinatorics/Automata/Model.lean:95 (same declaration text).

  22. def OAI.OneWayLiveness.DMachine.Recognizes line 92

    Also declared: OAI/Combinatorics/Automata/Model.lean:98 (same declaration text).

  23. theorem OAI.OneWayLiveness.main_theorem Challenge statement: Exponential deterministic state lower bound for liveness sorry line 95

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 3 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. 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