Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Pinsker security comparisons

Open
QAlgorithms.Papers.Independent.Advance50.P23.pinsker_security

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

prove2quantum

For every normalized finite cq family WWW, d1,mix(W)2≤2Imix(W)d_{1,mix}(W)^2\le2 I_{mix}(W)d1,mix​(W)2≤2Imix​(W) and d1,max(W)2≤2Imax(W)d_{1,max}(W)^2\le2 I_{max}(W)d1,max​(W)2≤2Imax​(W). The first pair uses uniform inputs and the second pair maximizes over all normalized input laws; logarithms are natural and the distances use the full trace norm.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P23
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P23

open scoped BigOperators Matrix ComplexConjugate ComplexOrder ENNReal

open Filter

open QAlgorithms.Papers.Independent.Information100.P56
  (IsLaw entropy average holevo uniform ProjectiveRep orbit productOutput)

open QAlgorithms.Papers.Independent.Information100.P71 (supportPower)

open QAlgorithms.Papers.Independent.Dependency50.P21 (IsSupported relativeEntropy)

open QAlgorithms.Papers.Independent.Dependency50.P28 (pinch logNonnegativeExtended)

attribute [local instance] Classical.propDecidable Classical.decEq

variable {X A Z B E : Type} [Fintype X] [Fintype A] [Fintype Z]
  [Fintype B] [DecidableEq B] [Fintype E] [DecidableEq E]

/-- PDF p.6, (48)–(49): quantum Pinsker comparisons for the full trace norm
and natural logarithms, for both uniform-message and source-universal metrics. -/
theorem pinsker_security [Nonempty X] [Nonempty E]
    (W : X → Matrix E E ℂ) (hW : hayashiIsCQ W) :
    (d1mix W)^2 ≤ 2 * Imix W ∧ (d1max W)^2 ≤ 2 * Imax W := by sorry

end QAlgorithms.Papers.Independent.Advance50.P23

end
Source
Quantum wiretap channel with non-uniform random number and its exponent and equivocation rate of leaked information, arXiv:1202.0325v3, PDF p. 6, Cited (48)–(49): quantum Pinsker security comparisons
Read-back

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

Let X,EX,EX,E be finite nonempty types with decidable equality, and let Wx∈ME(C)W_x\in M_E(\mathbb C)Wx​∈ME​(C) be positive semidefinite with trace 111 for every xxx. For every probability law PPP on XXX, meaning Px≥0P_x\ge0Px​≥0 and ∑xPx=1\sum_xP_x=1∑x​Px​=1, define

WˉP=∑xPxWx,d(P)=∑xPx∥Wx−WˉP∥1,χ(P)=H(WˉP)−∑xPxH(Wx),\bar W_P=\sum_xP_xW_x,\qquad d(P)=\sum_xP_x\|W_x-\bar W_P\|_1,\qquad \chi(P)=H(\bar W_P)-\sum_xP_xH(W_x),WˉP​=x∑​Px​Wx​,d(P)=x∑​Px​∥Wx​−WˉP​∥1​,χ(P)=H(WˉP​)−x∑​Px​H(Wx​),

where ∥T∥1=Re⁡tr⁡T†T\|T\|_1=\operatorname{Re}\operatorname{tr}\sqrt{T^\dagger T}∥T∥1​=RetrT†T​ and H(A)=−Re⁡tr⁡[cfc⁡(t↦tlog⁡t)(A)]H(A)=-\operatorname{Re}\operatorname{tr}[\operatorname{cfc}(t\mapsto t\log t)(A)]H(A)=−Retr[cfc(t↦tlogt)(A)] uses natural logarithms. Writing ux=1/∣X∣u_x=1/|X|ux​=1/∣X∣, the assertion is the conjunction

d(u)2≤2χ(u),(sup⁡P a probability lawd(P))2≤2sup⁡P a probability lawχ(P).d(u)^2\le2\chi(u), \qquad \left(\sup_{P\ \mathrm{a\ probability\ law}}d(P)\right)^2 \le2\sup_{P\ \mathrm{a\ probability\ law}}\chi(P).d(u)2≤2χ(u),(P a probability lawsup​d(P))2≤2P a probability lawsup​χ(P).

The suprema range independently over all such laws, including laws with zero weights; the trace-norm distances contain no factor 1/21/21/2.

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