Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Existence and finiteness of a closest feasible state

Open
QAlgorithms.Papers.Independent.Intakethird100.P100.relativeDistance_finite_and_attained

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let HHH have arbitrary positive finite dimension NNN, and let DDD be a compact real-convex set of density matrices containing I/NI/NI/N. Use natural logarithms and define the extended infimum ED(σ)=inf⁡ρ∈DS(σ∥ρ)E_D(\sigma)=\inf_{\rho\in D}S(\sigma\Vert\rho)ED​(σ)=infρ∈D​S(σ∥ρ), with infinite relative entropy at a support violation. Then every density matrix σ\sigmaσ has finite distance and an attaining feasible state:

ED(σ)<∞,∃ ρ^∈D:S(σ∥ρ^)=ED(σ).E_D(\sigma)<\infty, \qquad \exists\,\widehat\rho\in D:\quad S(\sigma\Vert\widehat\rho)=E_D(\sigma).ED​(σ)<∞,∃ρ​∈D:S(σ∥ρ​)=ED​(σ).

This makes the notion of a closest feasible state well-defined as a nonempty set of optimizers. It does not assert uniqueness or positive definiteness of an optimizer.

Formalization Note The accepted infimum and its attaining comparisons are stored in bits. Multiplication by the positive constant log⁡2\log 2log2 gives the natural-logarithm values and preserves finiteness and every minimizing equality.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P100
Formal statement
noncomputable section

open Filter

open scoped ENNReal Topology ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

namespace QAlgorithms.Papers.Independent.Intakethird100.P100

open QAlgorithms.Papers.Independent.Dependency50.P15
  (relativeDistance relativeDistanceValue positiveOperatorRelativeEntropyBits groupedTensorPower)

open QAlgorithms.Papers.Independent.Information100.P54
  (relativeEntropyBits relativeEntanglement)

/-- Proof, PDF p.2: every state has a finite distance attained by a state
in D. All assumptions on D from the theorem are carried forward. Minimizers
may be singular and are not required to be unique. -/
theorem relativeDistance_finite_and_attained
    {I : Type*} [Fintype I] [DecidableEq I] [Nonempty I]
    (D : Set (Matrix I I ℂ))
    (hstates : ∀ rho ∈ D, IsDensityMatrix rho)
    (hcompact : IsCompact D) (hconvex : Convex ℝ D)
    (hmixed : (Fintype.card I : ℂ)⁻¹ • (1 : Matrix I I ℂ) ∈ D)
    (sigma : Matrix I I ℂ) (hsigma : IsDensityMatrix sigma) :
    0 ≤ relativeDistance D sigma ∧ relativeDistance D sigma < ⊤ ∧
      ∃ rhoHat ∈ D,
        positiveOperatorRelativeEntropyBits sigma rhoHat = relativeDistance D sigma := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P100

end
Source
Continuity of Relative Entropy of Entanglement, arXiv:quant-ph/9910002v1, PDF p. 2, Proof: construction of rho-hat
Read-back

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

For any finite, nonempty type III with decidable equality, let DDD be a compact, real-convex set of complex matrices on III, all positive semidefinite with trace 111, and suppose that d−11∈Dd^{-1}\mathbf1\in Dd−11∈D, where d=∣I∣d=|I|d=∣I∣. For every positive semidefinite, trace-111 matrix σ\sigmaσ on III, the extended-real quantity

FD(σ)=inf⁡ρ∈DJ(σ∥ρ)F_D(\sigma)=\inf_{\rho\in D}J(\sigma\Vert\rho)FD​(σ)=ρ∈Dinf​J(σ∥ρ)

satisfies 0≤FD(σ)<+∞0\le F_D(\sigma)<+\infty0≤FD​(σ)<+∞, and there exists ρ^∈D\widehat\rho\in Dρ​∈D such that J(σ∥ρ^)=FD(σ)J(\sigma\Vert\widehat\rho)=F_D(\sigma)J(σ∥ρ​)=FD​(σ). Here J(X∥Y)J(X\Vert Y)J(X∥Y) is +∞+\infty+∞ if ker⁡Y⊈ker⁡X\ker Y\not\subseteq\ker XkerY⊆kerX, and otherwise is

J(X∥Y)=Re⁡tr⁡(f2(X)−XL2(Y)),f2(x)=xlog⁡2x,L2(x)=log⁡2x,J(X\Vert Y)=\operatorname{Re}\operatorname{tr} \bigl(f_2(X)-X L_2(Y)\bigr), \qquad f_2(x)=x\log_2x,\quad L_2(x)=\log_2x,J(X∥Y)=Retr(f2​(X)−XL2​(Y)),f2​(x)=xlog2​x,L2​(x)=log2​x,

with the matrix functions defined by functional calculus and log⁡20=0\log_2 0=0log2​0=0. The inclusion of the maximally mixed matrix makes DDD nonempty. The assertion is existence of a minimizing matrix, with no uniqueness assertion, and includes d=1d=1d=1.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me