Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Porting note: change rw to erw #11224

Open
pitmonticone opened this issue Mar 7, 2024 · 0 comments
Open

Porting note: change rw to erw #11224

pitmonticone opened this issue Mar 7, 2024 · 0 comments
Labels
porting-notes Mathlib3 to Mathlib4 porting notes.

Comments

@pitmonticone
Copy link
Collaborator

Classifies porting notes claiming:

change rw to erw

Examples

/-- The first projection from the glued scheme into `X`. -/
def p1 : (gluing 𝒰 f g).glued ⟶ X := by
fapply Multicoequalizer.desc
exact fun i => pullback.fst ≫ 𝒰.map i
rintro ⟨i, j⟩
change pullback.fst ≫ _ ≫ 𝒰.map i = (_ ≫ _) ≫ _ ≫ 𝒰.map j
-- Porting note: change `rw` to `erw`
erw [pullback.condition]
rw [← Category.assoc]
congr 1
rw [Category.assoc]
exact (t_fst_fst _ _ _ _ _).symm
#align algebraic_geometry.Scheme.pullback.p1 AlgebraicGeometry.Scheme.Pullback.p1

theorem imageBasicOpen_image_open :
IsOpen ((coequalizer.π f.1 g.1).base '' (imageBasicOpen f g U s).1) := by
rw [← (TopCat.homeoOfIso (PreservesCoequalizer.iso (SheafedSpace.forget _) f.1
g.1)).isOpen_preimage, TopCat.coequalizer_isOpen_iff, ← Set.preimage_comp]
erw [← coe_comp]
rw [PreservesCoequalizer.iso_hom, ι_comp_coequalizerComparison]
dsimp only [SheafedSpace.forget]
-- Porting note: change `rw` to `erw`
erw [imageBasicOpen_image_preimage]
exact (imageBasicOpen f g U s).2
#align algebraic_geometry.LocallyRingedSpace.has_coequalizer.image_basic_open_image_open AlgebraicGeometry.LocallyRingedSpace.HasCoequalizer.imageBasicOpen_image_open

@pitmonticone pitmonticone added the porting-notes Mathlib3 to Mathlib4 porting notes. label Mar 7, 2024
mathlib-bors bot pushed a commit that referenced this issue Mar 9, 2024
Classifies by adding issue number #11224 to porting notes claiming: 

> change `rw` to `erw`
kbuzzard pushed a commit that referenced this issue Mar 12, 2024
Classifies by adding issue number #11224 to porting notes claiming: 

> change `rw` to `erw`
dagurtomas pushed a commit that referenced this issue Mar 22, 2024
Classifies by adding issue number #11224 to porting notes claiming: 

> change `rw` to `erw`
utensil pushed a commit that referenced this issue Mar 26, 2024
Classifies by adding issue number #11224 to porting notes claiming: 

> change `rw` to `erw`
Louddy pushed a commit that referenced this issue Apr 15, 2024
Classifies by adding issue number #11224 to porting notes claiming: 

> change `rw` to `erw`
uniwuni pushed a commit that referenced this issue Apr 19, 2024
Classifies by adding issue number #11224 to porting notes claiming: 

> change `rw` to `erw`
callesonne pushed a commit that referenced this issue Apr 22, 2024
Classifies by adding issue number #11224 to porting notes claiming: 

> change `rw` to `erw`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
porting-notes Mathlib3 to Mathlib4 porting notes.
Projects
None yet
Development

No branches or pull requests

1 participant