The areas / V24. Category theory
Mathlib.CategoryTheory.Types.Set
3 declarations. Mathlib docs · Source
def Set.functorToTypes E1 #
{X : Type u} → CategoryTheory.Functor (Set X) (Type u)
Given X : Type u, this is the functor Set X ⥤ Type u which sends A
to its underlying type.
theorem Set.functorToTypes_obj E0 #
∀ {X : Type u} (S : Set X), Set.functorToTypes.obj S = ↑S
theorem Set.functorToTypes_map E0 #
∀ {X : Type u} {S T : Set X} (f : S ⟶ T),
Set.functorToTypes.map f =
TypeCat.ofHom fun x ↦
match x with
| ⟨x, hx⟩ => ⟨x, ⋯⟩