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

33 declarations, 1 contain sorry, 0 declared as axioms

  1. structure OAI.WLIdentification.Graph line 7

    Also declared: OAI/Computability/WLIdentification/Model.lean:7 (same declaration text).

  2. def OAI.WLIdentification.Isomorphic line 13

    Also declared: OAI/Computability/WLIdentification/Model.lean:13 (same declaration text).

  3. def OAI.WLIdentification.NeighborColor Colors retain their full history, and hence are shared between graphs line 17

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

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

    def NeighborColor : ℕ → Type
      | 0 => Unit
      | s + 1 => NeighborColor s × Multiset (NeighborColor s)
  4. def OAI.WLIdentification.neighborColor line 21

    Also declared: OAI/Computability/WLIdentification/Model.lean:21 (same declaration text).

  5. def OAI.WLIdentification.neighborHistogram line 26

    Also declared: OAI/Computability/WLIdentification/Model.lean:26 (same declaration text).

  6. def OAI.WLIdentification.TupleColor line 29

    Also declared: OAI/Computability/WLIdentification/Model.lean:29 (same declaration text).

  7. def OAI.WLIdentification.tupleColor Joint update: one multiset of whole replacement vectors, not independent marginals line 34

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

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

  8. def OAI.WLIdentification.tupleHistogram line 39

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

  9. def OAI.WLIdentification.Equivalent line 42

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

  10. def OAI.WLIdentification.Identifies There is no restriction to mates from a graph construction or to a selected order line 47

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

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

    def Identifies (k : ℕ) (G : Graph) : Prop :=
    …

    Mentions: OAI.WLIdentification.Graph

  11. def OAI.WLIdentification.WLdim The infimum of the positive identifying dimensions; this set is nonempty for finite G line 51

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

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

    noncomputable def WLdim (G : Graph) : ℕ :=
    …

    Mentions: OAI.WLIdentification.Graph

  12. abbrev OAI.WLIdentification.Word line 54

    Also declared: OAI/Computability/WLIdentification/Model.lean:54 (same declaration text).

  13. abbrev OAI.WLIdentification.BinaryLanguage line 55

    Also declared: OAI/Computability/WLIdentification/Model.lean:55 (same declaration text).

  14. def OAI.WLIdentification.binaryValue line 57

    Also declared: OAI/Computability/WLIdentification/Model.lean:57 (same declaration text).

  15. def OAI.WLIdentification.matrixWord line 60

    Also declared: OAI/Computability/WLIdentification/Model.lean:60 (same declaration text).

  16. def OAI.WLIdentification.inputWord Unary order header, row-major binary matrix, then most-significant-first binary k line 64

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

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

    def inputWord (G : Graph) (bits : Word) : Word :=
    …

    Mentions: OAI.WLIdentification.Graph, OAI.WLIdentification.Word

  17. def OAI.WLIdentification.dimensionLanguage A malformed word is rejected: membership requires a valid nonempty simple matrix and k>0 line 68

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

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

    def dimensionLanguage : BinaryLanguage :=
    …

    Mentions: OAI.WLIdentification.BinaryLanguage

  18. inductive OAI.WLIdentification.Move line 76

    Source 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
    …
  19. def OAI.WLIdentification.Move.displacement line 80

    Also declared: OAI/Computability/WLIdentification/Model.lean:80 (same declaration text).

  20. structure OAI.WLIdentification.Machine line 85

    Also declared: OAI/Computability/WLIdentification/Model.lean:85 (same declaration text).

  21. structure OAI.WLIdentification.Configuration line 91

    Also declared: OAI/Computability/WLIdentification/Model.lean:91 (same declaration text).

  22. def OAI.WLIdentification.inputSymbol line 96

    Also declared: OAI/Computability/WLIdentification/Model.lean:96 (same declaration text).

  23. def OAI.WLIdentification.initial line 99

    Also declared: OAI/Computability/WLIdentification/Model.lean:99 (same declaration text).

  24. def OAI.WLIdentification.Halted line 104

    Also declared: OAI/Computability/WLIdentification/Model.lean:104 (same declaration text).

  25. def OAI.WLIdentification.step One read/write/head-movement transition line 108

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

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

    def step (M : Machine) (c : Configuration M) : Configuration M :=
    …

    Mentions: OAI.WLIdentification.Machine, OAI.WLIdentification.Configuration

  26. def OAI.WLIdentification.run line 114

    Also declared: OAI/Computability/WLIdentification/Model.lean:114 (same declaration text).

  27. def OAI.WLIdentification.Output Output is the binary word beginning at origin and ending at its first blank line 118

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

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

  28. def OAI.WLIdentification.DecidesWithin Uniform genuine executions on every bit word, including malformed graph words line 123

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

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

    def DecidesWithin (M : Machine) (L : BinaryLanguage) (bound : ℕ → ℕ) : Prop :=
    …

    Mentions: OAI.WLIdentification.Machine, OAI.WLIdentification.BinaryLanguage

  29. def OAI.WLIdentification.InEXPTIME line 126

    Also declared: OAI/Computability/WLIdentification/Model.lean:126 (same declaration text).

  30. def OAI.WLIdentification.ComputesWithin line 130

    Also declared: OAI/Computability/WLIdentification/Model.lean:130 (same declaration text).

  31. def OAI.WLIdentification.PolytimeManyOne line 133

    Also declared: OAI/Computability/WLIdentification/Model.lean:133 (same declaration text).

  32. def OAI.WLIdentification.EXPTIMEComplete line 137

    Also declared: OAI/Computability/WLIdentification/Model.lean:137 (same declaration text).

  33. theorem OAI.WLIdentification.main Challenge statement: EXPTIME-completeness of Weisfeiler–Leman graph identification sorry line 140

    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 4 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. 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