File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -498,8 +498,6 @@ between the opposite functors `F.op ≅ G.op`. -/
498498protected def removeOp (α : F.op ≅ G.op) : G ≅ F where
499499 hom := NatTrans.removeOp α.hom
500500 inv := NatTrans.removeOp α.inv
501- hom_inv_id := by ext; dsimp; rw [← unop_comp]; rw [α.inv_hom_id_app]; rfl
502- inv_hom_id := by ext; dsimp; rw [← unop_comp]; rw [α.hom_inv_id_app]; rfl
503501#align category_theory.nat_iso.remove_op CategoryTheory.NatIso.removeOp
504502
505503/-- The natural isomorphism between functors `G.unop ≅ F.unop` induced by a natural isomorphism
@@ -508,8 +506,6 @@ between the original functors `F ≅ G`. -/
508506protected def unop {F G : Cᵒᵖ ⥤ Dᵒᵖ} (α : F ≅ G) : G.unop ≅ F.unop where
509507 hom := NatTrans.unop α.hom
510508 inv := NatTrans.unop α.inv
511- hom_inv_id := by ext; dsimp; rw [← unop_comp]; rw [α.inv_hom_id_app]; rfl
512- inv_hom_id := by ext; dsimp; rw [← unop_comp]; rw [α.hom_inv_id_app]; rfl
513509#align category_theory.nat_iso.unop CategoryTheory.NatIso.unop
514510
515511end NatIso
Original file line number Diff line number Diff line change @@ -365,35 +365,21 @@ def yonedaLemma : yonedaPairing C ≅ yonedaEvaluation C where
365365 { app := fun F x => ULift.up ((x.app F.1 ) (𝟙 (unop F.1 )))
366366 naturality := by
367367 intro X Y f
368- simp only [yonedaEvaluation]
369368 ext
370- dsimp
371- erw [Category.id_comp, ← FunctorToTypes.naturality]
372- simp only [Category.comp_id, yoneda_obj_map] }
369+ simp [yonedaEvaluation, ← FunctorToTypes.naturality] }
373370 inv :=
374371 { app := fun F x =>
375- { app := fun X a => (F.2 .map a.op) x.down
376- naturality := by
377- intro X Y f
378- ext
379- dsimp
380- rw [FunctorToTypes.map_comp_apply] }
372+ { app := fun X a => (F.2 .map a.op) x.down }
381373 naturality := by
382374 intro X Y f
383- simp only [yoneda]
384375 ext
385- dsimp
386- rw [← FunctorToTypes.naturality X.snd Y.snd f.snd, FunctorToTypes.map_comp_apply] }
376+ simp [yoneda, ← FunctorToTypes.naturality] }
387377 hom_inv_id := by
388378 ext
389- dsimp
390- erw [← FunctorToTypes.naturality, obj_map_id]
391- simp only [yoneda_map_app, Quiver.Hom.unop_op]
392- erw [Category.id_comp]
379+ simp [← FunctorToTypes.naturality]
393380 inv_hom_id := by
394381 ext
395- dsimp
396- rw [FunctorToTypes.map_id_apply, ULift.up_down]
382+ simp [ULift.up_down]
397383#align category_theory.yoneda_lemma CategoryTheory.yonedaLemma
398384
399385variable {C}
You can’t perform that action at this time.
0 commit comments