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

15 declarations. Mathlib docs · Source

One by one matrices

This file proves that one by one matrices over a base are equivalent to the base itself under the canonical map that sends a one by one matrix !![a] to a.

Main results

  • Matrix.uniqueRingEquiv
  • Matrix.uniqueAlgEquiv

Tags

Matrix, Unique, AlgEquiv

def Matrix.uniqueEquiv E1 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_3} → [Unique m] → [Unique n] → Matrix m n A ≃ A

The isomorphism between the type of all one by one matrices and the base type.

theorem Matrix.uniqueEquiv_symm_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_3} [inst : Unique m] [inst_1 : Unique n] (a : A),
  Matrix.uniqueEquiv.symm a = Matrix.of fun x x_1 ↦ a

theorem Matrix.uniqueEquiv_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_3} [inst : Unique m] [inst_1 : Unique n] (M : Matrix m n A),
  Matrix.uniqueEquiv M = M default default

def Matrix.uniqueAddEquiv E1 #

{m : Type u_1} → {n : Type u_2} → {A : Type u_3} → [Unique m] → [Unique n] → [inst : Add A] → Matrix m n A ≃+ A

The obvious additive isomorphism between M₁(A) and A, if A has an addition.

theorem Matrix.uniqueAddEquiv_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_3} [inst : Unique m] [inst_1 : Unique n] [inst_2 : Add A]
  (M : Matrix m n A), Matrix.uniqueAddEquiv M = M default default

theorem Matrix.uniqueAddEquiv_symm_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_3} [inst : Unique m] [inst_1 : Unique n] [inst_2 : Add A] (a : A),
  Matrix.uniqueAddEquiv.symm a = Matrix.of fun x x_1 ↦ a

def Matrix.uniqueLinearEquiv E1 #

{m : Type u_1} →
  {n : Type u_2} →
    {A : Type u_3} →
      {R : Type u_4} →
        [Unique m] →
          [Unique n] → [inst : Semiring R] → [inst_1 : AddCommMonoid A] → [inst_2 : Module R A] → Matrix m n A ≃ₗ[R] A

M₁(A) is linearly equivalent to A as an R-module where R is a semiring.

theorem Matrix.uniqueLinearEquiv_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_3} {R : Type u_4} [inst : Unique m] [inst_1 : Unique n]
  [inst_2 : Semiring R] [inst_3 : AddCommMonoid A] [inst_4 : Module R A] (a : Matrix m n A),
  Matrix.uniqueLinearEquiv a = Matrix.uniqueAddEquiv.toFun a

theorem Matrix.uniqueLinearEquiv_symm_apply E0 #

∀ {m : Type u_1} {n : Type u_2} {A : Type u_3} {R : Type u_4} [inst : Unique m] [inst_1 : Unique n]
  [inst_2 : Semiring R] [inst_3 : AddCommMonoid A] [inst_4 : Module R A] (a : A),
  Matrix.uniqueLinearEquiv.symm a = Matrix.uniqueAddEquiv.invFun a

def Matrix.uniqueRingEquiv E3 #

{m : Type u_1} → {A : Type u_3} → [inst : Unique m] → [inst_1 : NonUnitalNonAssocSemiring A] → Matrix m m A ≃+* A

M₁(A) and A are equivalent as rings.

theorem Matrix.uniqueRingEquiv_apply E0 #

∀ {m : Type u_1} {A : Type u_3} [inst : Unique m] [inst_1 : NonUnitalNonAssocSemiring A] (M : Matrix m m A),
  Matrix.uniqueRingEquiv M = M default default

theorem Matrix.uniqueRingEquiv_symm_apply E0 #

∀ {m : Type u_1} {A : Type u_3} [inst : Unique m] [inst_1 : NonUnitalNonAssocSemiring A] (a : A),
  Matrix.uniqueRingEquiv.symm a = Matrix.of fun x x_1 ↦ a

def Matrix.uniqueAlgEquiv E3 #

{m : Type u_1} →
  {A : Type u_3} →
    {R : Type u_4} →
      [inst : Unique m] →
        [inst_1 : Semiring A] → [inst_2 : CommSemiring R] → [inst_3 : Algebra R A] → Matrix m m A ≃ₐ[R] A

M₁(A) is equivalent to A as an R-algebra.

theorem Matrix.uniqueAlgEquiv_apply E0 #

∀ {m : Type u_1} {A : Type u_3} {R : Type u_4} [inst : Unique m] [inst_1 : Semiring A] [inst_2 : CommSemiring R]
  [inst_3 : Algebra R A] (M : Matrix m m A), Matrix.uniqueAlgEquiv M = M default default

theorem Matrix.uniqueAlgEquiv_symm_apply E0 #

∀ {m : Type u_1} {A : Type u_3} {R : Type u_4} [inst : Unique m] [inst_1 : Semiring A] [inst_2 : CommSemiring R]
  [inst_3 : Algebra R A] (a : A), Matrix.uniqueAlgEquiv.symm a = Matrix.of fun x x_1 ↦ a