Appendix B, footnote 75: independent-link waiting distribution and mean
ProvedQAlgorithms.Papers.Independent.Gap48.P25.waitingDistributionLet two links have independent geometric waiting times on positive rounds, each with success probability . Write for their maximum. Its nonnegative normalized distribution and finite mean satisfy, for ,
The maximum distribution is constructed directly from the product of the geometric laws, and the expectation is a genuinely summable series. Also as . At the mean is one round. The excluded endpoint has infinite waiting time and is not assigned a real mean by this formula.
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P25
noncomputable section
namespace QAlgorithms.Papers.Independent.Gap48.P25
open scoped BigOperators ComplexConjugate
open Filter
open QAlgorithms.Papers.Independent.Claimed50.P08 (classicalEntropy)
/-- Footnote 75, PDF p.46: exact law and mean of two independent geometric
links. Includes x=1, excludes x=0 from the real expectation formula. -/
theorem waitingDistribution (x : ℝ) (hx : 0 < x ∧ x ≤ 1) :
(∀ n, 0 ≤ twoLinkWaiting x n) ∧ HasSum (twoLinkWaiting x) 1 ∧
(∀ n : ℕ, 1 ≤ n → twoLinkWaiting x n = x*(1-x)^(n-1)*(2-(2-x)*(1-x)^(n-1))) ∧
HasSum (fun n : ℕ => (n : ℝ)*twoLinkWaiting x n) (waitingMean x) ∧
Tendsto (fun z : ℝ => z*waitingMean z) (nhdsWithin 0 (Set.Ioi 0)) (nhds (3/2)) := by sorry
end QAlgorithms.Papers.Independent.Gap48.P25
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every real with , define and for natural , and define
Then every is nonnegative, , and for every natural ,
Also , and . The definition gives ; is included, with zeroth powers interpreted as .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.