Small types #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
A type is w
-small if there exists an equivalence to some S : Type w
.
We provide a noncomputable model shrink α : Type w
, and equiv_shrink α : α ≃ shrink α
.
A subsingleton type is w
-small for any w
.
If α ≃ β
, then small.{w} α ↔ small.{w} β
.
@[class]
A type is small.{w}
if there exists an equivalence to some S : Type w
.
@[nolint]
An arbitrarily chosen model in Type w
for a w
-small type.
Equations
The noncomputable equivalence between a w
-small type and a model.
Equations
theorem
small_of_injective
{α : Type v}
{β : Type w}
[small β]
{f : α → β}
(hf : function.injective f) :
small α
theorem
small_of_surjective
{α : Type v}
{β : Type w}
[small α]
{f : α → β}
(hf : function.surjective f) :
small β
We don't define small_of_fintype
or small_of_countable
in this file,
to keep imports to logic
to a minimum.