ComparatorChallenges/WLIdentification.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
33 declarations, 1 contain sorry, 0 declared as axioms
- structure
OAI.WLIdentification.Graphline 7Also declared: OAI/Computability/WLIdentification/Model.lean:7 (same declaration text).
- def
OAI.WLIdentification.Isomorphicline 13Also declared: OAI/Computability/WLIdentification/Model.lean:13 (same declaration text).
- def
OAI.WLIdentification.NeighborColorColors retain their full history, and hence are shared between graphs line 17Source documentation
Colors retain their full history, and hence are shared between graphs.
L4DEL explanation
Colors retain their full history, and hence are shared between graphs.
- 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/WLIdentification/Model.lean:17 (same declaration text).
def NeighborColor : ℕ → Type | 0 => Unit | s + 1 => NeighborColor s × Multiset (NeighborColor s)
- def
OAI.WLIdentification.neighborColorline 21Also declared: OAI/Computability/WLIdentification/Model.lean:21 (same declaration text).
- def
OAI.WLIdentification.neighborHistogramline 26Also declared: OAI/Computability/WLIdentification/Model.lean:26 (same declaration text).
- def
OAI.WLIdentification.TupleColorline 29Also declared: OAI/Computability/WLIdentification/Model.lean:29 (same declaration text).
- def
OAI.WLIdentification.tupleColorJoint update: one multiset of whole replacement vectors, not independent marginals line 34Source documentation
Joint update: one multiset of whole replacement vectors, not independent marginals.
L4DEL explanation
Joint update: one multiset of whole replacement vectors, not independent marginals.
- 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/WLIdentification/Model.lean:34 (same declaration text).
def tupleColor (G : Graph) (k : ℕ) : (s : ℕ) → (Fin k → Fin G.order) → TupleColor k s | 0, v => (fun i j => decide (v i = v j), fun i j => G.edge (v i) (v j)) | s + 1, v => (tupleColor G k s v, Finset.univ.val.map (fun z => fun i => tupleColor G k s (Function.update v i z)))Mentions: OAI.WLIdentification.Graph, OAI.WLIdentification.TupleColor
- def
OAI.WLIdentification.tupleHistogramline 39Also declared: OAI/Computability/WLIdentification/Model.lean:39 (same declaration text).
- def
OAI.WLIdentification.Equivalentline 42Also declared: OAI/Computability/WLIdentification/Model.lean:42 (same declaration text).
- def
OAI.WLIdentification.IdentifiesThere is no restriction to mates from a graph construction or to a selected order line 47Source documentation
There is no restriction to mates from a graph construction or to a selected order.
L4DEL explanation
There is no restriction to mates from a graph construction or to a selected order.
- 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/WLIdentification/Model.lean:47 (same declaration text).
def Identifies (k : ℕ) (G : Graph) : Prop := …
Mentions: OAI.WLIdentification.Graph
- def
OAI.WLIdentification.WLdimThe infimum of the positive identifying dimensions; this set is nonempty for finite G line 51Source documentation
The infimum of the positive identifying dimensions; this set is nonempty for finite G.
L4DEL explanation
The infimum of the positive identifying dimensions; this set is nonempty for finite G.
- 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/WLIdentification/Model.lean:51 (same declaration text).
noncomputable def WLdim (G : Graph) : ℕ := …
Mentions: OAI.WLIdentification.Graph
- abbrev
OAI.WLIdentification.Wordline 54Also declared: OAI/Computability/WLIdentification/Model.lean:54 (same declaration text).
- abbrev
OAI.WLIdentification.BinaryLanguageline 55Also declared: OAI/Computability/WLIdentification/Model.lean:55 (same declaration text).
- def
OAI.WLIdentification.binaryValueline 57Also declared: OAI/Computability/WLIdentification/Model.lean:57 (same declaration text).
- def
OAI.WLIdentification.matrixWordline 60Also declared: OAI/Computability/WLIdentification/Model.lean:60 (same declaration text).
- def
OAI.WLIdentification.inputWordUnary order header, row-major binary matrix, then most-significant-first binary k line 64Source documentation
Unary order header, row-major binary matrix, then most-significant-first binary k.
L4DEL explanation
Unary order header, row-major binary matrix, then most-significant-first binary k.
- 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/WLIdentification/Model.lean:64 (same declaration text).
def inputWord (G : Graph) (bits : Word) : Word := …
Mentions: OAI.WLIdentification.Graph, OAI.WLIdentification.Word
- def
OAI.WLIdentification.dimensionLanguageA malformed word is rejected: membership requires a valid nonempty simple matrix and k>0 line 68Source documentation
A malformed word is rejected: membership requires a valid nonempty simple matrix and k>0.
L4DEL explanation
A malformed word is rejected: membership requires a valid nonempty simple matrix and k>0.
- 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/WLIdentification/Model.lean:68 (same declaration text).
def dimensionLanguage : BinaryLanguage := …
Mentions: OAI.WLIdentification.BinaryLanguage
- inductive
OAI.WLIdentification.Moveline 76Source comment
The deterministic local machine model is explicit; no oracle or arbitrary state-transition on whole inputs is included. Both alphabets are fixed finite types for each machine. Extra symbols and states allow arbitrary finite tables.Also declared: OAI/Computability/WLIdentification/Model.lean:76 (same declaration text).
inductive Move where …
- def
OAI.WLIdentification.Move.displacementline 80Also declared: OAI/Computability/WLIdentification/Model.lean:80 (same declaration text).
- structure
OAI.WLIdentification.Machineline 85Also declared: OAI/Computability/WLIdentification/Model.lean:85 (same declaration text).
- structure
OAI.WLIdentification.Configurationline 91Also declared: OAI/Computability/WLIdentification/Model.lean:91 (same declaration text).
- def
OAI.WLIdentification.inputSymbolline 96Also declared: OAI/Computability/WLIdentification/Model.lean:96 (same declaration text).
- def
OAI.WLIdentification.initialline 99Also declared: OAI/Computability/WLIdentification/Model.lean:99 (same declaration text).
- def
OAI.WLIdentification.Haltedline 104Also declared: OAI/Computability/WLIdentification/Model.lean:104 (same declaration text).
- def
OAI.WLIdentification.stepOne read/write/head-movement transition line 108Source documentation
One read/write/head-movement transition. A halted configuration is frozen.
L4DEL explanation
One read/write/head-movement transition. A halted configuration is frozen.
- 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/WLIdentification/Model.lean:108 (same declaration text).
def step (M : Machine) (c : Configuration M) : Configuration M := …
Mentions: OAI.WLIdentification.Machine, OAI.WLIdentification.Configuration
- def
OAI.WLIdentification.runline 114Also declared: OAI/Computability/WLIdentification/Model.lean:114 (same declaration text).
- def
OAI.WLIdentification.OutputOutput is the binary word beginning at origin and ending at its first blank line 118Source documentation
Output is the binary word beginning at origin and ending at its first blank.
L4DEL explanation
Output is the binary word beginning at origin and ending at its first blank.
- 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/WLIdentification/Model.lean:118 (same declaration text).
def Output {M : Machine} (c : Configuration M) (w : Word) : Prop := …Mentions: OAI.WLIdentification.Machine, OAI.WLIdentification.Configuration, OAI.WLIdentification.Word
- def
OAI.WLIdentification.DecidesWithinUniform genuine executions on every bit word, including malformed graph words line 123Source documentation
Uniform genuine executions on every bit word, including malformed graph words.
L4DEL explanation
Uniform genuine executions on every bit word, including malformed graph words.
- 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/WLIdentification/Model.lean:123 (same declaration text).
def DecidesWithin (M : Machine) (L : BinaryLanguage) (bound : ℕ → ℕ) : Prop := …
Mentions: OAI.WLIdentification.Machine, OAI.WLIdentification.BinaryLanguage
- def
OAI.WLIdentification.InEXPTIMEline 126Also declared: OAI/Computability/WLIdentification/Model.lean:126 (same declaration text).
- def
OAI.WLIdentification.ComputesWithinline 130Also declared: OAI/Computability/WLIdentification/Model.lean:130 (same declaration text).
- def
OAI.WLIdentification.PolytimeManyOneline 133Also declared: OAI/Computability/WLIdentification/Model.lean:133 (same declaration text).
- def
OAI.WLIdentification.EXPTIMECompleteline 137Also declared: OAI/Computability/WLIdentification/Model.lean:137 (same declaration text).
- theorem
OAI.WLIdentification.mainChallenge statement: EXPTIME-completeness of Weisfeiler–Leman graph identification sorry line 140L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 4 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Computability.WLIdentification.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Computability/WLIdentification/Main.lean:7 (same statement text; different proof or body). Qualify references as OAI.WLIdentification.main@path.
theorem main : EXPTIMEComplete dimensionLanguage := …
Mentions: OAI.WLIdentification.EXPTIMEComplete, OAI.WLIdentification.dimensionLanguage