AFTD Auto-Formalizing Theoretical Domains

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

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
See it in the graphDiscuss this resultChallenge it