Skip to content

Commit 87d83a7

Browse files
committed
chore(CategoryTheory/Sites/MayerVietorisSquare): remove an erw (#38679)
- simplifies the Yoneda/sheafification naturality check to a single `simp [Adjunction.homEquiv, yonedaEquiv_naturality]` Extracted from #38415 [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
1 parent 25dfe56 commit 87d83a7

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

Mathlib/CategoryTheory/Sites/MayerVietorisSquare.lean

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ namespace CategoryTheory
5959

6060
open Limits Opposite
6161

62-
variable {C : Type u} [Category.{v} C]
63-
{J : GrothendieckTopology C}
62+
variable {C : Type u} [Category.{v} C] {J : GrothendieckTopology C}
6463

6564
set_option backward.isDefEq.respectTransparency false in
6665
lemma Sheaf.isPullback_square_op_map_yoneda_presheafToSheaf_yoneda_iff
@@ -75,10 +74,7 @@ lemma Sheaf.isPullback_square_op_map_yoneda_presheafToSheaf_yoneda_iff
7574
(((sheafificationAdjunction J (Type v)).homEquiv _ _).trans yonedaEquiv) ?_ ?_ ?_ ?_
7675
all_goals
7776
ext x
78-
dsimp
79-
rw [yonedaEquiv_naturality]
80-
erw [Adjunction.homEquiv_naturality_left]
81-
rfl
77+
simp [Adjunction.homEquiv, yonedaEquiv_naturality]
8278

8379
namespace GrothendieckTopology
8480

0 commit comments

Comments
 (0)