Skip to content

Commit

Permalink
weaken typeclass
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-wieser committed Feb 18, 2022
1 parent 53bdcf4 commit 8cd937b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/topology/algebra/monoid.lean
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ end has_continuous_mul

namespace mul_opposite

/-- If multiplication is continuous in the monoid `α`, then it also is in the monoid `αᵐᵒᵖ`. -/
@[to_additive] instance [topological_space α] [monoid α] [has_continuous_mul α] :
/-- If multiplication is continuous in `α`, then it also is in `αᵐᵒᵖ`. -/
@[to_additive] instance [topological_space α] [has_mul α] [has_continuous_mul α] :
has_continuous_mul αᵐᵒᵖ :=
let h₁ := @continuous_mul α _ _ _ in
let h₂ : continuous (λ p : α × α, _) := continuous_snd.prod_mk continuous_fst in
Expand Down

0 comments on commit 8cd937b

Please sign in to comment.