shifted_geometric_distribution
def
The shifted geometric distribution G_L(s) with base parameter a supported on s ≥ L is equal to (1 - a) * a^(s - L) for s ≥ L and 0 otherwise.
Statement
noncomputable def shifted_geometric_distribution (a : ℝ) (L : ℤ) (s : ℤ) : ℝ
- Defined in
- arXiv:2611.16066, Theorem 5.1
- Verified
- 13 Nov 2026
- Axioms
- none listed
- Used by 3
- shifted_geometric_distribution_hasSumFor any parameter 0 ≤ a < 1 and shift L ∈ ℤ, the shifted geometric distribution G_L has sum 1 over ℤ.
- shifted_geometric_distribution_nonnegFor any parameter 0 ≤ a ≤ 1 and shift L ∈ ℤ, the shifted geometric distribution G_L(s) is nonnegative for every integer s.
- shifted_geometric_distribution_ratio_geFor any parameter 0 < a < 1 and shift L ∈ ℤ, the shifted geometric distribution G_L satisfies G_L(s) ≥ a * G_L(s - 1) for all s ∈ ℤ.
Read back from the Lean
Defines shifted_geometric_distribution as a function taking a real number a, an integer shift L, and an integer s, returning a real value. If L ≤ s, the value is (1 - a) * a ^ (s - L) (where the exponent s - L is an integer); otherwise (when s < L), the value is 0.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- The shifted geometric distribution G_L with base parameter a on ℤ supported on integers s ≥ L. -/ noncomputable def shifted_geometric_distribution (a : ℝ) (L : ℤ) (s : ℤ) : ℝ := if L ≤ s then (1 - a) * a ^ (s - L) else 0