Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Recursive error suppression ek≤(cp)2k/ce_k \le (cp)^{2^k}/cek​≤(cp)2k/c

Proved
ThresholdTheorem.concatenated_error_recursion

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

fault-tolerancequantum-computingquantum-error-correction

Recursive error suppression. Let c>0c>0c>0 and let (ek)k≥0(e_k)_{k\ge0}(ek​)k≥0​ be non-negative reals with e0≤pe_0\le pe0​≤p and

ek+1  ≤  c ek2(k≥0).e_{k+1}\;\le\;c\,e_k^{2}\qquad(k\ge 0).ek+1​≤cek2​(k≥0).

Then for every kkk,

ek  ≤  (c p)2kc.e_k\;\le\;\frac{(c\,p)^{2^k}}{c}.ek​≤c(cp)2k​.

Here eke_kek​ plays the role of the failure probability of a level-kkk encoded gate. When p<1/cp<1/cp<1/c the bound decreases doubly exponentially in the number of levels, which is the source of the threshold pth=1/cp_{\mathrm{th}}=1/cpth​=1/c.

Preamble
import Mathlib
import Definitions.Def_threshold_theorem_noise_model

open ThresholdTheorem
Formal statement
namespace ThresholdTheorem
theorem concatenated_error_recursion (c p : ℝ) (hc : 0 < c) (e : ℕ → ℝ)
    (he0 : e 0 ≤ p) (hnn : ∀ k, 0 ≤ e k) (hrec : ∀ k, e (k + 1) ≤ c * e k ^ 2) (k : ℕ) :
    e k ≤ (c * p) ^ (2 ^ k) / c := 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