Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma III.5: post-selected exponential almost-power approximation

Open
QAlgorithms.Papers.Independent.Intake100.P63.postselected_almost_power

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

prove2quantum

Let HHH be a nonzero finite-dimensional complex Hilbert space, n≥1n\ge1n≥1, and let θ∈H\theta\in Hθ∈H and Ψn∈H⊗n\Psi_n\in H^{\otimes n}Ψn​∈H⊗n be unit vectors, with Ψn\Psi_nΨn​ permutation symmetric. Assume c=∣⟨Ψn∣θ⊗n⟩∣>0c=|\langle\Psi_n\mid\theta^{\otimes n}\rangle|>0c=∣⟨Ψn​∣θ⊗n⟩∣>0. A normalized almost-power vector along a unit vector θ\thetaθ on NNN sites is a unit vector in the symmetric subspace intersected with the complex span of tensors having at least N−rN-rN−r factors equal to θ\thetaθ; the remaining at most rrr factors may have an arbitrary joint vector. For each 0≤m≤n0\le m\le n0≤m≤n there is a unit vector Ψn,m\Psi_{n,m}Ψn,m​ on n−mn-mn−m sites such that

∣Ψn,m⟩⟨Ψn,m∣≤c−2Tr⁡1,…,m∣Ψn⟩⟨Ψn∣.|\Psi_{n,m}\rangle\langle\Psi_{n,m}|\le c^{-2}\operatorname{Tr}_{1,\ldots,m}|\Psi_n\rangle\langle\Psi_n|.∣Ψn,m​⟩⟨Ψn,m​∣≤c−2Tr1,…,m​∣Ψn​⟩⟨Ψn​∣.

For every 0≤r≤n−m0\le r\le n-m0≤r≤n−m, the same vector admits a normalized almost-power approximation Ψn,m,r\Psi_{n,m,r}Ψn,m,r​ along θ\thetaθ with

∥∣Ψn,m⟩⟨Ψn,m∣−∣Ψn,m,r⟩⟨Ψn,m,r∣∥1≤22 c−1exp⁡ ⁣(−mr2n).\big\||\Psi_{n,m}\rangle\langle\Psi_{n,m}|-|\Psi_{n,m,r}\rangle\langle\Psi_{n,m,r}|\big\|_1 \le2\sqrt2\,c^{-1}\exp\!\left(-\frac{mr}{2n}\right).​∣Ψn,m​⟩⟨Ψn,m​∣−∣Ψn,m,r​⟩⟨Ψn,m,r​∣​1​≤22​c−1exp(−2nmr​).

The exponential is natural. Positive overlap is the domain needed for the printed inverse powers and normalized postselection; zero overlap is undefined in the source.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P63
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P63

open QAlgorithms Filter Topology

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

open QAlgorithms.Papers.Independent.Information100.P07 (positivePart)

open QAlgorithms.Papers.Independent.Information100.P21 (Vec)

open QAlgorithms.Papers.Independent.Gap48.P20 (Copies)

open QAlgorithms.Papers.Independent.Advance50.P30 (joinCopies defectTensor)

open QAlgorithms.Papers.Independent.Information100.P69 (permute)

open scoped Matrix ComplexConjugate ENNReal ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF pp.13--14 Lemma III.5 Eqs.(68),(69). SOURCE DOMAIN CORRECTION:
positive overlap and n>0 are the domains of the printed inverse powers and
exponent. At zero overlap the source's normalized postselection is undefined. -/
theorem postselected_almost_power {I : Type} [Fintype I] [DecidableEq I] [Nonempty I]
    (n : ℕ) (hn : 0 < n) (theta : Vec I) (htheta : IsState theta)
    (psi : Vec (Copies I n)) (hpsi : IsState psi) (hsym : CopySymmetric psi)
    (hoverlap : 0 < ‖inner ℂ psi (tensorPow n theta)‖)
    (m : ℕ) (hm : m ≤ n) :
    ∃ post : Vec (Copies I (n - m)), IsState post ∧
      ((((‖inner ℂ psi (tensorPow n theta)‖ ^ 2)⁻¹ : ℝ) : ℂ) •
        discardPrefix m hm (pureDensity psi) - pureDensity post).PosSemidef ∧
      ∀ r, r ≤ n - m → ∃ approx : Vec (Copies I (n - m)),
        AlmostPower theta (n - m) r approx ∧
        traceNorm (pureDensity post - pureDensity approx) ≤
          2 * Real.sqrt 2 * ‖inner ℂ psi (tensorPow n theta)‖⁻¹ *
            Real.exp (-((m : ℝ) * r) / (2 * n)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P63

end
Source
A Generalization of Quantum Stein's Lemma, arXiv:0904.0281v3, PDF p. 13, Lemma III.5: post-selected exponential almost-power approximation
Read-back

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

Let III be a finite, nonempty index set with decidable equality, let n>0n>0n>0, and let θ∈CI\theta\in\mathbb C^Iθ∈CI and ψ∈CIn\psi\in\mathbb C^{I^n}ψ∈CIn have Euclidean norm 111. Assume that ψ(x∘p)=ψ(x)\psi(x\circ p)=\psi(x)ψ(x∘p)=ψ(x) for every coordinate permutation ppp, and that α=∣⟨ψ,θ⊗n⟩∣>0\alpha=\left|\langle\psi,\theta^{\otimes n}\rangle\right|>0α=∣⟨ψ,θ⊗n⟩∣>0, where θ⊗n(x)=∏i<nθ(xi)\theta^{\otimes n}(x)=\prod_{i<n}\theta(x_i)θ⊗n(x)=∏i<n​θ(xi​). For every natural number m≤nm\le nm≤n, writing N=n−mN=n-mN=n−m, there is a unit vector u∈CINu\in\mathbb C^{I^N}u∈CIN such that

α−2Tr⁡first m∣ψ⟩⟨ψ∣−∣u⟩⟨u∣⪰0,\alpha^{-2}\operatorname{Tr}_{\text{first }m}|\psi\rangle\langle\psi| -|u\rangle\langle u|\succeq0,α−2Trfirst m​∣ψ⟩⟨ψ∣−∣u⟩⟨u∣⪰0,

and this same uuu has the following property: for every natural number r≤Nr\le Nr≤N, there is a unit vector v∈CINv\in\mathbb C^{I^N}v∈CIN, invariant under all coordinate permutations, belonging to the complex linear span of the vectors

x⟼(∏i∉Sθ(xi))χ(x∣S),S⊆{0,…,N−1},∣S∣≤r,x\longmapsto \left(\prod_{i\notin S}\theta(x_i)\right)\chi(x|_S), \qquad S\subseteq\{0,\ldots,N-1\},\quad |S|\le r,x⟼​i∈/S∏​θ(xi​)​χ(x∣S​),S⊆{0,…,N−1},∣S∣≤r,

where χ:IS→C\chi:I^S\to\mathbb Cχ:IS→C is arbitrary, and satisfying

∥∣u⟩⟨u∣−∣v⟩⟨v∣∥1≤22 α−1exp⁡ ⁣(−mr2n).\bigl\||u\rangle\langle u|-|v\rangle\langle v|\bigr\|_1 \le 2\sqrt2\,\alpha^{-1}\exp\!\left(-\frac{mr}{2n}\right).​∣u⟩⟨u∣−∣v⟩⟨v∣​1​≤22​α−1exp(−2nmr​).

Here ∣w⟩⟨w∣(x,y)=w(x)w(y)‾|w\rangle\langle w|(x,y)=w(x)\overline{w(y)}∣w⟩⟨w∣(x,y)=w(x)w(y)​, the partial trace sums over identical first-mmm indices in the row and column, and ∥A∥1=Re⁡tr⁡A†A\|A\|_1=\operatorname{Re}\operatorname{tr}\sqrt{A^\dagger A}∥A∥1​=RetrA†A​. The ranges include m=0m=0m=0, m=nm=nm=n, and r=0r=0r=0; when N=0N=0N=0, I0I^0I0 is a singleton and every empty tensor product is 111.

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