Section 12 pasting: final pasting theorems #
The completeness corollary cor:ld-pasting-N-completeness, the sub-measurement lemma
lem:ld-pasting-sub-measurement and the pasting theorem thm:ld-pasting with its complementary
branches: the counterpart of MIPRE/Background/LIDT/MIPStarRE/LDT/Pasting/Bernoulli/Final.lean in
the port of planning/c6b-plan.md (milestone M11, section "Port conventions").
A strategy is a SymStrat params.next ๐ K and a slice family an IdxPolyFamily params ๐;
errors are in โ. Every statement keeps the vendored argument list and order, and none has a
swap, density or normalization hypothesis (the vendored ones had none either). Inside the proofs,
three uses of the vendored strategy fields are replaced (section "Swap symmetry is a theorem"):
- in
fromHToGBernoulliTailMass_lower_bound, the matrix Chernoff lemma is applied to the vector statestrategy.state.toVecStatewithout the vendoredstrategy.isNormalized, and the swapstrategy.permInvState.swap_evthat moves the Bernoulli tail from the left register to the right one isS.ev_L_eq_ev_R, afterbernoulliTailOperator_leftTensor; - in
ldPasting_of_one_le_error,bipartiteConsError_uniform_le_one strategy.state strategy.isNormalizedis the keystone'sstrategy.state.bipartiteConsError_uniform_le_one; - the nonnegativity of
ฮบinfromHToGBernoulliTailMass_lower_boundis the portedkappa_nonneg_of_completerather than an inline repetition of it.
The four arithmetic lemmas at the head of the vendored file mention no state, operator or
measurement, so they are not ported: this file imports the vendored file and names them through
an explicit open MIPStarRE.LDT.Pasting (โฆ) list.
Not ported #
References #
In LionSR/MIPStarRE at commit 507e8122, not in this repository:
references/ldt-paper/ld-pasting.texdocs/paper-gaps/issue-1622-ld-pasting-degree-zero.tex
Upstream keeps this helper private since its Lean-module port (LionSR/MIPStarRE at 5fc363b); the port carries its own copy, with upstream's proof.
Arithmetic helper for cor:ld-pasting-N-completeness: absorb the
overAllOutcomes and fromHToG scalar losses into
ldPastingInInductionNu.
The proof uses that the corrected fromHToGError tail sum is a sub-sum of the
full overAllOutcomesError sum and the slack 46 + 46 โค 100.
Upstream keeps this helper private since its Lean-module port (LionSR/MIPStarRE at 5fc363b); the port carries its own copy, with upstream's proof.
Paper arithmetic: for ฮธ = 1/(200m),
1/(1-ฮธ) โค 1 + 1/(100m).
Upstream keeps this helper private since its Lean-module port (LionSR/MIPStarRE at 5fc363b); the port carries its own copy, with upstream's proof.
Paper arithmetic: the matrix-Chernoff exponential at ฮธ = 1/(200m) is the
stated exp(-k/(80000mยฒ)) term.
Upstream keeps this helper private since its Lean-module port (LionSR/MIPStarRE at 5fc363b); the port carries its own copy, with upstream's proof.
The public size assumption k โฅ 400md implies the matrix-Chernoff size
condition k โฅ 2d/ฮธ at ฮธ = 1/(200m).
Specialize lem:chernoff-bernoulli-matrix to the averaged complete operator
G = ๐ผ_x โ_g G^x_g and the paper's ฮธ = 1/(200m).
This is the Bernoulli-tail lower-bound step in cor:ld-pasting-N-completeness: the matrix
Chernoff lemma is applied to S.L G on the vector state, bernoulliTailOperator_leftTensor
identifies its conclusion, and the swap S.ev_L_eq_ev_R transfers it to the right-register
fromHToGBernoulliTailMass.
Internal form of cor:ld-pasting-N-completeness from the two preceding
mass-comparison inputs.
This theorem isolates the scalar assembly after lem:over-all-outcomes,
lem:from-H-to-G, and the Bernoulli-tail lower bound have already been
established.
cor:ld-pasting-N-completeness once the Bernoulli-tail lower bound is
supplied explicitly.
This records the downstream scalar algebra after lem:over-all-outcomes and
lem:from-H-to-G. The hypothesis htail is exactly the ฮธ = 1 / (200m)
specialization of lem:chernoff-bernoulli-matrix for the averaged complete
operator G = \mathbb E_x \sum_g G^x_g, expressed as the concrete
fromHToGBernoulliTailMass lower bound with error
ฮบ ยท (1 + 1/(100m)) + exp(-k / (80000 mยฒ)).
cor:ld-pasting-N-completeness.
Internal form of cor:ld-pasting-N-completeness from the Section 11
commutativity conclusion.
lem:ld-pasting-sub-measurement.
Restricted nontrivial-regime Lean form of thm:ld-pasting.
The source theorem is references/ldt-paper/ld-pasting.tex, lines 12--50.
Lines 52--55 explain that the proof may assume the nontrivial regime
eps, delta, gamma, zeta, d / q โค 1, since the complementary cases are
trivial. This declaration states the restricted assumptions
gamma โค 1, zeta โค 1, params.d โค params.q, 0 < params.d, and 1 โค k.
The unrestricted statement aligned with the paper is ldPasting; the
degree-zero complementary branch is handled separately by
ldPastingDegreeZeroBranch.
Trivial consistency conclusion when the target pasting error is at least 1.
The consistency defect of two submeasurements against the state of a symmetric
model is always at most 1; hence a scalar lower bound
1 โค ldPastingInInductionError ... is enough to produce the final conclusion
with a distinguished trivial measurement.
Trivial consistency conclusion from the complementary scalar branches.
If k is positive, it suffices to show that the ฮฝ term in the pasting error
is at least 1; if k = 0, the exponential term already gives the trivial
bound.
Complementary branch for thm:ld-pasting when gamma > 1.
Paper origin: references/ldt-paper/ld-pasting.tex:52-55, where this is one
of the large-error cases in which the final consistency bound is trivial.
This is one of the proved complementary cases for thm:ld-pasting.
Complementary branch for thm:ld-pasting when zeta > 1.
Paper origin: references/ldt-paper/ld-pasting.tex:52-55, where this is one
of the large-error cases in which the final consistency bound is trivial.
This is one of the proved complementary cases for thm:ld-pasting.
Complementary branch for thm:ld-pasting when d > q.
Paper origin: references/ldt-paper/ld-pasting.tex:52-55, where this is the
large-error case (d/q) โฅ 1. This is one of the proved complementary cases
for thm:ld-pasting.
Complementary branch for thm:ld-pasting when k = 0.
This branch is a boundary case for the reduction to the nontrivial theorem,
whose proof assumes 1 โค k. The scalar calculation showing that the
exponential term gives the trivial bound is the vendored
one_le_ldPastingError_of_k_eq_zero.
Degree-zero complementary branch for the unrestricted source theorem.
Paper origin: references/ldt-paper/ld-pasting.tex:12-55. The paper's
large-error reduction names the cases
eps, delta, gamma, zeta, d/q โฅ 1; it does not explicitly add 0 < d as a
hypothesis of thm:ld-pasting. Thus the Lean theorem should not add 0 < d
as an assumption of that cited theorem.
Upstream issue #1622 recorded the need for a direct proof of this degree-zero branch; see
docs/paper-gaps/issue-1622-ld-pasting-degree-zero.tex upstream. The
nontrivial argument cannot simply be reused: its hBConsistency aggregation
passes from distinct sampled heights to independent sampled heights and absorbs
the resulting k^2/q loss through the displayed (d/q)^(1/32) term. When
d = 0, that term is zero, so the branch requires a separate argument rather
than an additional hypothesis on ldPasting.
Projection from the restricted nontrivial construction.
The restricted construction theorem ldPastingNontrivial proves the nontrivial
analytic regime for the canonical pasted measurement. This auxiliary statement
records the projection from the restricted construction theorem to the conclusion
needed by the unrestricted theorem, without changing the statement of
thm:ld-pasting.
Paper-aligned form of thm:ld-pasting.
Paper origin: references/ldt-paper/ld-pasting.tex, lines 12--50. The
following lines 52--55 explain that the proof may restrict to the regime
eps, delta, gamma, zeta, d / q โค 1, because the complementary cases are
trivial. The restricted theorem ldPastingNontrivial proves the nontrivial
regime, and the large-gamma, large-zeta, large-d / q, and k = 0
complementary branches are proved above, including the degree-zero case, so
this declaration keeps the unrestricted paper statement visible without adding
the non-paper assumptions from the restricted theorem.