The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V07. Linear algebra

Mathlib.LinearAlgebra.Matrix.Action

11 declarations. Mathlib docs · Source

Actions by matrices on vectors through *ᵥ and ᵥ*, cast as Modules

This file provides the left- and right- module structures of square matrices on vectors, via Matrix.mulVec and Matrix.vecMul.

*ᵥ as a left-module

*ᵥ as a right-module

instance Matrix.instModuleForall E0 #

{n : Type u_1} →
  {R : Type u_2} → [inst : Fintype n] → [inst_1 : DecidableEq n] → [inst_2 : Semiring R] → Module (Matrix n n R) (n → R)

theorem Matrix.smul_eq_mulVec E0 #

∀ {n : Type u_1} {R : Type u_2} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : Semiring R] (A : Matrix n n R)
  (v : n → R), A • v = A.mulVec v

instance Matrix.instSMulCommClassForall E0 #

∀ {n : Type u_1} {R : Type u_2} {S : Type u_3} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : Semiring R]
  [inst_3 : DistribSMul S R] [SMulCommClass R S R], SMulCommClass (Matrix n n R) S (n → R)

instance Matrix.instSMulCommClassForall_1 E0 #

∀ {n : Type u_1} {R : Type u_2} {S : Type u_3} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : Semiring R]
  [inst_3 : DistribSMul S R] [SMulCommClass S R R], SMulCommClass S (Matrix n n R) (n → R)

instance Matrix.instIsScalarTowerForall E0 #

∀ {n : Type u_1} {R : Type u_2} {S : Type u_3} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : Semiring R]
  [inst_3 : DistribSMul S R] [IsScalarTower S R R], IsScalarTower S (Matrix n n R) (n → R)

theorem Matrix.ext_iff_smul E1 #

∀ {n : Type u_1} {R : Type u_2} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : Semiring R] {A B : Matrix n n R},
  A = B ↔ ∀ (v : n → R), A • v = B • v

instance Matrix.instModuleMulOppositeForall E0 #

{n : Type u_1} →
  {R : Type u_2} →
    [inst : Fintype n] → [inst_1 : DecidableEq n] → [inst_2 : Semiring R] → Module (Matrix n n R)ᵐᵒᵖ (n → R)

theorem Matrix.op_smul_eq_vecMul E0 #

∀ {n : Type u_1} {R : Type u_2} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : Semiring R]
  (A : (Matrix n n R)ᵐᵒᵖ) (v : n → R), A • v = Matrix.vecMul v (MulOpposite.unop A)

instance Matrix.instSMulCommClassMulOppositeForallOfIsScalarTower E0 #

∀ {n : Type u_1} {R : Type u_2} {S : Type u_3} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : Semiring R]
  [inst_3 : DistribSMul S R] [IsScalarTower S R R], SMulCommClass (Matrix n n R)ᵐᵒᵖ S (n → R)

instance Matrix.instSMulCommClassMulOppositeForallOfIsScalarTower_1 E0 #

∀ {n : Type u_1} {R : Type u_2} {S : Type u_3} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : Semiring R]
  [inst_3 : DistribSMul S R] [IsScalarTower S R R], SMulCommClass S (Matrix n n R)ᵐᵒᵖ (n → R)

instance Matrix.instIsScalarTowerMulOppositeForallOfSMulCommClass E0 #

∀ {n : Type u_1} {R : Type u_2} {S : Type u_3} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : Semiring R]
  [inst_3 : DistribSMul S R] [SMulCommClass S R R], IsScalarTower S (Matrix n n R)ᵐᵒᵖ (n → R)