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