Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Gaussian BC second-order region: capacity, dispersion and modified Q-functions

Definition
GaussianBCSecondOrder_Functions

by Vincent Tan · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

gaussian-broadcast-channelinformation-theorysecond-order-asymptotics

This file collects the scalar functions in which the second-order coding region of the scalar Gaussian broadcast channel is expressed. Throughout, S1,S2S_1,S_2S1​,S2​ are the signal-to-noise ratios of receivers 1 and 2, α\alphaα is the power-splitting parameter, ρ\rhoρ is the noise correlation coefficient, and logarithms are natural.

  1. Capacity and dispersion functions (eq. (13)):
C(x)=12log⁡(1+x),V(x)=x(x+2)2(x+1)2,V(x,y)=x(y+2)2(x+1)(y+1).\mathsf C(x)=\tfrac12\log(1+x),\qquad \mathsf V(x)=\frac{x(x+2)}{2(x+1)^2},\qquad \mathsf V(x,y)=\frac{x(y+2)}{2(x+1)(y+1)}.C(x)=21​log(1+x),V(x)=2(x+1)2x(x+2)​,V(x,y)=2(x+1)(y+1)x(y+2)​.
  1. Boundary rates (eq. (15)): C1(α)=C(αS1)C_1(\alpha)=\mathsf C(\alpha S_1)C1​(α)=C(αS1​) and C2(α)=C((1−α)S21+αS2)C_2(\alpha)=\mathsf C\big(\tfrac{(1-\alpha)S_2}{1+\alpha S_2}\big)C2​(α)=C(1+αS2​(1−α)S2​​).

  2. Supporting weight (eqs. (17), (18)): sj=α+1/Sjs_j=\alpha+1/S_jsj​=α+1/Sj​ and μα=s2/s1\mu_\alpha=s_2/s_1μα​=s2​/s1​.

  3. Dispersions (eqs. (20)-(22)):

V1(α)=V(αS1),V2(α)=V(S2)+V(αS2)−2V(αS2,S2),V_1(\alpha)=\mathsf V(\alpha S_1),\qquad V_2(\alpha)=\mathsf V(S_2)+\mathsf V(\alpha S_2)-2\mathsf V(\alpha S_2,S_2),V1​(α)=V(αS1​),V2​(α)=V(S2​)+V(αS2​)−2V(αS2​,S2​), V12(α,ρ)=ρ(ρ−2S2/S1)(V(αS1,αS2)−V(αS1,S2)).V_{12}(\alpha,\rho)=\rho\Big(\rho-2\sqrt{S_2/S_1}\Big)\big(\mathsf V(\alpha S_1,\alpha S_2)-\mathsf V(\alpha S_1,S_2)\big).V12​(α,ρ)=ρ(ρ−2S2​/S1​​)(V(αS1​,αS2​)−V(αS1​,S2​)).
  1. Dispersion matrix and Gaussian functions (eqs. (23)-(26)): Σα(ρ)\Sigma_\alpha(\rho)Σα​(ρ) is the symmetric 2×22\times22×2 matrix with diagonal (V1(α),V2(α))(V_1(\alpha),V_2(\alpha))(V1​(α),V2​(α)) and off-diagonal entry V12(α,ρ)V_{12}(\alpha,\rho)V12​(α,ρ). For (Z1,Z2)∼N(0,Σα(ρ))(\mathsf Z_1,\mathsf Z_2)\sim\mathcal N(0,\Sigma_\alpha(\rho))(Z1​,Z2​)∼N(0,Σα​(ρ)),
Ψα,ρ(z1,z2)=Pr⁡(Z1≤z1,Z2≤z2),Qα,ρ(r)=sup⁡z1+μαz2=rPr⁡(Z1≥z1,Z2≥z2),\Psi_{\alpha,\rho}(z_1,z_2)=\Pr(\mathsf Z_1\le z_1,\mathsf Z_2\le z_2),\qquad \mathsf Q_{\alpha,\rho}(r)=\sup_{z_1+\mu_\alpha z_2=r}\Pr(\mathsf Z_1\ge z_1,\mathsf Z_2\ge z_2),Ψα,ρ​(z1​,z2​)=Pr(Z1​≤z1​,Z2​≤z2​),Qα,ρ​(r)=z1​+μα​z2​=rsup​Pr(Z1​≥z1​,Z2​≥z2​),

and Gα,ρ(ε)=Qα,ρ−1(1−ε)\mathsf G_{\alpha,\rho}(\varepsilon)=\mathsf Q_{\alpha,\rho}^{-1}(1-\varepsilon)Gα,ρ​(ε)=Qα,ρ−1​(1−ε).

  1. Standard Gaussian distribution function Φ\PhiΦ and its inverse Φ−1\Phi^{-1}Φ−1.

These are the quantities appearing in Theorem 1 and Proposition 2 of the paper; every statement of the mission shares this single set of definitions.

Formalization Note The law N(0,Σα(ρ))\mathcal N(0,\Sigma_\alpha(\rho))N(0,Σα​(ρ)) is Mathlib's multivariateGaussian 0 Σ on EuclideanSpace ℝ (Fin 2), with coordinate 0 playing the role of Z1\mathsf Z_1Z1​ and coordinate 1 that of Z2\mathsf Z_2Z2​ (for a matrix that is not positive semidefinite Mathlib returns a point mass; Proposition 2 asserts positive semidefiniteness for α∈[0,1]\alpha\in[0,1]α∈[0,1], ρ∈[−1,1]\rho\in[-1,1]ρ∈[−1,1]). The inverses Qα,ρ−1\mathsf Q_{\alpha,\rho}^{-1}Qα,ρ−1​ and Φ−1\Phi^{-1}Φ−1 are Function.invFun: a preimage when one exists and an unspecified real number otherwise; they are only used at arguments in (0,1)(0,1)(0,1), where the paper proves a unique preimage exists. The functions are defined for all real arguments and take Lean's default values (e.g. division by zero is zero) outside the parameter ranges of the paper.

Definition code
import Mathlib.Probability.Distributions.Gaussian.Multivariate
import Mathlib.Probability.Distributions.Gaussian.Real
import Mathlib.Analysis.SpecialFunctions.Log.Basic
import Mathlib.Analysis.SpecialFunctions.Sqrt
import Mathlib.LinearAlgebra.Matrix.Notation
import Mathlib.Logic.Function.Basic

/-!
Scalar functions, dispersion matrix and Gaussian functions used to state the second-order
coding region of the scalar Gaussian broadcast channel
(V. Y. F. Tan, arXiv:2611.01583v1, Section II).

Throughout, `S₁ S₂` are the signal-to-noise ratios of receivers 1 and 2, `α` is the
power-splitting parameter and `ρ` is the noise correlation coefficient.
-/

open MeasureTheory ProbabilityTheory

namespace GaussianBCSecondOrder

/-- Gaussian capacity function `C(x) = (1/2) log (1 + x)` (natural logarithm), eq. (13). -/
noncomputable def capacity (x : ℝ) : ℝ := (1 / 2) * Real.log (1 + x)

/-- Gaussian dispersion function `V(x) = x (x + 2) / (2 (x + 1)^2)`, eq. (13). -/
noncomputable def dispersion (x : ℝ) : ℝ := x * (x + 2) / (2 * (x + 1) ^ 2)

/-- Gaussian cross-dispersion function `V(x, y) = x (y + 2) / (2 (x + 1) (y + 1))`, eq. (13). -/
noncomputable def crossDispersion (x y : ℝ) : ℝ := x * (y + 2) / (2 * (x + 1) * (y + 1))

/-- `C₁(α) = C(α S₁)`, eq. (15). -/
noncomputable def C₁ (S₁ α : ℝ) : ℝ := capacity (α * S₁)

/-- `C₂(α) = C((1 - α) S₂ / (1 + α S₂))`, eq. (15). -/
noncomputable def C₂ (S₂ α : ℝ) : ℝ := capacity ((1 - α) * S₂ / (1 + α * S₂))

/-- `s_j = α + ν_j = α + 1 / S_j`, eq. (17): the conditional output variance at a receiver with
signal-to-noise ratio `S`. -/
noncomputable def condVar (S α : ℝ) : ℝ := α + 1 / S

/-- The supporting weight `μ_α = s₂ / s₁`, eq. (18). -/
noncomputable def mu (S₁ S₂ α : ℝ) : ℝ := condVar S₂ α / condVar S₁ α

/-- `V₁(α) = V(α S₁)`, eq. (20). -/
noncomputable def V₁ (S₁ α : ℝ) : ℝ := dispersion (α * S₁)

/-- `V₂(α) = V(S₂) + V(α S₂) - 2 V(α S₂, S₂)`, eq. (21). -/
noncomputable def V₂ (S₂ α : ℝ) : ℝ :=
  dispersion S₂ + dispersion (α * S₂) - 2 * crossDispersion (α * S₂) S₂

/-- `V₁₂(α, ρ) = ρ (ρ - 2 √(S₂ / S₁)) (V(α S₁, α S₂) - V(α S₁, S₂))`, eq. (22). -/
noncomputable def V₁₂ (S₁ S₂ α ρ : ℝ) : ℝ :=
  ρ * (ρ - 2 * Real.sqrt (S₂ / S₁)) *
    (crossDispersion (α * S₁) (α * S₂) - crossDispersion (α * S₁) S₂)

/-- The dispersion matrix `Σ_α(ρ)`, eq. (23). -/
noncomputable def dispersionMatrix (S₁ S₂ α ρ : ℝ) : Matrix (Fin 2) (Fin 2) ℝ :=
  !![V₁ S₁ α, V₁₂ S₁ S₂ α ρ; V₁₂ S₁ S₂ α ρ, V₂ S₂ α]

/-- The law `N(0, Σ_α(ρ))` of the pair `(Z₁, Z₂)` on `ℝ²`; coordinate `0` is `Z₁` and
coordinate `1` is `Z₂`. -/
noncomputable def dispersionLaw (S₁ S₂ α ρ : ℝ) : Measure (EuclideanSpace ℝ (Fin 2)) :=
  multivariateGaussian 0 (dispersionMatrix S₁ S₂ α ρ)

/-- The bivariate Gaussian distribution function
`Ψ_{α,ρ}(z₁, z₂) = Pr(Z₁ ≤ z₁, Z₂ ≤ z₂)`, eq. (24). -/
noncomputable def Psi (S₁ S₂ α ρ z₁ z₂ : ℝ) : ℝ :=
  (dispersionLaw S₁ S₂ α ρ).real {w | w 0 ≤ z₁ ∧ w 1 ≤ z₂}

/-- The joint upper-tail probability `Pr(Z₁ ≥ z₁, Z₂ ≥ z₂)` for `(Z₁, Z₂) ∼ N(0, Σ_α(ρ))`. -/
noncomputable def upperTail (S₁ S₂ α ρ z₁ z₂ : ℝ) : ℝ :=
  (dispersionLaw S₁ S₂ α ρ).real {w | z₁ ≤ w 0 ∧ z₂ ≤ w 1}

/-- The `(α, ρ)`-modified Q-function, eq. (25):
`Q_{α,ρ}(r) = sup { Pr(Z₁ ≥ z₁, Z₂ ≥ z₂) : z₁ + μ_α z₂ = r }`. -/
noncomputable def Qfun (S₁ S₂ α ρ r : ℝ) : ℝ :=
  sSup ((fun z : ℝ × ℝ => upperTail S₁ S₂ α ρ z.1 z.2) '' {z | z.1 + mu S₁ S₂ α * z.2 = r})

/-- `G_{α,ρ}(ε) = Q_{α,ρ}⁻¹(1 - ε)`, eq. (26): the inverse function of `Q_{α,ρ}` evaluated at
`1 - ε`. -/
noncomputable def Gfun (S₁ S₂ α ρ ε : ℝ) : ℝ :=
  Function.invFun (Qfun S₁ S₂ α ρ) (1 - ε)

/-- The standard Gaussian cumulative distribution function `Φ`. -/
noncomputable def Phi (x : ℝ) : ℝ := (gaussianReal 0 1).real (Set.Iic x)

/-- The inverse `Φ⁻¹` of the standard Gaussian cumulative distribution function. -/
noncomputable def PhiInv (ε : ℝ) : ℝ := Function.invFun Phi ε

end GaussianBCSecondOrder
Source
Vincent Y. F. Tan, Second-Order Asymptotics for the Scalar Gaussian Broadcast Channel, arXiv:2611.01583v1 (3 Nov 2026), https://arxiv.org/abs/2611.01583, pp. 6-7, eqs. (13), (15), (17), (18), (20)-(26)
Human review
  • Endorsed by Shuze Chen · Nov 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Vincent Tan · Nov 23, 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