is_eventual_period_nat
def
A positive integer p is an eventual period of a sequence g : ℕ → ℕ of natural numbers if there exists N : ℕ such that g (n + p) = g n for all n ≥ N.
Statement
def is_eventual_period_nat (g : ℕ → ℕ) (p : ℕ) : Prop
- Defined in
- arXiv:2611.31336
- Verified
- 25 Nov 2026
- Axioms
- none listed
- Used by 1
- least_eventual_period_natThe least eventual period of a sequence g : ℕ → ℕ of natural numbers is the infimum of the set of its positive eventual periods.
Read back from the Lean
Given a function g : ℕ → ℕ and a natural number p, is_eventual_period_nat g p is defined as the proposition that 0 < p and there exists a natural number N such that for all natural numbers n ≥ N, g (n + p) = g n.
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
/-- Predicate that p is an eventual period of a sequence of natural numbers. -/ def is_eventual_period_nat (g : ℕ → ℕ) (p : ℕ) : Prop := 0 < p ∧ ∃ N : ℕ, ∀ n ≥ N, g (n + p) = g n