Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

General wiretap exponent comparison

Open
QAlgorithms.Papers.Independent.Advance50.P28.wiretap_exponent_comparison

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

prove2quantum

Let WB:X→Prob⁡(Y)W^B:X\to\operatorname{Prob}(Y)WB:X→Prob(Y) and WE:X→Prob⁡(Z)W^E:X\to\operatorname{Prob}(Z)WE:X→Prob(Z) be classical stochastic channels with countable discrete input and measurable output densities, and let ppp be an input law. Put Jt(W,p)=∫(∑xp(x)Wx(y)1/(1−t))1−t dy=exp⁡ϕ(t∣W,p)J_t(W,p)=\int(\sum_xp(x)W_x(y)^{1/(1-t)})^{1-t}\,dy=\exp\phi(t\mid W,p)Jt​(W,p)=∫(∑x​p(x)Wx​(y)1/(1−t))1−tdy=expϕ(t∣W,p). Codes have normalized stochastic encoders, disjoint measurable decoding sets, uniform messages, average Bob error ϵB\epsilon_BϵB​, and full L1L^1L1 message–Eve dependence d1d_1d1​ against their actual Eve marginal. For a normalized channel WWW and every 0≤t≤1/20\le t\le1/20≤t≤1/2, define ψ(s)=log⁡∫∑xp(x)Wx(y)1+sWp(y)−s dy\psi(s)=\log\int\sum_xp(x)W_x(y)^{1+s}W_p(y)^{-s}\,dyψ(s)=log∫∑x​p(x)Wx​(y)1+sWp​(y)−sdy, excluding zero-mixture outputs before the negative power. Then

ϕ(t)≤(1−t)ψ ⁣(t1−t),eϕ(R)≥eψ(R)≥e~ψ(R),\phi(t)\le(1-t)\psi\!\left(\frac{t}{1-t}\right),\qquad e_\phi(R)\ge e_\psi(R)\ge\widetilde e_\psi(R),ϕ(t)≤(1−t)ψ(1−tt​),eϕ​(R)≥eψ​(R)≥eψ​(R),

where eψ=sup⁡0≤s≤1(sR−ψ(s))/(1+s)e_\psi=\sup_{0\le s\le1}(sR-\psi(s))/(1+s)eψ​=sup0≤s≤1​(sR−ψ(s))/(1+s) and e~ψ=sup⁡0≤s≤1(sR−ψ(s))/2\widetilde e_\psi=\sup_{0\le s\le1}(sR-\psi(s))/2eψ​=sup0≤s≤1​(sR−ψ(s))/2. The dominance is non-strict, and extended logarithms handle infinite moments. Here eϕ(R)=sup⁡0≤t≤1/2[tR−ϕ(t)]e_\phi(R)=\sup_{0\le t\le1/2}[tR-\phi(t)]eϕ​(R)=sup0≤t≤1/2​[tR−ϕ(t)].

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P28
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped BigOperators ENNReal Topology

namespace QAlgorithms.Papers.Independent.Advance50.P28

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

attribute [local instance] Classical.propDecidable Classical.decEq

/-- Hayashi, PDF pp.13–14: non-strict comparison, including zero-support outputs. -/
theorem wiretap_exponent_comparison {X E : Type*} [Countable X] [Nonempty X]
    [MeasurableSpace E] (mu : Measure E) (W : X → E → ℝ≥0∞)
    (hW : IsDensityChannel mu W) (p : X → ℝ≥0∞) (hp : IsENNRealDiscreteLaw p) (R : ℝ) :
    (∀ t ∈ Set.Icc (0 : ℝ) (1 / 2),
      ENNReal.log (gallagerDensityMoment mu W p t) ≤
        ((1 - t : ℝ) : EReal) * ENNReal.log (psiMoment mu W p (t / (1 - t)))) ∧
    wiretapPsiExponent mu W p R ≤ wiretapPhiExponent mu W p R ∧
    wiretapTildeExponent mu W p R ≤ wiretapPsiExponent mu W p R := by sorry

end QAlgorithms.Papers.Independent.Advance50.P28

end
Source
Tight exponential analysis of universally composable privacy amplification and its applications, arXiv:1010.1358v5, PDF p. 14, General wiretap exponent comparison
Read-back

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

Let XXX be nonempty and countable, let EEE be a measurable space with any measure μ\muμ, and let W:X×E→[0,∞]W:X\times E\to[0,\infty]W:X×E→[0,∞] be measurable in its output variable for every input, with ∫−W(x,e) dμ(e)=1\int^-W(x,e)\,d\mu(e)=1∫−W(x,e)dμ(e)=1 for every xxx. Let p:X→[0,∞]p:X\to[0,\infty]p:X→[0,∞] satisfy ∑x′p(x)=1\sum_x'p(x)=1∑x′​p(x)=1, and let RRR be any real number, without a sign restriction. Put q(e)=∑x′p(x)W(x,e)q(e)=\sum_x'p(x)W(x,e)q(e)=∑x′​p(x)W(x,e) and define

Γ(t)=∫E−(∑x′p(x)W(x,e)1/(1−t))1−tdμ(e),Ψ(s)=∫E−{0,q(e)=0,(∑x′p(x)W(x,e)1+s)q(e)−s,q(e)≠0dμ(e).\Gamma(t)=\int_E^-\left(\sum_x'p(x)W(x,e)^{1/(1-t)}\right)^{1-t}d\mu(e), \qquad \Psi(s)=\int_E^- \begin{cases} 0,&q(e)=0,\\ \left(\displaystyle\sum_x'p(x)W(x,e)^{1+s}\right)q(e)^{-s},&q(e)\ne0 \end{cases}d\mu(e).Γ(t)=∫E−​(x∑′​p(x)W(x,e)1/(1−t))1−tdμ(e),Ψ(s)=∫E−​⎩⎨⎧​0,(x∑′​p(x)W(x,e)1+s)q(e)−s,​q(e)=0,q(e)=0​dμ(e).

Then, for every t∈[0,12]t\in[0,\tfrac12]t∈[0,21​], including both endpoints,

log⁡Γ(t)≤(1−t)log⁡Ψ ⁣(t1−t),\log\Gamma(t)\le(1-t)\log\Psi\!\left(\frac{t}{1-t}\right),logΓ(t)≤(1−t)logΨ(1−tt​),

and the following extended real supremum inequalities hold:

sup⁡0≤s≤1sR−log⁡Ψ(s)1+s≤sup⁡0≤t≤1/2(tR−log⁡Γ(t)),sup⁡0≤s≤1sR−log⁡Ψ(s)2≤sup⁡0≤s≤1sR−log⁡Ψ(s)1+s.\sup_{0\le s\le1}\frac{sR-\log\Psi(s)}{1+s} \le \sup_{0\le t\le1/2}\bigl(tR-\log\Gamma(t)\bigr), \qquad \sup_{0\le s\le1}\frac{sR-\log\Psi(s)}2 \le \sup_{0\le s\le1}\frac{sR-\log\Psi(s)}{1+s}.0≤s≤1sup​1+ssR−logΨ(s)​≤0≤t≤1/2sup​(tR−logΓ(t)),0≤s≤1sup​2sR−logΨ(s)​≤0≤s≤1sup​1+ssR−logΨ(s)​.

The logarithms here are extended nonnegative logarithms, taking values −∞-\infty−∞ at 000 and +∞+\infty+∞ at +∞+\infty+∞; powers, products, and integrals use their total extended nonnegative conventions. No sigma finiteness assumption is imposed on μ\muμ.

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