ComparatorChallenges/RationalHitting.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
- inductive
OAI.RationalHitting.Formulaline 9Also declared: OAI/Computability/RationalHitting/Model.lean:9 (same declaration text).
- def
OAI.RationalHitting.Formula.sizeline 19Also declared: OAI/Computability/RationalHitting/Model.lean:19 (same declaration text).
- inductive
OAI.RationalHitting.Formula.EvalEvaluation in any rational algebra; a unary inverse requires an actual two-sided inverse of the evaluated operand, not a totalized inverse line 26Source 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.
- 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
- abbrev
OAI.RationalHitting.Matline 36Also declared: OAI/Computability/RationalHitting/Model.lean:36 (same declaration text).
- abbrev
OAI.RationalHitting.Tupleline 37Also declared: OAI/Computability/RationalHitting/Model.lean:37 (same declaration text).
- def
OAI.RationalHitting.Evaluatesline 39Also declared: OAI/Computability/RationalHitting/Model.lean:39 (same declaration text).
- def
OAI.RationalHitting.Admissibleline 42Also declared: OAI/Computability/RationalHitting/Model.lean:42 (same declaration text).
- def
OAI.RationalHitting.Nonzeroline 45Also declared: OAI/Computability/RationalHitting/Model.lean:45 (same declaration text).
- structure
OAI.RationalHitting.OutputAll output tuples have one common positive dimension line 49Source documentation
All output tuples have one common positive dimension.
L4DEL explanation
All output tuples have one common positive dimension.
- 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 …
- def
OAI.RationalHitting.encodeNatLittle-endian unsigned binary, prefixed by a unary bit-length and a zero terminator line 56Source 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.
- 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 := …
- def
OAI.RationalHitting.encodeRatSign bit, binary numerator magnitude, and positive binary denominator line 62Source 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.
- 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 := …
- def
OAI.RationalHitting.encodeTupleline 65Also declared: OAI/Computability/RationalHitting/Model.lean:65 (same declaration text).
- def
OAI.RationalHitting.encodeOutputline 70Also declared: OAI/Computability/RationalHitting/Model.lean:70 (same declaration text).
- abbrev
OAI.RationalHitting.Alphabet0 is blank, 1 and 2 are the two literal binary digits, 3 is work space line 75Source 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.
- 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
- abbrev
OAI.RationalHitting.Machineline 76Also declared: OAI/Computability/RationalHitting/Model.lean:76 (same declaration text).
- abbrev
OAI.RationalHitting.Configline 77Also declared: OAI/Computability/RationalHitting/Model.lean:77 (same declaration text).
- def
OAI.RationalHitting.tapeBitline 79Also declared: OAI/Computability/RationalHitting/Model.lean:79 (same declaration text).
- def
OAI.RationalHitting.unaryInputline 81Also declared: OAI/Computability/RationalHitting/Model.lean:81 (same declaration text).
- def
OAI.RationalHitting.runExactly t ordinary deterministic TM0 transitions line 85Source documentation
Exactly t ordinary deterministic TM0 transitions.
L4DEL explanation
Exactly t ordinary deterministic TM0 transitions.
- 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
- def
OAI.RationalHitting.OutputsWithinline 89Also declared: OAI/Computability/RationalHitting/Model.lean:89 (same declaration text).
- def
OAI.RationalHitting.Hitsline 95Also declared: OAI/Computability/RationalHitting/Model.lean:95 (same declaration text).
- def
OAI.RationalHitting.MainStatementA fixed polynomial bound on bit time, full binary output length, and common positive dimension line 101Source 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.
- 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 := …
- theorem
OAI.RationalHitting.mainChallenge statement: Polynomial hitting lists for rational formulas sorry line 108L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- 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