Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sampled C2 profile: full fidelity expansion

Open
QAlgorithms.Papers.Independent.Extend50.P25.sampled_profile_fidelity_expansion

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

prove2quantum

Fix an integer d≥1d\ge1d≥1 and a nonnegative C2C^2C2 function aaa on the closed ordered probability simplex, with zero boundary values and intrinsic L2L^2L2 norm one. Let qN(μ)=a(μ/N)2/∑νa(ν/N)2q_N(\mu)=a(\mu/N)^2/\sum_\nu a(\nu/N)^2qN​(μ)=a(μ/N)2/∑ν​a(ν/N)2 over partitions of NNN into at most ddd rows, and let Fa(N)=d−2∑α⊢dN−1(∑μ=α+□qN(μ))2F_a(N)=d^{-2}\sum_{\alpha\vdash_d N-1}(\sum_{\mu=\alpha+\square}\sqrt{q_N(\mu)})^2Fa​(N)=d−2∑α⊢d​N−1​(∑μ=α+□​qN​(μ)​)2 be the source profile fidelity. The normalizing sum is positive for all sufficiently large NNN, and, with constants depending only on d,ad,ad,a,

Fa(N)=1−∫OSd−1∥∇a∥2 dxdN2+O(N−3).F_a(N)=1-\frac{\int_{OS_{d-1}}\|\nabla a\|^2\,dx}{dN^2}+O(N^{-3}).Fa​(N)=1−dN2∫OSd−1​​∥∇a∥2dx​+O(N−3).

The integral uses the induced Euclidean metric and volume on the sum-one hyperplane. At d=1 the energy is zero and fidelity is one.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P25
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P25

open QAlgorithms MeasureTheory

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

open scoped BigOperators ComplexConjugate Matrix ComplexOrder

/-- Unnumbered sampled-profile expansion, PDF p.45, with the full profile
assumptions on p.42 (including footnote 3): C2 up to the boundary, nonnegative,
zero boundary values and intrinsic L2 norm one. Its proof is not assumed here.
The source's eta_N is eliminated algebraically by the actual finite normalizing sum. -/
theorem sampled_profile_fidelity_expansion (d : ℕ) (hd : 1 ≤ d)
    (a : EuclideanSpace ℝ (Fin (d-1)) → ℝ)
    (ha : ContDiffOn ℝ (2 : ℕ∞) a (profileSimplex d))
    (hnonnegative : ∀ z ∈ profileSimplex d, 0 ≤ a z)
    (hboundary : ∀ z ∈ frontier (profileSimplex d), a z = 0)
    (hnormalized : Real.sqrt (d : ℝ) * (∫ z in profileSimplex d, a z ^ 2) = 1) :
    ∃ C : ℝ, 0 < C ∧ ∃ N0 : ℕ, 1 ≤ N0 ∧ ∀ N ≥ N0,
      0 < (∑ mu : SchurDiagram d N, sampledProfileWeight d N a mu) ∧
      |sampledProfileFidelity d N a - (1 - profileEnergy d a / ((d : ℝ)*(N : ℝ)^2))| ≤
        C/(N : ℝ)^3 := by sorry

end QAlgorithms.Papers.Independent.Extend50.P25

end
Source
Asymptotic performance of port-based teleportation, arXiv:1809.10751v2, PDF p. 45, Unnumbered sampled-profile fidelity expansion; assumptions p.42, Eq.(6.25) p.43
Read-back

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

For every natural number d≥1d\ge1d≥1, let Kd⊆Rd−1K_d\subseteq\mathbb R^{d-1}Kd​⊆Rd−1 consist of vectors whose completed coordinates (z0,…,zd−2,1−∑izi)(z_0,\ldots,z_{d-2},1-\sum_i z_i)(z0​,…,zd−2​,1−∑i​zi​) are nonnegative and nonincreasing. For every function a:Rd−1→Ra:\mathbb R^{d-1}\to\mathbb Ra:Rd−1→R that is twice continuously differentiable on KdK_dKd​, is nonnegative there, vanishes on its topological frontier, and satisfies d∫Kda(z)2 dz=1\sqrt d\int_{K_d}a(z)^2\,dz=1d​∫Kd​​a(z)2dz=1, there exist C>0C>0C>0 and a natural number N0≥1N_0\ge1N0​≥1 such that every N≥N0N\ge N_0N≥N0​ satisfies

∑μ∈Dd,NWN(μ)>0,∣FN−(1−EdN2)∣≤CN3.\sum_{\mu\in\mathcal D_{d,N}}W_N(\mu)>0, \qquad \left|F_N-\left(1-\frac{\mathcal E}{dN^2}\right)\right|\le\frac C{N^3}.μ∈Dd,N​∑​WN​(μ)>0,​FN​−(1−dN2E​)​≤N3C​.

Here Dd,r\mathcal D_{d,r}Dd,r​ is the finite set of nonincreasing natural-number ddd-tuples summing to rrr, with entries at most rrr;

WN(μ)=a((μi/N)i<d−1)2,PN(μ)=WN(μ)∑νWN(ν),FN=1d2∑α∈Dd,N−1(∑μ∈Dd,N∃j<d ∀i<d: μi=αi+1{i=j}PN(μ))2,W_N(\mu)=a((\mu_i/N)_{i<d-1})^2,\quad P_N(\mu)=\frac{W_N(\mu)}{\sum_\nu W_N(\nu)},\quad F_N=\frac1{d^2}\sum_{\alpha\in\mathcal D_{d,N-1}} \left(\sum_{\substack{\mu\in\mathcal D_{d,N}\\ \exists j<d\ \forall i<d:\ \mu_i=\alpha_i+\mathbf1_{\{i=j\}}}} \sqrt{P_N(\mu)}\right)^2,WN​(μ)=a((μi​/N)i<d−1​)2,PN​(μ)=∑ν​WN​(ν)WN​(μ)​,FN​=d21​α∈Dd,N−1​∑​​μ∈Dd,N​∃j<d ∀i<d: μi​=αi​+1{i=j}​​∑​PN​(μ)​​2,

and

E=d∫Kd(∥DKda(z)∥op2−(∑i<d−1DKda(z)[ei])2d) dz.\mathcal E=\sqrt d\int_{K_d} \left(\|D_{K_d}a(z)\|_{\mathrm{op}}^2- \frac{\left(\sum_{i<d-1}D_{K_d}a(z)[e_i]\right)^2}{d}\right)\,dz.E=d​∫Kd​​(∥DKd​​a(z)∥op2​−d(∑i<d−1​DKd​​a(z)[ei​])2​)dz.

All integrals use Euclidean volume, DKdD_{K_d}DKd​​ is the within-set Fréchet derivative, and eie_iei​ are the coordinate vectors. The constants may depend on ddd and aaa. The case d=1d=1d=1 is included: KdK_dKd​ is the singleton zero-dimensional space and its frontier is empty.

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