Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 90702a0

Browse files
committed
feat(topology/continuous_map): missing coe_mk lemma (#6087)
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
1 parent a6fc6bd commit 90702a0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/topology/continuous_map.lean

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ instance [inhabited β] : inhabited C(α, β) :=
4646
lemma coe_inj ⦃f g : C(α, β)⦄ (h : (f : α → β) = g) : f = g :=
4747
by cases f; cases g; cases h; refl
4848

49+
@[simp] lemma coe_mk (f : α → β) (h : continuous f) :
50+
⇑(⟨f, h⟩ : continuous_map α β) = f := rfl
51+
4952
/-- The identity as a continuous map. -/
5053
def id : C(α, α) := ⟨id⟩
5154

0 commit comments

Comments
 (0)