Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix C / Eq.(B8): concentration for fixed density-matrix tests of random invariant states

Open
QAlgorithms.Papers.Independent.Extend50.P29.invariant_fixed_test_concentration

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

prove2quantum

Let GGG be a finite group, d=∣G∣≥1d=|G|\ge1d=∣G∣≥1, and n≥2n\ge2n≥2. Sample a Haar unit vector in HG⊗n\mathcal H_G^{\otimes n}HG⊗n​ and map it by the explicit orbit isometry MMM to a normalized invariant vector Ψ\PsiΨ on n+1n+1n+1 regular registers. For each fixed positive semidefinite trace-one matrix σ\sigmaσ on registers 0,10,10,1, put

Pδ,σ=Pr⁡[∣Tr⁡ ⁣(σ(Ψ01−I/d2))∣≥δ/d2],Pδ=sup⁡σPδ,σ.P_{\delta,\sigma}=\Pr\left[\left|\operatorname{Tr}\!\left(\sigma(\Psi_{01}-I/d^2)\right)\right|\ge\delta/d^2\right],\qquad P_\delta=\sup_\sigma P_{\delta,\sigma}.Pδ,σ​=Pr[​Tr(σ(Ψ01​−I/d2))​≥δ/d2],Pδ​=σsup​Pδ,σ​.

For every 0≤δ≤10\le\delta\le10≤δ≤1, the printed Eq.(B8) asserts

Pδ≤exp⁡(−dn−2δ2/6).P_\delta\le\exp\left(-d^{n-2}\delta^2/6\right).Pδ​≤exp(−dn−2δ2/6).

This is a two-sided deviation bound for every fixed test. The endpoints are included, and the supremum is outside the sampling event.

Formalization Note The one-sided estimates in Appendix C directly give a factor-two union bound; the source does not explicitly remove that prefactor. The exact printed target is retained as a statement with this proof concern disclosed, not certified as a proved result.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P29
Formal statement
noncomputable section

open MeasureTheory MeasureTheory.Measure

open scoped Matrix ComplexConjugate ComplexOrder Matrix.Norms.L2Operator

attribute [local instance] Classical.propDecidable Classical.decEq

namespace QAlgorithms.Papers.Independent.Extend50.P29

open QAlgorithms.Papers.Independent.Information100.P32 (evolution)

open QAlgorithms.Papers.Independent.Next46.P39 (inverseSqrt rectAct)

open QAlgorithms.Papers.Independent.Support21.P09 (groupLeftRegular)

/-- PDF p.13, Eq.(B8), proved in Appendix C pp.13--15: printed two-sided
tail bound. Its missing-prefactor proof concern is recorded in MODERATION_NOTES;
no prefactor or extra interior-domain restriction is silently inserted. n=r+2. -/
theorem invariant_fixed_test_concentration
    (G : Type) [Group G] [Fintype G] (r : ℕ)
    (δ : ℝ) (hδ0 : 0 ≤ δ) (hδ1 : δ ≤ 1) :
    worstTestTail G r δ ≤ Real.exp (-(Fintype.card G : ℝ) ^ r * δ ^ 2 / 6) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P29

end
Source
Error Correction of Quantum Reference Frame Information, arXiv:1709.04471v1, PDF p. 13, Appendix C / Eq.(B8): concentration for fixed density-matrix tests of random invariant states
Read-back

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

Let GGG be any finite group, let d=∣G∣d=|G|d=∣G∣, let r≥0r\ge0r≥0 be an integer, and let δ∈[0,1]\delta\in[0,1]δ∈[0,1]. Put D=dr+2D=d^{r+2}D=dr+2, sample ϕ∈CD\phi\in\mathbb C^Dϕ∈CD as the first column of a normalized Haar-distributed unitary matrix, and use the fixed enumeration e:Gr+2≃{0,…,D−1}e:G^{r+2}\simeq\{0,\ldots,D-1\}e:Gr+2≃{0,…,D−1} to define

Ψϕ(g0,…,gr+2)=1d ϕe(gr+2−1g0,…,gr+2−1gr+1),Aϕ((a,b),(a′,b′))=∑z∈Gr+1Ψϕ(a,b,z) Ψϕ(a′,b′,z)‾.\Psi_\phi(g_0,\ldots,g_{r+2}) =\frac{1}{\sqrt d}\, \phi_{e(g_{r+2}^{-1}g_0,\ldots,g_{r+2}^{-1}g_{r+1})}, \qquad A_\phi((a,b),(a',b')) =\sum_{z\in G^{r+1}}\Psi_\phi(a,b,z)\, \overline{\Psi_\phi(a',b',z)}.Ψϕ​(g0​,…,gr+2​)=d​1​ϕe(gr+2−1​g0​,…,gr+2−1​gr+1​)​,Aϕ​((a,b),(a′,b′))=z∈Gr+1∑​Ψϕ​(a,b,z)Ψϕ​(a′,b′,z)​.

Then the supremum, over all positive semidefinite complex matrices σ\sigmaσ indexed by G×GG\times GG×G with tr⁡σ=1\operatorname{tr}\sigma=1trσ=1, of the indicated tail probability satisfies

sup⁡σ⪰0tr⁡σ=1P ⁣(∣tr⁡ ⁣(σ(Aϕ−Id2))∣≥δd2)≤exp⁡ ⁣(−drδ26).\sup_{\substack{\sigma\succeq0\\ \operatorname{tr}\sigma=1}} \mathbb P\!\left( \left|\operatorname{tr}\!\left(\sigma\left(A_\phi-\frac{I}{d^2}\right)\right)\right| \ge\frac{\delta}{d^2}\right) \le \exp\!\left(-\frac{d^r\delta^2}{6}\right).σ⪰0trσ=1​sup​P(​tr(σ(Aϕ​−d2I​))​≥d2δ​)≤exp(−6drδ2​).

The modulus is the complex modulus. This includes r=0r=0r=0, the trivial group, and both endpoints δ=0\delta=0δ=0 and δ=1\delta=1δ=1; equality at the tail threshold is included.

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

    Confirmed by the moderator at approval.

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