Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
FR-vdash-bot authored Oct 9, 2024
1 parent 2018982 commit 1247737
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Mathlib/Algebra/GroupWithZero/Action/Defs.lean
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ end DistribSMul

/-- Typeclass for multiplicative actions on additive structures. This generalizes group modules. -/
@[ext]
class DistribMulAction (M A : Type*) [Monoid M] [AddMonoid A] extends MulAction M A where
class DistribMulAction (M A : Type*) [outParam (Monoid M)] [AddMonoid A] extends MulAction M A where
/-- Multiplying `0` by a scalar gives `0` -/
smul_zero : ∀ a : M, a • (0 : A) = 0
/-- Scalar multiplication distributes across addition -/
Expand All @@ -231,7 +231,6 @@ section
variable [Monoid M] [AddMonoid A] [DistribMulAction M A]

-- See note [lower instance priority]
set_option synthInstance.checkSynthOrder false in
instance (priority := 100) DistribMulAction.toDistribSMul
{M A} {_ : Monoid M} {_ : AddMonoid A} [DistribMulAction M A] : DistribSMul M A :=
{ ‹DistribMulAction M A› with }
Expand Down

0 comments on commit 1247737

Please sign in to comment.