Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Gaussian wiretap channel with almost-sure block power

Open
QAlgorithms.Papers.Independent.Bridge50.P42.gaussian_partialStrongConverse

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

prove2quantum

Consider the stationary memoryless real Gaussian wiretap channel on Borel alphabets with Y∣x∼N(x,σ12)Y\mid x\sim N(x,\sigma_1^2)Y∣x∼N(x,σ12​) and Z∣x∼N(x,σ22)Z\mid x\sim N(x,\sigma_2^2)Z∣x∼N(x,σ22​), where 0<σ1<σ20<\sigma_1<\sigma_20<σ1​<σ2​. A physical realization uses independent Gaussian increments of variances σ12\sigma_1^2σ12​ and σ22−σ12\sigma_2^2-\sigma_1^2σ22​−σ12​, with Z=Y+NextraZ=Y+N_{\mathrm{extra}}Z=Y+Nextra​. Fix S>0S>0S>0. Arbitrary Borel stochastic encoders must satisfy, at each positive blocklength,

Pr⁡ ⁣{∑j=1nXj2≤nS}=1.\Pr\!\left\{\sum_{j=1}^n X_j^2\le nS\right\}=1.Pr{j=1∑n​Xj2​≤nS}=1.

Messages are finite, positive and uniform; decoding is deterministic and measurable; errors are average errors. In bits set

CB=12log⁡2(1+S/σ12),Cs=CB−12log⁡2(1+S/σ22),C_B=\tfrac12\log_2(1+S/\sigma_1^2),\qquad C_s=C_B-\tfrac12\log_2(1+S/\sigma_2^2),CB​=21​log2​(1+S/σ12​),Cs​=CB​−21​log2​(1+S/σ22​), Ci={CB,i=5,Cs,i=1,2,3,4,6.C_i=\begin{cases}C_B,&i=5,\\C_s,&i=1,2,3,4,6.\end{cases}Ci​={CB​,Cs​,​i=5,i=1,2,3,4,6.​

For the six literal metrics of Definition 1, vanishing leakage (for every positive threshold, using one code sequence) gives the ordinary and optimistic capacities

C0(i)=C‾1(i)=Ci,C_0^{(i)}=\overline C_1^{(i)}=C_i,C0(i)​=C1(i)​=Ci​, Cε(i)=Ci (0≤ε<1),C‾ε(i)=Ci (0<ε≤1).C_\varepsilon^{(i)}=C_i\ (0\le\varepsilon<1),\qquad\overline C_\varepsilon^{(i)}=C_i\ (0<\varepsilon\le1).Cε(i)​=Ci​ (0≤ε<1),Cε(i)​=Ci​ (0<ε≤1).

Source correction: the printed theorem assigns CsC_sCs​ to all six metrics. Literal S5=V/n≤1/nS_5=V/n\le1/nS5​=V/n≤1/n removes secrecy, so only its value is changed to Bob's Gaussian channel capacity CBC_BCB​. The almost-sure closed-ball constraint is retained.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P42
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Bridge50.P42

open Filter

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

open QAlgorithms.Papers.Independent.Information100.P80 (log2)

attribute [local instance] Classical.propDecidable

/-- PDF p.6, Theorem 5: actual endpoint equality, both endpoint values, and
all epsilon consequences. This is the classical real Gaussian WTC with
0<sigma1<sigma2 and almost-sure block power S>0, not a bosonic channel.
SOURCE CORRECTION (trap 30): printed Theorem 5 assigns CsG to all six metrics.
Changed only S5's value to (1/2)log2(1+S/sigma1^2), preserving its printed formula.
Why: variation/n vanishes for every code, so S5 imposes no secrecy restriction;
Bob's positive-noise, almost-sure-power Gaussian capacity is the remaining value. -/
theorem gaussian_partialStrongConverse
    (sigma1 sigma2 S : ℝ) (hsigma1 : 0 < sigma1)
    (hsigma2 : sigma1 < sigma2) (hS : 0 < S) :
    ∀ i : SecrecyMetric,
      let C : ℝ := if i = .normalizedVariation then
        (1 / 2 : ℝ) * log2 (1 + S / sigma1 ^ 2) else gaussianSecrecyCapacity sigma1 sigma2 S
      gaussianOperationalCapacity sigma1 sigma2 S i false 0 =
        gaussianOperationalCapacity sigma1 sigma2 S i true 1 ∧
      (∀ eps : ℝ, 0 ≤ eps → eps < 1 →
        gaussianOperationalCapacity sigma1 sigma2 S i false eps =
          (C : EReal)) ∧
      (∀ eps : ℝ, 0 < eps → eps ≤ 1 →
        gaussianOperationalCapacity sigma1 sigma2 S i true eps =
          (C : EReal)) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P42

end
Source
Information Spectrum Approach to Strong Converse Theorems for Degraded Wiretap Channels, arXiv:1406.6758v2, PDF p. 6, Theorem 5 (Gaussian Wiretap Channels)
Read-back

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

For all real numbers σ1,σ2,S\sigma_1,\sigma_2,Sσ1​,σ2​,S satisfying 0<σ1<σ20<\sigma_1<\sigma_20<σ1​<σ2​ and S>0S>0S>0, the following holds for each of the six secrecy metrics specified below. At every index k≥0k\ge0k≥0, put ν=k+1\nu=k+1ν=k+1. A code has a positive integer MkM_kMk​ of messages, a probability measure ek,me_{k,m}ek,m​ on Rν\mathbb R^\nuRν for each message, and a decoder dk:Rν→{0,…,Mk−1}d_k:\mathbb R^\nu\to\{0,\ldots,M_k-1\}dk​:Rν→{0,…,Mk​−1} whose decision sets are measurable. Each encoder measure gives probability one to

{x:∑j=0kxj2≤νS}.\left\{x:\sum_{j=0}^{k}x_j^2\le\nu S\right\}.{x:j=0∑k​xj2​≤νS}.

Let φσ(y−x)\varphi_\sigma(y-x)φσ​(y−x) be the Gaussian density with mean xxx and variance σ2\sigma^2σ2. The code's error is

ek=1Mk∑m∫ek,m(dx)∫Rν1{dk(y)≠m}∏j=0kφσ1(yj−xj) dy.e_k=\frac1{M_k}\sum_m\int e_{k,m}(dx) \int_{\mathbb R^\nu}\mathbf1_{\{d_k(y)\ne m\}} \prod_{j=0}^{k}\varphi_{\sigma_1}(y_j-x_j)\,dy.ek​=Mk​1​m∑​∫ek,m​(dx)∫Rν​1{dk​(y)=m}​j=0∏k​φσ1​​(yj​−xj​)dy.

Define the message–Eve joint density and its independent counterpart by

pk(m,z)=1Mk∫∏j=0kφσ2(zj−xj) ek,m(dx),qk(m,z)=1Mk∑apk(a,z).p_k(m,z)=\frac1{M_k}\int\prod_{j=0}^{k}\varphi_{\sigma_2}(z_j-x_j)\,e_{k,m}(dx), \qquad q_k(m,z)=\frac1{M_k}\sum_a p_k(a,z).pk​(m,z)=Mk​1​∫j=0∏k​φσ2​​(zj​−xj​)ek,m​(dx),qk​(m,z)=Mk​1​a∑​pk​(a,z).

Using log⁡2t=log⁡t/log⁡2\log_2 t=\log t/\log2log2​t=logt/log2, put

Dk=∑m∫pk(m,z)log⁡2 ⁣(pk(m,z)qk(m,z))dz,Vk=12∑m∫∣pk(m,z)−qk(m,z)∣ dz,D_k=\sum_m\int p_k(m,z)\log_2\!\left(\frac{p_k(m,z)}{q_k(m,z)}\right)dz,\qquad V_k=\frac12\sum_m\int|p_k(m,z)-q_k(m,z)|\,dz,Dk​=m∑​∫pk​(m,z)log2​(qk​(m,z)pk​(m,z)​)dz,Vk​=21​m∑​∫∣pk​(m,z)−qk​(m,z)∣dz,

and Tk,η(s)=∑m∫1{log⁡2(pk(m,z)/qk(m,z))/s>η}pk(m,z) dzT_{k,\eta}(s)=\sum_m\int\mathbf1_{\{\log_2(p_k(m,z)/q_k(m,z))/s>\eta\}}p_k(m,z)\,dzTk,η​(s)=∑m​∫1{log2​(pk​(m,z)/qk​(m,z))/s>η}​pk​(m,z)dz. The metrics divergence, variation, tail, normalized divergence, normalized variation, and normalized tail respectively use Dk,Vk,Tk,η(1),Dk/ν,Vk/ν,Tk,η(ν)D_k,V_k,T_{k,\eta}(1),D_k/\nu,V_k/\nu,T_{k,\eta}(\nu)Dk​,Vk​,Tk,η​(1),Dk​/ν,Vk​/ν,Tk,η​(ν). Security requires convergence of the selected leakage quantity to zero for every η>0\eta>0η>0. A code sequence has rate at least R∈RR\in\mathbb RR∈R if, for every δ>0\delta>0δ>0, eventually R−δ≤log⁡2(Mk)/νR-\delta\le\log_2(M_k)/\nuR−δ≤log2​(Mk​)/ν. Ordinary reliability at error level ε\varepsilonε means that, for every δ>0\delta>0δ>0, eventually ek≤ε+δe_k\le\varepsilon+\deltaek​≤ε+δ; optimistic reliability means that there exists δ>0\delta>0δ>0 such that, for every NNN, some k≥Nk\ge Nk≥N satisfies ek<ε−δe_k<\varepsilon-\deltaek​<ε−δ. Let Giord(ε)\mathcal G_i^{\mathrm{ord}}(\varepsilon)Giord​(ε) and Giopt(ε)\mathcal G_i^{\mathrm{opt}}(\varepsilon)Giopt​(ε) be the extended-real suprema over all real rates, without a nonnegativity requirement, of secure code sequences with the respective reliability property. Define

Ci={12log⁡2(1+S/σ12),i is normalized variation,12log⁡2(1+S/σ12)−12log⁡2(1+S/σ22),otherwise.C_i= \begin{cases} \frac12\log_2(1+S/\sigma_1^2),&i\text{ is normalized variation},\\[2pt] \frac12\log_2(1+S/\sigma_1^2)-\frac12\log_2(1+S/\sigma_2^2),&\text{otherwise}. \end{cases}Ci​={21​log2​(1+S/σ12​),21​log2​(1+S/σ12​)−21​log2​(1+S/σ22​),​i is normalized variation,otherwise.​

Then

Giord(0)=Giopt(1),Giord(ε)=Ci(0≤ε<1),Giopt(ε)=Ci(0<ε≤1),\mathcal G_i^{\mathrm{ord}}(0)=\mathcal G_i^{\mathrm{opt}}(1),\qquad \mathcal G_i^{\mathrm{ord}}(\varepsilon)=C_i\quad(0\le\varepsilon<1),\qquad \mathcal G_i^{\mathrm{opt}}(\varepsilon)=C_i\quad(0<\varepsilon\le1),Giord​(0)=Giopt​(1),Giord​(ε)=Ci​(0≤ε<1),Giopt​(ε)=Ci​(0<ε≤1),

with CiC_iCi​ embedded in the extended reals. The density integrals are Lebesgue integrals, and all divisions and logarithms are total, including division by zero equal to zero and log⁡0=0\log0=0log0=0.

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