doc-next-gen

Mathlib.Data.Countable.Small

Module docstring

{"# All countable types are small.

That is, any countable type is equivalent to a type in any universe. "}

Countable.toSmall instance
(α : Type v) [Countable α] : Small.{w} α
Full source
instance (priority := 100) Countable.toSmall (α : Type v) [Countable α] : Small.{w} α :=
  let ⟨_, hf⟩ := exists_injective_nat α
  small_of_injective hf
Countable Types are Small
Informal description
For any countable type $\alpha$, $\alpha$ is $w$-small (i.e., there exists a bijection between $\alpha$ and some type in the universe `Type w`).