The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V31. Set theory

Mathlib.SetTheory.Cardinal.NatCount

3 declarations. Mathlib docs · Source

theorem Nat.count_le_cardinal E1 #

∀ {p : ℕ → Prop} [inst : DecidablePred p] (n : ℕ), ↑(Nat.count p n) ≤ Cardinal.mk ↑{k | p k}

theorem Nat.count_le_setENCard E1 #

∀ {p : ℕ → Prop} [inst : DecidablePred p] (n : ℕ), ↑(Nat.count p n) ≤ {k | p k}.encard

theorem Nat.count_le_setNCard E1 #

∀ {p : ℕ → Prop} [inst : DecidablePred p] (n : ℕ), {k | p k}.Finite → Nat.count p n ≤ {k | p k}.ncard