AFTD Auto-Formalizing Theoretical Domains

shifted_geometric_distribution_nonneg

lemmaverified

For any parameter 0 ≤ a ≤ 1 and shift L ∈ ℤ, the shifted geometric distribution G_L(s) is nonnegative for every integer s.

Statement

lemma shifted_geometric_distribution_nonneg {a : ℝ} (ha0 : 0 ≤ a) (ha1 : a ≤ 1) (L s : ℤ) :
    0 ≤ shifted_geometric_distribution a L s
Source
arXiv:2611.16066, Theorem 5.1
Verified
13 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • shifted_geometric_distributionThe 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…
Used by 1

Read back from the Lean

For every real number $a$ such that $0 \le a$ and $a \le 1$, and for all integers $L$ and $s$, $0 \le \text{shifted\_geometric\_distribution}(a, L, s)$.

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 is nonnegative everywhere when 0 ≤ a ≤ 1. -/
lemma shifted_geometric_distribution_nonneg {a : ℝ} (ha0 : 0 ≤ a) (ha1 : a ≤ 1) (L s : ℤ) :
    0 ≤ shifted_geometric_distribution a L s := by
  rw [shifted_geometric_distribution]
  split_ifs with h
  · exact mul_nonneg (sub_nonneg.mpr ha1) (zpow_nonneg ha0 (s - L))
  · exact le_refl 0
See it in the graphDiscuss this resultChallenge it