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.ElementaryRowOperations

23 declarations. Mathlib docs · Source

theorem Matrix.rowScale.congr_simp E1 #

∀ {R : Type u_1} {m : Type u_2} {inst : DecidableEq m} [inst_1 : DecidableEq m] [inst_2 : Zero R] [inst_3 : One R]
  (i i_1 : m),
  i = i_1 →
    ∀ (c c_1 : R),
      c = c_1 →
        ∀ (a a_1 : m),
          a = a_1 → ∀ (a_2 a_3 : m), a_2 = a_3 → Matrix.rowScale i c a a_2 = Matrix.rowScale i_1 c_1 a_1 a_3

def Matrix.rowScale E1 #

{R : Type u_1} → {m : Type u_2} → [DecidableEq m] → [Zero R] → [One R] → m → R → Matrix m m R

The elementary matrix scaling row i by c.

theorem Matrix.rowScale_one E0 #

∀ {R : Type u_1} {m : Type u_2} [inst : DecidableEq m] [inst_1 : Zero R] [inst_2 : One R] (i : m),
  Matrix.rowScale i 1 = 1

theorem Matrix.rowScale_apply_same E0 #

∀ {R : Type u_1} {m : Type u_2} [inst : DecidableEq m] [inst_1 : Zero R] [inst_2 : One R] (i : m) (c : R),
  Matrix.rowScale i c i i = c

theorem Matrix.rowScale_apply_diag_of_ne E0 #

∀ {R : Type u_1} {m : Type u_2} [inst : DecidableEq m] [inst_1 : Zero R] [inst_2 : One R] {i a : m},
  a ≠ i → ∀ (c : R), Matrix.rowScale i c a a = 1

theorem Matrix.rowScale_apply_ne E0 #

∀ {R : Type u_1} {m : Type u_2} [inst : DecidableEq m] [inst_1 : Zero R] [inst_2 : One R] {i a b : m},
  a ≠ b → ∀ (c : R), Matrix.rowScale i c a b = 0

theorem Matrix.rowScale_mul E1 #

∀ {R : Type u_1} {m : Type u_2} {n : Type u_3} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m] (i : m)
  (c : R) (M : Matrix m n R), Matrix.rowScale i c * M = M.updateRow i (c • M.row i)

theorem Matrix.mul_rowScale E1 #

∀ {R : Type u_1} {m : Type u_2} {n : Type u_3} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m] (i : m)
  (c : R) (M : Matrix n m R), M * Matrix.rowScale i c = M.updateCol i (c • M.col i)

theorem Matrix.rowScale_mul_rowScale E0 #

∀ {R : Type u_1} {m : Type u_2} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m] (i : m) (c d : R),
  Matrix.rowScale i c * Matrix.rowScale i d = Matrix.rowScale i (c * d)

def Matrix.GeneralLinearGroup.rowScale E1 #

{R : Type u_1} →
  {m : Type u_2} → [inst : DecidableEq m] → [inst_1 : CommRing R] → [inst_2 : Fintype m] → m → Rˣ → GL m R

Matrix.rowScale as an element of GL m R.

theorem Matrix.GeneralLinearGroup.val_rowScale E0 #

∀ {R : Type u_1} {m : Type u_2} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m] (i : m) (c : Rˣ),
  ↑(Matrix.GeneralLinearGroup.rowScale i c) = Matrix.rowScale i ↑c

theorem Matrix.GeneralLinearGroup.map_rowScale E0 #

∀ {R : Type u_1} {m : Type u_2} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m] {S : Type u_4}
  [inst_3 : CommRing S] (f : R →+* S) (i : m) (c : Rˣ),
  (Matrix.GeneralLinearGroup.map f) (Matrix.GeneralLinearGroup.rowScale i c) =
    Matrix.GeneralLinearGroup.rowScale i ((Units.map ↑f) c)

def Matrix.GeneralLinearGroup.transvection E1 #

{R : Type u_1} →
  {m : Type u_2} →
    [inst : DecidableEq m] → [inst_1 : CommRing R] → [inst_2 : Fintype m] → (i j : m) → i ≠ j → R → GL m R

Matrix.transvection as an element of GL.

theorem Matrix.GeneralLinearGroup.val_transvection E0 #

∀ {R : Type u_1} {m : Type u_2} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m] (i j : m) (h : i ≠ j)
  (c : R), ↑(Matrix.GeneralLinearGroup.transvection i j h c) = Matrix.transvection i j c

abbrev Matrix.RowEquivalent E1 #

{R : Type u_1} →
  {m : Type u_2} → {n : Type u_3} → [DecidableEq m] → [CommRing R] → [Fintype m] → Matrix m n R → Matrix m n R → Prop

Row-equivalence via the left action of GL m R on Matrix m n R.

theorem Matrix.rowEquivalent_iff_associated_op_op E1 #

∀ {R : Type u_1} {m : Type u_2} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m] {A B : Matrix m m R},
  A.RowEquivalent B ↔ Associated (MulOpposite.op A) (MulOpposite.op B)

theorem Matrix.RowEquivalent.refl E1 #

∀ {R : Type u_1} {m : Type u_2} {n : Type u_3} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m]
  (A : Matrix m n R), A.RowEquivalent A

theorem Matrix.RowEquivalent.symm E1 #

∀ {R : Type u_1} {m : Type u_2} {n : Type u_3} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m]
  {A B : Matrix m n R}, A.RowEquivalent B → B.RowEquivalent A

theorem Matrix.RowEquivalent.trans E1 #

∀ {R : Type u_1} {m : Type u_2} {n : Type u_3} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m]
  {A B C : Matrix m n R}, A.RowEquivalent B → B.RowEquivalent C → A.RowEquivalent C

def Matrix.RowEquivalent.setoid E1 #

{R : Type u_1} → {m : Type u_2} → {n : Type u_3} → [DecidableEq m] → [CommRing R] → [Fintype m] → Setoid (Matrix m n R)

The row-equivalence relation as a scoped setoid instance.

theorem Matrix.rowEquivalent_swap E1 #

∀ {R : Type u_1} {m : Type u_2} {n : Type u_3} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m]
  (A : Matrix m n R) (i j : m), A.RowEquivalent (Matrix.swap R i j * A)

theorem Matrix.rowEquivalent_rowScale E1 #

∀ {R : Type u_1} {m : Type u_2} {n : Type u_3} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m]
  (A : Matrix m n R) (i : m) (c : Rˣ), A.RowEquivalent (Matrix.rowScale i ↑c * A)

theorem Matrix.rowEquivalent_transvection E1 #

∀ {R : Type u_1} {m : Type u_2} {n : Type u_3} [inst : DecidableEq m] [inst_1 : CommRing R] [inst_2 : Fintype m]
  (A : Matrix m n R) (i j : m), i ≠ j → ∀ (c : R), A.RowEquivalent (Matrix.transvection i j c * A)