Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for End-to-end capacities of a quantum communication network

Definition
QAlgorithms_Papers_Independent_Advance50_P44

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

prove2quantum

The objects the formalized statements of End-to-end capacities of a quantum communication network (arXiv:1905.12674) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • equalSpacingLossExpression: PDF p.19, Eq.(113): the explicit equal-spacing lossy-chain rate expression, in bits per chain use, for N repeaters and total transmissivity eta. Only 0 < eta < 1 is used in the asymptotic statements. This expression does not replace the independently defined operational capacity.
  • multibandLossExpression: PDF p.20, Eq.(122): the explicit multiband lossy-chain expression in bits. The N+1 link labels are retained inside the minimum: M_i and eta_i belong to the same link. The range is finite and nonempty, so real sInf is an attained minimum for every argument, including off-domain real transmissivities. Physical parameters and positive band counts are required in the theorem.
Definition code
import Mathlib

/-!
Pirandola, arXiv:1905.12674v1, PDF pp.19–20.

This module states the analytic asymptotics of the explicit expressions in
Eqs.(113) and (122). These functions are expressions, not definitions of an
operational capacity. The separate operational identification theorems are
deferred in HARD.md: their adaptive LOCC and bosonic interfaces are missing.
Proposition 8 is reused from the pinned Support50.P47 module in items.json.
Compilation is pending the batch handoff.
-/

namespace QAlgorithms.Papers.Independent.Advance50.P44

noncomputable section

open Filter

/-- PDF p.19, Eq.(113): the explicit equal-spacing lossy-chain rate expression,
in bits per chain use, for N repeaters and total transmissivity eta.
Only 0 < eta < 1 is used in the asymptotic statements. This expression does
not replace the independently defined operational capacity. -/
def equalSpacingLossExpression (eta : ℝ) (N : ℕ) : ℝ :=
  -Real.logb 2 (1 - eta ^ (1 / ((N : ℝ) + 1)))

/-- With no repeater, the expression reduces to the single-link logarithm. -/
example (eta : ℝ) :
    equalSpacingLossExpression eta 0 = -Real.logb 2 (1 - eta) := by
  simp [equalSpacingLossExpression]

/-- PDF p.20, Eq.(122): the explicit multiband lossy-chain expression in bits.
The N+1 link labels are retained inside the minimum: M_i and eta_i belong to
the same link. The range is finite and nonempty, so real sInf is an attained
minimum for every argument, including off-domain real transmissivities.
Physical parameters and positive band counts are required in the theorem. -/
def multibandLossExpression (N : ℕ) (M : Fin (N + 1) → ℕ)
    (eta : Fin (N + 1) → ℝ) : ℝ :=
  sInf (Set.range (fun i : Fin (N + 1) =>
    -(M i : ℝ) * Real.logb 2 (1 - eta i)))

/-- Equal single-band links have the single-link expression, for any N. -/
example (N : ℕ) (eta : ℝ) :
    multibandLossExpression N (fun _ => 1) (fun _ => eta) =
      -Real.logb 2 (1 - eta) := by
  simp [multibandLossExpression]

end

end QAlgorithms.Papers.Independent.Advance50.P44
Source
End-to-end capacities of a quantum communication network, arXiv:1905.12674v1, https://arxiv.org/abs/1905.12674v1
Read-back

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

QAlgorithms.Papers.Independent.Advance50.P44.equalSpacingLossExpression

For every real number η\etaη and every natural number NNN, including N=0N=0N=0, define the real number

E(η,N)=−log⁡2 ⁣(1−η1/(N+1)).E(\eta,N)=-\log_2\!\left(1-\eta^{1/(N+1)}\right).E(η,N)=−log2​(1−η1/(N+1)).

There is no restriction on η\etaη; the power uses the total real-power operation, including at nonpositive bases. The logarithm is also total: log⁡2x=ln⁡∣x∣/ln⁡2\log_2 x=\ln|x|/\ln 2log2​x=ln∣x∣/ln2 for x≠0x\ne0x=0, and log⁡20=0\log_2 0=0log2​0=0. In particular, E(0,N)=E(1,N)=0E(0,N)=E(1,N)=0E(0,N)=E(1,N)=0.

QAlgorithms.Papers.Independent.Advance50.P44.multibandLossExpression

For every natural number NNN, every family of natural numbers (Mi)i=0N(M_i)_{i=0}^{N}(Mi​)i=0N​, and every family of real numbers (ηi)i=0N(\eta_i)_{i=0}^{N}(ηi​)i=0N​, define

B(N,M,η)=inf⁡{−Milog⁡2(1−ηi):i=0,…,N}.B(N,M,\eta)=\inf\left\{-M_i\log_2(1-\eta_i):i=0,\ldots,N\right\}.B(N,M,η)=inf{−Mi​log2​(1−ηi​):i=0,…,N}.

The set is finite and nonempty, so this infimum is its minimum; when N=0N=0N=0, it is the single value −M0log⁡2(1−η0)-M_0\log_2(1-\eta_0)−M0​log2​(1−η0​). No positivity assumptions are imposed on MiM_iMi​ or ηi\eta_iηi​. Here log⁡2x=ln⁡∣x∣/ln⁡2\log_2 x=\ln|x|/\ln2log2​x=ln∣x∣/ln2 for x≠0x\ne0x=0, and log⁡20=0\log_2 0=0log2​0=0; thus an index with Mi=0M_i=0Mi​=0 or ηi=1\eta_i=1ηi​=1 contributes the value 000.

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