@@ -71,11 +71,8 @@ universe v₁ v₂ v₃ u₁ u₂ u₃
7171
7272 The triangle equation is written as a family of equalities between morphisms, it is more
7373 complicated if we write it as an equality of natural transformations, because then we would have
74- to insert natural transformations like `F ⟶ F1`.
75-
76- See <https://stacks.math.columbia.edu/tag/001J>
77- -/
78- @[ext]
74+ to insert natural transformations like `F ⟶ F1`. -/
75+ @ [ext, stacks 001J]
7976structure Equivalence (C : Type u₁) (D : Type u₂) [Category.{v₁} C] [Category.{v₂} D] where mk' ::
8077 /-- A functor in one direction -/
8178 functor : C ⥤ D
@@ -425,10 +422,8 @@ theorem pow_neg_one (e : C ≌ C) : e ^ (-1 : ℤ) = e.symm :=
425422-- Note: the better formulation of this would involve `HasShift`.
426423end
427424
428- /-- The functor of an equivalence of categories is essentially surjective.
429-
430- See <https://stacks.math.columbia.edu/tag/02C3>.
431- -/
425+ /-- The functor of an equivalence of categories is essentially surjective. -/
426+ @ [stacks 02C3]
432427instance essSurj_functor (e : C ≌ E) : e.functor.EssSurj :=
433428 ⟨fun Y => ⟨e.inverse.obj Y, ⟨e.counitIso.app Y⟩⟩⟩
434429
@@ -443,20 +438,16 @@ def fullyFaithfulFunctor (e : C ≌ E) : e.functor.FullyFaithful where
443438def fullyFaithfulInverse (e : C ≌ E) : e.inverse.FullyFaithful where
444439 preimage {X Y} f := e.counitIso.inv.app X ≫ e.functor.map f ≫ e.counitIso.hom.app Y
445440
446- /-- The functor of an equivalence of categories is faithful.
447-
448- See <https://stacks.math.columbia.edu/tag/02C3>.
449- -/
441+ /-- The functor of an equivalence of categories is faithful. -/
442+ @ [stacks 02C3]
450443instance faithful_functor (e : C ≌ E) : e.functor.Faithful :=
451444 e.fullyFaithfulFunctor.faithful
452445
453446instance faithful_inverse (e : C ≌ E) : e.inverse.Faithful :=
454447 e.fullyFaithfulInverse.faithful
455448
456- /-- The functor of an equivalence of categories is full.
457-
458- See <https://stacks.math.columbia.edu/tag/02C3>.
459- -/
449+ /-- The functor of an equivalence of categories is full. -/
450+ @ [stacks 02C3]
460451instance full_functor (e : C ≌ E) : e.functor.Full :=
461452 e.fullyFaithfulFunctor.full
462453
@@ -527,10 +518,8 @@ noncomputable def inv (F : C ⥤ D) [F.IsEquivalence] : D ⥤ C where
527518 map_id X := by apply F.map_injective; simp
528519 map_comp {X Y Z} f g := by apply F.map_injective; simp
529520
530- /-- Interpret a functor that is an equivalence as an equivalence.
531-
532- See <https://stacks.math.columbia.edu/tag/02C3>. -/
533- @ [simps functor]
521+ /-- Interpret a functor that is an equivalence as an equivalence. -/
522+ @ [simps functor, stacks 02C3]
534523noncomputable def asEquivalence (F : C ⥤ D) [F.IsEquivalence] : C ≌ D where
535524 functor := F
536525 inverse := F.inv
0 commit comments