9 Pasting
Let \((\psi ,A,B,L)\) be an \((\varepsilon ,\delta ,\gamma )\)-good symmetric strategy for the \((m+1,q,d)\) low individual degree test. Let \(\{ G^x\} _{x \in \mathbb {F}_q}\) be projective submeasurements in \(\mathrm{PolySub}(m,q,d)\) with the following properties:
(Completeness): If \(G = \mathbb {E}_x \sum _g G_g^x\), then
\[ \langle \psi \rvert G \otimes I \lvert \psi \rangle \ge 1-\kappa . \](Consistency with \(A\)): On average over \((u,x) \sim \mathbb {F}_q^{m+1}\),
\[ A_a^{u,x} \otimes I \simeq _\zeta I \otimes G^x_{[g(u)=a]}. \](Strong self-consistency): On average over \(x \sim \mathbb {F}_q\),
\[ G_g^x \otimes I \approx _\zeta I \otimes G_g^x. \](Boundedness): There exists a positive-semidefinite matrix \(Z^x\) for each \(x \in \mathbb {F}_q\) such that
\[ \mathbb {E}_x \langle \psi \rvert (I-G^x)\otimes Z^x \lvert \psi \rangle \le \zeta \]and for each \(x \in \mathbb {F}_q\) and \(g \in \mathcal{P}(m,q,d)\),
\[ Z^x \ge \mathbb {E}_u A^{u,x}_{g(u)}. \]
Let \(k \ge 400md\) be an integer, and set
Then there exists a pasted measurement \(H \in \mathrm{PolyMeas}(m+1,q,d)\) with the following property.
(Consistency with \(A\)): On average over \(u \sim \mathbb {F}_q^{m+1}\),
\[ A_a^u \otimes I \simeq _\sigma I \otimes H_{[h(u)=a]}. \]
The argument below is the paper proof, and the unrestricted Lean theorem now formalizes it directly. Let \(H\) be the submeasurement from Lemma 9.6, and fix an arbitrary polynomial \(h^* \in \mathcal{P}(m+1,q,d)\). Define a measurement \(H_{\mathrm{meas}} \in \mathrm{PolyMeas}(m+1,q,d)\) by
Then \(\sum _h (H_{\mathrm{meas}})_h = H + (I-H) = I\). Moreover,
Thus \(A_a^u \otimes I \simeq _\sigma I \otimes (H_{\mathrm{meas}})_{[h(u)=a]}\).
The Lean declaration linked here is the restricted nontrivial-regime form of Theorem 9.1. In addition to the hypotheses displayed in the source theorem, it assumes
The paper theorem is stated in references/ldt-paper/ld-pasting.tex, lines 12–50. Lines 52–55 explain that the proof may restrict to \(\varepsilon ,\delta ,\gamma ,\zeta ,d/q\le 1\), since the complementary cases are trivial. The unrestricted source statement is linked from Theorem 9.1. All complementary branches, including the degree-zero case, are now proved in Lean.
The bound is trivial when at least one of \(\varepsilon \), \(\delta \), \(\gamma \), \(\zeta \), or \(d/q\) is at least \(1\), since then \(\nu \ge 1\). In the remainder of the chapter we therefore assume
The Lean context linked here is the nontrivial-regime context used after the reduction explained above. It consists of the data and hypotheses from the pasting theorem at the beginning of this chapter: an \((\varepsilon ,\delta ,\gamma )\)-good symmetric strategy \((\psi ,A,B,L)\) for the \((m+1,q,d)\) low individual degree test, a family of projective submeasurements \(\{ G^x\} _{x \in \mathbb {F}_q}\) in \(\mathrm{PolySub}(m,q,d)\) satisfying 1–4, an integer \(k \ge 400md\), and the quantities \(\nu \) and \(\sigma \) defined there. It also records the nontrivial-regime assumptions
These extra fields are not assumptions of the unrestricted source theorem; they belong to the restricted proof stage. The unrestricted paper-facing Lean theorem remains MIPStarRE.LDT.Pasting.ldPasting.
9.0.1 From Measurements to Submeasurements
In the remainder of the chapter we only use the axis-parallel lines test in the last coordinate direction. We therefore write \(B_f^u\) for the line measurement on the line \(\{ (u,x)\mid x\in \mathbb {F}_q\} \) and first record the consistency relations that follow formally from the nontrivial-regime pasting context of Definition 9.3.
Conditioning the low individual degree test on the last coordinate direction gives, on average over \((u,x) \sim \mathbb {F}_q^{m+1}\),
Hence 3.21 and \((m+1)\le 2m\) imply
Using also the \((\varepsilon ,\delta ,\gamma )\)-goodness assumption and 3.21,
Therefore 3.27 yields
Applying 3.20 to 2 and 3 gives
where
Finally, 8.7 gives
where
In the nontrivial-regime pasting context of Definition 9.3, set
Then, on average over \((u,x) \sim \mathbb {F}_q^{m+1}\),
The formalization records the point-to-vertical-line state-dependent-distance estimate with the vertical-line side written as the submeasurement family liftedVerticalLineAnswerFamily. The error term is the same \(8m\varepsilon +4\delta \) as in the complete measurement-valued construction.
This is not a separate paper assertion. It is the representation of the same estimate obtained by replacing the complete vertical-line measurement family with its underlying submeasurement family, which is the form needed in the degree-zero branch.
In the nontrivial-regime pasting context of Definition 9.3, there exists a submeasurement \(H \in \mathrm{PolySub}(m+1,q,d)\) with the following properties.
(Consistency with \(A\)): On average over \(u \sim \mathbb {F}_q^{m+1}\),
\[ A_a^u \otimes I \simeq _\nu I \otimes H_{[h(u)=a]}. \](Completeness): If \(H = \sum _h H_h\), then
\[ \langle \psi \rvert H \otimes I \lvert \psi \rangle \ge 1 - \kappa \left(1+\frac{1}{100m}\right) - \nu - e^{-k/(80000m^2)}. \]
Let \(H\) be the pasted submeasurement constructed in Definition 9.13. Lemma 9.31 implies
Applying 3.20 to 7 and 3 gives
Since \(\sqrt{8m\varepsilon +4\delta }\le 3m(\varepsilon ^{1/32}+\delta ^{1/32})\) for \(\varepsilon ,\delta \le 1\), the total error is at most
which proves 1. The completeness claim is exactly Corollary 9.44.
9.0.2 The Pasted Submeasurement
For \(k \ge 1\), let \(\mathsf{Distinct}_k \subseteq \mathbb {F}_q^k\) be the set of tuples \((x_1,\dots ,x_k)\) with pairwise distinct coordinates.
If \(x=(x_1,\dots ,x_k)\) is uniformly random in \(\mathbb {F}_q^k\) and \(y=(y_1,\dots ,y_k)\) is uniformly random in \(\mathsf{Distinct}_k\), then
The total variation distance is exactly the probability mass of the collision event for a uniformly random tuple, because the distinct-tuple distribution is the uniform distribution conditioned on landing in \(\mathsf{Distinct}_k\). A uniformly random tuple lies outside \(\mathsf{Distinct}_k\) only if two coordinates collide, so a union bound gives
and this bounds the total variation distance.
We first record the natural construction obtained by sampling \(d+1\) slices and interpolating. It motivates the eventual argument but is not the construction used in the formal theorem.
The First Construction
The first construction samples \(d+1\) slice outcomes \(g_1,\dots ,g_{d+1}\in \mathcal{P}(m,q,d)\), interpolates them to a global polynomial \(h \in \mathcal{P}(m+1,q,d)\), and then averages over distinct interpolation points. Its consistency is governed by the commutation of the slice measurements, but its completeness is subtler. The heuristic comparison is
Thus one would like to show
The naive estimate would instead suggest
which is too weak for the induction.
The key input is that one can first show
for a small error \(\Delta = \operatorname{poly}(m)\cdot \operatorname{poly}(\varepsilon ,\delta ,\gamma ,\zeta ,d/q)\). Writing the eigendecomposition \(G=\sum _i \lambda _i \lvert v_i \rangle \langle v_i \rvert \) and the induced spectral distribution \(\mu (i)=\langle \psi \rvert (\lvert v_i \rangle \langle v_i \rvert \otimes I)\lvert \psi \rangle \), this is equivalent to
The remaining comparison between \(G\) and \(G^{d+1}\) is then reduced to a scalar inequality.
For every real number \(0 \le \lambda \le 1\),
Compare \(1-\lambda ^d\) with \((1-\lambda )(1+\lambda +\cdots +\lambda ^{d-1})\) and use that \(d^{1/(d+1)} \le 2\).
Lemma 9.9 converts 11 into the estimate
where the middle step uses concavity of \(a \mapsto a^{1/(d+1)}\). Equivalently,
For constant \(d\), this is exactly the heuristic completeness comparison for the first construction recorded in ‘references/ldt-paper/ld-pasting.tex‘.
Apply Lemma 9.9 pointwise to the spectral distribution of \(G\), and then use the concavity of \(a \mapsto a^{1/(d+1)}\). The displayed operator expression is the same quantity written in the eigenbasis of \(G\).
The Second Construction
For each \(x \in \mathbb {F}_q\), write \(G^x = \sum _g G_g^x\) and define the incomplete outcome \(G_\bot ^x = I-G^x\). The completed measurement \(\widehat G^x\) has outcome set \(\mathcal{P}(m,q,d) \cup \{ \bot \} \) and is given by
A type is a vector \(\tau \in \{ 0,1\} ^k\). Its weight \(|\tau |\) records how many coordinates lie in \(\mathcal{P}(m,q,d)\) rather than equal \(\bot \).
Fix \(k \ge d+1\). For \(x_1,\dots ,x_k \in \mathbb {F}_q\) and outcomes \(g_1,\dots ,g_k \in \mathcal{P}(m,q,d)\cup \{ \bot \} \), define
If \((x_1,\dots ,x_k)\in \mathsf{Distinct}_k\) and \(h \in \mathcal{P}(m+1,q,d)\), define
where the tuple \(h_\tau \) has \(i\)-th entry \(h|_{x_i}\) when \(\tau _i=1\) and \(\bot \) when \(\tau _i=0\). The pasted submeasurement is then
The completed outcome tuples admit the reindexings obtained by separating the first coordinate, moving a third slice to the front, and identifying the one-coordinate split with the original slice question and outcome spaces.
Restricting an interpolated polynomial to a vertical line and then postprocessing at a point agrees with evaluating the corresponding slice. The same identities commute with averaging over indexed submeasurements.
The compatibility calculation for the restriction and evaluation maps used in the construction of \(H\) expands the vertical restriction, the interpolation support condition, postprocessing, and averaging over indexed submeasurements.
9.0.3 Strong Self-Consistency and Commutation of \(\widehat G\)
In the nontrivial-regime pasting context of Definition 9.3,
Because \(G\) is projective, 3.36 identifies the assumed strong self-consistency of the outcome-level family with
Hence
by 12.
In the nontrivial-regime pasting context of Definition 9.3,
Since \(G_\bot ^x = I-G^x\),
so the claim is immediate from Lemma 9.16.
Commutativity of \(G_{\bot }\)
After one commutation of a \(G\)-factor through an auxiliary projective family, the two fourth-term contractions are bounded by the same self-consistency and commutation errors used in the switcheroo argument.
After expanding the fourth switcheroo term, the inserted complete part forms a positive contraction. The left and right Cauchy–Schwarz side conditions are therefore the corresponding sums of \(X_gX_g^\ast \) and \(X_g^\ast X_g\), where \(X_g=\sum _o G_{\bot }^x M_o^yG_g^xM_o^y\). Orthogonality of the projective slice family and the submeasurement inequalities for \(M\) and \(G_{\bot }\) bound both sums by the identity. These are precisely the two contraction witnesses used in the fourth-term switcheroo chain.
Let \(M=\{ M_o^x\} \) be a projective submeasurement with outcomes in a set \(\mathcal O\). Suppose that
and
on average over independent uniformly random \(x,y \sim \mathbb {F}_q\). Then
Let \(M = \mathbb {E}_y \sum _o M_o^y\). The error to bound is
We compare all four terms with \(\langle \psi \rvert G \otimes M \lvert \psi \rangle \).
For the first term in 15,
For the second term,
For the third term, first
This is the Cauchy–Schwarz estimate coming from 14. Next,
Here the error is bounded using 3. Then
again by strong self-consistency of \(G_g^x\). Since \(G\) is projective,
Finally,
Therefore
The fourth term in 15 is the Hermitian conjugate of the third term, so it satisfies the same bound. Summing the four errors gives
The Lean theorem corresponding to Lemma 9.19 takes one extra symmetry hypothesis, hfix : swapDensity ψbi.density = ψbi.density. This is the density_swap component of the paper’s permutation-invariance assumption on the symmetric two-prover strategy; the stronger swap_ev field of PermInvState is not assumed by this theorem. The hypothesis is used to identify \(\langle \psi \rvert G \otimes M \lvert \psi \rangle \) with \(\langle \psi \rvert M \otimes G \lvert \psi \rangle \) at the center of the triangle-inequality chain.
In the nontrivial-regime pasting context of Definition 9.3, the following commutation relations hold:
where
By 6,
Applying Lemma 9.19 to 21, with \(\{ M_o^y\} \) equal to the outcome family \(\{ G_h^y\} \), gives
where \(\theta _1 = 12\sqrt{\zeta } + 4\sqrt{\nu _{\mathrm{com}}}\). Applying Lemma 9.19 again to 22, now with the one-outcome family \(M_o^y = G^y\), gives
where \(\theta _2 = 12\sqrt{\zeta } + 4\sqrt{\theta _1}\).
Since \(\nu _{\mathrm{com}}=30m(\gamma ^{1/4}+\zeta ^{1/4}+(d/q)^{1/4})\), these errors satisfy
In the nontrivial-regime pasting context of Definition 9.3,
The identities
and
reduce both claims to Corollary 9.21.
Putting Everything Together
The completed measurements \(\widehat G^x\) satisfy
where
For 23, split the outcome set into the genuine outcomes and \(\bot \):
by 3 and 9.17. For 24, the same decomposition yields four cases: polynomial–polynomial, \(\bot \)–\(\bot \), polynomial–\(\bot \), and \(\bot \)–polynomial. These contribute \(\nu _{\mathrm{com}}\) and three copies of \(\nu _2\), so
For every \(x \in \mathbb {F}_q\), the squared-distance defect of the one-outcome complete part is bounded by that of the original slice submeasurement:
where \(G^x = \sum _g G^x_g\) is the total operator of the slice submeasurement.
This is the monotonicity estimate for the completed part of \(\widehat G\): the completed contribution is one summand of the corresponding slice squared-distance defect, and the remaining summands are nonnegative.
9.0.4 Sandwiching Lemmas
Head–tail split identities. For every \(k \ge 0\), point tuple \({\boldsymbol {x}}= (x_1,\dots ,x_{k+1})\), and outcome tuple \(\boldsymbol {g}= (g_1,\dots ,g_{k+1})\),
\[ \widehat G^{x_1}_{g_1}\cdots \widehat G^{x_{k+1}}_{g_{k+1}} = \widehat G^{x_1}_{g_1} \bigl( \widehat G^{x_2}_{g_2}\cdots \widehat G^{x_{k+1}}_{g_{k+1}} \bigr), \]and the right half-sandwich analogously rotates the head to the tail.
Sum-of-adjoint-products bounds. For every \(r\ge 0\) and \({\boldsymbol {x}}= (x_1,\dots ,x_r) \in \mathbb {F}_q^r\),
\[ \sum _{g_1,\dots ,g_r} \bigl(\widehat G^{x_1}_{g_1} \cdots \widehat G^{x_r}_{g_r}\bigr)^\dagger \bigl(\widehat G^{x_1}_{g_1} \cdots \widehat G^{x_r}_{g_r}\bigr) \; \le \; I, \]and the same bound holds for the reverse-order product family.
Generic tensor contraction. If families \(\{ A_a\} _a\) and \(\{ B_b\} _b\) satisfy \(\sum _a A_a^\dagger A_a \le I\) and \(\sum _b B_b^\dagger B_b \le I\), then
\[ \sum _{a,b} (A_a \otimes B_b)^\dagger (A_a \otimes B_b) \le I. \]
The split identities follow from the completed-outcome equivalences. The normalization inequalities are the corresponding submeasurement bounds for the left and right half-products after reindexing the sums.
Given the completed-measurement self-consistency and commutation estimates from Corollary 9.23, the following one-step estimates hold.
Self-consistency step. For every \(r\ge 0\),
\[ \mathbb {E}_{x,y,z}\mathbb {E}_{x_1,\dots ,x_r} \sum _{g} \bigl\| \bigl(\widehat G^{z}_g \otimes I - I \otimes \widehat G^{z}_g\bigr) \lvert \psi \rangle \bigr\| ^2 \; \le \; 2\zeta . \]Commutation step. For every \(r\ge 0\),
\[ \mathbb {E}_{x,y}\mathbb {E}_{x_1,\dots ,x_r} \sum _{g,h}\sum _{g_1,\dots ,g_r} \bigl\| \bigl( \widehat G^{x}_g \widehat G^{y}_h \otimes \widehat G^{x_r}_{g_r}\cdots \widehat G^{x_1}_{g_1} - \widehat G^{y}_h \widehat G^{x}_g \otimes \widehat G^{x_r}_{g_r}\cdots \widehat G^{x_1}_{g_1} \bigr) \lvert \psi \rangle \bigr\| ^2 \; \le \; \nu _3. \]Two-factor base case. For \(k=2\), the commutation chain reduces to the same tensor-placement convention with the reverse tail product equal to the identity, hence to the pairwise estimate \(\nu _3\).
Split equivalences. The half-sandwich families are equivalent, under the head–tail reindexing of Lemma 9.25, to the chain-families used in the move estimates above, with ordered products on the first tensor factor and reverse products on the second tensor factor where these appear in the commutation step.
These are the elementary building blocks assembled by the recursive chain construction in the following lemma.
For the one-step commutation move, rewrite the relevant head–tail split, apply the self-consistency and commutation estimates for \(\widehat G\), and assemble the resulting comparison by the triangle inequality for \(\approx _\delta \).
For every \(k \ge 2\),
where
If the tuple of completed slices does not interpolate to the sampled vertical-line value, then some active coordinate witnesses a line-value mismatch. Concretely, for every direction \(u\) and injective tuple \(\mathbf{x}=(x_1,\dots ,x_k)\), let \(\widehat{H}^{\mathbf{x}}\rvert _u\) be the vertical-line restriction of the pasted interpolation family. Then
where \(\operatorname {Defect}_\psi (A,B)\) denotes the bipartite consistency defect \(\max \bigl(0,\, \langle \psi \rvert A_{\mathrm{tot}}\otimes B_{\mathrm{tot}}\lvert \psi \rangle - \sum _a \langle \psi \rvert A_a\otimes B_a\lvert \psi \rangle \bigr)\),
and \(\widehat{H}^{(i)},B^{(i)}\) are the one-point line comparison families (Lemma 9.30) restricted to coordinate \(i\), and \(\operatorname {Bad}(\psi ;u,\mathbf{x})\le 1\).
The proof first identifies a failed vertical-line interpolation with a particular active coordinate whose slice value disagrees with the line answer. The operator sum over all such failures is then bounded by the sum of the corresponding one-coordinate line defects, using the vertical restriction identities above.
Replacing distinct tuples by independent tuples costs the total-variation error \(k^2/q\) from Proposition 9.8. After averaging over \(u\) and \(\mathbf{x}\sim \mathsf{Distinct}_k\), the expected bad mass and the expected pasted interpolation defect are bounded by the one-point sandwich error:
and consequently
where \(\nu _5 = 43km(\varepsilon ^{1/32}+\dots +(d/q)^{1/32})\) (Lemma 9.30). Using \(1/q \le (d/q)^{1/32}\) and \(m\ge 1\), this is further bounded by \(44k^2m(\varepsilon ^{1/32}+\delta ^{1/32}+\gamma ^{1/32}+\zeta ^{1/32}+(d/q)^{1/32})\) as used in Lemma 9.31.
The proof compares the distinct-tuple average with the independent-tuple average, paying the total-variation cost from Proposition 9.8. The independent average separates into the one-coordinate line defects from the previous lemma, and the scalar inequality \(1/q\le (d/q)^{1/32}\) absorbs the sampling error into the stated pasting parameter.
For any \(1 \le i \le k\),
where
Summing out the coordinates to the right of \(i\) gives
Write \(\widehat G_{g_{{\lt}i}}^{x_{{\lt}i}} = \widehat G_{g_1}^{x_1}\cdots \widehat G_{g_{i-1}}^{x_{i-1}}\). Then
The Cauchy–Schwarz argument uses
which is at most \(\nu _4\) by Lemma 9.27. A second Cauchy–Schwarz step gives
Summing over \(g_1,\dots ,g_{i-1}\) collapses the middle factor to \(I\), so 28 becomes
by 4. Thus the total error is
9.0.5 Consistency of \(H\) with \(A\)
The pasted submeasurement satisfies
where
The inconsistency with \(B^u\) expands as
If \(|w|\ge d+1\) and \(f \ne h|_u\), then some active coordinate \(i\) must satisfy \(g_i \ne \bot \) and \(g_i(u)\ne f(x_i)\). Hence
Passing from independent tuples to distinct tuples costs at most \(k^2/q\) by Lemma 9.8. A union bound over the offending coordinate then gives
Therefore
On average over \((u,x) \sim \mathbb {F}_q^{m+1}\),
Lemma 9.31 implies
Applying 3.20 to this relation and 3 gives
Since
the claim follows.
Let \(H\) be any polynomial-valued submeasurement. Suppose that the strategy is good, that \(\gamma ,\zeta \ge 0\), that \(k \ge 1\), and that the restriction of \(H\) to every vertical line is consistent with the vertical-line measurement with error \(\nu _6\). Then the pointwise evaluations of \(H\) are consistent with Alice’s point measurement with error \(\nu \).
The proof transports the vertical-line consistency estimate to point evaluations and combines it with the good-strategy point-to-line comparison. The displayed numerical assumptions are used only to absorb the intermediate errors into the final parameter \(\nu \).
Let \(H_{\mathrm{meas}}\) be the completion of \(H\) at the fallback outcome. On average over \((u,x) \sim \mathbb {F}_q^{m+1}\),
Corollary 9.32 gives
Corollary 9.44 bounds the missing mass of \(H\) by
Adding this completion mass to the \(\nu \)-bound gives
Let \(H\) be any polynomial-valued submeasurement. Suppose that the pointwise evaluations of \(H\) are consistent with Alice’s point measurement with error \(\nu \), and that \(H\) has the lower mass bound used in Corollary 9.44. Then completing \(H\) at the fallback polynomial preserves point consistency with the enlarged error appearing in the induction statement.
The completed measurement differs from the original submeasurement only at the fallback polynomial. The additional term is bounded by the missing-mass estimate and then added to the given point-consistency error.
9.0.6 Completeness of \(H\)
For a type \(\tau \in \{ 0,1\} ^k\), let \(\mathsf{Outcomes}_\tau \) be the set of tuples \((g_1,\dots ,g_k)\) such that \(g_i \in \mathcal{P}(m,q,d)\) when \(\tau _i=1\) and \(g_i=\bot \) when \(\tau _i=0\). If \(x_1,\dots ,x_k \in \mathbb {F}_q\), let \(\mathsf{Global}_\tau (x)\) be the subset of \(\mathsf{Outcomes}_\tau \) arising from restrictions of a single polynomial in \(\mathcal{P}(m+1,q,d)\), and let \(\overline{\mathsf{Global}_\tau (x)} = \mathsf{Outcomes}_\tau \setminus \mathsf{Global}_\tau (x)\).
If \(x_1,\dots ,x_k\) are sampled independently and uniformly from \(\mathbb {F}_q\), then
where
Let \((y_1,\dots ,y_k)\sim \mathsf{Distinct}_k\). By definition,
We now remove the restriction to globally consistent tuples:
Since the right-hand side is at least the left-hand side, it suffices to bound the difference:
We next insert an indicator recording consistency along the sampled line:
The discarded part is
and after switching to independent tuples and applying Lemma 9.30 coordinatewise, this contributes at most \(k^2/q + k\nu _5\).
Let \(\mathsf{Consistent}_\tau (g,y,u)\) denote the event that there exists a degree-\(d\) polynomial \(f\) with \(f(y_i)=g_i(u)\) for all \(i\in \tau \). Then
so 35 is bounded by
For a fixed globally inconsistent tuple, choose \(d+1\) active coordinates and let \(h^*\) be the unique interpolant through them. Since the tuple is not globally consistent, some active coordinate \(i^*\) satisfies \(g_{i^*} \ne h^*|_{y_{i^*}}\), and then Schwartz–Zippel gives
Therefore 37 is at most \(md/q\), which proves 33. A final application of Lemma 9.8 replaces distinct tuples by independent tuples, giving a total error of
For \(1 \le \ell \le k+1\) and a tail type \(\tau _{\ge \ell } \in \{ 0,1\} ^{k-\ell +1}\), define
This records the contribution of all prefixes that can still be completed to total weight at least \(d+1\) once the tail \(\tau _{\ge \ell }\) is fixed.
Each \(S_{\tau _{\ge \ell }}\) is Hermitian, positive semidefinite, and bounded by \(I\). Moreover, if \(\tau _{{\gt}\ell }\) is a tail type of length \(k-\ell \), then
Every summand is a polynomial in the commuting positive operators \(G\) and \(I-G\), so \(S_{\tau _{\ge \ell }}\) is Hermitian and positive semidefinite. Summing over all prefixes gives
Splitting the next type bit according to whether \(\tau _\ell =1\) or \(\tau _\ell =0\) gives the stated recurrence.
Let \(\lvert \psi _{\mathrm{bi}} \rangle \) be a bipartite state on \(\iota \otimes \iota \). If \(x_1,\dots ,x_k\) are sampled independently and uniformly from \(\mathbb {F}_q\), then
where
For a type \(\tau \in \{ 0,1\} ^k\), write \(\tau _{{\lt}\ell }\), \(\tau _{{\gt}\ell }\), \(\tau _{\le \ell }\), and \(\tau _{\ge \ell }\) for the obvious truncations, and similarly for tuples \(g\). Also write
Then
and
Write \(\mathsf O_\tau = \mathsf{Outcomes}_\tau \). The main iterative step is that for each \(1\le \ell \le k\),
Iterating 40 for \(\ell =1,\dots ,k\) produces the Bernoulli polynomial
and the accumulated error is
This corrects the displayed arithmetic in the paper: the iterated adjacent estimate contributes \(k\) copies of the \(2\sqrt{\nu _4}\) term, and the definition of \(\nu _4\) already contains a factor \(k^2\).
To prove 40, define for each \(1\le \ell \le k+1\) and each tail type \(\tau _{\ge \ell }\),
Then 40 may be rewritten as
In Lean, the type-restricted averaged submeasurement, the per-tail operator/mass, the aggregated stage quantity, and the final Bernoulli-tail scalar from this proof are recorded by the declarations above. Their indexing is shifted to the repository’s 0-based convention: Lean stage \(\ell \) is the paper’s stage \(\ell +1\).
The operators \(S_{\tau _{\ge \ell }}\) are Hermitian and positive semidefinite, and
For any \(\tau _\ell \in \{ 0,1\} \),
Therefore, for every \(\tau _{{\gt}\ell }\),
Moreover,
because \(S_{\tau _{\ge \ell }}\) commutes with \(G\) and \((I-G)\) and is bounded by \(I\).
We now prove 42. Writing \(\widehat H\) as a sandwich of \(\widehat G\) operators and moving the rightmost \(\widehat G_{g_\ell }^{x_\ell }\) to the second tensor factor gives
The corresponding Cauchy–Schwarz bound is
The first square root is at most \(1\) because \(S_{\tau _{\ge \ell }}\le I\) and \(\widehat H\) is a submeasurement, and the second is at most \(2\zeta \) by 23.
Next, commute the leftmost \(\widehat G_{g_\ell }^{x_\ell }\) across the left half-sandwich:
The associated Cauchy–Schwarz estimate is
The first square root is bounded by \(\nu _4\) via Lemma 9.27, and the second by \(1\) since \(S_{\tau _{\ge \ell }}\le I\).
Continue commuting:
This time the Cauchy–Schwarz step is
By 46, the first square root is at most \(1\), and the second matches the first square root in 51, hence is at most \(\nu _4\).
Finally move the remaining \(\widehat G_{g_\ell }^{x_\ell }\) to the second tensor factor:
The omitted Cauchy–Schwarz bound reuses the first square root from 54 and the second square root from 48. Since \(\widehat G\) is projective,
which is exactly 42.
The nontrivial-regime pasting context specializes the consistency of \(H\) with \(A\) and the conversion from the pasted sum to the polynomial in \(G\) to the parameters and error bounds fixed in Definition 9.3.
These are direct specializations of the two preceding construction theorems to the notation and numerical hypotheses packaged in the nontrivial-regime pasting context.
Let \(0{\lt}\theta {\lt}1\) and integers \(k,d{\gt}0\) with \(k \ge 2d/\theta \). Define
If \(X\) is Hermitian, \(0 \le X \le I\), and \(\langle \psi \rvert X \otimes I \lvert \psi \rangle \ge 1-\kappa \), then
Let \(\rho \) be the reduced state of \(\lvert \psi \rangle \) on one prover’s subsystem, and write the eigendecomposition \(X = \sum _i \lambda _i \lvert v_i \rangle \langle v_i \rvert \). This defines a probability distribution \(\mu (i)=\langle v_i \rvert \rho \lvert v_i \rangle \), with
Equivalently, \(\mathbb {E}_{i\sim \mu }(1-\lambda _i)\le \kappa \), so Markov’s inequality shows that most of the spectral mass of \(X\) lies on eigenvalues at least \(\theta \):
For a scalar \(p \in [d/k,1]\), the quantity
is the probability of observing at least \(d+1\) successes in \(k\) Bernoulli\((p)\) trials. Applying the scalar Chernoff bound eigenvalue-by-eigenvalue therefore yields
Hence
Since \((1-b)(1-c)\ge 1-b-c\) for \(b,c\ge 0\), 59 implies
Finally, \(k \ge 2d/\theta \) implies \(d/k \le \theta /2\), hence \((\theta -d/k)^2 \ge \theta ^2/4\), which yields the claimed bound.
If \(k \ge 400md\), then
Lemma 9.37 gives
Lemma 9.40 turns the right-hand side into
up to error \(\nu _8\). Apply Lemma 9.43 with \(\theta = 1/(200m)\). Since \(k\ge 400md\), the hypothesis \(k \ge 2d/\theta \) is satisfied, and the resulting lower bound is
The paper then absorbs the approximation losses \(\nu _7+\nu _8\) into \(\nu \).