Skip to content

Commit de18141

Browse files
Remove unnecessary explicit secondary constructor
1 parent 0d1ee66 commit de18141

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Mathlib/Topology/Homeomorph/Defs.lean

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -310,19 +310,6 @@ def homeomorphOfUnique [Unique X] [Unique Y] : X ≃ₜ Y :=
310310
continuous_toFun := continuous_const
311311
continuous_invFun := continuous_const }
312312

313-
314-
open Function in
315-
/-- Build a homeomorphism out of bundled continuous maps in both directions. -/
316-
@[simps]
317-
def ofContinuousMaps {X Y} [TopologicalSpace X] [TopologicalSpace Y]
318-
(toFun : C(X, Y)) (invFun : C(Y, X))
319-
(left_inv : LeftInverse invFun toFun := by intro; first | rfl | ext <;> rfl)
320-
(right_inv : RightInverse invFun toFun := by intro; first | rfl | ext <;> rfl) : X ≃ₜ Y where
321-
toFun
322-
invFun
323-
left_inv
324-
right_inv
325-
326313
@[simp]
327314
theorem map_nhds_eq (h : X ≃ₜ Y) (x : X) : map h (𝓝 x) = 𝓝 (h x) :=
328315
h.isEmbedding.map_nhds_of_mem _ (by simp)

0 commit comments

Comments
 (0)