Skip to content

Commit

Permalink
perf (Subalgebra.Basic): de-prioritize Subalgebra.module' (#9655)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrobball committed Jan 11, 2024
1 parent d191734 commit bb3b00a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Mathlib/Algebra/Algebra/Subalgebra/Basic.lean
Expand Up @@ -360,7 +360,8 @@ section
/-! `Subalgebra`s inherit structure from their `Submodule` coercions. -/


instance module' [Semiring R'] [SMul R' R] [Module R' A] [IsScalarTower R' R A] : Module R' S :=
instance (priority := low) module' [Semiring R'] [SMul R' R] [Module R' A] [IsScalarTower R' R A] :
Module R' S :=
S.toSubmodule.module'
#align subalgebra.module' Subalgebra.module'

Expand Down

0 comments on commit bb3b00a

Please sign in to comment.