Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2021-12-17 12:31 8743573e

View on Github →

feat(data/nat/count): The count function on naturals (#9457) Defines nat.count a generic counting function on ℕ, computing how many numbers under k satisfy a given predicate". Co-authored by: Yaël Dillies, [email protected] Vladimir Goryachev, [email protected] Kyle Miller, [email protected] Scott Morrison, [email protected] Eric Rodriguez, [email protected]

Estimated changes

added def nat.count
added theorem nat.count_add'
added theorem nat.count_add
added theorem nat.count_le_cardinal
added theorem nat.count_mono_left
added theorem nat.count_monotone
added theorem nat.count_one
added theorem nat.count_succ'
added theorem nat.count_succ
added theorem nat.count_zero