ComparatorChallenges/DirectedFeedback.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
16 declarations, 1 contain sorry, 0 declared as axioms
- def
OAI.DirectedFeedback.natBitsUnary self-delimiting natural numbers line 8Source documentation
Unary self-delimiting natural numbers. Outputs are explicit, not succinct.
L4DEL explanation
Unary self-delimiting natural numbers. Outputs are explicit, not succinct.
- 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/DirectedFeedback/Model.lean:8 (same declaration text).
def natBits (n : ℕ) : List Bool := List.replicate n true ++ [false]
- def
OAI.DirectedFeedback.pairBitsThe explicit framing used for an input and its NP certificate line 11Source documentation
The explicit framing used for an input and its NP certificate.
L4DEL explanation
The explicit framing used for an input and its NP certificate.
- 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/DirectedFeedback/Model.lean:11 (same declaration text).
def pairBits (p : List Bool × List Bool) : List Bool := …
- def
OAI.DirectedFeedback.FiniteAlphabetFinitely many stacks and control states are already part ofFinTM2line 16Source documentation
Finitely many stacks and control states are already part of
FinTM2. This additionally excludes infinite stack alphabets.L4DEL explanation
Finitely many stacks and control states are already part of
FinTM2. This additionally excludes infinite stack alphabets.- 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/DirectedFeedback/Model.lean:16 (same declaration text).
def FiniteAlphabet (M : Turing.FinTM2) : Prop := ∀ k, Finite (M.Γ k)
- structure
OAI.DirectedFeedback.NPVerifierPolynomially bounded certificates checked by an actual deterministic finite-alphabet machine, on the explicitly encoded input/certificate pair line 20Source documentation
Polynomially bounded certificates checked by an actual deterministic finite-alphabet machine, on the explicitly encoded input/certificate pair.
L4DEL explanation
Polynomially bounded certificates checked by an actual deterministic finite-alphabet machine, on the explicitly encoded input/certificate pair.
- 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/DirectedFeedback/Model.lean:20 (same declaration text).
structure NPVerifier where …
- def
OAI.DirectedFeedback.NPVerifier.Acceptsline 26Also declared: OAI/Computability/DirectedFeedback/Model.lean:26 (same declaration text).
- def
OAI.DirectedFeedback.InNPNP is defined independently of SAT or any hardness assertion line 31Source documentation
NP is defined independently of SAT or any hardness assertion.
L4DEL explanation
NP is defined independently of SAT or any hardness assertion.
- 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/DirectedFeedback/Model.lean:31 (same declaration text).
def InNP (language : List Bool → Prop) : Prop := …
- structure
OAI.DirectedFeedback.DigraphFinite loopless digraph line 36Source documentation
Finite loopless digraph. Opposite arcs are permitted. Every arc is listed explicitly. No symmetric closure or undirected-cycle convention is used.
L4DEL explanation
Finite loopless digraph. Opposite arcs are permitted. Every arc is listed explicitly. No symmetric closure or undirected-cycle convention is used.
- 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/DirectedFeedback/Model.lean:36 (same declaration text).
structure Digraph where …
- def
OAI.DirectedFeedback.Digraph.IsCycleAn actual simple directed cycle of positive length line 47Source documentation
An actual simple directed cycle of positive length. A cyclic enumeration of
r + 1distinct vertices supplies every successive arc, including the closing arc. A 2-cycle is allowed; looplessness rules out length 1.L4DEL explanation
An actual simple directed cycle of positive length. A cyclic enumeration of
r + 1distinct vertices supplies every successive arc, including the closing arc. A 2-cycle is allowed; looplessness rules out length 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/DirectedFeedback/Model.lean:47 (same declaration text).
def IsCycle (G : Digraph) {r : ℕ} (c : Fin (r + 1) → Fin G.n) : Prop := …Mentions: OAI.DirectedFeedback.Digraph
- def
OAI.DirectedFeedback.Digraph.FeedbackA feedback set intersects EVERY actual directed cycle line 51Source documentation
A feedback set intersects EVERY actual directed cycle.
L4DEL explanation
A feedback set intersects EVERY actual directed cycle.
- 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/DirectedFeedback/Model.lean:51 (same declaration text).
def Feedback (G : Digraph) (F : Finset (Fin G.n)) : Prop := …
Mentions: OAI.DirectedFeedback.Digraph
- def
OAI.DirectedFeedback.Digraph.dfvsMinimum number of vertices of a feedback set line 56Source documentation
Minimum number of vertices of a feedback set. No weights or auxiliary cost oracle appear in this definition.
L4DEL explanation
Minimum number of vertices of a feedback set. No weights or auxiliary cost oracle appear in this definition.
- 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/DirectedFeedback/Model.lean:56 (same declaration text).
noncomputable def dfvs (G : Digraph) : ℕ := by …
Mentions: OAI.DirectedFeedback.Digraph
- def
OAI.DirectedFeedback.Digraph.bitsFull explicit vertex and arc serialization, including isolated vertices line 64Source documentation
Full explicit vertex and arc serialization, including isolated vertices.
L4DEL explanation
Full explicit vertex and arc serialization, including isolated vertices.
- 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/DirectedFeedback/Model.lean:64 (same declaration text).
def bits (G : Digraph) : List Bool := …
Mentions: OAI.DirectedFeedback.Digraph
- structure
OAI.DirectedFeedback.GapInstanceOutput includes a strictly positive integer threshold line 71Source documentation
Output includes a strictly positive integer threshold.
L4DEL explanation
Output includes a strictly positive integer threshold.
- 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/DirectedFeedback/Model.lean:71 (same declaration text).
structure GapInstance where …
- def
OAI.DirectedFeedback.GapInstance.bitsline 76Also declared: OAI/Computability/DirectedFeedback/Model.lean:76 (same declaration text).
- structure
OAI.DirectedFeedback.GapReductionA strict YES/NO gap reduction implemented by a finite-alphabet machine with polynomial runtime in the raw input bit length line 81Source documentation
A strict YES/NO gap reduction implemented by a finite-alphabet machine with polynomial runtime in the raw input bit length.
L4DEL explanation
A strict YES/NO gap reduction implemented by a finite-alphabet machine with polynomial runtime in the raw input bit length.
- 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/DirectedFeedback/Model.lean:81 (same declaration text).
structure GapReduction (A : ℝ) (language : List Bool → Prop) where …
- def
OAI.DirectedFeedback.MainStatementConstant-factor directed feedback vertex set hardness for all NP languages line 92Source documentation
Constant-factor directed feedback vertex set hardness for all NP languages.
L4DEL explanation
Constant-factor directed feedback vertex set hardness for all NP languages.
- 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/DirectedFeedback/Model.lean:92 (same declaration text).
def MainStatement : Prop := …
- theorem
OAI.DirectedFeedback.mainChallenge statement: Constant-factor hardness of directed feedback vertex set sorry line 98L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 5 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Computability.DirectedFeedback.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Computability/DirectedFeedback/Main.lean:1132 (different declaration text). Qualify references as OAI.DirectedFeedback.main@path.
theorem DirectedFeedback.main : DirectedFeedback.MainStatement := by …
Mentions: OAI.DirectedFeedback.MainStatement