Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

A fixed chain: unconditional one-slot success probability

Proved
QAlgorithms.Papers.Independent.Intakethird100.P45.pathSuccess

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Fix a chain of k≥1k\ge1k≥1 edges and prescribe its k−1k-1k−1 internal Bell-state measurements before the success flags are observed. External links independently produce perfect EPR pairs with probability p∈[0,1]p\in[0,1]p∈[0,1], and the prescribed BSMs have independent heralded success probability q∈[0,1]q\in[0,1]q∈[0,1], independent of the external attempts. Memories last one slot, each is used at most once, and the two terminals retain their halves. The probability PkP_kPk​ of delivering one ebit after the external and internal phases, and hence its expected delivered count per slot, is

Pk=pkqk−1.P_k=p^kq^{k-1}.Pk​=pkqk−1.

This is the unconditional linear-chain rate; it includes external failures, unlike the conditional path yields in global routing.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P45
Formal statement
namespace QAlgorithms.Papers.Independent.Intakethird100.P45

open scoped BigOperators

noncomputable section

/-- PDF pp.4,7: the fixed `k`-edge chain delivers one ebit with probability
`p^k q^(k-1)`, also its expected delivered count. Terminals do not swap. -/
theorem pathSuccess (k : ℕ) (hk : 0 < k) (p q : ℝ)
    (hp0 : 0 ≤ p) (hp1 : p ≤ 1) (hq0 : 0 ≤ q) (hq1 : q ≤ 1) :
    chainProbability k p q = p ^ k * q ^ (k - 1) := by sorry

end

end QAlgorithms.Papers.Independent.Intakethird100.P45
Source
Routing entanglement in the quantum internet, arXiv:1708.07142v2, PDF p. 4, §II.A and §II.B.2: single-chain success probability and rate
Read-back

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

For every natural number k>0k>0k>0 and every pair of real numbers p,qp,qp,q satisfying 0≤p≤10\le p\le10≤p≤1 and 0≤q≤10\le q\le10≤q≤1, consider the sum over external Boolean assignments on kkk indices and internal Boolean assignments on k−1k-1k−1 indices. Each pair contributes 000 unless every flag in both assignments is true; otherwise, it contributes the product of the external weights ppp for true and 1−p1-p1−p for false, multiplied by the product of the internal weights qqq for true and 1−q1-q1−q for false. This sum equals

pkqk−1.p^kq^{k-1}.pkqk−1.

The parameter values 000 and 111 are allowed for both ppp and qqq. In particular, k=1k=1k=1 is included: the internal assignment is empty, its condition holds vacuously, and its product is q0=1q^0=1q0=1, including when q=0q=0q=0.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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