diff f6bf760..6fbd3ac weisfeiler_leman_parity_lifts_v2.txt
diff --git a/weisfeiler_leman_parity_lifts_v2.txt b/weisfeiler_leman_parity_lifts_v2.txt
index 35ece91..b7f306c 100644
--- a/weisfeiler_leman_parity_lifts_v2.txt
+++ b/weisfeiler_leman_parity_lifts_v2.txt
@@ -205,7 +205,7 @@ own section.
le t (Lemma~lem:hom-implies-wl), and the template T
alone is a sufficient detector (Lemma~lem:test-detected).
Section~sec:lifts: hom(F,X_0) ge hom(F,X_star) for
- every source F, with strict inequality iff a primal-dual
+ every source F, with strict ineuality iff a primal-dual
certificate exists; a successful choice produces such a certificate
(Lemmas~lem:lift-dual and lem:choice-witness).
Section~sec:separator: a certificate for a bag-le t
@@ -258,13 +258,13 @@ For each finite graph F, each list of k (not necessarily distinct)
roots boldsymbolell = (ell_1, ..., ell_k) in V(F)^k, and each
target graph X, define
[
-h_F(X; mathbf x)bfx) ;=; #{phi colon V(F) to V(X) : phi homomorphism, phi(ell_i) = x_i}.
+h_F(X; x)x) ;=; #{phi colon V(F) to V(X) : phi homomorphism, phi(ell_i) = x_i}.
]
This is a function V(X)^k to ℕ. Fix a finite set
F_t of bag-le t graphs together with root lists of
length k whose roots are jointly inside one bag. Let
A_t be the rational span of the corresponding functions
-{ h_F(·; mathbf x)bfx) : F in F_t } on the two
+{ h_F(·; x)x) : F in F_t } on the two
fixed targets X_0, X_1.
We prove two facts about A_t.
@@ -277,7 +277,7 @@ X_j-tuples. Three elementary sources:
adjacency x_i x_k. Other adjacencies are recovered from these by
products and complements.
-Products and complements stay in A_t:calA_t: any two rooted
+Products and complements stay in A_t:A_t: any two rooted
sources can be glued by identifying corresponding roots (formal
central bag of size k; never exceeds t when t ge k) and the
result has bag size at most max(bag_1, bag_2, k) le t.
@@ -286,8 +286,8 @@ result has bag size at most max(bag_1, bag_2, k) le t.
Consider a tuple (f_1, ..., f_k) of elements of A_t,
each represented by some rooted source. Define
[
-Phi_{mathrm J}rmJ (f_1, ..., f_k)(X; mathbf x)bfx)
- = sum_{y in V(X)} , prod_{i=1}^k f_i(X; mathbf x[ibfx[i ← y]).
+Phi_{J}rmJ (f_1, ..., f_k)(X; x)x)
+ = sum_{y in V(X)} , prod_{i=1}^k f_i(X; x[ibfx[i ← y]).
]
We produce a rooted source for this: take a formal central bag
{u_1, ..., u_k, y} of size k+1 = t. Attach operand source
@@ -296,19 +296,19 @@ ell_i |-> y. The identifications force repeated roots to
become single vertices. A homomorphism out of the glued source
uniquely picks y's image once and then independently a
homomorphism from each operand, restricted to reproduce
-mathbf x[ibfx[i ← y] on the appropriate side. Multilinearity
+x[ibfx[i ← y] on the appropriate side. Multilinearity
gives the general case.
For convention S, use instead two adjacent bags
O = {u_1, ..., u_k} and R = {y, u_j : j ne i}, each of
size k = t; attach operand i's root bag to R. A check at a
merged vertex shows the resulting function is
[
-Phi_{mathrm S}rmS^i (f)(X; mathbf x)bfx)
- = sum_{y in V(X)} f(X; mathbf x[ibfx[i ← y]).
+Phi_{S}rmS^i (f)(X; x)x)
+ = sum_{y in V(X)} f(X; x[ibfx[i ← y]).
]
Induction. Fix r ge 0. Suppose that, in the round-r
-refinement, each color C_r(mathbf x)bfx) restricted to tuples of each
+refinement, each color C_r(x)x) restricted to tuples of each
fixed X_j is an element of A_t (for convention J the
"color" is understood as the whole hash value, which we think of as a
tuple of independent atomic-type indicators plus the recursively
@@ -321,15 +321,15 @@ S subset ℕ on the two targets, then the indicator of
1_{M = q} ;=; prod_{s in S ∖ {q}} (M - s)/(q - s),
]
which involves only the values s in S. These coefficients are
-identical for X_0 and X_1. Now, the (r+1)-st color of mathbf xbfx
+identical for X_0 and X_1. Now, the (r+1)-st color of x
records:
-- in J, the multiset of vectors (C_r(mathbf x[1bfx[1 ← y]),
- ..., C_r(mathbf x[kbfx[k ← y])) over all y; equivalently
+- in J, the multiset of vectors (C_r(x[1bfx[1 ← y]),
+ ..., C_r(x[kbfx[k ← y])) over all y; equivalently
the count
- sum_{y} prod_{i} 1_{C_r(mathbf x[ibfx[i ← y]) = c_i}
+ sum_{y} prod_{i} 1_{C_r(x[ibfx[i ← y]) = c_i}
for each candidate color vector (c_1, ..., c_k);
- in S, the k independent multiplicities
- #{y : C_r(mathbf x[ibfx[i ← y]) = c_i}.
+ #{y : C_r(x[ibfx[i ← y]) = c_i}.
Both are produced from elements of A_t by the closures
(A1) and (A2) -- interpolation identifies the indicators, and the
Phi operators sum them over y. Then multiply by the old-color
@@ -340,10 +340,10 @@ Consequently each round-r, tuple-level color indicator on V(X_j)^k
lies in A_t, with coefficients independent of j.
Summing over tuples. For any rooted source F,
-sum_{x in V(X_j)^k} h_F(X_j; mathbf x)bfx) = hom(F, X_j):
+sum_{x in V(X_j)^k} h_F(X_j; x)x) = hom(F, X_j):
each homomorphism contributes exactly one root-image tuple. Applying
this to every term of a color indicator yields
-#{mathbf xbfx : C_r(mathbf x)bfx) = c} = (a linear combination of
+#{x : C_r(x)x) = c} = (a linear combination of
hom(F, X_j) for F in F_t). Equality of the hypotheses
hom(F, X_0) = hom(F, X_1) for all F then gives equality of
histograms at every round r, hence k-WL equivalence.
@@ -354,7 +354,7 @@ performed once. At the end, for each remaining source F, split its
connected components into two classes: L (containing at
least one root) and R (rootless). Then
[
-sum_{mathbf xbfx in V(X_j)^k} h_F(U; mathbf x)bfx)
+sum_{x in V(X_j)^k} h_F(U; x)x)
= prod_{Q in L} hom(Q, X_j) ;·
prod_{Q in R} hom(Q, U).
]
@@ -387,16 +387,16 @@ union X_0 sqcup X_1.
Proof.
Let A_X(v, w) = ind{vw in E(X)} in {0, 1}. For main images
-mathbf zbfz = (z_1, ..., z_t) in V(X)^t and triples
+z = (z_1, ..., z_t) in V(X)^t and triples
B in binom{[t]}{3}, put
[
-q_B(mathbf z)bfz) = |∩_{b in B} N_X(z_b)|.
+q_B(z)z) = |∩_{b in B} N_X(z_b)|.
]
-Then the number of extensions of mathbf zbfz to a homomorphism
+Then the number of extensions of z to a homomorphism
T to X is
-E_X(mathbf z)bfz) = prod_{a<b} A_X(z_a, z_b) ·
- prod_{B in binom{[t]}{3}} q_B(mathbf z)^3.bfz)^3.
+E_X(z)z) = prod_{a<b} A_X(z_a, z_b) ·
+ prod_{B in binom{[t]}{3}} q_B(z)^3.z)^3.
The clique factor rejects repeated main images (a loop is not an
edge and A_X(v,v) = 0). Each helper has three neighbors in T:
@@ -405,22 +405,22 @@ any common neighbor of z_i, z_j, z_ell, and these three coordinates
are chosen independently over all copies of the same triple, giving
q_B^3.
-Joint round 2. Fix mathbf xbfx = (z_1, ..., z_k) in V(X)^k
+Joint round 2. Fix x = (z_1, ..., z_k) in V(X)^k
and y in V(X), and put z_{k+1} = y. Consider its round-one color:
-- the old color C_1(mathbf x)bfx) of the k-tuple;
+- the old color C_1(x)x) of the k-tuple;
- the multiset of replacement-color k-vectors
- (C_1(mathbf x[1←bfx[1← y]), ..., C_1(mathbf x[k←bfx[k← y]))
+ (C_1(x[1←x[1← y]), ..., C_1(x[k←x[k← y]))
over all y.
Each replacement k-vector is the round-one color of k vertices
z_1, ..., z_{i-1}, y, z_{i+1}, ..., z_k. So the round-one old
color and all faces together cover the round-one colors of all
(k+1)-vertex tuples with at most one coordinate equal to y and the
-rest as in mathbf x.bfx.
+rest as in x.x.
Key observation: for any triple B ⊆ [k+1], some face
i notin B omits the position that is not used, and the round-one
-color of that face determines q_B(mathbf z).bfz). Indeed, at round one,
+color of that face determines q_B(z).z). Indeed, at round one,
a k-tuple's color already determines the common-neighbor count of
any triple of its positions: for the triple (p, q, r) inside the
face, the atomic replacement color of the k-tuple reveals
@@ -431,21 +431,21 @@ inside the atomic type.)
Letting i range over [k+1], all pairs and triples are covered
when k ge 4: a set of size at most three is missed by some
position. Therefore the round-two multiset determines
-sum_y E_X(mathbf x,bfx, y) for each mathbf x.bfx. Summing over
-mathbf xbfx gives hom(T_{k+1}, X).
+sum_y E_X(x,x, y) for each x.x. Summing over
+x gives hom(T_{k+1}, X).
Separate round 1. All t = k main images are already fixed
-in mathbf x.bfx. For a triple B, choose any i notin B. Let
+in x.x. For a triple B, choose any i notin B. Let
M_i(sigma) be the multiplicity of atomic type sigma in the
i-th coordinate's replacement multiset at round one. Then
[
-q_B(mathbf x)bfx) = sum_sigma M_i(sigma) prod_{p in B} A_sigma(i, p),
+q_B(x)x) = sum_sigma M_i(sigma) prod_{p in B} A_sigma(i, p),
]
where A_sigma(i, p) is the i-p adjacency bit recorded in sigma.
-Thus the round-one color determines E_X(mathbf x),bfx), and summing over
-mathbf xbfx gives hom(T_k, X).
+Thus the round-one color determines E_X(x),x), and summing over
+x gives hom(T_k, X).
-Disjoint union. Take a pure tuple mathbf xbfx in V(X_j)^k
+Disjoint union. Take a pure tuple x in V(X_j)^k
inside U = X_0 sqcup X_1. In the joint case, if some main image
z_a is in the other component, then A_U(z_a, z_b) = 0 for any
other main image z_b, and (eq:extend) is zero; helper images
@@ -570,7 +570,7 @@ every x and z_{x}(a(y)) + z_{y}(a(x)) = 0 for every xy in E(F).
[Lift counts and their dual obstruction]
For every finite simple graph F,
hom(F, X_0) ge hom(F, X_star).
-The inequality is strict if and only if there exist a homomorphism
+The ineuality is strict if and only if there exist a homomorphism
phi: F to G and weights s: V(F) to FF and
r: E(F) to FF such that, with a = tau circ phi,
@@ -961,9 +961,9 @@ Converse direction. Suppose no successful choice exists. Let
F be any finite simple graph with a tree decomposition of bag size
at most t and suppose for contradiction that
hom(F, X_0) ne hom(F, X_star). Since
-Lemma~lem:lift-dual gives the non-strict inequality
+Lemma~lem:lift-dual gives the non-strict ineuality
hom(F, X_0) ge hom(F, X_star) in general, we have strict
-inequality here, so we get a dual certificate (phi, s, r)
+ineuality here, so we get a dual certificate (phi, s, r)
satisfying (eq:dual)--(eq:dual-sum). But then
Lemma~lem:extract produces a successful choice, contradiction.
Therefore hom(F, X_0) = hom(F, X_star) for every such F, and
@@ -1084,12 +1084,12 @@ Reduction from 3-SAT. Given a 3-CNF F on N variables:
t = k (separate), and build the two graphs X_0, X_star of
Theorem~thm:main. Let n_j be their common order.
Run S on (X_0, X_star). Accept the pair if
- inequivalent.
- Accept F if any pair is inequivalent.
+ ineuivalent.
+ Accept F if any pair is ineuivalent.
Correctness follows from Lemma~lem:sparsify (a disjunction of
satisfiable equals satisfiable) and Lemmas~lem:sat-choice and
-Theorem~thm:main (inequivalence iff the choice system admits a
+Theorem~thm:main (ineuivalence iff the choice system admits a
successful choice).
Size. With m le CN clauses in a sparse disjunct, the
@@ -1229,7 +1229,7 @@ disjoint-union run.
On the graph pairs produced by the reduction, Theorem~thm:main
gives equality at every round when no successful choice exists, and
-inequality by the specified round when a choice exists. The inequality
+ineuality by the specified round when a choice exists. The ineuality
persists because each update retains the old color. Thus the reductions
proving Theorem~thm:eth and Proposition~prop:uniform give
the corresponding deterministic time exclusions for these fixed-round