Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 7: Haar complex half-projection norm concentration

Open
QAlgorithms.Papers.Independent.Intake100.P61.haarComplex_half_norm_tails

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let n>0n>0n>0, let X≠0X\ne0X=0 be a fixed vector in C2n\mathbb C^{2n}C2n, and let PPP be orthogonal projection onto a Haar-uniform complex nnn-dimensional subspace. If 2e−n/2≤ϵ≤12e^{-n/2}\le\epsilon\le12e−n/2≤ϵ≤1, set t=ln⁡(2/ϵ)/nt=\sqrt{\ln(2/\epsilon)/n}t=ln(2/ϵ)/n​. Then

Pr⁡[2∥PX∥2≥(1+1.5t)∥X∥2]≤ϵ,Pr⁡[2∥PX∥2≤(1−2.2t)∥X∥2]≤ϵ.\Pr[2\|PX\|^2\ge(1+1.5t)\|X\|^2]\le\epsilon,\qquad \Pr[2\|PX\|^2\le(1-2.2t)\|X\|^2]\le\epsilon.Pr[2∥PX∥2≥(1+1.5t)∥X∥2]≤ϵ,Pr[2∥PX∥2≤(1−2.2t)∥X∥2]≤ϵ.

These bounds control the norm in one virtual half. Source correction: E3 prints ln⁡(2ϵ)\ln(2\epsilon)ln(2ϵ); the proof uses the common parameter ln⁡(2/ϵ)\ln(2/\epsilon)ln(2/ϵ). The zero vector is excluded because the proof normalizes it and the printed inclusive events are otherwise certain. Independent moderation remains pending.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P61
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped BigOperators ENNReal Topology

namespace QAlgorithms.Papers.Independent.Intake100.P61

attribute [local instance] Classical.propDecidable Classical.decEq

-- The frozen frequency formula specializes exactly to the source alphabet Fin (2 ^ d).

open QAlgorithms.Papers.Independent.Advance50.P30 (empiricalFrequency)

/-- PDF pp.20–21, Lemma 7 (E2–E3), corrected: E3 prints ln(2 epsilon);
the proof's common deviation parameter requires ln(2/epsilon). X is nonzero:
the proof normalizes X, and both inclusive events are certain at zero.
These corrections require independent moderation. -/
theorem haarComplex_half_norm_tails
    (n : ℕ) (hn : 0 < n) (X : Fin (2 * n) → ℂ) (hX : X ≠ 0)
    (mu : Measure (Matrix.unitaryGroup (Fin (2 * n)) ℂ))
    [IsProbabilityMeasure mu] [Measure.IsMulLeftInvariant mu]
    (epsilon : ℝ) (heps : 0 < epsilon) (heps1 : epsilon ≤ 1)
    (hregime : 2 * Real.exp (-(n : ℝ) / 2) ≤ epsilon) :
    mu {U | 2 * vectorSquare (halfProjection U n X) ≥
      (1 + 1.5 * Real.sqrt (Real.log (2 / epsilon) / n)) * vectorSquare X} ≤
        ENNReal.ofReal epsilon ∧
    mu {U | 2 * vectorSquare (halfProjection U n X) ≤
      (1 - 2.2 * Real.sqrt (Real.log (2 / epsilon) / n)) * vectorSquare X} ≤
        ENNReal.ofReal epsilon := by sorry

end QAlgorithms.Papers.Independent.Intake100.P61

end
Source
Composable security proof for continuous-variable quantum key distribution with coherent states, arXiv:1408.5689v3, PDF p. 20, Lemma 7, E2–E3
Read-back

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

Let nnn be a positive natural number, let X∈C2nX\in\mathbb C^{2n}X∈C2n be nonzero, and let μ\muμ be a probability measure on the unitary group U(2n)U(2n)U(2n) that is invariant under left multiplication. Let ϵ∈R\epsilon\in\mathbb Rϵ∈R satisfy 0<ϵ≤10<\epsilon\le10<ϵ≤1 and 2e−n/2≤ϵ2e^{-n/2}\le\epsilon2e−n/2≤ϵ. Write S(v)=∑i=02n−1∣vi∣2S(v)=\sum_{i=0}^{2n-1}|v_i|^2S(v)=∑i=02n−1​∣vi​∣2, let PnP_nPn​ retain coordinates 0,…,n−10,\ldots,n-10,…,n−1 and set the remaining coordinates to zero, and put HUv=U∗PnUvH_Uv=U^*P_nUvHU​v=U∗Pn​Uv. Then both inclusive tail bounds hold:

μ ⁣{U:2S(HUX)≥(1+1.5log⁡(2/ϵ)n)S(X)}≤ϵ,μ ⁣{U:2S(HUX)≤(1−2.2log⁡(2/ϵ)n)S(X)}≤ϵ.\mu\!\left\{U:2S(H_UX)\ge \left(1+1.5\sqrt{\frac{\log(2/\epsilon)}n}\right)S(X)\right\}\le\epsilon, \qquad \mu\!\left\{U:2S(H_UX)\le \left(1-2.2\sqrt{\frac{\log(2/\epsilon)}n}\right)S(X)\right\}\le\epsilon.μ{U:2S(HU​X)≥(1+1.5nlog(2/ϵ)​​)S(X)}≤ϵ,μ{U:2S(HU​X)≤(1−2.2nlog(2/ϵ)​​)S(X)}≤ϵ.

Here log⁡\loglog is the natural logarithm, and the measure bounds are interpreted in the extended nonnegative reals. The assumptions on ϵ\epsilonϵ cannot be satisfied when n=1n=1n=1.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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