A nonempty generalized harmonic sum is positive
ProvedZipfLaw.genHarmonic_posharmonic-numberspower-lawzipf-law
For every integer and real exponent , the generalized harmonic sum is strictly positive. This ensures that the common normalizing factor can be cancelled and logarithms of supported Zipf probabilities are well-defined.
Preamble
import Mathlib import Definitions.Def_ZipfLaw_Defs
Formal statement
namespace ZipfLaw theorem genHarmonic_pos (N : ℕ) (hN : 1 ≤ N) (s : ℝ) : 0 < genHarmonic N s := by sorry end ZipfLaw
Source
Wikipedia, "Zipf's law", https://en.wikipedia.org/wiki/Zipf%27s_law, section "Formal definition"; auxiliary lemma for the original ZipfLaw mission, derived from its displayed PMF and generalized harmonic sum.