§5.2: all-partial-trace optimality
OpenQAlgorithms.Papers.Independent.Gap48.P23.majority_weight_optimalityWork in finite-dimensional complex Hilbert spaces with the indicated computational bases. A channel is a fixed completely positive trace-preserving map, independent of the unknown word and common basis . Write . For an input promise , let be the minimum of over every allowed and , and let be its supremum over channels. An omitted means all words. Boolean functions use ; positive odd is imposed whenever symmetry and equivariance of a Boolean function are required.
For positive odd , define
For every nonempty set of allowed minority weights, the all-partial-trace template is optimal and its optimal fidelity is the attained minimum . Taking all weights gives unrestricted majority.
This is the stated interface for the corresponding result of the paper.
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.37, (5.5)-(5.6): all-partial-trace optimality for every nonempty
allowed set of minority weights; includes unrestricted majority by taking all
weights. The optimum is a minimum, with attainment. -/
theorem majority_weight_optimality (n : ℕ) (hn : 1 ≤ n) (hodd : Odd n)
(alpha : RealSchurCoefficients n) (ha : LawfulCoefficients alpha)
(H : Finset ℕ) (hH : H.Nonempty) (hbound : ∀ h ∈ H, h ≤ n/2) :
IsFunctionOptimal (fun x => min (booleanWordWeight x) (n-booleanWordWeight x) ∈ H) (majority n)
(template alpha (fun _ => 1)) ∧
IsLeast {r | ∃ h ∈ H, r = majorityWeightFidelity n h}
(optimalFunctionFidelity (fun x => min (booleanWordWeight x) (n-booleanWordWeight x) ∈ H) (majority n)) := 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 be odd and let be a nonempty finite set of natural numbers, each at most . Let , let count the 's in , and put if , and otherwise. For , put and , with the second term at and subtraction in the natural numbers. Let be real coefficients for and coordinate permutations . Define and
where , , and otherwise , with empty products equal to . Put and for . Assume that for each , the vectors are orthonormal and span the orbit span of . Define and . Let , for , have entries , and set . Then the map is a channel and achieves the supremum over all finite Kraus channels , with , of
Moreover, this optimal value is the least member of the set , where
with real subtraction in the fractions. Thus the optimal value equals one of these and is no larger than any of them. The hypotheses include , in which case .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.