Skip to content

Commit

Permalink
chore(linear_algebra/alternating): add an is_central_scalar instance (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-wieser committed Jul 15, 2022
1 parent fc63bdd commit 0807d66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/linear_algebra/alternating.lean
Expand Up @@ -193,6 +193,10 @@ instance : has_smul S (alternating_map R M N ι) :=
lemma coe_fn_smul (c : S) (f : alternating_map R M N ι) : ⇑(c • f) = c • f :=
rfl

instance [distrib_mul_action Sᵐᵒᵖ N] [is_central_scalar S N] :
is_central_scalar S (alternating_map R M N ι) :=
⟨λ c f, ext $ λ x, op_smul_eq_smul _ _⟩

end has_smul

instance : has_add (alternating_map R M N ι) :=
Expand Down

0 comments on commit 0807d66

Please sign in to comment.