Skip to content

Commit ac17f29

Browse files
committed
feat: ContinuousMonoidHom.toMonoidHom_injective (leanprover-community#34071)
Co-authored-by: bwangpj <70694994+bwangpj@users.noreply.github.com>
1 parent 0f2298b commit ac17f29

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Mathlib/Topology/Algebra/ContinuousMonoidHom.lean

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ theorem ext {f g : A →ₜ* B} (h : ∀ x, f x = g x) : f = g :=
142142
theorem toContinuousMap_injective : Injective (toContinuousMap : _ → C(A, B)) := fun f g h =>
143143
ext <| by convert DFunLike.ext_iff.1 h
144144

145+
@[to_additive]
146+
theorem toMonoidHom_injective : Injective (toMonoidHom : _ → A →* B) := fun f g h =>
147+
ext <| by convert DFunLike.ext_iff.1 h
148+
145149
/-- Composition of two continuous homomorphisms. -/
146150
@[to_additive (attr := simps!) /-- Composition of two continuous homomorphisms. -/]
147151
def comp (g : B →ₜ* C) (f : A →ₜ* B) : A →ₜ* C :=

0 commit comments

Comments
 (0)