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

40 declarations. Mathlib docs · Source

Ideals in a matrix ring

This file defines left (resp. two-sided) ideals in a matrix semiring (resp. ring) over left (resp. two-sided) ideals in the base semiring (resp. ring). We also characterize Jacobson radicals of ideals in such rings.

Main results

  • TwoSidedIdeal.equivMatrix and TwoSidedIdeal.orderIsoMatrix establish an order isomorphism between two-sided ideals in $R$ and those in $Mₙ(R)$.
  • TwoSidedIdeal.jacobson_matrix shows that $J(Mₙ(I)) = Mₙ(J(I))$ for any two-sided ideal $I ≤ R$.

Left ideals in a matrix semiring

Jacobson radicals of left ideals in a matrix ring

Two-sided ideals in a matrix ring

Jacobson radicals of two-sided ideals in a matrix ring

theorem TwoSidedIdeal.equivMatrix.congr_simp E1 #

∀ {R : Type u_1} {n : Type u_2} [inst : NonAssocRing R] [inst_1 : Fintype n] [inst_2 : Nonempty n]
  [inst_3 : DecidableEq n], TwoSidedIdeal.equivMatrix = TwoSidedIdeal.equivMatrix

def Ideal.matrix E1 #

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

The left ideal of matrices with entries in I ≤ R.

theorem Ideal.mem_matrix E0 #

∀ {R : Type u_1} [inst : Semiring R] (n : Type u_2) [inst_1 : Fintype n] [inst_2 : DecidableEq n] (I : Ideal R)
  (M : Matrix n n R), M ∈ Ideal.matrix n I ↔ ∀ (i j : n), M i j ∈ I

theorem Ideal.matrix_monotone E1 #

∀ {R : Type u_1} [inst : Semiring R] (n : Type u_2) [inst_1 : Fintype n] [inst_2 : DecidableEq n],
  Monotone (Ideal.matrix n)

theorem Ideal.matrix_strictMono_of_nonempty E1 #

∀ {R : Type u_1} [inst : Semiring R] (n : Type u_2) [inst_1 : Fintype n] [inst_2 : DecidableEq n] [Nonempty n],
  StrictMono (Ideal.matrix n)

theorem Ideal.matrix_bot E0 #

∀ {R : Type u_1} [inst : Semiring R] (n : Type u_2) [inst_1 : Fintype n] [inst_2 : DecidableEq n], Ideal.matrix n ⊥ = ⊥

theorem Ideal.matrix_top E0 #

∀ {R : Type u_1} [inst : Semiring R] (n : Type u_2) [inst_1 : Fintype n] [inst_2 : DecidableEq n], Ideal.matrix n ⊤ = ⊤

theorem Ideal.single_mem_jacobson_matrix E1 #

∀ {R : Type u_1} [inst : Ring R] {n : Type u_2} [inst_1 : Fintype n] [inst_2 : DecidableEq n] (I : Ideal R),
  ∀ x ∈ I.jacobson, ∀ (i j : n), Matrix.single i j x ∈ (Ideal.matrix n I).jacobson

A standard basis matrix is in $J(Mₙ(I))$ as long as its one possibly non-zero entry is in $J(I)$.

theorem Ideal.matrix_jacobson_le E1 #

∀ {R : Type u_1} [inst : Ring R] {n : Type u_2} [inst_1 : Fintype n] [inst_2 : DecidableEq n] (I : Ideal R),
  Ideal.matrix n I.jacobson ≤ (Ideal.matrix n I).jacobson

For any left ideal $I ≤ R$, we have $Mₙ(J(I)) ≤ J(Mₙ(I))$.

def RingCon.matrix E1 #

{R : Type u_1} →
  (n : Type u_2) → [inst : NonUnitalNonAssocSemiring R] → [inst_1 : Fintype n] → RingCon R → RingCon (Matrix n n R)

The ring congruence of matrices with entries related by c.

theorem RingCon.matrix_apply E0 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocSemiring R] [inst_1 : Fintype n] {c : RingCon R}
  {M N : Matrix n n R}, (RingCon.matrix n c) M N ↔ ∀ (i j : n), c (M i j) (N i j)

theorem RingCon.matrix_apply_single E0 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  {c : RingCon R} {i j : n} {x y : R}, (RingCon.matrix n c) (Matrix.single i j x) (Matrix.single i j y) ↔ c x y

theorem RingCon.matrix_monotone E1 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocSemiring R] [inst_1 : Fintype n], Monotone (RingCon.matrix n)

theorem RingCon.matrix_injective E1 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocSemiring R] [inst_1 : Fintype n] [Nonempty n],
  Function.Injective (RingCon.matrix n)

theorem RingCon.matrix_strictMono_of_nonempty E1 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocSemiring R] [inst_1 : Fintype n] [Nonempty n],
  StrictMono (RingCon.matrix n)

theorem RingCon.matrix_bot E0 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocSemiring R] [inst_1 : Fintype n], RingCon.matrix n ⊥ = ⊥

theorem RingCon.matrix_top E0 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocSemiring R] [inst_1 : Fintype n], RingCon.matrix n ⊤ = ⊤

def RingCon.ofMatrix E1 #

{R : Type u_1} →
  {n : Type u_2} →
    [inst : NonUnitalNonAssocSemiring R] → [inst_1 : Fintype n] → [DecidableEq n] → RingCon (Matrix n n R) → RingCon R

The congruence relation induced by c on single i j.

theorem RingCon.ofMatrix_rel E0 #

∀ {R : Type u_1} {n : Type u_2} [inst : NonUnitalNonAssocSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  {c : RingCon (Matrix n n R)} {x y : R}, c.ofMatrix x y ↔ ∀ (i j : n), c (Matrix.single i j x) (Matrix.single i j y)

theorem RingCon.ofMatrix_matrix E0 #

∀ {R : Type u_1} {n : Type u_2} [inst : NonUnitalNonAssocSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  [Nonempty n] (c : RingCon R), (RingCon.matrix n c).ofMatrix = c

theorem RingCon.matrix_ofMatrix E0 #

∀ {R : Type u_1} {n : Type u_2} [inst : NonAssocSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  (c : RingCon (Matrix n n R)), RingCon.matrix n c.ofMatrix = c

Note that this does not apply to a non-unital ring, with counterexample where the elementwise congruence relation !![⊤,⊤;⊤,(· ≡ · [PMOD 4])] is a ring congruence over Matrix (Fin 2) (Fin 2) 2ℤ.

theorem RingCon.ofMatrix_rel' E1 #

∀ {R : Type u_1} {n : Type u_2} [inst : NonAssocSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  {c : RingCon (Matrix n n R)} {x y : R} (i j : n), c.ofMatrix x y ↔ c (Matrix.single i j x) (Matrix.single i j y)

A version of ofMatrix_rel for a single matrix index, rather than all indices.

theorem RingCon.coe_ofMatrix_eq_relationMap E0 #

∀ {R : Type u_1} {n : Type u_2} [inst : NonAssocSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  {c : RingCon (Matrix n n R)} (i j : n), ⇑c.ofMatrix = Relation.Map (⇑c) (fun x ↦ x i j) fun x ↦ x i j

def TwoSidedIdeal.matrix E1 #

{R : Type u_1} →
  (n : Type u_2) →
    [inst : NonUnitalNonAssocRing R] → [inst_1 : Fintype n] → TwoSidedIdeal R → TwoSidedIdeal (Matrix n n R)

The two-sided ideal of matrices with entries in I ≤ R.

theorem TwoSidedIdeal.matrix_ringCon E0 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocRing R] [inst_1 : Fintype n] (I : TwoSidedIdeal R),
  (TwoSidedIdeal.matrix n I).ringCon = RingCon.matrix n I.ringCon

theorem TwoSidedIdeal.mem_matrix E0 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocRing R] [inst_1 : Fintype n] (I : TwoSidedIdeal R)
  (M : Matrix n n R), M ∈ TwoSidedIdeal.matrix n I ↔ ∀ (i j : n), M i j ∈ I

theorem TwoSidedIdeal.matrix_monotone E1 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocRing R] [inst_1 : Fintype n], Monotone (TwoSidedIdeal.matrix n)

theorem TwoSidedIdeal.matrix_strictMono_of_nonempty E1 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocRing R] [inst_1 : Fintype n] [h : Nonempty n],
  StrictMono (TwoSidedIdeal.matrix n)

theorem TwoSidedIdeal.matrix_bot E0 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocRing R] [inst_1 : Fintype n], TwoSidedIdeal.matrix n ⊥ = ⊥

theorem TwoSidedIdeal.matrix_top E0 #

∀ {R : Type u_1} (n : Type u_2) [inst : NonUnitalNonAssocRing R] [inst_1 : Fintype n], TwoSidedIdeal.matrix n ⊤ = ⊤

def TwoSidedIdeal.equivMatrix E3 #

{R : Type u_1} →
  {n : Type u_2} →
    [inst : NonAssocRing R] →
      [inst_1 : Fintype n] → [Nonempty n] → [DecidableEq n] → TwoSidedIdeal R ≃ TwoSidedIdeal (Matrix n n R)

Two-sided ideals in $R$ correspond bijectively to those in $Mₙ(R)$. Given an ideal $I ≤ R$, we send it to $Mₙ(I)$. Given an ideal $J ≤ Mₙ(R)$, we send it to ${Nᵢⱼ ∣ ∃ N ∈ J}$.

theorem TwoSidedIdeal.equivMatrix_symm_apply_ringCon E0 #

∀ {R : Type u_1} {n : Type u_2} [inst : NonAssocRing R] [inst_1 : Fintype n] [inst_2 : Nonempty n]
  [inst_3 : DecidableEq n] (J : TwoSidedIdeal (Matrix n n R)),
  (TwoSidedIdeal.equivMatrix.symm J).ringCon = J.ringCon.ofMatrix

theorem TwoSidedIdeal.equivMatrix_apply E0 #

∀ {R : Type u_1} {n : Type u_2} [inst : NonAssocRing R] [inst_1 : Fintype n] [inst_2 : Nonempty n]
  [inst_3 : DecidableEq n] (I : TwoSidedIdeal R), TwoSidedIdeal.equivMatrix I = TwoSidedIdeal.matrix n I

theorem TwoSidedIdeal.coe_equivMatrix_symm_apply E0 #

∀ {R : Type u_1} {n : Type u_2} [inst : NonAssocRing R] [inst_1 : Fintype n] [inst_2 : Nonempty n]
  [inst_3 : DecidableEq n] (I : TwoSidedIdeal (Matrix n n R)) (i j : n),
  ↑(TwoSidedIdeal.equivMatrix.symm I) = {x | ∃ N ∈ I, N i j = x}

def TwoSidedIdeal.orderIsoMatrix E3 #

{R : Type u_1} →
  {n : Type u_2} →
    [inst : NonAssocRing R] →
      [inst_1 : Fintype n] → [Nonempty n] → [DecidableEq n] → TwoSidedIdeal R ≃o TwoSidedIdeal (Matrix n n R)

Two-sided ideals in $R$ are order-isomorphic with those in $Mₙ(R)$. See also equivMatrix.

theorem TwoSidedIdeal.orderIsoMatrix_apply_ringCon_r E0 #

∀ {R : Type u_1} {n : Type u_2} [inst : NonAssocRing R] [inst_1 : Fintype n] [inst_2 : Nonempty n]
  [inst_3 : DecidableEq n] (I : TwoSidedIdeal R) (M N : Matrix n n R),
  (TwoSidedIdeal.orderIsoMatrix I).ringCon.toSetoid M N = ∀ (i j : n), I.ringCon (M i j) (N i j)

theorem TwoSidedIdeal.orderIsoMatrix_symm_apply_ringCon_r E0 #

∀ {R : Type u_1} {n : Type u_2} [inst : NonAssocRing R] [inst_1 : Fintype n] [inst_2 : Nonempty n]
  [inst_3 : DecidableEq n] (J : TwoSidedIdeal (Matrix n n R)) (x y : R),
  ((RelIso.symm TwoSidedIdeal.orderIsoMatrix) J).ringCon.toSetoid x y =
    ∀ (i j : n), J.ringCon (Matrix.single i j x) (Matrix.single i j y)

theorem TwoSidedIdeal.asIdeal_matrix E1 #

∀ {R : Type u_1} (n : Type u_2) [inst : Ring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (I : TwoSidedIdeal R),
  TwoSidedIdeal.asIdeal (TwoSidedIdeal.matrix n I) = Ideal.matrix n (TwoSidedIdeal.asIdeal I)

theorem TwoSidedIdeal.jacobson_matrix E3 #

∀ {R : Type u_1} [inst : Ring R] {n : Type u_2} [inst_1 : Fintype n] [inst_2 : DecidableEq n] (I : TwoSidedIdeal R),
  (TwoSidedIdeal.matrix n I).jacobson = TwoSidedIdeal.matrix n I.jacobson

For any two-sided ideal $I ≤ R$, we have $J(Mₙ(I)) = Mₙ(J(I))$.

theorem TwoSidedIdeal.matrix_jacobson_bot E1 #

∀ {R : Type u_1} [inst : Ring R] {n : Type u_2} [inst_1 : Fintype n] [inst_2 : DecidableEq n],
  TwoSidedIdeal.matrix n ⊥.jacobson = ⊥.jacobson