Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Continuity of entanglement of formation

Open
QAlgorithms.Papers.Independent.Advance50.P45.formationEntropy_continuity

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

prove2quantum

Let A,BA,BA,B be nonzero finite-dimensional quantum systems, with dimensions dA,dBd_A,d_BdA​,dB​, and put d=min⁡{dA,dB}d=\min\{d_A,d_B\}d=min{dA​,dB​}. Let ρAB,σAB\rho_{AB},\sigma_{AB}ρAB​,σAB​ be arbitrary positive semidefinite trace-one operators. Suppose

12∥ρAB−σAB∥1≤ε,0<ε≤1−2d−1d,δ=ε(2−ε),\tfrac12\|\rho_{AB}-\sigma_{AB}\|_1\le\varepsilon, \qquad 0<\varepsilon\le 1-\frac{\sqrt{2d-1}}{d}, \qquad \delta=\sqrt{\varepsilon(2-\varepsilon)},21​∥ρAB​−σAB​∥1​≤ε,0<ε≤1−d2d−1​​,δ=ε(2−ε)​,

where the norm is the Schatten trace norm. For a state ωAB\omega_{AB}ωAB​ define its entanglement of formation in bits by

EF(ωAB)=inf⁡ωAB=∑j=1mpj∣ψj⟩⟨ψj∣∑j=1mpjH ⁣(Tr⁡A∣ψj⟩⟨ψj∣).E_F(\omega_{AB})= \inf_{\omega_{AB}=\sum_{j=1}^{m}p_j|\psi_j\rangle\langle\psi_j|} \sum_{j=1}^{m}p_j H\!\left(\operatorname{Tr}_A|\psi_j\rangle\langle\psi_j|\right).EF​(ωAB​)=ωAB​=∑j=1m​pj​∣ψj​⟩⟨ψj​∣inf​j=1∑m​pj​H(TrA​∣ψj​⟩⟨ψj​∣).

The infimum ranges over all finite lengths mmm, all probability weights pjp_jpj​, and all unit vectors ψj\psi_jψj​ with the prescribed barycenter. Here HHH is the von Neumann entropy with base-two logarithms. Then

∣EF(ρAB)−EF(σAB)∣≤δlog⁡2(d−1)+h2(δ),\bigl|E_F(\rho_{AB})-E_F(\sigma_{AB})\bigr| \le \delta\log_2(d-1)+h_2(\delta),​EF​(ρAB​)−EF​(σAB​)​≤δlog2​(d−1)+h2​(δ),

where h2(t)=−tlog⁡2t−(1−t)log⁡2(1−t)h_2(t)=-t\log_2t-(1-t)\log_2(1-t)h2​(t)=−tlog2​t−(1−t)log2​(1−t) with the zero convention.

This bounds variation of the unrestricted pure-state convex roof using only the smaller subsystem dimension and an upper bound on trace distance.

Formalization Note The accepted convex roof uses the first marginal. Exchanging both product coordinates makes this marginal exactly the source's BBB marginal in every decomposition.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P45
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder ENNReal

namespace QAlgorithms.Papers.Independent.Advance50.P45

attribute [local instance] Classical.propDecidable Classical.decEq

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

/-- Corollary 2, PDF p.5, Eqs.(26)–(28): continuity of the unrestricted
pure-ensemble convex roof for arbitrary finite bipartite density states.
Here d=min(card A,card B) and delta=sqrt(epsilon*(2-epsilon)) are computed,
not supplied as independent parameters. Epsilon merely bounds trace distance;
no sharpness claim is made for this corollary. -/
theorem formationEntropy_continuity {A B : Type*} [Fintype A] [Fintype B]
    [Nonempty A] [Nonempty B] [DecidableEq A] [DecidableEq B]
    (rho sigma : Matrix (A × B) (A × B) ℂ)
    (hrho : IsDensityMatrix rho) (hsigma : IsDensityMatrix sigma)
    (epsilon : ℝ) (hepsilon : 0 < epsilon)
    (hupper : epsilon ≤ 1 -
      Real.sqrt (2 * (min (Fintype.card A) (Fintype.card B) : ℝ) - 1) /
        (min (Fintype.card A) (Fintype.card B) : ℝ))
    (hdistance : traceNorm (rho - sigma) / 2 ≤ epsilon) :
    |formationEntropy rho - formationEntropy sigma| ≤
      Real.sqrt (epsilon * (2 - epsilon)) *
        Real.logb 2 ((min (Fintype.card A) (Fintype.card B) : ℝ) - 1) +
        binEntropy2 (Real.sqrt (epsilon * (2 - epsilon))) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P45

end
Source
Optimal uniform continuity bound for conditional entropy of classical--quantum states, arXiv:1909.01755v2, PDF p. 5, Corollary 2, Eqs. (26)–(28)
Read-back

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

Let A,BA,BA,B be finite nonempty types with decidable equality, let ρ,σ\rho,\sigmaρ,σ be positive semidefinite complex matrices on A×BA\times BA×B with trace one, and put d=min⁡(∣A∣,∣B∣)d=\min(|A|,|B|)d=min(∣A∣,∣B∣). Suppose

0<ϵ≤1−2d−1d,12∥ρ−σ∥1≤ϵ,∥M∥1=Re⁡tr⁡M†M.0<\epsilon\le1-\frac{\sqrt{2d-1}}d, \qquad \frac12\|\rho-\sigma\|_1\le\epsilon, \quad \|M\|_1=\operatorname{Re}\operatorname{tr}\sqrt{M^\dagger M}.0<ϵ≤1−d2d−1​​,21​∥ρ−σ∥1​≤ϵ,∥M∥1​=RetrM†M​.

For each matrix η\etaη, define E(η)E(\eta)E(η) as the real infimum of ∑j<qwjS(Tr⁡A∣vj⟩⟨vj∣)\sum_{j<q}w_jS(\operatorname{Tr}_A|v_j\rangle\langle v_j|)∑j<q​wj​S(TrA​∣vj​⟩⟨vj​∣) over all finite decompositions of its factor-swapped matrix η~((b,a),(b′,a′))=η((a,b),(a′,b′))\widetilde\eta((b,a),(b',a'))=\eta((a,b),(a',b'))η​((b,a),(b′,a′))=η((a,b),(a′,b′)) as ∑j<qwj∣vj⟩⟨vj∣\sum_{j<q}w_j|v_j\rangle\langle v_j|∑j<q​wj​∣vj​⟩⟨vj​∣, with wj≥0w_j\ge0wj​≥0, ∑jwj=1\sum_jw_j=1∑j​wj​=1, and unit vectors vj∈CB×Av_j\in\mathbb C^{B\times A}vj​∈CB×A; here ∣v⟩⟨v∣|v\rangle\langle v|∣v⟩⟨v∣ has entries v(u)v(u′)‾v(u)\overline{v(u')}v(u)v(u′)​, Tr⁡A\operatorname{Tr}_ATrA​ sums matching AAA-indices, and S(M)=−Re⁡tr⁡f(M)S(M)=-\operatorname{Re}\operatorname{tr}f(M)S(M)=−Retrf(M) for f(t)=tlog⁡2tf(t)=t\log_2tf(t)=tlog2​t, using continuous functional calculus and f(0)=0f(0)=0f(0)=0. Then, with u=ϵ(2−ϵ)u=\sqrt{\epsilon(2-\epsilon)}u=ϵ(2−ϵ)​,

∣E(ρ)−E(σ)∣≤ulog⁡2(d−1)+h2(u),h2(u)=−uln⁡u−(1−u)ln⁡(1−u)ln⁡2,|E(\rho)-E(\sigma)|\le u\log_2(d-1)+h_2(u), \qquad h_2(u)=\frac{-u\ln u-(1-u)\ln(1-u)}{\ln2},∣E(ρ)−E(σ)∣≤ulog2​(d−1)+h2​(u),h2​(u)=ln2−ulnu−(1−u)ln(1−u)​,

with zero logarithmic terms interpreted as zero. The assumptions on ϵ\epsilonϵ cannot hold when d=1d=1d=1.

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