CDF of the Zipf distribution:
ProvedZipfLaw.zipfPMF_cdfharmonic-numberspower-lawzipf-law
For integers , and real , the cumulative distribution function of the Zipf distribution is
Preamble
import Mathlib import Definitions.Def_ZipfLaw_Defs
Formal statement
namespace ZipfLaw
theorem zipfPMF_cdf (N : ℕ) (hN : 1 ≤ N) (s : ℝ) (n : ℕ) (hn : n ≤ N) :
∑ k ∈ Finset.Icc 1 n, zipfPMF N s k = genHarmonic n s / genHarmonic N s := by sorry
end ZipfLawSource
Wikipedia, "Zipf's law" (https://en.wikipedia.org/wiki/Zipf%27s_law), snapshot uploaded by the proposer, infobox (CDF ).
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) - non-blind, same agent as the drafter
Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement, with full knowledge of the source article and of the intended meaning. It is not a blind audit by an independent reader, and no reviewer should treat it as one. Please compare it against the Lean code yourself.
For all naturals and and every real : . For both sides are .
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.