Theorem 2.17 -- avoiding zero for steps
OpenMarkovMixing.srw_zero_avoidanceFor simple random walk on started at , the probability of not visiting within steps is at most
The probability is the exact fraction of the sign strings whose walk avoids at all times .
import Definitions.Def_mm_classical
namespace MarkovMixing
/-- **Theorem 2.17** (LPW): for simple random walk on `ℤ` started at `k > 0`,
the probability of not visiting `0` within `r` steps is at most `12k/√r`. -/
theorem srw_zero_avoidance (r : ℕ) (hr : 0 < r) (k : ℤ) (hk : 0 < k) :
((Finset.univ.filter fun ω : Fin r → Bool =>
∀ t ≤ r, srwPos k ω t ≠ 0).card : ℝ) / 2 ^ r ≤
12 * (k : ℝ) / Real.sqrt r := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
For every natural number with and every integer with , the theorem asserts the following inequality of real numbers. For a sign sequence (formally a function from to Booleans, with "true" read as and "false" as ) and a natural number , define the walk position at time started from as
i.e. , an integer; in particular , and for the value is frozen at . Let be the number of sign sequences such that for every natural number with — that is, the walk started at avoids at all of the time points (the condition at reads , which is automatic since ). The theorem then claims
where and are cast to real numbers, is a real power, and is the real square root of (positive, since , so the right-hand side is a well-defined positive real). Equivalently, the left-hand side is the probability, under the uniform distribution on the sign sequences, that the walk started at height never touches during its first steps. Note that the right-hand side can exceed (e.g. whenever ), in which case the inequality holds trivially because the left-hand side is a probability in ; the bound carries content only for large relative to . The inequality is an upper bound only (a claim that the avoidance probability is small, with no matching lower bound), it is non-strict (), and no assumption relates to beyond and .
Confirmed by the mission captain (proposal self-audit).