Skip to content

Commit e1fb5b2

Browse files
scholzhannahReemMelamed
authored andcommitted
chore: rename {OpenPartialHomeomorph,PartialEquiv}.map_source'' (leanprover-community#40717)
The new name avoids a double prime and also matches the naming convention. As suggested [here](leanprover-community#39084 (comment)).
1 parent 442efcd commit e1fb5b2

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

Mathlib/Geometry/Manifold/ChartedSpace.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ theorem ChartedSpace.locPathConnectedSpace [LocPathConnectedSpace H] : LocPathCo
275275
apply e.symm.image_mem_nhds (by simp [e])
276276
exact pathComponentIn_mem_nhds <| e.image_mem_nhds (mem_chart_source _ _) ht
277277
· refine (isPathConnected_pathComponentIn <| mem_image_of_mem e (mem_of_mem_nhds ht)).image' ?_
278-
refine e.continuousOn_symm.mono <| subset_trans ?_ e.map_source''
278+
refine e.continuousOn_symm.mono <| subset_trans ?_ e.image_source_subset
279279
exact (pathComponentIn_mono <| image_mono inter_subset_right).trans pathComponentIn_subset
280280
· exact (image_mono pathComponentIn_subset).trans
281281
(PartialEquiv.symm_image_image_of_subset_source _ inter_subset_right).subset

Mathlib/Logic/Equiv/PartialEquiv.lean

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,11 @@ theorem map_source {x : α} (h : x ∈ e.source) : e x ∈ e.target :=
180180
e.map_source' h
181181

182182
/-- Variant of `e.map_source` and `map_source'`, stated for images of subsets of `source`. -/
183-
lemma map_source'' : e '' e.source ⊆ e.target :=
183+
lemma image_source_subset : e '' e.source ⊆ e.target :=
184184
fun _ ⟨_, hx, hex⟩ ↦ mem_of_eq_of_mem (id hex.symm) (e.map_source' hx)
185185

186+
@[deprecated (since := "2026-06-17")] alias map_source'' := image_source_subset
187+
186188
@[simp, mfld_simps]
187189
theorem map_target {x : β} (h : x ∈ e.target) : e.symm x ∈ e.source :=
188190
e.map_target' h

Mathlib/Topology/OpenPartialHomeomorph/Defs.lean

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,11 @@ theorem map_source {x : X} (h : x ∈ e.source) : e x ∈ e.target :=
144144
e.map_source' h
145145

146146
/-- Variant of `map_source`, stated for images of subsets of `source`. -/
147-
lemma map_source'' : e '' e.source ⊆ e.target :=
147+
lemma image_source_subset : e '' e.source ⊆ e.target :=
148148
fun _ ⟨_, hx, hex⟩ ↦ mem_of_eq_of_mem (id hex.symm) (e.map_source' hx)
149149

150+
@[deprecated (since := "2026-06-17")] alias map_source'' := image_source_subset
151+
150152
@[simp, mfld_simps]
151153
theorem map_target {x : Y} (h : x ∈ e.target) : e.symm x ∈ e.source :=
152154
e.map_target' h

0 commit comments

Comments
 (0)