Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Mathlib/Geometry/Manifold/Instances/Sphere.lean
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ theorem range_stereographic_symm (hv : ‖v‖ = 1) (hv' : v ∈ sphere 0 1 := b

lemma isOpenEmbedding_stereographic_symm (hv : ‖v‖ = 1) :
Topology.IsOpenEmbedding (stereographic hv).symm :=
(stereographic hv).symm.to_isOpenEmbedding (by simp)
(stereographic hv).symm.isOpenEmbedding (by simp)

end StereographicProjection

Expand Down
10 changes: 6 additions & 4 deletions Mathlib/Topology/OpenPartialHomeomorph/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public import Mathlib.Topology.Sets.Opens
## Main definitions

* `OpenPartialHomeomorph.refl`: the identity open partial homeomorphism
* `Topology.IsOpenEmbedding.toOpenPartialHomeomorph`: construct a partial homeomorphism from an
open embedding
* `Topology.IsOpenEmbedding.toOpenPartialHomeomorph`: construct an open partial homeomorphism from
an open embedding
-/

@[expose] public section
Expand Down Expand Up @@ -224,10 +224,12 @@ theorem isOpenEmbedding_restrict : IsOpenEmbedding (e.source.restrict e) := by

/-- An open partial homeomorphism whose source is all of `X` defines an open embedding of `X` into
`Y`. The converse is also true; see `IsOpenEmbedding.toOpenPartialHomeomorph`. -/
theorem to_isOpenEmbedding (h : e.source = Set.univ) : IsOpenEmbedding e :=
theorem isOpenEmbedding (h : e.source = Set.univ) : IsOpenEmbedding e :=
e.isOpenEmbedding_restrict.comp
((Homeomorph.setCongr h).trans <| Homeomorph.Set.univ X).symm.isOpenEmbedding

@[deprecated (since := "2026-07-17")] alias to_isOpenEmbedding := isOpenEmbedding

end OpenPartialHomeomorph

/-!
Expand All @@ -239,7 +241,7 @@ variable (f : X → Y) (h : IsOpenEmbedding f)

/-- An open embedding of `X` into `Y`, with `X` nonempty, defines an open partial homeomorphism
whose source is all of `X`. The converse is also true; see
`OpenPartialHomeomorph.to_isOpenEmbedding`. -/
`OpenPartialHomeomorph.isOpenEmbedding`. -/
@[simps! (attr := mfld_simps) -fullyApplied apply source target]
noncomputable def toOpenPartialHomeomorph [Nonempty X] : OpenPartialHomeomorph X Y :=
OpenPartialHomeomorph.ofContinuousOpen (h.isEmbedding.injective.injOn.toPartialEquiv f univ)
Expand Down
Loading