Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Fundamental limitation on quantum broadcast networks

Definition
QAlgorithms_Papers_Independent_Bridge50_P26

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

prove2quantum

The objects the formalized statements of Fundamental limitation on quantum broadcast networks (arXiv:1609.03994) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • PhysicalBasis: PDF p.12: coordinates of all physical registers, before any partial trace.
  • GroupedBasis: PDF pp.7,12, (13)-(14),(A1): each honest party holds the product of its listed physical registers. An empty register list has its unit empty factor.
  • groupedDensity: PDF pp.7,12: partial trace onto the union of the disjoint honest groups, followed by their tensor-coordinate grouping. Discarded coordinates are equal between row and column; retained coordinates may be off-diagonal. The physical interpretation requires disjoint groups, as in each of the three groupings below.
  • groupedSquashed: PDF pp.4-5,7, (6)-(7),(14), footnote 1: squashed entanglement of the computed honest marginal. The accepted infimum ranges over every positive finite extension dimension and every normalized quantum extension. The zero or one party value is explicitly zero. On the disjoint groupings below a unit input gives a density marginal, so the real infimum is nonempty and bounded below.
  • lemma5LeftGroups: PDF p.12, (A1), left side. Physical positions are S=0, P_i=i for 1<=i<=m, Q_i=m+i for 1<=i<=n, E1=m+n+1, E2=m+n+2. Parties are S, P1 Q1, ..., Pn Qn, P(n+1), ..., Pm; both environments are discarded.
  • lemma5FirstGroups: PDF p.12, (A1), first right term: parties SQ1...QnE2, P1, ..., Pm. Only E1 is discarded. The environment E2 is retained in the first honest party.
  • lemma5SecondGroups: PDF p.12, (A1), second right term: parties SP1...PmE1, Q1, ..., Qn. Only E2 is discarded. The environment E1 is retained in the first honest party.
Definition code
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P33

/-!
Bauml and Azuma, arXiv:1609.03994v3, finite-dimensional source-proof scope.
Entropies are in bits; squashed entanglement is the quantum conditional TOTAL
correlation infimum, with no factor 1/2. Lemma 3 is recorded as exact reuse.
The operational network results and the ambiguous Steiner-hypertree claim are
deferred in this unit's HARD.md and GAPS.json. Compilation is pending.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Bridge50.P26

open QAlgorithms.Papers.Independent.Claimed50.P33 (multipartiteSquashed)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.12: coordinates of all physical registers, before any partial trace. -/
abbrev PhysicalBasis {r : ℕ} (D : Fin r → Type) := (i : Fin r) → D i

/-- PDF pp.7,12, (13)-(14),(A1): each honest party holds the product of its
listed physical registers. An empty register list has its unit empty factor. -/
abbrev GroupedBasis {r k : ℕ} (D : Fin r → Type)
    (groups : Fin k → Finset (Fin r)) :=
  (j : Fin k) → (i : {i : Fin r // i ∈ groups j}) → D i.val

/-- PDF pp.7,12: partial trace onto the union of the disjoint honest groups,
followed by their tensor-coordinate grouping. Discarded coordinates are equal
between row and column; retained coordinates may be off-diagonal. The physical
interpretation requires disjoint groups, as in each of the three groupings below. -/
def groupedDensity {r k : ℕ} {D : Fin r → Type} [∀ i, Fintype (D i)]
    (rho : Matrix (PhysicalBasis D) (PhysicalBasis D) ℂ)
    (groups : Fin k → Finset (Fin r)) :
    Matrix (GroupedBasis D groups) (GroupedBasis D groups) ℂ :=
  fun a b => ∑ x : PhysicalBasis D, ∑ y : PhysicalBasis D,
    if (∀ j i (hi : i ∈ groups j),
        x i = a j ⟨i, hi⟩ ∧ y i = b j ⟨i, hi⟩) ∧
        (∀ i, (∀ j, i ∉ groups j) → x i = y i)
    then rho x y else 0

/-- PDF pp.4-5,7, (6)-(7),(14), footnote 1: squashed entanglement of the
computed honest marginal. The accepted infimum ranges over every positive
finite extension dimension and every normalized quantum extension. The zero
or one party value is explicitly zero. On the disjoint groupings below a unit
input gives a density marginal, so the real infimum is nonempty and bounded below. -/
def groupedSquashed {r k : ℕ} {D : Fin r → Type} [∀ i, Fintype (D i)]
    (rho : Matrix (PhysicalBasis D) (PhysicalBasis D) ℂ)
    (groups : Fin k → Finset (Fin r)) : ℝ :=
  if k < 2 then 0 else multipartiteSquashed false .total (groupedDensity rho groups)

/-- PDF p.12, (A1), left side. Physical positions are S=0, P_i=i for
1<=i<=m, Q_i=m+i for 1<=i<=n, E1=m+n+1, E2=m+n+2.
Parties are S, P1 Q1, ..., Pn Qn, P(n+1), ..., Pm; both environments are discarded. -/
def lemma5LeftGroups (m n : ℕ) : Fin (m + 1) → Finset (Fin (m + n + 3)) :=
  fun j => Finset.univ.filter fun t =>
    if j.val = 0 then t.val = 0
    else t.val = j.val ∨ (j.val ≤ n ∧ t.val = m + j.val)

/-- PDF p.12, (A1), first right term: parties SQ1...QnE2, P1, ..., Pm.
Only E1 is discarded. The environment E2 is retained in the first honest party. -/
def lemma5FirstGroups (m n : ℕ) : Fin (m + 1) → Finset (Fin (m + n + 3)) :=
  fun j => Finset.univ.filter fun t =>
    if j.val = 0 then
      t.val = 0 ∨ (m + 1 ≤ t.val ∧ t.val ≤ m + n) ∨ t.val = m + n + 2
    else t.val = j.val

/-- PDF p.12, (A1), second right term: parties SP1...PmE1, Q1, ..., Qn.
Only E2 is discarded. The environment E1 is retained in the first honest party. -/
def lemma5SecondGroups (m n : ℕ) : Fin (n + 1) → Finset (Fin (m + n + 3)) :=
  fun j => Finset.univ.filter fun t =>
    if j.val = 0 then t.val ≤ m ∨ t.val = m + n + 1
    else t.val = m + j.val

/-- The zero-list boundary leaves exactly S on the left, not either environment. -/
example (j : Fin 1) : lemma5LeftGroups 0 0 j = {0} := by
  have hj : j.val = 0 := by omega
  ext t
  simp only [lemma5LeftGroups, Finset.mem_filter, Finset.mem_univ,
    true_and, hj, if_pos rfl, Finset.mem_singleton]
  constructor
  · intro ht
    exact Fin.ext ht
  · intro ht
    exact congrArg Fin.val ht

/-- A one-party marginal has zero squashed entanglement, including when m=n=0. -/
example {r : ℕ} {D : Fin r → Type} [∀ i, Fintype (D i)]
    (rho : Matrix (PhysicalBasis D) (PhysicalBasis D) ℂ)
    (groups : Fin 1 → Finset (Fin r)) : groupedSquashed rho groups = 0 := by
  simp [groupedSquashed]

/-- A one-dimensional physical product state remains normalized after grouping
and discarding. This also checks the partial-trace sum has no extra multiplicity. -/
example {r k : ℕ} (groups : Fin k → Finset (Fin r))
    (a b : GroupedBasis (fun _ : Fin r => Unit) groups) :
    groupedDensity (D := fun _ : Fin r => Unit) (fun _ _ => 1) groups a b = 1 := by
  simp [groupedDensity]

end QAlgorithms.Papers.Independent.Bridge50.P26
Source
Fundamental limitation on quantum broadcast networks, arXiv:1609.03994v3, https://arxiv.org/abs/1609.03994v3
Read-back

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

QAlgorithms.Papers.Independent.Bridge50.P26.GroupedBasis

For all natural numbers r,kr,kr,k, types DiD_iDi​ indexed by 0≤i<r0\le i<r0≤i<r, and finite subsets Gj⊆{0,…,r−1}G_j\subseteq\{0,\ldots,r-1\}Gj​⊆{0,…,r−1} indexed by 0≤j<k0\le j<k0≤j<k, the grouped basis is ∏j=0k−1∏i∈GjDi\prod_{j=0}^{k-1}\prod_{i\in G_j}D_i∏j=0k−1​∏i∈Gj​​Di​. Its elements assign a value in DiD_iDi​ separately for each occurrence of iii in a group. The groups need not be disjoint or cover all indices; assignments to overlapping groups are not required to agree. An empty group contributes a singleton factor, and for k=0k=0k=0 the entire grouped basis is a singleton. No finiteness or nonemptiness of the types DiD_iDi​ is assumed.

QAlgorithms.Papers.Independent.Bridge50.P26.PhysicalBasis

For every natural number rrr and every family of types D0,…,Dr−1D_0,\ldots,D_{r-1}D0​,…,Dr−1​, the physical basis is the dependent product ∏i=0r−1Di\prod_{i=0}^{r-1}D_i∏i=0r−1​Di​: an element chooses one value in each DiD_iDi​. No finiteness or nonemptiness is assumed. For r=0r=0r=0, this product has exactly one element; if any DiD_iDi​ is empty, the product is empty.

QAlgorithms.Papers.Independent.Bridge50.P26.groupedDensity

For all natural numbers r,kr,kr,k, finite types DiD_iDi​ for 0≤i<r0\le i<r0≤i<r, an arbitrary complex matrix ρ\rhoρ indexed by P=∏i<rDiP=\prod_{i<r}D_iP=∏i<r​Di​, and finite groups Gj⊆{0,…,r−1}G_j\subseteq\{0,\ldots,r-1\}Gj​⊆{0,…,r−1} for j<kj<kj<k, this defines a complex matrix τ\tauτ indexed by ∏j<k∏i∈GjDi\prod_{j<k}\prod_{i\in G_j}D_i∏j<k​∏i∈Gj​​Di​, with entries

τa,b=∑x,y∈P∀j<k, ∀i∈Gj: xi=aj,i, yi=bj,i∀i∉⋃j<kGj: xi=yiρx,y.\tau_{a,b} = \sum_{\substack{x,y\in P\\ \forall j<k,\ \forall i\in G_j:\ x_i=a_{j,i},\ y_i=b_{j,i}\\ \forall i\notin\bigcup_{j<k}G_j:\ x_i=y_i}} \rho_{x,y}.τa,b​=x,y∈P∀j<k, ∀i∈Gj​: xi​=aj,i​, yi​=bj,i​∀i∈/⋃j<k​Gj​: xi​=yi​​∑​ρx,y​.

There is no positivity, trace, nonemptiness, disjointness, or covering hypothesis. Inconsistent assignments on overlapping groups give an empty sum and hence a zero entry. Empty groups impose no constraints; for k=0k=0k=0, the resulting matrix has one entry, equal to tr⁡ρ\operatorname{tr}\rhotrρ. Empty summation domains contribute zero.

QAlgorithms.Papers.Independent.Bridge50.P26.groupedSquashed

For all natural numbers r,kr,kr,k, finite types DiD_iDi​ for i<ri<ri<r, an arbitrary complex matrix ρ\rhoρ on P=∏i<rDiP=\prod_{i<r}D_iP=∏i<r​Di​, and finite groups Gj⊆{0,…,r−1}G_j\subseteq\{0,\ldots,r-1\}Gj​⊆{0,…,r−1} for j<kj<kj<k, the defined number is zero when k<2k<2k<2. Otherwise, put Bj=∏i∈GjDiB_j=\prod_{i\in G_j}D_iBj​=∏i∈Gj​​Di​ and define the matrix τ\tauτ on B=∏j<kBjB=\prod_{j<k}B_jB=∏j<k​Bj​ by

τa,b=∑x,y∈Pxi=aj,i, yi=bj,i for every j, i∈Gjxi=yi for i∉⋃jGjρx,y.\tau_{a,b} = \sum_{\substack{x,y\in P\\ x_i=a_{j,i},\ y_i=b_{j,i}\ \text{for every }j,\ i\in G_j\\ x_i=y_i\ \text{for }i\notin\bigcup_jG_j}} \rho_{x,y}.τa,b​=x,y∈Pxi​=aj,i​, yi​=bj,i​ for every j, i∈Gj​xi​=yi​ for i∈/⋃j​Gj​​∑​ρx,y​.

The number is then

inf⁡e∈N, e>0σ≥0, tr⁡σ=1σ on B×{0,…,e−1}Tr⁡Eσ=τ[∑j<kS(σBjE)−S(σBE)−(k−1)S(σE)],\inf_{\substack{e\in\mathbb N,\ e>0\\ \sigma\ge0,\ \operatorname{tr}\sigma=1\\ \sigma\text{ on }B\times\{0,\ldots,e-1\}\\ \operatorname{Tr}_{E}\sigma=\tau}} \left[ \sum_{j<k}S(\sigma_{B_jE}) -S(\sigma_{BE})-(k-1)S(\sigma_E) \right],e∈N, e>0σ≥0, trσ=1σ on B×{0,…,e−1}TrE​σ=τ​inf​​j<k∑​S(σBj​E​)−S(σBE​)−(k−1)S(σE​)​,

where each marginal sums over equal row and column indices in the discarded factors, and S(X)=−Re⁡tr⁡(f(X))S(X)=-\operatorname{Re}\operatorname{tr}(f(X))S(X)=−Retr(f(X)), with f(t)=tlog⁡2tf(t)=t\log_2tf(t)=tlog2​t applied by continuous functional calculus. The extensions have arbitrary positive finite environment dimension and no classicality restriction, and there is no factor of 1/21/21/2. The input matrix need not be a density matrix, the types DiD_iDi​ may be empty, and groups may overlap or be empty. If the set of admissible extensions is empty, the real infimum used here is zero.

QAlgorithms.Papers.Independent.Bridge50.P26.lemma5FirstGroups

For every pair of natural numbers m,nm,nm,n, this defines m+1m+1m+1 subsets FjF_jFj​ of {0,…,m+n+2}\{0,\ldots,m+n+2\}{0,…,m+n+2} by

F0={0}∪{m+1,m+2,…,m+n}∪{m+n+2},Fj={j}(1≤j≤m).F_0=\{0\}\cup\{m+1,m+2,\ldots,m+n\}\cup\{m+n+2\}, \qquad F_j=\{j\}\quad(1\le j\le m).F0​={0}∪{m+1,m+2,…,m+n}∪{m+n+2},Fj​={j}(1≤j≤m).

There is no relation assumed between mmm and nnn. For n=0n=0n=0, the middle interval is empty; for m=0m=0m=0, only the zeroth group exists.

QAlgorithms.Papers.Independent.Bridge50.P26.lemma5LeftGroups

For every pair of natural numbers m,nm,nm,n, this defines m+1m+1m+1 subsets LjL_jLj​ of {0,…,m+n+2}\{0,\ldots,m+n+2\}{0,…,m+n+2} by

L0={0},Lj={{j,m+j},1≤j≤m and j≤n,{j},1≤j≤m and n<j.L_0=\{0\},\qquad L_j= \begin{cases} \{j,m+j\},&1\le j\le m\text{ and }j\le n,\\ \{j\},&1\le j\le m\text{ and }n<j. \end{cases}L0​={0},Lj​={{j,m+j},{j},​1≤j≤m and j≤n,1≤j≤m and n<j.​

There is no assumption that n≤mn\le mn≤m. Zero values of either parameter are included; for m=0m=0m=0, only L0L_0L0​ exists, and for n=0n=0n=0, all existing groups are singletons.

QAlgorithms.Papers.Independent.Bridge50.P26.lemma5SecondGroups

For every pair of natural numbers m,nm,nm,n, this defines n+1n+1n+1 subsets RjR_jRj​ of {0,…,m+n+2}\{0,\ldots,m+n+2\}{0,…,m+n+2} by

R0={0,1,…,m}∪{m+n+1},Rj={m+j}(1≤j≤n).R_0=\{0,1,\ldots,m\}\cup\{m+n+1\}, \qquad R_j=\{m+j\}\quad(1\le j\le n).R0​={0,1,…,m}∪{m+n+1},Rj​={m+j}(1≤j≤n).

There is no relation assumed between mmm and nnn. The parameters may be zero; for n=0n=0n=0, only R0R_0R0​ exists, and for m=0m=0m=0, its initial interval is the singleton {0}\{0\}{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