Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma F.2.

Proved
QAlgorithms.Papers.Independent.Gap48.P23.majority_weight_strict_decrease

by Goku · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Work 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 xxx and common basis UUU. Write ρxU=U⊗n∣x⟩⟨x∣U†⊗n\rho_x^U=U^{\otimes n}|x\rangle\langle x|U^{\dagger\otimes n}ρxU​=U⊗n∣x⟩⟨x∣U†⊗n. For an input promise PPP, let Ff,P(Φ)F_{f,P}(\Phi)Ff,P​(Φ) be the minimum of ⟨f(x)∣U†Φ(ρxU)U∣f(x)⟩\langle f(x)|U^\dagger\Phi(\rho_x^U)U|f(x)\rangle⟨f(x)∣U†Φ(ρxU​)U∣f(x)⟩ over every allowed xxx and U∈U(d)U\in U(d)U∈U(d), and let Ff,PF_{f,P}Ff,P​ be its supremum over channels. An omitted PPP means all words. Boolean functions use d=2d=2d=2; positive odd nnn is imposed whenever symmetry and equivariance of a Boolean function are required.

For odd n≥3n\ge3n≥3, the explicit majority weight fidelity is strictly decreasing on its admissible finite range:

0≤h<j≤(n−1)/2⟹Fn(j)<Fn(h).0\le h<j\le(n-1)/2\quad\Longrightarrow\quad F_n(j)<F_n(h).0≤h<j≤(n−1)/2⟹Fn​(j)<Fn​(h).

No monotonicity claim beyond that range is made.

This is the stated interface for the corresponding result of the paper.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P23
Formal statement
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.80, Lemma F.2: strictly decreasing only on the admissible finite range. -/
theorem majority_weight_strict_decrease (n : ℕ) (hn : 3 ≤ n) (hodd : Odd n) :
    ∀ h j : ℕ, h < j → j ≤ (n-1)/2 → majorityWeightFidelity n j < majorityWeightFidelity n h := by sorry

end QAlgorithms.Papers.Independent.Gap48.P23

end
Source
Quantum majority vote, arXiv:2211.11729v1, PDF p. 80, Lemma F.2.
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For every odd natural number n≥3n\ge3n≥3, define

Fn,h=∑k=0h(nk)−{0,k=0,(nk−1),k≠0(nh)n−h−kn−2kF_{n,h}=\sum_{k=0}^{h} \frac{\binom nk-\begin{cases}0,&k=0,\\\binom n{k-1},&k\ne0\end{cases}} {\binom nh} \frac{n-h-k}{n-2k}Fn,h​=k=0∑h​(hn​)(kn​)−{0,(k−1n​),​k=0,k=0​​n−2kn−h−k​

for natural numbers hhh, using real arithmetic in the fractions and total real division. For all natural numbers h,jh,jh,j satisfying h<jh<jh<j and j≤⌊(n−1)/2⌋j\le\lfloor(n-1)/2\rfloorj≤⌊(n−1)/2⌋, one has the strict inequality Fn,j<Fn,hF_{n,j}<F_{n,h}Fn,j​<Fn,h​. The lower index h=0h=0h=0 is included; within the asserted range, n−2kn-2kn−2k and (nh)\binom nh(hn​) are nonzero.

Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 22, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me