Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Variational acceptance gives a lower bound

Open
QAlgorithms.Papers.Independent.Extend50.P47.variational_lower_bound

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

prove2quantum

Every register has a fixed finite nonempty computational basis. States are positive semidefinite trace-one matrices, and pure vectors have norm one. Write F(ρ,σ)=∥ρσ∥12F(\rho,\sigma)=\|\sqrt\rho\sqrt\sigma\|_1^2F(ρ,σ)=∥ρ​σ​∥12​ for squared fidelity. Here GGG is a finite group and UUU denotes its specified unitary representation. Raw Bose averages Π=∣G∣−1∑gU(g)\Pi=|G|^{-1}\sum_gU(g)Π=∣G∣−1∑g​U(g) use an ordinary representation; conjugation symmetry permits a projective representation. The set SymG\mathrm{Sym}_GSymG​ consists of invariant densities; B ⁣-SymG\mathrm{B\!\text{-}Sym}_GB-SymG​ consists of densities supported by Π\PiΠ. The sets SymExtG\mathrm{SymExt}_GSymExtG​ and BSEG\mathrm{BSE}_GBSEG​ are their normalized-extension marginal analogues, tracing out precisely the stated reference register. The input includes a unit purification of ρS\rho_SρS​. The prover acts only on its purifying register, with arbitrary ancillas and a retained private environment, and returns the prescribed registers. It never acts on retained SSS. All maxima mentioned below are attained.

Every valid parameterized prover channel has exact acceptance bounded by the corresponding unrestricted maximum symmetric fidelity. Hence every attained or well-defined supremum over such acceptances is bounded by that same optimum.

pj(θ)≤vj(θ∈Θ, j=2,3,4),(v2,v3,v4)=(max⁡SymF,max⁡BSEF,max⁡SymExtF).p_j(\theta)\le v_j\qquad(\theta\in\Theta,\ j=2,3,4),\quad(v_2,v_3,v_4)=\left(\max_{\mathrm{Sym}}F,\max_{\mathrm{BSE}}F,\max_{\mathrm{SymExt}}F\right).pj​(θ)≤vj​(θ∈Θ, j=2,3,4),(v2​,v3​,v4​)=(Symmax​F,BSEmax​F,SymExtmax​F).

The parameter set is Θ\ThetaΘ, pj(θ)p_j(\theta)pj​(θ) is exact noiseless acceptance, and each vjv_jvj​ is the attained unrestricted optimum. There is no empty-real-supremum convention and no noisy-frequency or convergence claim.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P47
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P47

open scoped ComplexConjugate ComplexOrder Matrix Matrix.Norms.L2Operator Manifold ContDiff

open MeasureTheory

open QAlgorithms.Papers.Independent.Information100.P60 (Mat)

open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)

variable {G S R P T A B C D R2 S2 : Type*}

variable [Fintype G] [Group G] [DecidableEq G]

variable [Fintype S] [DecidableEq S] [Nonempty S]

variable [Fintype R] [DecidableEq R] [Nonempty R]

variable [Fintype P] [DecidableEq P] [Nonempty P]

variable [Fintype T] [DecidableEq T] [Nonempty T]

variable [Fintype A] [DecidableEq A] [Nonempty A]

variable [Fintype B] [DecidableEq B] [Nonempty B]

variable [Fintype C] [DecidableEq C] [Nonempty C]

variable [Fintype D] [DecidableEq D] [Nonempty D]

variable [Fintype R2] [DecidableEq R2] [Nonempty R2]

variable [Fintype S2] [DecidableEq S2] [Nonempty S2]

/-- PDF pp.3,19–20: every exact variational channel yields a lower bound on
its corresponding optimal symmetric fidelity; no noisy sample claim is made. -/
theorem variational_lower_bound [Nonempty S] [Nonempty R] [Nonempty P] {Theta : Type*}
    (U : G → Matrix.unitaryGroup S ℂ) (hU : IsProjectiveUnitaryLift U)
    (V : G →* Matrix.unitaryGroup (R × S) ℂ)
    (hV : symmetryControlAverage (fun g => (V g : Mat (R × S))) ≠ 0)
    (W : G → Matrix.unitaryGroup (R × S) ℂ) (hW : IsProjectiveUnitaryLift W)
    (rho : Mat S) (hrho : IsDensityMatrix rho) (psi : EuclideanSpace ℂ (P × S))
    (hpsi : ‖psi‖ = 1) (hpur : traceLeft (pureDensity psi) = rho)
    (N2 : Theta → Superop P S) (N3 : Theta → Superop P R)
    (N4 : Theta → Superop P (R × (R × S)))
    (hN2 : ∀ t, IsChannel (N2 t)) (hN3 : ∀ t, IsChannel (N3 t))
    (hN4 : ∀ t, IsChannel (N4 t)) :
    ∃ v2 v3 v4 : ℝ,
      IsGreatest (symmetryFidelityValues rho (Sym (fun g => (U g : Mat S)))) v2 ∧
      IsGreatest (symmetryFidelityValues rho (BSE (fun g => (V g : Mat (R × S))))) v3 ∧
      IsGreatest (symmetryFidelityValues rho (SE (fun g => (W g : Mat (R × S))))) v4 ∧
      ∀ t, controlReturnProbability (symTest (fun g => (U g : Mat S)))
        (firstChannel (N2 t) (pureDensity psi)) ≤ v2 ∧
        controlReturnProbability (symmetryControlAverage (fun g => (V g : Mat (R × S))))
          (firstChannel (N3 t) (pureDensity psi)) ≤ v3 ∧
        controlReturnProbability (seTest (fun g => (W g : Mat (R × S))))
          (firstChannel (N4 t) (pureDensity psi)) ≤ v4 := by sorry

end QAlgorithms.Papers.Independent.Extend50.P47

end
Source
Testing symmetry on quantum computers, arXiv:2105.12758v3, PDF p. 3, Variational acceptance gives a lower bound
Read-back

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

Let GGG be a finite group, let S,R,PS,R,PS,R,P be nonempty finite index sets with the decidable equalities needed for their matrix operations, and let Θ\ThetaΘ be any type, possibly empty. Let UgU_gUg​ be unitaries on CS\mathbb C^SCS and WgW_gWg​ unitaries on CR×S\mathbb C^{R\times S}CR×S, each satisfying the following projective multiplication condition: for every g,hg,hg,h, its value at ghghgh is its product at g,hg,hg,h multiplied by some complex scalar of modulus one. Let V:G→U(CR×S)V:G\to\mathrm U(\mathbb C^{R\times S})V:G→U(CR×S) preserve identity and multiplication, and assume QV=∣G∣−1∑gVg≠0Q_V=|G|^{-1}\sum_gV_g\ne0QV​=∣G∣−1∑g​Vg​=0. Let ρ\rhoρ be positive semidefinite of trace one on SSS, and let ψ∈CP×S\psi\in\mathbb C^{P\times S}ψ∈CP×S have norm one and satisfy tr⁡P∣ψ⟩⟨ψ∣=ρ\operatorname{tr}_P|\psi\rangle\langle\psi|=\rhotrP​∣ψ⟩⟨ψ∣=ρ, where (∣ψ⟩⟨ψ∣)a,b=ψaψb‾(|\psi\rangle\langle\psi|)_{a,b}=\psi_a\overline{\psi_b}(∣ψ⟩⟨ψ∣)a,b​=ψa​ψb​​. For every t∈Θt\in\Thetat∈Θ, let N2,t,N3,t,N4,tN_{2,t},N_{3,t},N_{4,t}N2,t​,N3,t​,N4,t​ be channels from PPP to S,R,R×(R×S)S,R,R\times(R\times S)S,R,R×(R×S), respectively; here being a channel means admitting finitely many matrices EjE_jEj​ such that N(X)=∑jEjXEj†N(X)=\sum_jE_jXE_j^\daggerN(X)=∑j​Ej​XEj†​ for every XXX and ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I. Define three sets of matrices on SSS: Q2\mathcal Q_2Q2​ consists of density matrices σ\sigmaσ satisfying σ=UgσUg†\sigma=U_g\sigma U_g^\daggerσ=Ug​σUg†​ for every ggg; Q3\mathcal Q_3Q3​ consists of density matrices σ\sigmaσ having a density-matrix extension ω\omegaω on R×SR\times SR×S with tr⁡Rω=σ\operatorname{tr}_R\omega=\sigmatrR​ω=σ and ω=QVωQV\omega=Q_V\omega Q_Vω=QV​ωQV​; and Q4\mathcal Q_4Q4​ consists of density matrices σ\sigmaσ having such an extension with ω=WgωWg†\omega=W_g\omega W_g^\daggerω=Wg​ωWg†​ for every ggg. With

Fr(ρ,σ)=Re⁡tr⁡ρ σρ,F_{\mathrm r}(\rho,\sigma) =\operatorname{Re}\operatorname{tr}\sqrt{\sqrt{\rho}\,\sigma\sqrt{\rho}},Fr​(ρ,σ)=Retrρ​σρ​​,

where square roots use continuous functional calculus, there exist real numbers v2,v3,v4v_2,v_3,v_4v2​,v3​,v4​ such that each viv_ivi​ is the greatest element of {Fr(ρ,σ)2:σ∈Qi}\{F_{\mathrm r}(\rho,\sigma)^2:\sigma\in\mathcal Q_i\}{Fr​(ρ,σ)2:σ∈Qi​}, so each maximum is attained. Define

K2=1∣G∣∑gUg‾⊗Ug,K3=QV,K_2=\frac1{|G|}\sum_g\overline{U_g}\otimes U_g,\qquad K_3=Q_V,K2​=∣G∣1​g∑​Ug​​⊗Ug​,K3​=QV​,

and let K4K_4K4​ be ∣G∣−1∑gWg⊗Wg‾|G|^{-1}\sum_gW_g\otimes\overline{W_g}∣G∣−1∑g​Wg​⊗Wg​​, reindexed from (R×S)×(R×S)(R\times S)\times(R\times S)(R×S)×(R×S) to (R×(R×S))×S(R\times(R\times S))\times S(R×(R×S))×S by

((r1,(r2,s1)),s2)⟼((r1,s2),(r2,s1)).((r_1,(r_2,s_1)),s_2)\longmapsto((r_1,s_2),(r_2,s_1)).((r1​,(r2​,s1​)),s2​)⟼((r1​,s2​),(r2​,s1​)).

For every ttt and each i=2,3,4i=2,3,4i=2,3,4,

Re⁡tr⁡ ⁣[Ki†Ki (Ni,t⊗id⁡S)(∣ψ⟩⟨ψ∣)]≤vi.\operatorname{Re}\operatorname{tr}\!\left[ K_i^\dagger K_i\, (N_{i,t}\otimes\operatorname{id}_S)(|\psi\rangle\langle\psi|) \right]\le v_i.Retr[Ki†​Ki​(Ni,t​⊗idS​)(∣ψ⟩⟨ψ∣)]≤vi​.

Here N⊗id⁡SN\otimes\operatorname{id}_SN⊗idS​ acts entrywise by [(N⊗id⁡S)(X)](a,s),(b,s′)=N((X(p,s),(q,s′))p,q)a,b\bigl[(N\otimes\operatorname{id}_S)(X)\bigr]_{(a,s),(b,s')}=N((X_{(p,s),(q,s')})_{p,q})_{a,b}[(N⊗idS​)(X)](a,s),(b,s′)​=N((X(p,s),(q,s′)​)p,q​)a,b​, and partial trace sums equal reference indices. If Θ\ThetaΘ is empty, the final inequalities are vacuous, but the three attained-maximum assertions remain.

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