We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
erw
isUnit_of_isUnit_germ
1 parent 3d1b261 commit 291974eCopy full SHA for 291974e
Mathlib/Geometry/RingedSpace/Basic.lean
@@ -102,9 +102,8 @@ theorem isUnit_of_isUnit_germ (U : Opens X) (f : X.presheaf.obj (op U))
102
choose V iVU m h_unit using fun x : U => X.isUnit_res_of_isUnit_germ U f x x.2 (h x.1 x.2)
103
have hcover : U ≤ iSup V := by
104
intro x hxU
105
- -- Porting note: in Lean3 `rw` is sufficient
106
- erw [Opens.mem_iSup]
107
- exact ⟨⟨x, hxU⟩, m ⟨x, hxU⟩⟩
+ simp only [Opens.coe_iSup, Set.mem_iUnion, SetLike.mem_coe, Subtype.exists]
+ tauto
108
-- Let `g x` denote the inverse of `f` in `U x`.
109
choose g hg using fun x : U => IsUnit.exists_right_inv (h_unit x)
110
have ic : IsCompatible (sheaf X).val V g := by
0 commit comments