Lemma 5.1.
OpenQAlgorithms.Papers.Independent.Gap48.P23.majority_recursive_fidelityWork 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.
Let be odd. The optimal majority fidelity is
where , , and for ,
The unused total value does not enter the statement.
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 pp.36,82, Lemma 5.1: exact recursive optimal majority fidelity. -/
theorem majority_recursive_fidelity (n : ℕ) (hn : 1 ≤ n) (hodd : Odd n) :
optimalFunctionFidelity (fun _ => True) (majority n) = majorityRecurrence ((n+1)/2) := by sorry
end QAlgorithms.Papers.Independent.Gap48.P23
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every odd natural number , let , let be the number of 's in , and define when , and otherwise. For any channel from matrices on to complex matrices, define its fidelity to be
Here a channel is any finite Kraus map satisfying , and has entries . Define the real sequence , , , and, for every integer ,
Then , where is natural-number division and is an integer because is odd. In particular, is included.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.