MerLean-example

46 Rem 24: Shor-Style Measurement as Gauging

This remark shows that the gauging measurement procedure recovers Shor-style logical measurement as a special case. Given a Pauli logical operator \(L\) with weight \(W = |\operatorname {supp}(L)|\), the Shor-style measurement uses an auxiliary GHZ state on \(W\) qubits, transversal CX gates, and \(X\) measurements on the auxiliary qubits. From the gauging viewpoint, one chooses a graph \(G\) with vertex set \(\operatorname {supp}(L) \cup \{ d_1, \ldots , d_W\} \) where: (1) \(W\) dummy vertices \(d_i\) (one per qubit in \(\operatorname {supp}(L)\)); (2) a connected subgraph on the dummy vertices; (3) each \(d_i\) connected by a single edge to the corresponding qubit \(i\). After measuring the edges of the dummy subgraph first (the ungauging step), the remaining state on dummy qubits is equivalent to a GHZ state entangled with \(\operatorname {supp}(L)\), recovering Shor-style measurement. The key advantage of the gauging viewpoint is that the dummy subgraph can be chosen freely (path graph, star graph, expander, etc.) to optimize for hardware constraints.

46.1 Shor-Style Graph Construction

Definition 1315 Shor Vertex Type
✓
#

The vertex type for the Shor-style gauging graph is \(\operatorname {Fin}(W) \oplus \operatorname {Fin}(W)\), representing support qubits and dummy qubits respectively. The total vertex count is \(2W\).

Definition 1316 Shor Graph Adjacency
✓
#

The adjacency relation for the Shor-style gauging graph. Two vertices \(p, q\) are adjacent if \(p \neq q\) and one of the following holds:

  1. Pairing edge: there exists \(i \in \operatorname {Fin}(W)\) with \(p = \operatorname {inl}(i)\) and \(q = \operatorname {inr}(i)\) (or vice versa), connecting support qubit \(i\) to dummy vertex \(d_i\).

  2. Dummy subgraph edge: there exist \(i, j \in \operatorname {Fin}(W)\) with \(p = \operatorname {inr}(i)\), \(q = \operatorname {inr}(j)\), and \(i \sim j\) in \(G_{\mathrm{dummy}}\).

Lemma 1317 Shor Graph Adjacency is Symmetric
✓

If \(\operatorname {shorGraphAdj}(W, G_{\mathrm{dummy}}, p, q)\) holds, then \(\operatorname {shorGraphAdj}(W, G_{\mathrm{dummy}}, q, p)\) holds.

Proof ▶

Assume \(p \neq q\) and the adjacency condition holds. Since \(p \neq q\) implies \(q \neq p\), it remains to check the disjunction. If the edge is a pairing edge \((\operatorname {inl}(i), \operatorname {inr}(i))\), then \((\operatorname {inr}(i), \operatorname {inl}(i))\) is also a pairing edge (by the second disjunct). If the edge is a reverse pairing edge \((\operatorname {inr}(i), \operatorname {inl}(i))\), then \((\operatorname {inl}(i), \operatorname {inr}(i))\) is a pairing edge. If the edge is a dummy subgraph edge with \(G_{\mathrm{dummy}}.\operatorname {Adj}(i, j)\), then by symmetry of \(G_{\mathrm{dummy}}\) we have \(G_{\mathrm{dummy}}.\operatorname {Adj}(j, i)\).

Lemma 1318 Shor Graph Adjacency is Irreflexive
✓

For any vertex \(p\), \(\neg \operatorname {shorGraphAdj}(W, G_{\mathrm{dummy}}, p, p)\).

Proof ▶

Suppose \(\operatorname {shorGraphAdj}(W, G_{\mathrm{dummy}}, p, p)\) holds. By definition, the first condition requires \(p \neq p\), which is a contradiction.

Definition 1319 Shor Graph
✓

The Shor-style gauging graph on \(2W\) vertices. It is a simple graph on \(\operatorname {ShorVertex}(W)\) whose adjacency is given by \(\operatorname {shorGraphAdj}\), with symmetry established by shorGraphAdj_symm and irreflexivity by shorGraphAdj_irrefl. Its edges consist of \(W\) pairing edges \(\{ (\operatorname {inl}(i), \operatorname {inr}(i))\} \) plus the dummy subgraph edges.

Theorem 1320 Shor Graph Vertex Count
✓

The Shor graph has \(2W\) vertices:

\[ |\operatorname {ShorVertex}(W)| = 2W. \]
Proof ▶

By the cardinality of a sum type, \(|\operatorname {Fin}(W) \oplus \operatorname {Fin}(W)| = |\operatorname {Fin}(W)| + |\operatorname {Fin}(W)| = W + W = 2W\).

Theorem 1321 Pairing Edge Exists
✓

For each \(i \in \operatorname {Fin}(W)\), \(\operatorname {inl}(i)\) and \(\operatorname {inr}(i)\) are adjacent in the Shor graph:

\[ (\operatorname {ShorGraph}(W, G_{\mathrm{dummy}})).\operatorname {Adj}(\operatorname {inl}(i), \operatorname {inr}(i)). \]
Proof ▶

We have \(\operatorname {inl}(i) \neq \operatorname {inr}(i)\) (they are in different summands), and \(i\) witnesses the pairing edge condition \(p = \operatorname {inl}(i) \land q = \operatorname {inr}(i)\).

Theorem 1322 Dummy Subgraph Edges Lift
✓

If \(i \sim j\) in \(G_{\mathrm{dummy}}\), then \(\operatorname {inr}(i) \sim \operatorname {inr}(j)\) in the Shor graph.

Proof ▶

We must show \(\operatorname {inr}(i) \neq \operatorname {inr}(j)\) and the adjacency condition. For the first, if \(\operatorname {inr}(i) = \operatorname {inr}(j)\) then \(i = j\) by injectivity of \(\operatorname {inr}\), but \(G_{\mathrm{dummy}}\) is loopless so \(i \sim i\) is impossible. For the second, we produce witnesses \(i, j\) with \(G_{\mathrm{dummy}}.\operatorname {Adj}(i, j)\).

Definition 1323 Shor Dummy Homomorphism
✓

The graph homomorphism \(G_{\mathrm{dummy}} \to \operatorname {ShorGraph}(W, G_{\mathrm{dummy}})\) given by \(v \mapsto \operatorname {inr}(v)\), which maps edges of \(G_{\mathrm{dummy}}\) to dummy subgraph edges of the Shor graph.

If \(W {\gt} 0\) and \(G_{\mathrm{dummy}}\) is connected, then the Shor graph is connected.

Proof ▶

Fix a base vertex \(\operatorname {inr}(0)\). It suffices to show that every vertex \(w\) is reachable from \(\operatorname {inr}(0)\).

Case \(w = \operatorname {inr}(j)\): Since \(G_{\mathrm{dummy}}\) is connected, vertex \(0\) is reachable from \(j\) in \(G_{\mathrm{dummy}}\). Applying the graph homomorphism \(\operatorname {shorDummyHom}\) (which maps via \(\operatorname {inr}\)), \(\operatorname {inr}(0)\) is reachable from \(\operatorname {inr}(j)\) in the Shor graph.

Case \(w = \operatorname {inl}(i)\): By the same argument, \(\operatorname {inr}(0)\) can reach \(\operatorname {inr}(i)\) in the Shor graph. The pairing edge gives \(\operatorname {inr}(i) \sim \operatorname {inl}(i)\), so \(\operatorname {inr}(0)\) can reach \(\operatorname {inl}(i)\) by transitivity.

The graph is nonempty since \(W {\gt} 0\) guarantees \(\operatorname {inr}(0)\) exists.

46.2 Extended Logical Operator

Definition 1325 Shor Logical Operator
✓

The logical operator \(L'\) on the Shor graph vertex set:

\[ L' = \prod _{v \in V \oplus D} X_v, \]

defined as the Pauli operator with \(\operatorname {xVec}(v) = 1\) for all \(v\) and \(\operatorname {zVec} = 0\). This is the extended logical from Rem 10 with \(V = D = \operatorname {Fin}(W)\).

Theorem 1326 Shor Logical is Pure X-Type
✓

The logical operator \(L'\) has no \(Z\)-support: \((L').\operatorname {zVec} = 0\).

Proof ▶

This holds by definition, since \(\operatorname {zVec}\) is defined to be \(0\).

Theorem 1327 Shor Logical is Self-Inverse
✓

\(L' \cdot L' = \mathbf{1}\).

Proof ▶

This follows from the fact that every Pauli operator is self-inverse: \(P \cdot P = \mathbf{1}\).

The weight of \(L'\) is \(2W\):

\[ \operatorname {weight}(L') = 2W. \]
Proof ▶

Since \(\operatorname {xVec}(v) = 1 \neq 0\) for all \(v\), every vertex is in the support of \(L'\). The support filter returns all of \(\operatorname {univ}\), so the weight equals \(|\operatorname {Fin}(W) \oplus \operatorname {Fin}(W)| = W + W = 2W\).

Definition 1329 Original Logical Operator
✓

The support-restricted logical operator: \(L\) acts as \(X\) on all \(\operatorname {inl}\) qubits (support qubits) and as \(I\) on all \(\operatorname {inr}\) qubits (dummy qubits). Formally, \(\operatorname {xVec}(\operatorname {inl}(i)) = 1\), \(\operatorname {xVec}(\operatorname {inr}(i)) = 0\), and \(\operatorname {zVec} = 0\).

Definition 1330 Dummy Product
✓

The dummy product \(\prod _{d \in D} X_d\) on dummy qubits only. Formally, \(\operatorname {xVec}(\operatorname {inl}(i)) = 0\), \(\operatorname {xVec}(\operatorname {inr}(i)) = 1\), and \(\operatorname {zVec} = 0\).

The full logical factorizes as \(L' = L \cdot \prod _d X_d\):

\[ \operatorname {shorLogicalOp}(W) = \operatorname {shorOriginalLogical}(W) \cdot \operatorname {shorDummyProduct}(W). \]
Proof ▶

By extensionality, we check each component. For \(\operatorname {xVec}\): on \(\operatorname {inl}(i)\), \(1 = 1 + 0\); on \(\operatorname {inr}(i)\), \(1 = 0 + 1\). For \(\operatorname {zVec}\): on all vertices, \(0 = 0 + 0\). Each case follows by simplification of the multiplication definition.

Theorem 1332 Original Logical is Pure X-Type
✓

\((L).\operatorname {zVec} = 0\).

Proof ▶

This holds by definition.

Theorem 1333 Dummy Product is Pure X-Type
✓

\((\prod _d X_d).\operatorname {zVec} = 0\).

Proof ▶

This holds by definition.

Theorem 1334 Original Logical Commutes with Dummy Product
✓

\(L \cdot \prod _d X_d = \prod _d X_d \cdot L\).

Proof ▶

Both operators are pure \(X\)-type, so they commute by the commutativity of Pauli operator multiplication.

Theorem 1335 Original Logical is Self-Inverse
✓

\(L \cdot L = \mathbf{1}\).

Proof ▶

This follows from the general self-inverse property of Pauli operators.

Theorem 1336 Dummy Product is Self-Inverse
✓

\(\prod _d X_d \cdot \prod _d X_d = \mathbf{1}\).

Proof ▶

This follows from the general self-inverse property of Pauli operators.

46.3 Measurement Sign with Dummies

Theorem 1337 Measurement Sign with Dummies
✓

If all dummy outcomes are \(0\) (i.e., all dummy qubits are in the \(+1\) eigenstate of \(X\)), then the measurement sign over the full vertex set equals the sum over support outcomes only:

\[ \sum _{v \in V \oplus D} \varepsilon _v = \sum _{i \in \operatorname {Fin}(W)} \varepsilon _{\operatorname {inl}(i)}. \]
Proof ▶

Decompose the sum over the sum type: \(\sum _{v} f(v) = \sum _{i} f(\operatorname {inl}(i)) + \sum _{j} f(\operatorname {inr}(j))\). Since each dummy outcome \(\varepsilon _{\operatorname {inr}(j)} = 0\) by hypothesis, the second sum vanishes, leaving only \(\sum _i \varepsilon _{\operatorname {inl}(i)}\).

46.4 Gauging Structure on the Shor Graph

Theorem 1338 Gauss Operator on Shor Graph is Pure X-Type
✓

For every vertex \(v\) of the Shor graph, the Gauss’s law operator \(A_v\) is pure \(X\)-type:

\[ (A_v).\operatorname {zVec} = 0. \]
Proof ▶

By extensionality and simplification of the \(\operatorname {gaussLawOp}\) definition, every component of the \(\operatorname {zVec}\) is \(0\).

The product of all Gauss operators on the Shor graph equals the logical operator:

\[ L' = \prod _{v \in V \oplus D} A_v. \]

This is an instance of the general \(\operatorname {gaussLaw\_ product}\) applied to the Shor graph.

Proof ▶

This follows directly by symmetry from \(\operatorname {gaussLaw\_ product}(\operatorname {ShorGraph}(W, G_{\mathrm{dummy}}))\).

46.5 Circuit Correspondence

The entangling circuit transforms \(A_v\) to \(X_v\) on the Shor graph: for each vertex \(v\),

\[ \operatorname {entanglingCircuitAction}(A_v) = X_{\operatorname {inl}(v)}. \]
Proof ▶

This is a direct application of the general \(\operatorname {entanglingCircuit\_ transforms\_ gaussLaw}\) theorem to the Shor graph.

The inverse direction: the CX circuit transforms \(X_v\) back to \(A_v\).

Proof ▶

This is a direct application of \(\operatorname {entanglingCircuit\_ transforms\_ pauliX\_ to\_ gaussLaw}\) to the Shor graph.

Theorem 1342 Circuit is Involutive
✓

Applying the entangling circuit twice gives the identity: for any Pauli operator \(P\) on the extended qubit type,

\[ \operatorname {entanglingCircuitAction}(\operatorname {entanglingCircuitAction}(P)) = P. \]
Proof ▶

This is a direct application of \(\operatorname {entanglingCircuitAction\_ involutive}\) to the Shor graph.

The circuit preserves Pauli commutation: \([P, Q] = 0\) if and only if \([\operatorname {entanglingCircuitAction}(P), \operatorname {entanglingCircuitAction}(Q)] = 0\).

Proof ▶

This is the symmetric form of \(\operatorname {entanglingCircuit\_ preserves\_ commutation}\) applied to the Shor graph.

46.6 Edge Structure

Theorem 1344 No Support-Support Edges
✓

No two support qubits are adjacent in the Shor graph: for all \(i, j \in \operatorname {Fin}(W)\),

\[ \neg \, (\operatorname {ShorGraph}).\operatorname {Adj}(\operatorname {inl}(i), \operatorname {inl}(j)). \]
Proof ▶

Suppose \(\operatorname {inl}(i) \sim \operatorname {inl}(j)\). Decomposing the adjacency disjunction: a pairing edge would require \(\operatorname {inl}(j) = \operatorname {inr}(k)\), which contradicts the type; a reverse pairing edge requires \(\operatorname {inl}(i) = \operatorname {inr}(k)\), another contradiction; a dummy subgraph edge requires \(\operatorname {inl}(i) = \operatorname {inr}(a)\), again a contradiction. All cases are impossible.

Theorem 1345 Support-Dummy Adjacency Characterization
✓

\(\operatorname {inl}(i) \sim \operatorname {inr}(j)\) in the Shor graph if and only if \(i = j\).

Proof ▶

(\(\Rightarrow \)) If \(\operatorname {inl}(i) \sim \operatorname {inr}(j)\), then among the three disjuncts, only the pairing edge case is consistent with the types: there exists \(k\) with \(\operatorname {inl}(i) = \operatorname {inl}(k)\) and \(\operatorname {inr}(j) = \operatorname {inr}(k)\), giving \(i = k = j\).

(\(\Leftarrow \)) If \(i = j\), substitute and apply \(\operatorname {shor\_ pairing\_ edge}\).

Theorem 1346 Dummy-Dummy Adjacency Characterization
✓

\(\operatorname {inr}(i) \sim \operatorname {inr}(j)\) in the Shor graph if and only if \(i \sim j\) in \(G_{\mathrm{dummy}}\).

Proof ▶

(\(\Rightarrow \)) If \(\operatorname {inr}(i) \sim \operatorname {inr}(j)\), then among the disjuncts, only the dummy subgraph case is type-consistent: there exist \(a, b\) with \(\operatorname {inr}(i) = \operatorname {inr}(a)\), \(\operatorname {inr}(j) = \operatorname {inr}(b)\), and \(G_{\mathrm{dummy}}.\operatorname {Adj}(a, b)\). By injectivity, \(i = a\) and \(j = b\), so \(G_{\mathrm{dummy}}.\operatorname {Adj}(i, j)\).

(\(\Leftarrow \)) Apply \(\operatorname {shor\_ dummy\_ edge}\).

The neighbor set of \(\operatorname {inl}(i)\) in the Shor graph is exactly \(\{ \operatorname {inr}(i)\} \).

Proof ▶

By extensionality, a vertex \(q\) is in the neighbor set if and only if \(q = \operatorname {inr}(i)\). For \(q = \operatorname {inl}(j)\), adjacency is impossible by the no-support-support-edges theorem. For \(q = \operatorname {inr}(j)\), adjacency holds if and only if \(i = j\) by the support-dummy characterization, so \(q = \operatorname {inr}(i)\).

Theorem 1348 Support Vertex Degree is One
✓

Each support vertex has degree exactly \(1\):

\[ \deg _{\operatorname {ShorGraph}}(\operatorname {inl}(i)) = 1. \]
Proof ▶

By the neighbor set characterization, the neighbor set is \(\{ \operatorname {inr}(i)\} \), which has cardinality \(1\).

The neighbor set of \(\operatorname {inr}(i)\) in the Shor graph is

\[ N(\operatorname {inr}(i)) = \{ \operatorname {inl}(i)\} \cup \{ \operatorname {inr}(j) : j \in N_{G_{\mathrm{dummy}}}(i)\} . \]
Proof ▶

By extensionality. For a vertex \(q\): if \(q = \operatorname {inl}(j)\), then \(\operatorname {inr}(i) \sim \operatorname {inl}(j)\) iff \(j = i\) (by symmetry and the support-dummy characterization), corresponding to membership in \(\{ \operatorname {inl}(i)\} \). If \(q = \operatorname {inr}(j)\), then \(\operatorname {inr}(i) \sim \operatorname {inr}(j)\) iff \(G_{\mathrm{dummy}}.\operatorname {Adj}(i, j)\) (by the dummy-dummy characterization), corresponding to \(j \in N_{G_{\mathrm{dummy}}}(i)\). The disjointness of the two parts follows because \(\operatorname {inl}(i) \neq \operatorname {inr}(j)\) for all \(j\).

Theorem 1350 Edge Trichotomy
✓

Every edge of the Shor graph is either a pairing edge or a dummy subgraph edge: if \(p \sim q\), then either there exists \(i\) with \((p, q)\) or \((q, p) = (\operatorname {inl}(i), \operatorname {inr}(i))\), or there exist \(i, j\) with \(p = \operatorname {inr}(i)\), \(q = \operatorname {inr}(j)\), and \(G_{\mathrm{dummy}}.\operatorname {Adj}(i, j)\).

Proof ▶

This follows directly by case analysis on the adjacency disjunction from the definition of \(\operatorname {shorGraphAdj}\).

46.7 Structural Correspondence

Theorem 1351 Gauss Operators Commute on Shor Graph
✓

All Gauss operators on the Shor graph mutually commute:

\[ [A_v, A_w] = 0 \quad \text{for all } v, w. \]
Proof ▶

This is a direct application of \(\operatorname {gaussLaw\_ commute}\) to the Shor graph.

Theorem 1352 Gauss Operators are Self-Inverse on Shor Graph
✓

Each Gauss operator on the Shor graph satisfies \(A_v \cdot A_v = \mathbf{1}\).

Proof ▶

This follows from the general self-inverse property of Pauli operators.

The product of all Gauss operators equals the logical operator:

\[ \prod _{v} A_v = L'. \]

This is the fundamental equivalence that makes the gauging procedure work.

Proof ▶

This is a direct application of \(\operatorname {gaussLaw\_ product}\) to the Shor graph.

Assuming \(W {\gt} 0\) and \(G_{\mathrm{dummy}}\) is connected, the Shor-style gauging graph satisfies all of the following simultaneously:

  1. The Shor graph is connected.

  2. \(|\operatorname {ShorVertex}(W)| = 2W\).

  3. All Gauss operators mutually commute.

  4. Each Gauss operator is self-inverse.

  5. The product of all Gauss operators equals the logical \(L'\).

  6. Each support vertex has degree exactly \(1\).

Proof ▶

This is a conjunction of previously proved results: connectivity from \(\operatorname {shorGraph\_ connected}\), vertex count from \(\operatorname {shorGraph\_ card}\), commutation from \(\operatorname {shor\_ gauss\_ operators\_ commute}\), self-inverseness from \(\operatorname {shor\_ gauss\_ self\_ inverse}\), the product formula from \(\operatorname {shor\_ product\_ measurement}\), and degree from \(\operatorname {shor\_ support\_ degree\_ eq\_ one}\).

46.8 Degree Analysis

Theorem 1355 Dummy Vertex Degree
✓

The degree of dummy vertex \(d_i\) in the Shor graph is \(1 + \deg _{G_{\mathrm{dummy}}}(i)\):

\[ \deg _{\operatorname {ShorGraph}}(\operatorname {inr}(i)) = 1 + \deg _{G_{\mathrm{dummy}}}(i). \]
Proof ▶

By the neighbor set characterization, the neighbor set of \(\operatorname {inr}(i)\) is \(\{ \operatorname {inl}(i)\} \cup \operatorname {inr}(N_{G_{\mathrm{dummy}}}(i))\). These two sets are disjoint (different summands), so the cardinality is \(1 + |N_{G_{\mathrm{dummy}}}(i)| = 1 + \deg _{G_{\mathrm{dummy}}}(i)\).

Theorem 1356 Support Degree Sum
✓

The sum of degrees of all support vertices is \(W\):

\[ \sum _{i \in \operatorname {Fin}(W)} \deg (\operatorname {inl}(i)) = W. \]
Proof ▶

Since each support vertex has degree \(1\), the sum is \(\sum _{i} 1 = W\).

Theorem 1357 Dummy Degree Sum
✓

The sum of degrees of all dummy vertices is \(W + \sum _i \deg _{G_{\mathrm{dummy}}}(i)\):

\[ \sum _{i \in \operatorname {Fin}(W)} \deg (\operatorname {inr}(i)) = W + \sum _{i \in \operatorname {Fin}(W)} \deg _{G_{\mathrm{dummy}}}(i). \]
Proof ▶

Substituting \(\deg (\operatorname {inr}(i)) = 1 + \deg _{G_{\mathrm{dummy}}}(i)\) and distributing the sum: \(\sum _i (1 + \deg _{G_{\mathrm{dummy}}}(i)) = \sum _i 1 + \sum _i \deg _{G_{\mathrm{dummy}}}(i) = W + \sum _i \deg _{G_{\mathrm{dummy}}}(i)\).

Theorem 1358 Total Degree Sum
✓

The total degree sum of the Shor graph equals twice its edge count:

\[ \sum _v \deg (v) = 2|E(\operatorname {ShorGraph})|. \]
Proof ▶

This is the handshaking lemma applied to the Shor graph.

Theorem 1359 Degree Sum Decomposition
✓

The total degree sum decomposes into support and dummy contributions:

\[ \sum _v \deg (v) = \sum _{i} \deg (\operatorname {inl}(i)) + \sum _{i} \deg (\operatorname {inr}(i)). \]
Proof ▶

This follows from the decomposition of sums over a sum type: \(\sum _{v \in A \oplus B} f(v) = \sum _{a \in A} f(\operatorname {inl}(a)) + \sum _{b \in B} f(\operatorname {inr}(b))\).

Theorem 1360 Connected Dummy Edge Bound
✓

If \(G_{\mathrm{dummy}}\) is connected on \(W\) vertices, then it has at least \(W - 1\) edges:

\[ W \le |E(G_{\mathrm{dummy}})| + 1. \]
Proof ▶

This is the standard graph-theoretic fact that a connected graph on \(n\) vertices has at least \(n-1\) edges.

46.9 Optimization Flexibility

Theorem 1361 Dummy Vertex Degree Bound
✓

If every dummy vertex has \(\deg _{G_{\mathrm{dummy}}}(i) \le d\), then every dummy vertex has \(\deg _{\operatorname {ShorGraph}}(\operatorname {inr}(i)) \le d + 1\).

Proof ▶

By the dummy degree formula, \(\deg (\operatorname {inr}(i)) = 1 + \deg _{G_{\mathrm{dummy}}}(i) \le 1 + d = d + 1\).

Theorem 1362 Max Degree Bound
✓

If every dummy vertex has \(\deg _{G_{\mathrm{dummy}}}(i) \le d\), then every vertex \(v\) of the Shor graph has \(\deg (v) \le d + 1\).

Proof ▶

We consider two cases. If \(v = \operatorname {inl}(i)\), then \(\deg (v) = 1 \le d + 1\) (since \(d \ge 0\)). If \(v = \operatorname {inr}(i)\), the bound follows from \(\operatorname {shor\_ dummy\_ degree\_ bound}\).

The Shor graph edge count satisfies the handshaking identity:

\[ 2|E(\operatorname {ShorGraph})| = W + \Bigl(W + \sum _{i} \deg _{G_{\mathrm{dummy}}}(i)\Bigr). \]
Proof ▶

Rewriting: \(2|E| = \sum _v \deg (v)\) by the handshaking lemma. Then decompose the sum as \(\sum _{\operatorname {inl}} + \sum _{\operatorname {inr}} = W + (W + \sum _i \deg _{G_{\mathrm{dummy}}}(i))\) using the previously established support and dummy degree sums.

Theorem 1364 Dummy Handshaking
✓

The handshaking lemma applied to the dummy subgraph:

\[ \sum _{i \in \operatorname {Fin}(W)} \deg _{G_{\mathrm{dummy}}}(i) = 2|E(G_{\mathrm{dummy}})|. \]
Proof ▶

This is the standard handshaking lemma for \(G_{\mathrm{dummy}}\).