Lemma 3.2.
ProvedQAlgorithms.Papers.Independent.Gap48.P23.preprocessing_product_outputFor , write , , , and , where . The source vectors are constructed from the Dicke vector followed by ordered normalized singlets. The same fixed real permutation coefficients are used for every , and are orthonormalized and spanning only at . All labels have their actual dependent ranges. Let , where is the explicit normalized-monomial matrix of (C.9). Let be the source Schur transform followed by shape measurement and multiplicity trace, and let append in each measured sector and apply inverse Schur. Write for permutation averaging.
For every , with , the outcome probability and unnormalized retained sector are
The trace of the displayed block is . The branch ket is formed only on its valid support. The added upper support bound corrects the printed omission.
This identifies the source-constructed Schur coordinates and their operational use in the majority algorithm.
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P23
noncomputable section
namespace QAlgorithms.Papers.Independent.Gap48.P23
open MeasureTheory
open scoped ComplexConjugate Matrix ComplexOrder
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
-- Exact frozen coordinate helpers; no paper-local redeclarations.
open QAlgorithms.Papers.Independent.Information100.P58 (Word)
open QAlgorithms.Papers.Independent.Information100.P21 (Op)
open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)
/-- PDF p.22, Lemma 3.2, with the support correction documented above.
Each unnormalized block gives both the outcome probability and its pure
conditional state on nonzero-probability sectors. -/
theorem preprocessing_product_output (n : ℕ) (hn : 1 ≤ n)
(alpha : RealSchurCoefficients n) (ha : LawfulCoefficients alpha)
(x : Word n 2) (U : Matrix.unitaryGroup (Fin 2) ℂ) :
∀ k : TwoRowShape n,
(preprocessingBranch alpha k (encodedInput U.val x)).trace = samplingProbability n (booleanWordWeight x) k ∧
preprocessingBranch alpha k (encodedInput U.val x) = predictedBranch n k (booleanWordWeight x) U.val := by sorry
end QAlgorithms.Papers.Independent.Gap48.P23
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let , , , , and , with . Let be real coefficients for and . Define as times the product, over , of when , of when this pair is , and of otherwise. Put , for , and , where . Assume that, for each , the vectors are orthonormal and span the same space as the . Set . For any and any unitary , put and , where the tensor power has entries . Define
and define by
For every , , with the real number on the right embedded in , and
The subtraction is natural-number subtraction; the displayed nonzero branch ensures it is ordinary subtraction. The weights , even , and degree-zero blocks are included, and empty products equal .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.