diff bb837ee..58916f8 weisfeiler_leman_identification_v2.txt
diff --git a/weisfeiler_leman_identification_v2.txt b/weisfeiler_leman_identification_v2.txt
index a19f09d..735a80e 100644
--- a/weisfeiler_leman_identification_v2.txt
+++ b/weisfeiler_leman_identification_v2.txt
@@ -1,96 +1,3 @@
-================================================================================
-IDENTIFYING A GRAPH BY WEISFEILER-LEMAN REFINEMENT
-A complete and accessible exposition
-================================================================================
-
-This document rewrites the paper "The complexity of identifying a graph
-by Weisfeiler-Leman refinement" (September 25, 2026) for a reader who is
-comfortable with basic graph theory but has not seen WL refinement
-before. Every theorem, lemma, and proof of the original is retained. The
-technical statements are unchanged. Proofs are rewritten to lead with
-the key idea, then say what the pieces are, then verify the pieces.
-Routine case checks are condensed to their essential reason, but every
-claim is still justified. Comparisons to prior published work are
-folded into a short "Background" note (see Sec. 1.1) rather than
-repeated throughout.
-
-The result is: deciding the Weisfeiler-Leman dimension of a graph is
-EXPTIME-complete. That is the whole headline. The bulk of this document
-explains what the statement means and why it is true.
-
---------------------------------------------------------------------------------
-WHAT YOU SHOULD ALREADY KNOW
---------------------------------------------------------------------------------
-
-We use a small amount of notation without re-defining it every time:
-
-  G, H        : graphs (finite, undirected, no self-loops)
-  V(G), E(G)  : vertex set, edge set
-  n           : number of vertices in the input graph
-  m           : number of bits of the input word driving the reduction
-  G ~ H       : G and H are isomorphic (equal up to relabeling vertices)
-  in          : "is an element of"
-  forall      : "for every"
-  exists      : "there exists"
-  <=, >=      : the usual order
-  F_2         : the field {0,1} with arithmetic modulo 2, so 1+1=0
-  {{ ... }}   : multiset ("bag"): order irrelevant, repetition counted
-  |S|         : number of elements in the set S
-  N(v)        : the set of neighbors of vertex v (its "neighborhood")
-  deg(v)      : the degree of v, equal to |N(v)|
-  ==>         : "implies"; (a ==> b) means "a implies b"
-  V(G)^k      : the set of all k-tuples of vertices of G, with repeats
-                allowed (so |V(G)^k| = |V(G)|^k)
-
-If any of those feel unclear, the glossary at the end defines each one in
-detail.
-
---------------------------------------------------------------------------------
-CONTENTS
---------------------------------------------------------------------------------
-
-  0.  Headline
-  1.  The identification problem, in plain words
-  2.  WL refinement, from the ground up
-  3.  Equivalence, identification, and WL dimension
-  4.  The bijective game
-  5.  Why the game equals k-WL at k+1 slots
-  6.  Dimension is monotone
-  7.  Matching vertices have equal degrees
-  8.  The easy half: this all sits inside EXPTIME
-  9.  The hard half: an outline before any details
- 10.  Encoding comparisons as a graph
- 11.  Every equivalent mate is a G(beta)
- 12.  Isomorphism equals a global offset
- 13.  Image consistency: what every winning game guarantees
- 14.  Lifting sums around a cycle
- 15.  The global-offset criterion
- 16.  Small supports and wrapping addresses
- 17.  Translations on a small block collection
- 18.  Translations become a winning strategy
- 19.  Building the computation
- 20.  Acceptance: every equivalent mate is isomorphic
- 21.  Rejection: one small twist
- 22.  Sizes: the reduction is polynomial-time
- 23.  Main theorem
- 24.  Writing the dimension in unary
-  Glossary
-  Bibliography
-
-The structure is:
-
-  Sections 1-3 say what the problem is.
-  Sections 4-8 set up the tools and prove the upper bound.
-  Section 9 is the roadmap of the reduction.
-  Sections 10-22 build the reduction.
-  Sections 23-24 state the final result.
-
-If you only want the shape of the argument, read 0, 1, 3, 8, 9, 23.
-
-================================================================================
-0.  HEADLINE
-================================================================================
-
 Given a graph G and a positive integer k (written in binary), decide
 whether k is large enough that Weisfeiler-Leman refinement at dimension
 k already tells G apart from every nonisomorphic k-equivalent graph.
@@ -107,10 +14,6 @@ the source input length), the problem remains EXPTIME-complete. So the
 hardness is not driven by k being an exponentially large number written
 in binary. The hardness is in the graph.
 
-================================================================================
-1.  THE IDENTIFICATION PROBLEM, IN PLAIN WORDS
-================================================================================
-
 You have a graph G. You have a tool, the WL algorithm at dimension k,
 that tries to prove two graphs are not isomorphic. Given enough
 dimension, that tool can always succeed. The question is: how much
@@ -118,7 +21,7 @@ dimension does it need before it can do the job on G?
 
 Wait carefully: "do the job on G" means the tool succeeds at telling G
 apart from EVERY graph that is not isomorphic to it. To make the
-question finite, we only consider graphs with the same number of
+question finite, restrict attention to graphs with the same number of
 vertices.
 
 For example, a path P_4 on 4 vertices has degrees 1, 2, 2, 1, while
@@ -143,41 +46,54 @@ counterpart exists) may need more.
 
 The decision problem: given (G, k), decide whether WLdim(G) <= k.
 
-The headline says: this problem is EXPTIME-complete.
-
------------------------------------------
-1.1  Background
------------------------------------------
+The answer: this problem is EXPTIME-complete.
 
 WL refinement originates in Weisfeiler and Leman's 1968 work on graph
-canonization [WL1968]. The link between WL, counting logic, and pebble
-games made it central in finite model theory [CFI1992, KN2019]. Related
-complexity results for identification and pair equivalence:
+canonization (Weisfeiler and Leman 1968, English translation at https://www.iti.zcu.cz/wl2018/pdf/wl_paper_translation.pdf). The one-dimensional form is older still: naive vertex classification in Read and Corneil's account of graph isomorphism, followed by the k-tuple method of Faradzev, Zemlyachenko, Babai, and Mathon; Babai, Erdos, and Selkow showed that one-dimensional refinement identifies almost all graphs. The link between WL, counting logic, and pebble
+games made it central in finite model theory (Cai, Furer, and Immerman 1992, Combinatorica 12(4):389-410, DOI 10.1007/BF01305232, author copy at https://www.cs.umass.edu/~immerman/pub/opt.pdf, Kiefer and Neuen 2019, MFCS 2019, LIPIcs 138, 45:1-45:15, https://drops.dagstuhl.de/storage/00lipics/lipics-vol138-mfcs2019/LIPIcs.MFCS.2019.45/LIPIcs.MFCS.2019.45.pdf). Equivalence in finite-variable logics is P-complete (Grohe 1999, Combinatorica 19(4):507-532, DOI 10.1007/s004939970004). Compressed CFI graphs give related lower bounds on refinement rounds (Grohe, Lichter, Neuen, and Schweitzer 2025, Journal of the ACM 72(3) Article 21, DOI 10.1145/3727978, arXiv 2308.11970).
+
+pdf: ./pdfs/wl1968.pdf ./pdfs/cfi1992.pdf ./pdfs/kn2019.pdf ./pdfs/glns2025.pdf ./pdfs/grohe1999.pdf
+
+  "Consider for simplicity an undirected graph without multiple edges.
+  Associate with every vertex of the graph the characteristic vector
+  which has one component equal to the number of neighbors of this
+  vertex. Then divide vertices into classes such that vertices with
+  equal characteristic vectors belong to the same class and order
+  classes according to the natural order on the set of characteristic
+  vectors. Further, associate with every vertex the characteristic
+  vector v_i = (l, v_i1, v_i2, ...), where v_ik is the number of
+  neighbors of vertex i from class k and l is the number of the class
+  which contains vertex i. Now again divide vertices into classes
+  according to new characteristic vectors ordered lexicographically,
+  etc."
+  -- B.Yu. Weisfeiler and A.A. Leman, 1968
+
+  "In this paper we show that Omega(n) variables are needed for first-order
+  logic with counting to identify graphs on n vertices. The k-variable
+  language with counting is equivalent to the (k-1)-dimensional
+  Weisfeiler-Leman method. We thus settle a long-standing open problem."
+  -- Cai, Furer, and Immerman, 1992
+
+Related complexity results for identification and pair equivalence:
 
   - Arvind, Kobler, Rattan, Verbitsky proved P-hardness for dimension
-    ONE identification [AKRV2017].
+    ONE identification (Arvind, Kobler, Rattan, and Verbitsky 2017, Computational Complexity 26(3):627-685, DOI 10.1007/s00037-016-0147-6, arXiv 1502.01255).
   - Lichter, Rassmann, Schweitzer extended fixed-dimension P-hardness to
     every k >= 2, and proved NP-hardness when k is part of the input,
-    even for simple uncolored graphs [LRS2025].
+    even for simple uncolored graphs (Lichter, Rassmann, and Schweitzer 2025, CSL 2025, LIPIcs 326, 13:1-13:22, https://drops.dagstuhl.de/storage/00lipics/lipics-vol326-csl2025/LIPIcs.CSL.2025.13/LIPIcs.CSL.2025.13.pdf; full version arXiv 2402.11531).
   - Variable-dimension pair equivalence was independently shown
-    coNP-hard [Seppelt2024, LRS2025].
+    coNP-hard (Seppelt 2024, MFCS 2024, LIPIcs 306, 82:1-82:19, https://drops.dagstuhl.de/storage/00lipics/lipics-vol306-mfcs2024/LIPIcs.MFCS.2024.82/LIPIcs.MFCS.2024.82.pdf, Lichter, Rassmann, and Schweitzer 2025, CSL 2025, LIPIcs 326, 13:1-13:22, https://drops.dagstuhl.de/storage/00lipics/lipics-vol326-csl2025/LIPIcs.CSL.2025.13/LIPIcs.CSL.2025.13.pdf).
+
+pdf: ./pdfs/akrv2017.pdf ./pdfs/lrs2025.pdf ./pdfs/lrs2024.pdf ./pdfs/seppelt2024.pdf
 
-The present paper completes the picture: for input-dimension
+These results complete the picture: for input-dimension
 identification, the answer is EXPTIME-complete, not NP and not anything
 smaller.
 
-================================================================================
-2.  WL REFINEMENT, FROM THE GROUND UP
-================================================================================
-
-WL refinement is a coloring process. We color the vertices (or tuples of
-vertices, for higher dimension), and refine colors round by round until
+WL refinement is a coloring process: colors are assigned to vertices (or tuples of
+vertices, for higher dimension) and refined round by round until
 they stabilize.
 
------------------------------------------
-2.1  Dimension 1: ordinary neighbor-color refinement
------------------------------------------
-
 Start with every vertex of G having color RED.
 
 Round 1: give each vertex v the color
@@ -204,10 +120,6 @@ For two graphs G and H, run the same process on both, SHARING color
 names. Write G ==_1 H iff, at every round, the multisets of vertex
 colors agree between G and H.
 
------------------------------------------
-2.2  Dimension k >= 2: tuples with the joint-update rule
------------------------------------------
-
 For dimension k >= 2, the objects that get colored are k-tuples: ordered
 lists v = (v_1, ..., v_k) of vertices of G, repetition allowed. So there
 are |V(G)|^k many objects.
@@ -228,7 +140,7 @@ resulting object is a multiset of k-long LISTS of colors: a multiset
 over z of the k-vector of replacement colors.
 
 The words JOINT UPDATE are the technical name for this. The alternative,
-which is NOT what we do, would be a "list" of k separate multisets
+not used here, would be a "list" of k separate multisets
 (one per coordinate). The joint convention is strictly stronger and is
 what the game treats below with k+1 slots.
 
@@ -236,10 +148,6 @@ Two graphs G, H of the same order are k-equivalent, written G ==_k H,
 iff at every round the multisets of k-tuple colors agree between G and
 H.
 
-================================================================================
-3.  EQUIVALENCE, IDENTIFICATION, AND WL DIMENSION
-================================================================================
-
 Two definitions:
 
     k-WL IDENTIFIES G   iff   for every graph H with |V(H)| = |V(G)|,
@@ -268,11 +176,7 @@ graph, can need more.
 The main theorem (Theorem 2) says: given G and k, deciding
 WLdim(G) <= k is EXPTIME-complete.
 
-================================================================================
-4.  THE BIJECTIVE GAME
-================================================================================
-
-The algebraic definition above is awkward to prove things with. We swap
+The algebraic definition above is awkward to prove things with. Swap
 it for a two-player game in which the combinatorial structure is
 transparent.
 
@@ -300,22 +204,18 @@ Winning condition: Duplicator wins when every occupied pair
 
 So the occupied pairs must always exhibit a partial isomorphism. If
 Duplicator has a strategy that survives every sequence of Spoiler's
-choices, we say "Duplicator wins the game with K slots."
+choices, Duplicator wins the game with K slots."
 
 Spoiler tries to build an obstruction: always tries to make the pairs
 incompatible. Duplicator has to always hand back a bijection that
 extends the currently consistent set.
 
-The whole reason we introduce this game is:
+The game enters for one reason:
 
     k-equivalence of G and H   =   Duplicator wins with k+1 slots.
 
 That is Lemma 1 below. Note the "+1."
 
-================================================================================
-5.  WHY THE GAME EQUALS k-WL AT k+1 SLOTS
-================================================================================
-
 LEMMA 1. Let G, H have equal positive order, and let k >= 2. Then:
 
     G ==_k H   iff   Duplicator wins the bijective game with k+1 slots.
@@ -323,10 +223,6 @@ LEMMA 1. Let G, H have equal positive order, and let k >= 2. Then:
 Furthermore, if Duplicator wins with at least 2 slots, then G ==_1 H
 (ordinary dimension-1 equivalence).
 
------------------------------------------
-5.1  Key idea
------------------------------------------
-
 Run WL refinement "in parallel" on the tuple tables V(G)^k and V(H)^k,
 giving matching color names whenever the same "definition" appears in
 both.
@@ -343,7 +239,7 @@ Two facts about the joint-update rule are used:
 
   (b) A stable color class carries a matching bijection. If v and w
       have equal round-s colors with s a stable round, then within each
-      vector-of-replacement-colors class, we can pair up the underlying
+      vector-of-replacement-colors class, one can pair up the underlying
       vertices: the multiset of replacement vectors is the same for
       both v and w, so vertices that appear in "the same replacement
       vector" can be matched.
@@ -385,14 +281,10 @@ With those two facts:
   pair. One more slot is enough to compare the neighbor-color
   multisets, giving G ==_1 H.
 
-================================================================================
-6.  DIMENSION IS MONOTONE
-================================================================================
-
 LEMMA 2. For positive integers j <= k, G ==_k H implies G ==_j H.
 Consequently, WLdim(G) <= k iff k-WL identifies G.
 
-Proof. From equal histograms at dimension k we get |V(G)|^k = |V(H)|^k,
+Proof. From equal histograms at dimension k give |V(G)|^k = |V(H)|^k,
 hence |V(G)| = |V(H)|; if that is zero, the claim is trivial, so assume
 positive.
 
@@ -405,10 +297,6 @@ G ==_j H implies G is isomorphic to H, so k-WL identifies G too.
 Conversely, "WLdim(G) <= k" literally means "exists j <= k that
 identifies G."
 
-================================================================================
-7.  MATCHING VERTICES HAVE EQUAL DEGREES
-================================================================================
-
 LEMMA 3. In every history following a winning strategy (with at least
 2 slots), matched vertices have equal degrees. Consequently, every
 bijection announced by the strategy preserves degrees.
@@ -423,14 +311,10 @@ are equal: deg(v) = deg(w).
 For the "consequently": for each vertex v, its pair (v, f(v)) under the
 announced f satisfies the same, so deg(f(v)) = deg(v).
 
-This lemma is what lets us "recover forgotten colors." Section 10 will
+This lemma is what allows recovering forgotten colors. The construction will
 encode vertex colors as degrees; Lemma 3 then says that any equivalent
 mate automatically respects those colors.
 
-================================================================================
-8.  THE EASY HALF: THIS ALL SITS INSIDE EXPTIME
-================================================================================
-
 PROPOSITION 1. The problem "given a graph G (adjacency matrix) and
 positive binary integer k, decide WLdim(G) <= k" belongs to EXPTIME.
 
@@ -469,12 +353,8 @@ inside EXPTIME.
 
 So the upper bound holds.
 
-================================================================================
-9.  THE HARD HALF: AN OUTLINE BEFORE ANY DETAILS
-================================================================================
-
 The real content is EXPTIME-hardness. Given any EXPTIME language L and
-any input word w of length m, we produce, in deterministic polynomial
+any input word w of length m, the construction produces, in deterministic polynomial
 time in m, a pair (G, r) with G a graph and r a polynomial-in-m
 dimension, such that:
 
@@ -501,7 +381,7 @@ ideas, each a whole section:
      the special twist where all shift bits live on one row of the
      first r wiring rows and one end of each wire.
 
-  C. (Sec. 16-18) Exact-projection theorem: on a small collection of
+  C. Exact-projection theorem: on a small collection of
      blocks (at most r+1), every old translation has a legal extension
      to a slightly larger one. This is what lets Duplicator preserve
      consistency of the maintained assignment while answering new
@@ -520,28 +400,20 @@ ideas, each a whole section:
        type A gives a nonempty-family of shifts whose global-offset
        system has no solution.
 
-Combine A-D: correctness. Corollary (Sec. 24): even k in unary suffices.
+Combine A-D: correctness. Corollary: even k in unary suffices.
 
 Everything below is filling in A-D.
 
-================================================================================
-10.  ENCODING COMPARISONS AS A GRAPH
-================================================================================
-
-We now build the graph G used in the reduction. The construction has two
+The graph G used in the reduction is built next. The construction has two
 halves:
 
   - A "schema" describes a linear comparison you want to enforce.
   - "Wires" and "blocks" translate a whole collection of schemas into an
     uncolored graph.
 
-Section 10 says how to build the graph. Sections 11-12 characterize the
+The construction builds the graph. Two reconstruction results characterize the
 graphs that are r-equivalent to it.
 
------------------------------------------
-10.1  Schemas
------------------------------------------
-
 Fix the field F = F_2 (arithmetic modulo 2). Choose integers
 
     r >= 32,     K := r + 1.
@@ -568,10 +440,6 @@ at (R, sigma_e(a)), for every a in D_e.
 
 Loops (P = R), parallel schemas, and zero forms are all allowed.
 
------------------------------------------
-10.2  Wires
------------------------------------------
-
 Each schema e : P -> R gets replaced by a "wire" with 4K private internal
 types, each of dimension 1. So a wire has 4K+1 links; distinct wires have
 no internal types in common.
@@ -586,7 +454,7 @@ These are the "allowed labels at coordinate i." Let d_t be the dimension
 of type t.
 
 At each link l (a type pair t-u with t first, u second in wire
-orientation), we want per-coordinate allowed matches. Define:
+orientation), the per-coordinate allowed matches are:
 
     M_{l,i} = { (p, p) : p in D_{e,i} }
                  if l is not the last link of e,
@@ -597,11 +465,7 @@ At internal endpoints, the scalar form L_{l,*} is the identity on F. At
 real endpoints, it is lambda_{e,0} (first link, P side) or lambda_{e,1}
 (last link, R side).
 
------------------------------------------
-10.3  Readouts and blocks
------------------------------------------
-
-Readouts are the "wires of the graph" -- the named variables we will
+Readouts are the "wires of the graph" -- the named variables to be
 assign to F^{d_t} or F.
 
 Horizontal readout (a vector):
@@ -648,11 +512,7 @@ at most 16; the count is the same whether beta_B = 0 or beta_B = 1.
 The reason for long wires: a collection of <= K blocks uses at most K
 distinct layout links, because site blocks use none and squares use one.
 So such a collection cannot span a whole wire of 4K+1 = 4r+5 links. This
-"no short witness wraps a full wire" fact drives Section 17.
-
------------------------------------------
-10.4  The uncolored graph G(beta)
------------------------------------------
+"no short witness wraps a full wire" fact drives the projection argument.
 
 First, build a COLORED graph:
 
@@ -678,28 +538,16 @@ vertex of color j, then "forget" the colors. The resulting uncolored
 graph is G(beta). Its order is independent of beta. G(0) is the graph
 where all square bits beta_B are zero.
 
-================================================================================
-11.  EVERY EQUIVALENT MATE IS A G(beta)
-================================================================================
-
 PROPOSITION 2 (Reconstruction of any equivalent mate). Fix comparison
-data as in Section 10, with r >= 32. Any graph H with H ==_r G(0) is
+data as in the construction, with r >= 32. Any graph H with H ==_r G(0) is
 isomorphic to G(beta) for some choice of one bit beta_B per square block.
 
------------------------------------------
-11.1  Key idea
------------------------------------------
-
 Lemma 1 provides a winning strategy from G(0) to H (with K = r+1 slots).
-The strategy's degree-preservation (Lemma 3) lets us "recover the
-forgotten colors." Once colors are back, we can identify each block and
+The strategy's degree-preservation (Lemma 3) allows recovering the
+forgotten colors. Once colors are back, one can identify each block and
 hence each beta_B globally, because the same two bit-value vertices are
 shared by every block that uses that coordinate.
 
------------------------------------------
-11.2  Details
------------------------------------------
-
 Base vertices of color j in G(0) have degrees in the interval:
 
     I_j = [ j(N+1), j(N+1) + N - 1 ].
@@ -730,7 +578,7 @@ Now fix a block. Mark every valuation vertex, plus both bit-value
 vertices of every coordinate it uses. In a square at most 16 + 2*5 = 26
 vertices; a site is smaller. All fit in K >= 33 slots. Their images are
 distinct, preserve colors, and exhaust the corresponding color classes
-in H (we checked class sizes). So H locally looks like G(0) with colors.
+in H (class sizes match). So H locally looks like G(0) with colors.
 
 Label the two vertices of every bit pair in H by {0, 1}, once for all
 blocks. A local colored isomorphism may flip each bit pair independently,
@@ -752,10 +600,6 @@ The subtle assertion being proved: an arbitrary r-equivalent H is not
 "some new structure with the same WL color histogram" but literally the
 same construction, up to a bit-flip per square.
 
-================================================================================
-12.  ISOMORPHISM EQUALS A GLOBAL OFFSET
-================================================================================
-
 PROPOSITION 3 (Isomorphisms and global offsets). For any choice of
 square bits beta, G(0) is isomorphic to G(beta) iff there exists a
 "global offset assignment" solving every square equation with its
@@ -784,7 +628,7 @@ Legality of the image forces Equation (*) with RHS beta_B. Because bit
 pairs are shared across blocks, all those local flips are part of ONE
 global assignment.
 
-(<=) Given such a global offset assignment, we translate each bit pair
+(<=) Given such a global offset assignment, translate each bit pair
 by its own offset, and translate each block's valuation by the offsets
 on its coordinates. Linearity makes the translation a bijection from
 the homogeneous legal valuations to the shifted legal valuations of that
@@ -792,22 +636,14 @@ block. Shared offsets preserve every valuation-bit incidence. The
 translation extends to the private leaves (whose count depends only on
 the preserved base color).
 
-================================================================================
-13.  IMAGE CONSISTENCY: WHAT EVERY WINNING GAME GUARANTEES
-================================================================================
-
 So far, Proposition 2 says any equivalent mate is G(beta). Proposition 3
 says "G(beta) is isomorphic to G(0)" is a global-solvability question.
 The next three sections extract from a winning game (of G(0) ==_r G(beta))
-a NECESSARY condition on the beta bits, and in section 16 the "special"
+a NECESSARY condition on the beta bits, and in the special-twist case the "special"
 case where it is also SUFFICIENT.
 
 The necessary condition is called "image consistency."
 
------------------------------------------
-13.1  Two more useful quantities
------------------------------------------
-
 Fix a schema e : P -> R and an address a in D_e. Along its wire, use
 the address a at the first endpoint and every internal type, and
 sigma_e(a) at the last endpoint. For each link l of this wire and row i,
@@ -823,11 +659,11 @@ Delta_l(a), Delta_e(a) are functions of a. They have "row-sum form"
 (preview: sum of functions on adjacent pairs of coordinates), because
 each summand depends only on two consecutive coordinates.
 
------------------------------------------
-13.2  Statement
------------------------------------------
+The next necessary condition, called image consistency, is in spirit the arc-consistency test of (Mackworth 1977, Artificial Intelligence 8(1):99-118, DOI 10.1016/0004-3702(77)90007-8, author copy at https://www.cs.ubc.ca/~mack/Publications/AI77.pdf).
+
+pdf: ./pdfs/mackworth1977.pdf
 
-PROPOSITION 4 (Image consistency). For the construction of Section 10,
+PROPOSITION 4 (Image consistency). For the constructed graph,
 suppose G(0) ==_r G(beta). Then there exist nonempty sets
 
     Q_{P,a} subset F^{d_P},
@@ -850,10 +686,6 @@ Those supports may be different for different comparisons. In particular,
 a "self-comparison" (P = R, with the same address) does NOT force its two
 endpoint values to be equal vectors.
 
------------------------------------------
-13.3  How the sets Q are produced from a winning game
------------------------------------------
-
 Fix a winning (r+1)-slot strategy for G(0) -> G(beta).
 
 Consider histories in which Spoiler places only the all-zero valuation
@@ -876,7 +708,7 @@ ring" to be the r site blocks with readouts x_{i,t,a_i,a_{i+1}}. Mark
 their zero valuations. Let h_t be the sum (in F^{d_t}) of the response
 vectors on those readouts.
 
-Claim. Starting from this ring, and using one spare slot, we can
+Claim. Starting from this ring, and using one spare slot, one can
 transfer the sum across any incident link with matching addresses. The
 procedure places the square block of that row before discarding the old
 site pair.
@@ -905,18 +737,14 @@ Now define:
 
 Nonempty: the ring can be queried from the empty position.
 
-If we continue any history realizing a value in Q_{P,a} along the wire
-(via the same small proof moves), we get one side of (**). Continuing
+Continuing any history realizing a value in Q_{P,a} along the wire
+(via the same small proof moves) gives one side of (**). Continuing
 backwards from Q_{R, sigma_e(a)} gives the reverse inclusion. No
 "memorylessness" or common simultaneous choice is used, so this works
 even for self-comparisons.
 
 That is the proof of Proposition 4.
 
-================================================================================
-14.  LIFTING SUMS AROUND A CYCLE
-================================================================================
-
 The next fact is purely about F-valued functions on a cyclic product.
 
 LEMMA 4 (Cycle lifting). Let r >= 3, each A_i nonempty, and let
@@ -930,7 +758,7 @@ then there exist functions Y_i : A_i -> F with
 
 Proof. Fix a base address b. Taking the RECTANGULAR DIFFERENCE in
 coordinates i and i+1 of (***) eliminates all but g_i, since r >= 3.
-Consequently we can write:
+Consequently one can write:
 
     c_i = g_i(b_i, b_{i+1}),
     alpha_i(u) = g_i(u, b_{i+1}) + c_i,
@@ -954,15 +782,10 @@ Then Y_i(u) + Y_{i+1}(v) = c_i + alpha_i(u) + gamma_i(v) = g_i(u, v).
 For a singleton factor the deviations vanish, so the same argument
 covers that case.
 
-================================================================================
-15.  THE GLOBAL-OFFSET CRITERION
-================================================================================
-
-This section connects Section 13's necessary condition to Section 12's
-isomorphism criterion.
+Image consistency ties directly to the isomorphism criterion.
 
 PROPOSITION 5 (Global offsets). For any right-hand sides beta in the
-Section 10 construction, all square equations admit a simultaneous
+construction, all square equations admit a simultaneous
 assignment to the readout names if and only if there exist "row-sum
 functions":
 
@@ -984,7 +807,7 @@ for functions h_i : A_i x A_{i+1} -> V (with cyclically r+1 = 1).
 Note: restriction to a product subdomain preserves row-sum form, as do
 linear maps on V and pullback by coordinatewise maps of the domain. In
 particular, all functions Delta_l(\cdot), Delta_e(\cdot) defined in
-Section 13.1 have row-sum form.
+the wire-sum calculations have row-sum form.
 
 Proof.
 
@@ -1039,7 +862,7 @@ factors are nonempty). So the assignment really does satisfy Equation
 
 Different links have distinct vertical readout names, so their
 assignments are independent. Site blocks impose no additional
-constraint. We have obtained the desired global offsets.
+constraint. This yields the desired global offsets.
 
 The equivalence with isomorphism is Proposition 3.
 
@@ -1047,20 +870,12 @@ Finally, an observation used later: a row-sum function on a product
 subdomain of {0,1}^r EXTENDS to a row-sum function on the full cube
 (extend each row term arbitrarily to the corresponding binary pair).
 
-================================================================================
-16.  SMALL SUPPORTS AND WRAPPING ADDRESSES
-================================================================================
-
-From now on we build "translations" of readouts that correspond to
+The next construction builds "translations" of readouts that correspond to
 permitted bit flips. The main tool is a family H_U of admissible
-assignments parameterized by a small collection U of blocks. Section 17
+assignments parameterized by a small collection U of blocks. The projection argument
 shows these translate every legal valuation-for-G(0) into a
 legal valuation-for-G(beta), for beta in a "special twist."
 
------------------------------------------
-16.1  The twist we use
------------------------------------------
-
 Choose constants b_e in F, one per comparison schema. For a link l on
 wire e, let b_l = b_e if l is the LAST link of the wire, else 0. Let
 delta_r = 1 and delta_i = 0 for i < r. Define the SQUARE BITS
@@ -1070,10 +885,6 @@ delta_r = 1 and delta_i = 0 for i < r. Define the SQUARE BITS
 Then Delta_e(a) = b_e for every a in D_e (the sum around the wire
 collapses: only the row-r end-link bit survives).
 
------------------------------------------
-16.2  Small supports are trees with short arms
------------------------------------------
-
 For a set U of blocks, define Gamma_U to be the graph whose vertices are
 corners and whose edges are the readout names appearing in U (repeated
 names collapse to one edge). Each block belongs to one connected
@@ -1096,10 +907,6 @@ between two distinct real types, must traverse a complete wire of
 
 The point: "small" means "cannot span a full wire."
 
------------------------------------------
-16.3  Aligned labels and the wrapping marker
------------------------------------------
-
 To compare labels at different types in a type support, fix for every
 link and boundary index an EXTENSION of the label-matching injection
 M_{l,i} to a full permutation of {0,1}. Use identity for identity
@@ -1116,10 +923,6 @@ edge gets marker zero. A BLOCK COLLECTION is "wrapping" if its corner
 graph has a closed walk whose marker sum, mod 2, is 1. Equivalently,
 some closed walk crosses the row-r seam an odd number of times.
 
------------------------------------------
-16.4  Wrapping addresses
------------------------------------------
-
 LEMMA 6 (Wrapping addresses). Let |U| <= r+1. Then:
 
   1. Every wrapping subcollection of U has at least r blocks.
@@ -1158,14 +961,6 @@ boundary index because r >= 3 (one missing row can only fail to reach
 one boundary, and the adjacent boundary still is touched). So the two
 addresses agree.
 
-================================================================================
-17.  TRANSLATIONS ON A SMALL BLOCK COLLECTION
-================================================================================
-
------------------------------------------
-17.1  Building the assignment family
------------------------------------------
-
 Fix U with |U| <= K. In each component C of Gamma_U, choose a vector
 h_t in F^{d_t} per type in its support, subject to the "link equation"
 
@@ -1210,10 +1005,6 @@ Every assignment in H_U satisfies Equation (*) at every square of U.
 Reason: in a square, potential terms cancel pairwise; the sum reduces
 to delta_i * (L(h_t) + L(h_u)) = delta_i * b_l = beta_B.
 
------------------------------------------
-17.2  Exact projection
------------------------------------------
-
 PROPOSITION 6 (Exact projection). For V subset U with |U| <= r+1,
 restriction to the readout names of V maps H_U onto H_V.
 
@@ -1273,10 +1064,6 @@ One application: a wrapping (r+1)-block component with no wrapping
 r-subcollection is no exception. Every proper subcollection has <= r
 blocks and is nonwrapping; exact projection extends any old choice.
 
-================================================================================
-18.  TRANSLATIONS BECOME A WINNING STRATEGY
-================================================================================
-
 THEOREM 1 (Special-twist sufficiency). Fix r >= 32, K = r+1. Let beta
 be the special twist (T). Suppose for every real type P and address a
 in {0,1}^r there is a nonempty Q_{P,a} subset F^{d_P} such that for
@@ -1349,11 +1136,7 @@ owner B. It agrees with every old marked pair, and the new pair is
 consistent. The preceding partial-isomorphism check applies. Duplicator
 wins with K = r+1 slots. So G(0) ==_r G(beta).
 
-================================================================================
-19.  BUILDING THE COMPUTATION
-================================================================================
-
-We now specify exactly what the circuit encodes, and how a graph-like
+Next, specify exactly what the circuit encodes, and how a graph-like
 constraint system emerges.
 
 Setup. Fix a binary language L in EXPTIME. Fix a deterministic machine
@@ -1375,8 +1158,8 @@ Parameters for input word w of length m:
     S = 2^d = 4T,
     r = 2d.
 
-So r >= 68. In particular r >= 32: Section 11's reconstruction and
-Section 18's special-twist theorem both apply.
+So r >= 68. In particular r >= 32: the reconstruction theorem and
+the special-twist theorem both apply.
 
 Addresses. An address in {0,1}^r splits into two groups of d bits,
 least-significant-first, representing a pair (tau, j) with tau, j in
@@ -1399,7 +1182,7 @@ Connection schemas. A "connection schema" describes:
   - coordinate injections from source to destination address.
 
 So its address data have exactly the shape of a comparison schema from
-Section 10.
+the construction.
 
 Seed and test requests. A seed or test request specifies a scalar type
 and a nonempty product of allowed addresses.
@@ -1418,13 +1201,13 @@ All tests are scalar terminal gates. M accepts w iff at least one test
 gate is true.
 
 Proof. Apply the uniform product-circuit compilation theorem
-[VariableWL, Prop. 3.2] to M, p. Its assumptions match ours:
+for exponential-time machines to M, p. Its assumptions match ours:
 
   - one-tape initialization, frozen-halting convention;
   - least-significant-bit-first coordinate groups;
   - r = 2(p(m) + 2);
   - position ring length 4T = S;
-  - p(m) >= m + 2 (our padding is >= m + 32);
+  - p(m) >= m + 2 (the padding is >= m + 32);
 
 so the theorem gives the stated counts.
 
@@ -1441,16 +1224,8 @@ seeds. Final-time accepting symbols supply the terminal tests.
 The compiler generates all this from short coordinate tables without
 listing full addresses. The true-test condition is acceptance of w.
 
-================================================================================
-20.  ACCEPTANCE: EVERY EQUIVALENT MATE IS ISOMORPHIC
-================================================================================
-
 Now add the "identification constraints."
 
------------------------------------------
-20.1  Real types and the identification constraints
------------------------------------------
-
 From the circuit:
 
   - Each scalar gate type: dimension 1, with the scalar coordinate as
@@ -1485,10 +1260,6 @@ its evaluation):
 These constraints define identification; they do not affect the truth
 values the circuit computes.
 
------------------------------------------
-20.2  Buffering connections with F_2^2
------------------------------------------
-
 Each connection schema l - original circuit edge OR added directed
 connection - is upgraded to a "buffered connection" using a private
 real type B_l of dimension 2.
@@ -1512,10 +1283,6 @@ Consequence: the source can be a full image while the buffer has small
 sum image. In the OTHER direction, if both coordinate images are
 singletons, the whole nonempty buffer set is a singleton.
 
------------------------------------------
-20.3  The acceptance theorem
------------------------------------------
-
 PROPOSITION 8 (Acceptance). If M accepts w, then every graph H with
 H ==_r G(0) is isomorphic to G(0).
 
@@ -1606,10 +1373,6 @@ value required by (**), and the dummy's zero form gives {0}. So the
 row-sum functions satisfy (GLOBAL) (Prop 5). Hence global offsets
 exist (Prop 5), hence G(beta) ~ G(0) (Prop 3), hence H ~ G(0).
 
-================================================================================
-21.  REJECTION: ONE SMALL TWIST
-================================================================================
-
 PROPOSITION 9 (Rejection). If M does not accept w, there exists a
 choice of square bits beta such that G(beta) ==_r G(0) but
 G(beta) is NOT isomorphic to G(0). Hence WLdim(G) > r.
@@ -1623,7 +1386,7 @@ wire e, 0 on all others; beta_B = delta_i * b_l per square in row i,
 link l.
 
 (This is well defined: the two A-self-connections are distinct private
-buffers, so we choose which one carries the shift.)
+buffers, so the choice of which one carries the shift is free.)
 
 Step 1: Non-isomorphism.
 
@@ -1694,7 +1457,7 @@ requirement on the shifts.
 Step 3: Extend by convention.
 
 Buffer sets defined only on their active domains; extend to inactive
-addresses arbitrarily (they occur in no comparison). So we have a
+addresses arbitrarily (they occur in no comparison). Now there is a
 choice of nonempty Q satisfying (**-twist) with shifts b_e.
 
 Step 4: Apply Theorem 1.
@@ -1702,10 +1465,6 @@ Step 4: Apply Theorem 1.
 So G(beta) ==_r G(0). By Step 1, G(beta) is not isomorphic to G(0).
 Therefore WLdim(G) > r.
 
-================================================================================
-22.  SIZES: THE REDUCTION IS POLYNOMIAL-TIME
-================================================================================
-
 Counts from Proposition 7:
 
   - O_M((r+1)^2 + m) schemas and requests.
@@ -1750,10 +1509,6 @@ Also, r = 2 p(m) + 4 is computed in binary in polynomial time in m.
 
 So the reduction is a polynomial-time algorithm.
 
-================================================================================
-23.  MAIN THEOREM
-================================================================================
-
 THEOREM 2 (Main). The following problem is EXPTIME-complete under
 deterministic polynomial-time many-one reductions:
 
@@ -1764,14 +1519,14 @@ deterministic polynomial-time many-one reductions:
     Question: is WLdim(G) <= k?
 
 Dimension one uses ordinary neighbor-color refinement; dimensions
-at least two use the joint-update rule of Section 2.2.
+at least two use the joint-update rule described earlier.
 
 Proof.
 
-Upper bound: Proposition 1 (Section 8).
+Upper bound: Proposition 1.
 
 Lower bound: Fix any language L in EXPTIME. Fix a deterministic
-machine M deciding it as in Section 19. The construction of Propositions
+machine M deciding it as above. The construction of Propositions
 7, 8, 9 is a deterministic polynomial-time map from w to (G, r).
 
     If M accepts w:     Proposition 8 says WLdim(G) <= r.
@@ -1784,10 +1539,6 @@ WLdim(G) <= r. Since L was arbitrary, WLdim decision is EXPTIME-hard.
 
 Together with the upper bound: EXPTIME-complete.
 
-================================================================================
-24.  WRITING THE DIMENSION IN UNARY
-================================================================================
-
 COROLLARY 1. The identification problem of Theorem 2 remains
 EXPTIME-complete when the positive dimension k is encoded in unary.
 
@@ -1800,9 +1551,7 @@ unchanged.
 So the hardness is not about k being exponentially large in its
 encoding. It is in G.
 
-================================================================================
-GLOSSARY OF SYMBOLS AND TERMS
-================================================================================
+A short reference of the symbols and terms used throughout, for quick lookup.
 
 F_2
     The two-element field {0, 1}, with addition "mod 2" (so 1 + 1 = 0)
@@ -1833,7 +1582,7 @@ WLdim(G)
     k-equivalent H on the same number of vertices is isomorphic to G).
 
 Bijective game
-    The two-player game of Section 4. With K slots, it characterizes
+    The two-player game. With K slots, it characterizes
     k-WL equivalence when K = k+1 (Lemma 1).
 
 Real type
@@ -1882,73 +1631,3 @@ Row-sum form
 Broadcast type A
     A scalar type that connects all primary types to all addresses;
     used in acceptance to force all primary sets singleton.
-
-================================================================================
-BIBLIOGRAPHY
-================================================================================
-
-[AKRV2017]
-    V. Arvind, J. Kobler, G. Rattan, O. Verbitsky.
-    "Graph Isomorphism, Color Refinement, and Compactness."
-    Computational Complexity 26(3):627-685, 2017.
-    doi:10.1007/s00037-016-0147-6. arXiv:1502.01255v3 (May 4, 2015).
-
-[CFI1992]
-    J.-Y. Cai, M. Furer, N. Immerman.
-    "An optimal lower bound on the number of variables for graph
-    identification." Combinatorica 12(4):389-410, 1992.
-    doi:10.1007/BF01305232.
-
-[Grohe1999]
-    M. Grohe. "Equivalence in Finite-Variable Logics is Complete for
-    Polynomial Time." Combinatorica 19(4):507-532, 1999.
-    doi:10.1007/s004939970004.
-
-[GLNS2025]
-    M. Grohe, M. Lichter, D. Neuen, P. Schweitzer. "Compressing CFI
-    Graphs and Lower Bounds for the Weisfeiler-Leman Refinements."
-    Journal of the ACM 72(3), Article 21, 2025.
-    doi:10.1145/3727978. arXiv:2308.11970v2.
-
-[KN2019]
-    S. Kiefer, D. Neuen. "The Power of the Weisfeiler-Leman Algorithm
-    to Decompose Graphs." MFCS 2019, LIPIcs 138, 45:1-45:15.
-    doi:10.4230/LIPIcs.MFCS.2019.45.
-
-[LRS2025]
-    M. Lichter, S. Rassmann, P. Schweitzer. "Computational Complexity
-    of the Weisfeiler-Leman Dimension." CSL 2025, LIPIcs 326,
-    13:1-13:22. doi:10.4230/LIPIcs.CSL.2025.13.
-
-[LRS2024full]
-    M. Lichter, S. Rassmann, P. Schweitzer. "Computational Complexity
-    of the Weisfeiler-Leman Dimension." Full version,
-    arXiv:2402.11531v2 (Nov 15, 2024). Journal version: ACM
-    Transactions on Computational Logic 27(2), 2026.
-    doi:10.1145/3798282.
-
-[Mackworth1977]
-    A. K. Mackworth. "Consistency in Networks of Relations."
-    Artificial Intelligence 8(1):99-118, 1977.
-    doi:10.1016/0004-3702(77)90007-8.
-
-[Seppelt2024]
-    T. Seppelt. "An Algorithmic Meta Theorem for Homomorphism
-    Indistinguishability." MFCS 2024, LIPIcs 306, 82:1-82:19.
-    doi:10.4230/LIPIcs.MFCS.2024.82.
-
-[VariableWL]
-    OpenAI. "Variable-dimension Weisfeiler-Leman equivalence on
-    general and subcubic graphs." OpenAI Math Release preprint,
-    2026.
-
-[WL1968]
-    B. Weisfeiler, A. Leman. "The Reduction of a Graph to Canonical
-    Form and the Algebra Which Appears Therein."
-    Nauchno-Tekhnicheskaya Informatsiya, Series 2, 9:12-16, 1968.
-    English translation by G. Ryabov:
-    https://www.iti.zcu.cz/wl2018/pdf/wl_paper_translation.pdf
-
-================================================================================
-END OF DOCUMENT
-================================================================================