Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Eq. (4.25) — quantum Singleton bound m≥(n+k)/2m\ge (n+k)/2m≥(n+k)/2 for symmetric erasure codes

Proved
HarlowTASI.quantum_singleton_bound

by Lucas · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

holographyoperator-algebrasquantum-error-correctionquantum-information

Encode k≥1k\ge1k≥1 logical qudits into nnn physical qudits, each of dimension d≥2d\ge2d≥2: the code subspace is the image of an isometry V:(Cd)⊗k→(Cd)⊗nV:(\mathbb C^d)^{\otimes k}\to(\mathbb C^d)^{\otimes n}V:(Cd)⊗k→(Cd)⊗n. Say that the logical information is accessible from a set AAA of physical qudits if every logical operator O~\tilde OO~ has a representative OAO_AOA​ supported on AAA with OA∣ψ~⟩=O~∣ψ~⟩O_A|\tilde\psi\rangle=\tilde O|\tilde\psi\rangleOA​∣ψ~​⟩=O~∣ψ~​⟩ and OA†∣ψ~⟩=O~†∣ψ~⟩O_A^\dagger|\tilde\psi\rangle=\tilde O^\dagger|\tilde\psi\rangleOA†​∣ψ~​⟩=O~†∣ψ~​⟩ for all code states (condition (1) of Theorem 4.1 with R=AR=AR=A). Assume, as in the lectures, that whether a set of qudits gives access to the logical information depends only on the number of qudits in it. Then every set AAA from which the information is accessible satisfies

∣A∣ ≥ n+k2;|A|\ \ge\ \frac{n+k}{2};∣A∣ ≥ 2n+k​;

equivalently, the smallest such number mmm obeys the quantum Singleton bound m≥n+k2m\ge\frac{n+k}{2}m≥2n+k​ (4.25).

This bound quantifies how large a code subspace can be while remaining correctable, and in the lectures it is checked against the three-qutrit code (n=3n=3n=3, k=1k=1k=1, m=2m=2m=2).

Formalization Note Qudits are indexed by Fin n, a set of qudits is a Finset (Fin n), and the symmetry assumption is stated as: any two sets of equal cardinality are either both accessible or both not. The hypotheses d≥2d\ge2d≥2 and k≥1k\ge1k≥1 are implicit in the lectures (a qudit is a ddd-state system carrying information; for d=1d=1d=1 or k=0k=0k=0 the code space is one-dimensional, everything is accessible from the empty set, and the bound fails).

Preamble
import Mathlib
import Definitions.Def_HarlowTASI_QuantumBasics
Formal statement
namespace HarlowTASI
theorem quantum_singleton_bound {n d k : ℕ} (hd : 2 ≤ d) (hk : 1 ≤ k)
    (V : Matrix (Fin n → Fin d) (Fin k → Fin d) ℂ) (hV : IsIsometry V)
    (hsymm : ∀ A B : Finset (Fin n), A.card = B.card →
      (AccessibleFrom V A ↔ AccessibleFrom V B))
    (A : Finset (Fin n)) (hA : AccessibleFrom V A) :
    n + k ≤ 2 * A.card := by sorry
end HarlowTASI
Source
Daniel Harlow, TASI Lectures on the Emergence of Bulk Physics in AdS/CFT, PoS(TASI2017)002 (2018), arXiv:1802.01040, §4.3, pp. 29–30, eqs. (4.21)–(4.25) (quantum Singleton bound).
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) - NON-BLIND: same agent that drafted the statements

Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements, with full knowledge of the source lectures and of the intended meaning. It was not produced blind by an independent auditor, so it must not be mistaken for independent testimony; reviewers should treat it as the drafter's own rendering of the code and check the Lean text directly.

Data. Natural numbers n,d,kn,d,kn,d,k with d≥2d\ge2d≥2 and k≥1k\ge1k≥1; a complex matrix VVV whose rows are indexed by functions x:{0,..,n−1}→{0,..,d−1}x:\{0,..,n-1\}\to\{0,..,d-1\}x:{0,..,n−1}→{0,..,d−1} (so dnd^ndn rows) and whose columns are indexed by functions {0,..,k−1}→{0,..,d−1}\{0,..,k-1\}\to\{0,..,d-1\}{0,..,k−1}→{0,..,d−1} (dkd^kdk columns), assumed an isometry: V†V=IV^\dagger V=IV†V=I.

Symmetry hypothesis. For all subsets A,B⊆{0,..,n−1}A,B\subseteq\{0,..,n-1\}A,B⊆{0,..,n−1} with ∣A∣=∣B∣|A|=|B|∣A∣=∣B∣: VVV is accessible from AAA iff it is accessible from BBB. Here "accessible from AAA" means: for every dk×dkd^k\times d^kdk×dk matrix OOO there is a matrix OAO_AOA​ indexed by functions A→{0,..,d−1}A\to\{0,..,d-1\}A→{0,..,d−1} with (OA⊗IAc) splitAV=splitAV O(O_A\otimes I_{A^c})\,\mathrm{split}_AV=\mathrm{split}_AV\,O(OA​⊗IAc​)splitA​V=splitA​VO and (OA†⊗IAc) splitAV=splitAV O†(O_A^\dagger\otimes I_{A^c})\,\mathrm{split}_AV=\mathrm{split}_AV\,O^\dagger(OA†​⊗IAc​)splitA​V=splitA​VO†, where splitAV\mathrm{split}_AVsplitA​V is VVV with each row index xxx rewritten as the pair (restriction of xxx to AAA, restriction of xxx to the complement of AAA).

Claim. For every subset A⊆{0,..,n−1}A\subseteq\{0,..,n-1\}A⊆{0,..,n−1} from which VVV is accessible,

n+k≤2 ∣A∣.n+k\le 2\,|A| .n+k≤2∣A∣.

Edge remarks: for n=0n=0n=0 there is a single row, and an isometry with dk≥2d^k\ge2dk≥2 columns cannot exist, so the statement is then vacuous; for n≥1n\ge1n≥1 the hypotheses are satisfiable (e.g. by codes with the stated symmetry). The full set A={0,..,n−1}A=\{0,..,n-1\}A={0,..,n−1} is always accessible when VVV is an isometry, so the claim includes k≤nk\le nk≤n.

Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 10, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me