Skip to content

Commit

Permalink
feat(topology/homeomorph): add homeomorph.symm_symm (#18551)
Browse files Browse the repository at this point in the history
I'm surprised we didn't have this lemma.
  • Loading branch information
urkud committed Mar 5, 2023
1 parent 346bace commit 3b267e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/topology/homeomorph.lean
Expand Up @@ -76,6 +76,8 @@ lemma to_equiv_injective : function.injective (to_equiv : α ≃ₜ β → α
@[ext] lemma ext {h h' : α ≃ₜ β} (H : ∀ x, h x = h' x) : h = h' :=
to_equiv_injective $ equiv.ext H

@[simp] lemma symm_symm (h : α ≃ₜ β) : h.symm.symm = h := ext $ λ _, rfl

/-- Identity map as a homeomorphism. -/
@[simps apply {fully_applied := ff}]
protected def refl (α : Type*) [topological_space α] : α ≃ₜ α :=
Expand Down

0 comments on commit 3b267e7

Please sign in to comment.