Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Polylogarithmic overhead of the number of concatenation levels

Proved
ThresholdTheorem.polylog_overhead_levels

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

fault-tolerancequantum-computingquantum-error-correction

Polylogarithmic overhead. Let c>0c>0c>0, p≥0p\ge0p≥0 with cp<1cp<1cp<1, and d∈Nd\in\mathbb Nd∈N. There is a constant AAA such that for every integer g≥1g\ge1g≥1 and every 0<ε<10<\varepsilon<10<ε<1 there is a number of levels kkk with

g⋅(c p)2kc  ≤  εanddk  ≤  A (log⁡gε+1)⌈log⁡2d⌉.g\cdot\frac{(c\,p)^{2^{k}}}{c}\;\le\;\varepsilon\qquad\text{and}\qquad d^{k}\;\le\;A\,\Big(\log\frac{g}{\varepsilon}+1\Big)^{\lceil\log_2 d\rceil}.g⋅c(cp)2k​≤εanddk≤A(logεg​+1)⌈log2​d⌉.

With ggg the size of the circuit to be simulated, the first inequality says that kkk levels of concatenation bring the total failure probability below ε\varepsilonε, and the second that the resulting size overhead dkd^kdk is only polylogarithmic in g/εg/\varepsilong/ε, as claimed in the threshold theorem.

Preamble
import Mathlib
import Definitions.Def_threshold_theorem_noise_model

open ThresholdTheorem
Formal statement
namespace ThresholdTheorem
theorem polylog_overhead_levels (c p : ℝ) (d : ℕ) (hc : 0 < c) (hp : 0 ≤ p)
    (hcp : c * p < 1) :
    ∃ A : ℝ, ∀ (g : ℕ) (ε : ℝ), 1 ≤ g → 0 < ε → ε < 1 → ∃ k : ℕ,
      g * ((c * p) ^ (2 ^ k) / c) ≤ ε ∧
        (d : ℝ) ^ k ≤ A * (Real.log (g / ε) + 1) ^ Nat.clog 2 d := by sorry
end ThresholdTheorem
Source
Wikipedia, "Threshold theorem" (revision oldid=1360742213, https://en.wikipedia.org/w/index.php?title=Threshold_theorem&oldid=1360742213), section "Explanation"; the boxed statement is quoted there from M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press, p. 481.
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 13, 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