ComparatorChallenges/RationalHitting.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. inductive OAI.RationalHitting.Formula line 9

    Also declared: OAI/Computability/RationalHitting/Model.lean:9 (same declaration text).

  2. def OAI.RationalHitting.Formula.size line 19

    Also declared: OAI/Computability/RationalHitting/Model.lean:19 (same declaration text).

  3. inductive OAI.RationalHitting.Formula.Eval Evaluation in any rational algebra; a unary inverse requires an actual two-sided inverse of the evaluated operand, not a totalized inverse line 26

    Source documentation

    Evaluation in any rational algebra; a unary inverse requires an actual two-sided inverse of the evaluated operand, not a totalized inverse.

    L4DEL explanation

    Evaluation in any rational algebra; a unary inverse requires an actual two-sided inverse of the evaluated operand, not a totalized inverse.

    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/Computability/RationalHitting/Model.lean:26 (same declaration text).

    inductive Eval {n : ℕ} {R : Type u} [Ring R]
        (c : ℚ →+* R) (X : Fin n → R) : Formula n → R → Prop where
    …

    Mentions: OAI.RationalHitting.Formula

  4. abbrev OAI.RationalHitting.Mat line 36

    Also declared: OAI/Computability/RationalHitting/Model.lean:36 (same declaration text).

  5. abbrev OAI.RationalHitting.Tuple line 37

    Also declared: OAI/Computability/RationalHitting/Model.lean:37 (same declaration text).

  6. def OAI.RationalHitting.Evaluates line 39

    Also declared: OAI/Computability/RationalHitting/Model.lean:39 (same declaration text).

  7. def OAI.RationalHitting.Admissible line 42

    Also declared: OAI/Computability/RationalHitting/Model.lean:42 (same declaration text).

  8. def OAI.RationalHitting.Nonzero line 45

    Also declared: OAI/Computability/RationalHitting/Model.lean:45 (same declaration text).

  9. structure OAI.RationalHitting.Output All output tuples have one common positive dimension line 49

    Source documentation

    All output tuples have one common positive dimension.

    L4DEL explanation

    All output tuples have one common positive dimension.

    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/Computability/RationalHitting/Model.lean:49 (same declaration text).

    structure Output (n : ℕ) where
    …
  10. def OAI.RationalHitting.encodeNat Little-endian unsigned binary, prefixed by a unary bit-length and a zero terminator line 56

    Source documentation

    Little-endian unsigned binary, prefixed by a unary bit-length and a zero terminator. This is a self-delimiting binary encoding, including zero.

    L4DEL explanation

    Little-endian unsigned binary, prefixed by a unary bit-length and a zero terminator. This is a self-delimiting binary encoding, including zero.

    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/Computability/RationalHitting/Model.lean:56 (same declaration text).

    def encodeNat (a : ℕ) : List Bool :=
    …
  11. def OAI.RationalHitting.encodeRat Sign bit, binary numerator magnitude, and positive binary denominator line 62

    Source documentation

    Sign bit, binary numerator magnitude, and positive binary denominator. Rat.num and Rat.den are the canonical reduced numerator and denominator.

    L4DEL explanation

    Sign bit, binary numerator magnitude, and positive binary denominator. Rat.num and Rat.den are the canonical reduced numerator and denominator.

    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/Computability/RationalHitting/Model.lean:62 (same declaration text).

    def encodeRat (a : ℚ) : List Bool :=
    …
  12. def OAI.RationalHitting.encodeTuple line 65

    Also declared: OAI/Computability/RationalHitting/Model.lean:65 (same declaration text).

  13. def OAI.RationalHitting.encodeOutput line 70

    Also declared: OAI/Computability/RationalHitting/Model.lean:70 (same declaration text).

  14. abbrev OAI.RationalHitting.Alphabet 0 is blank, 1 and 2 are the two literal binary digits, 3 is work space line 75

    Source documentation

    0 is blank, 1 and 2 are the two literal binary digits, 3 is work space. Fixed finite tape alphabet and finite state space; no advice or oracle.

    L4DEL explanation

    0 is blank, 1 and 2 are the two literal binary digits, 3 is work space. Fixed finite tape alphabet and finite state space; no advice or oracle.

    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/Computability/RationalHitting/Model.lean:75 (same declaration text).

    abbrev Alphabet := Fin 4
  15. abbrev OAI.RationalHitting.Machine line 76

    Also declared: OAI/Computability/RationalHitting/Model.lean:76 (same declaration text).

  16. abbrev OAI.RationalHitting.Config line 77

    Also declared: OAI/Computability/RationalHitting/Model.lean:77 (same declaration text).

  17. def OAI.RationalHitting.tapeBit line 79

    Also declared: OAI/Computability/RationalHitting/Model.lean:79 (same declaration text).

  18. def OAI.RationalHitting.unaryInput line 81

    Also declared: OAI/Computability/RationalHitting/Model.lean:81 (same declaration text).

  19. def OAI.RationalHitting.run Exactly t ordinary deterministic TM0 transitions line 85

    Source documentation

    Exactly t ordinary deterministic TM0 transitions.

    L4DEL explanation

    Exactly t ordinary deterministic TM0 transitions.

    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/Computability/RationalHitting/Model.lean:85 (same declaration text).

    def run {m : ℕ} (G : Machine m) : ℕ → Config m → Option (Config m)
      | 0, a => some a
      | t + 1, a => (Turing.TM0.step G a).bind (run G t)

    Mentions: OAI.RationalHitting.Machine, OAI.RationalHitting.Config

  20. def OAI.RationalHitting.OutputsWithin line 89

    Also declared: OAI/Computability/RationalHitting/Model.lean:89 (same declaration text).

  21. def OAI.RationalHitting.Hits line 95

    Also declared: OAI/Computability/RationalHitting/Model.lean:95 (same declaration text).

  22. def OAI.RationalHitting.MainStatement A fixed polynomial bound on bit time, full binary output length, and common positive dimension line 101

    Source documentation

    A fixed polynomial bound on bit time, full binary output length, and common positive dimension.

    L4DEL explanation

    A fixed polynomial bound on bit time, full binary output length, and common positive dimension.

    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/Computability/RationalHitting/Model.lean:101 (same declaration text).

    def MainStatement : Prop :=
    …
  23. theorem OAI.RationalHitting.main Challenge statement: Polynomial hitting lists for rational formulas sorry line 108

    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 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.Computability.RationalHitting.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/Computability/RationalHitting/Main.lean:44 (same statement text; different proof or body). Qualify references as OAI.RationalHitting.main@path.

    theorem main : MainStatement := by
    …

    Mentions: OAI.RationalHitting.MainStatement