OctoInform Beta

OpenAI preprint, September 2026 · §3. Choices and parity lifts

Lemma 3.2: Strict homomorphism count gaps between parity lifts, unsolvable parity lift equations, weighted dual witnesses, and unit template mass

Homomorphism count gaps and weighted dual witnesses.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

Comparing two parity lifts X0X_0 and X*X_* of a base graph GG over a template graph TT by homomorphism counts from a pattern graph FF reduces, fiber by fiber over homomorphisms ϕ:F→G\phi : F \to G, to solving a system of linear parity equations over ℤ2\mathbb{Z}_2. A strict gap hom⁡(F,Xb)<hom⁡(F,X0)\operatorname{hom}(F, X_b) < \operatorname{hom}(F, X_0) occurs precisely when some base homomorphism ϕ:F→G\phi : F \to G admits no compatible assignment of parity tags.✦ By linear duality over ℤ2\mathbb{Z}_2, the inconsistency of that system is witnessed by a pair of ℤ2\mathbb{Z}_2-valued vertex and edge weights on FF, and on the template graph TtT_t with the star parity assignment e1e_1 every such dual witness distributes total weight 11 onto every template vertex.

Parity lifts

A parity bit is an element of the field ℤ2\mathbb{Z}_2 of integers modulo 22.✦ Let TT be a finite simple graph with vertex set V(T)V(T), and let b:V(T)→ℤ2b : V(T) \to \mathbb{Z}_2 be a parity assignment. For a vertex a∈V(T)a \in V(T) with neighborhood NT(a)N_T(a) in TT, a parity tag at aa is a function σ:NT(a)→ℤ2\sigma : N_T(a) \to \mathbb{Z}_2 satisfying ∑v∈NT(a)σ(v)=b(a).\sum_{v \in N_T(a)} \sigma(v) = b(a).(1)✦

On the template graph alone the parity tags form Roberson’s parity graph, and pairing each tag with a base vertex of matching type yields the parity lift graph.

Let GG be a finite simple base graph with vertex set V(G)V(G) and edge set E(G)E(G), equipped with a graph homomorphism τ:G→T\tau : G \to T called the type map. A lift graph vertex is a pair (u,σ)(u, \sigma) consisting of a vertex u∈V(G)u \in V(G) and a parity tag σ\sigma at τ(u)\tau(u).✦ The parity lift graph XbX_b is the simple graph on the lift graph vertices in which (u,σ)(u, \sigma) and (v,ρ)(v, \rho) are adjacent if uv∈E(G)uv \in E(G) and σ(τ(v))=ρ(τ(u)).\sigma(\tau(v)) = \rho(\tau(u)).(2)✦ The untwisted lift X0X_0 is the parity lift graph for the identically zero parity assignment b≡0b \equiv 0. For finite simple graphs FF and HH, the homomorphism count hom⁡(F,H)\operatorname{hom}(F, H) is the number of graph homomorphisms from FF to HH.✦

Fix a finite simple graph FF with vertex set V(F)V(F) and edge set E(F)E(F), together with a graph homomorphism ϕ:F→G\phi : F \to G. A family of parity lift variables for ϕ\phi is a collection z=(zx)x∈V(F)z = (z_x)_{x \in V(F)} of functions zx:NT(τ(ϕ(x)))→ℤ2z_x : N_T(\tau(\phi(x))) \to \mathbb{Z}_2. Such a family satisfies the parity lift equations for bb if ∑v∈NT(τ(ϕ(x)))zx(v)=b(τ(ϕ(x)))(x∈V(F)),zx(τ(ϕ(y)))=zy(τ(ϕ(x)))(xy∈E(F)).\begin{aligned} \sum_{v \in N_T(\tau(\phi(x)))} z_x(v) &= b(\tau(\phi(x))) \quad (x \in V(F)), \\ z_x(\tau(\phi(y))) &= z_y(\tau(\phi(x))) \quad (xy \in E(F)). \end{aligned}(3)✦ The set of parity lift solutions Sol⁡b(ϕ)\operatorname{Sol}_b(\phi) is the set of all families of parity lift variables zz satisfying (3).✦

Weighted dual witnesses

Given a graph homomorphism a:F→Ta : F \to T and a parity assignment b:V(T)→ℤ2b : V(T) \to \mathbb{Z}_2, a weighted dual witness for aa and bb is a pair (s,r)(s, r) consisting of vertex weights s:V(F)→ℤ2s : V(F) \to \mathbb{Z}_2 and edge weights r:V(F)×V(F)→ℤ2r : V(F) \times V(F) \to \mathbb{Z}_2 such that r(x,y)=r(y,x)r(x, y) = r(y, x) for all x,y∈V(F)x, y \in V(F), r(x,y)=0r(x, y) = 0 whenever xx and yy are not adjacent in FF, and ∑y∈V(F)a(y)=ur(x,y)=s(x)(x∈V(F),u∈NT(a(x))),∑x∈V(F)s(x)b(a(x))=1,\begin{aligned} \sum_{\substack{y \in V(F) \\ a(y) = u}} r(x, y) &= s(x) \quad (x \in V(F),\, u \in N_T(a(x))), \\ \sum_{x \in V(F)} s(x)\, b(a(x)) &= 1, \end{aligned}(4) with all sums evaluated in ℤ2\mathbb{Z}_2.

For a weighted dual witness (s,r)(s, r), a subset Y⊆V(F)Y \subseteq V(F), and a vertex u∈V(T)u \in V(T), the dual witness mass of YY at uu is mu(Y)=∑x∈Ya(x)=us(x)∈ℤ2.m_u(Y) = \sum_{\substack{x \in Y \\ a(x) = u}} s(x) \in \mathbb{Z}_2.(5)

Template graphs

For a natural number tt, write [t]={1,…,t}[t] = \{1, \dots, t\}. An ordered index pair is a pair (i,j)∈[t]×[t](i, j) \in [t] \times [t] with i<ji < j✦, and a helper triple is a triple hij;lh_{ij;l} consisting of an ordered index pair (i,j)(i, j) and a third index l∈[t]\{i,j}l \in [t] \setminus \{i, j\}. A template graph vertex is either a main vertex i∈[t]i \in [t] or a helper triple hij;lh_{ij;l}.✦

A helper triple hij;lh_{ij;l} is incident to a main vertex m∈[t]m \in [t] if m∈{i,j,l}m \in \{i, j, l\}.✦ Under template graph adjacency, two template graph vertices are adjacent if they are distinct main vertices, or if one is a main vertex and the other is a helper triple incident to it; two helper triples are never adjacent.✦ The template graph TtT_t is the simple graph on the template graph vertices with template graph adjacency.✦

The star parity assignment e1:V(Tt)→ℤ2e_1 : V(T_t) \to \mathbb{Z}_2 takes the value 11 at the first main vertex 1∈[t]1 \in [t] when t>0t > 0, and 00 at every other template graph vertex.✦ When T=TtT = T_t, the parity lift graph for e1e_1 is written X*:=Xe1X_* := X_{e_1}.

The claim

Lemma 3.2. Let TT and FF be finite simple graphs, let GG be any simple graph (not necessarily finite), let τ:G→T\tau : G \to T be a graph homomorphism, and let b:V(T)→ℤ2b : V(T) \to \mathbb{Z}_2 be a parity assignment. When GG is finite, the homomorphism counts into XbX_b and X0X_0 satisfy hom⁡(F,Xb)<hom⁡(F,X0)⇔∃ϕ:F→G such that Sol⁡b(ϕ)=∅.\begin{aligned} \operatorname{hom}(F, X_b) &< \operatorname{hom}(F, X_0) \\ &\iff \exists\, \phi : F \to G \text{ such that } \operatorname{Sol}_b(\phi) = \emptyset. \end{aligned}(6)✦ For every graph homomorphism ϕ:F→G\phi : F \to G (without assuming GG is finite), Sol⁡b(ϕ)=∅⟹there exists a weighted dual witnessfor τ∘ϕ and b.\begin{aligned} \operatorname{Sol}_b(\phi) = \emptyset \implies {}&\text{there exists a weighted dual witness} \\ &\text{for } \tau \circ \phi \text{ and } b. \end{aligned}(7)✦ Conversely, for any graph homomorphism a:F→Ta : F \to T, if there exists a weighted dual witness for aa and bb, then there is no family of functions zx:NT(a(x))→ℤ2z_x : N_T(a(x)) \to \mathbb{Z}_2 (x∈V(F)x \in V(F)) satisfying ∑u∈NT(a(x))zx(u)=b(a(x))(x∈V(F)),zx(a(y))=zy(a(x))(xy∈E(F)).\begin{aligned} \sum_{u \in N_T(a(x))} z_x(u) &= b(a(x)) \quad (x \in V(F)), \\ z_x(a(y)) &= z_y(a(x)) \quad (xy \in E(F)). \end{aligned}(8)✦ Finally, if t>0t > 0 is a natural number, T=TtT = T_t, b=e1b = e_1 is the star parity assignment, and (s,r)(s, r) is a weighted dual witness for a homomorphism a:F→Tta : F \to T_t and e1e_1, then its dual witness mass satisfies mu(V(F))=1(u∈V(Tt)).m_u(V(F)) = 1 \quad (u \in V(T_t)).(9)✦

What is checked

In the Lean library, Lemma 3.2 is stated over finite simple graphs TT, GG, and FF with a type map τ:G→T\tau : G \to T and an arbitrary parity assignment b:V(T)→ℤ2b : V(T) \to \mathbb{Z}_2 for the strict count gap criterion (6), the existence of a weighted dual witness (7), and the obstruction to tag solutions (8), and over the template graph TtT_t for any natural number t>0t > 0 with the star parity assignment e1e_1 for the unit total mass identity (9).