Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/abstr/   (Mizar Prover Version 8.1.15©)  Datei vom 6.10.2026 mit Größe 15 kB image not shown  

Quelle  matgrp_0.abs   Sprache: Mizar

 

:: General Linear Group over Arbitrary Rings
::  by Alexander M. Nelson
:: 
:: Received June 18, 2026
:: Copyright (c) 2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 4.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/4.0/.

environ

 vocabularies SETWISEO, RVSUM_1, FVSUM_1, INCSP_1, QC_LANG1, MSSUBFAM, ARYTM_3,
      FUNCT_1, FUNCT_2, RELAT_1, RLVECT_1, VECTSP_1, VECTSP_2, ALGSTR_0,
      XBOOLE_0, TARSKI, STRUCT_0, SUBSET_1, SUPINF_2, NAT_1, MESFUNC1, FDIFF_1,
      QUOFIELD, C0SP1, ORDINAL4, RING_3, MOD_4, GROUP_1, GROUP_2, GROUP_5,
      ARYTM_1, FINSEQ_1, FINSEQ_2, FINSEQOP, BINOP_1, LATTICES, CARD_1, CARD_3,
      NUMBERS, REALSET1, ZFMISC_1, FUNCSDOM, XXREAL_0, TREES_1, WELLORD1,
      MATRIX_1, MATRIX_6, GROUP_6, UNIROOTS, MATGRP_0;
 notations NUMBERS, TARSKI, SETWISEO, XBOOLE_0, ZFMISC_1, SUBSET_1, DOMAIN_1,
      FUNCT_1, RELSET_1, PARTFUN1, FUNCT_2, BINOP_1, REALSET1, FINSEQ_1,
      FINSEQ_2, FINSEQOP, ORDINAL1, XCMPLX_0, XXREAL_0, VECTSP_1, STRUCT_0,
      ALGSTR_0, RINGCAT1, MOD_4, QUOFIELD, C0SP1, GROUP_1, RLVECT_1, GCD_1,
      GROUP_5, WEDDWITT, GROUP_6, GROUP_2, RING_3, MATRIX_0, FVSUM_1, MATRIX_3,
      MATRIX_1, MATRIX_6, UNIROOTS;
 constructors SETWISEO, RELSET_1, GCD_1, MATRLIN2, RING_3, RINGCAT1, GROUP_5,
      WEDDWITT, REALSET1, FVSUM_1, MATRIX_6, UNIROOTS, FINSEQOP, MATRIX_1,
      MATRIX_3;
 registrations XBOOLE_0, ORDINAL1, RELSET_1, XREAL_0, NAT_1, FINSEQ_1,
      FINSEQ_2, STRUCT_0, VECTSP_1, ALGSTR_1, SUBSET_1, RELAT_1, ALGSTR_0,
      RLVECT_1, REALSET1, XXREAL_0, FUNCT_1, CARD_1, GR_CY_1, GROUP_2,
      WEDDWITT, RING_2, MATRIX_0, MATRIX_1, MATRIX_6, MOD_4, FUNCT_2, RINGCAT1,
      MATRIX_3;
 requirements NUMERALS, SUBSET, BOOLE, REAL, ARITHM;


begin :: Results about Ring Morphisms

:: Dedicated in loving memory of Kent Woodward

 reserve R for Ring;
 reserve L for associative right_unital non empty multLoopStr;
 reserve n for Nat;
 reserve S for Subring of R;

theorem :: MATGRP_0:1
  for R1,R2 being Ring
  for phi being Function of R1,R2 st phi is linear
  holds phi.(1.R1) = 1.R2;

theorem :: MATGRP_0:2
  for R1,R2 being Ring
  st R1,R2 are_isomorphic
  holds R2 is R1-isomorphic & R1 is R2-isomorphic;

theorem :: MATGRP_0:3
  for R1,R2 being Ring
  for phi being Function of R1,R2 st phi is isomorphism
  for psi being Function of R2,R1 st psi = phi"
  holds psi is bijective;

theorem :: MATGRP_0:4
  for R1,R2 being Ring
  for phi being Function of R1,R2 st phi is isomorphism
  for x being Element of R1 st phi.x = 1.R2
  holds x = 1.R1;

begin :: Centers of Groups and Rings

theorem :: MATGRP_0:5
  for G1,G2 being Group
  st G1,G2 are_isomorphic
  holds center G1, center G2 are_isomorphic;

registration
  let R;
  cluster strict commutative non empty for Subring of R;
end;

definition
  let R;
  redefine func center R -> strict commutative non empty Subring of R;
end;

theorem :: MATGRP_0:6
  for R being commutative Ring
  for x being object st x in R
  holds x in center R;

theorem :: MATGRP_0:7
  for R being commutative Ring
  for x being Element of R
  holds x in center R;

theorem :: MATGRP_0:8
  for R being commutative Ring
  holds the carrier of center R = the carrier of R;

theorem :: MATGRP_0:9
  for R being strict commutative Ring
  holds center R = R;

begin :: Some results about matrix operations

theorem :: MATGRP_0:10
  for m being Nat
  for A being Matrix of R
  st width (0.(R, m, len A)) = len A
  holds (0.(R, m, len A)) * A = 0.(R, m, width A);

theorem :: MATGRP_0:11
  for n being Nat, R being Ring,A being Matrix of R
  st n = width 0.(R,width A,n)
  holds A*(0.(R,width A,n)) = 0.(R,len A,n);

theorem :: MATGRP_0:12
  for i,k,m,n being Nat
  for A being Matrix of m,n,R
  st i in dom 0.(R,m)
  holds Line(0.(R,m), i) "*" Col(A, k) = 0.R;

theorem :: MATGRP_0:13
  for i,k,m,n being Nat
  for A being Matrix of m,n,R
  st k in dom 0.(R,n)
  holds Line(A, i) "*" Col(0.(R,n), k) = 0.R;

theorem :: MATGRP_0:14
  for i,k,m,n being Nat
  for A being Matrix of m,n,R
  st i in dom 1.(R,m) & i in dom A
  holds Line(1.(R,m),i) "*" Col(A,k) = A * (i,k);

theorem :: MATGRP_0:15
  for i,k,m,n being Nat
  for A being Matrix of m,n,R
  st k in dom A & k in dom 1.(R,n)
  holds Line(A,i) "*" Col(1.(R,n),k) = A * (i,k);

theorem :: MATGRP_0:16
  for k,m being Nat st k = 0 implies m = 0
  for r being Element of R
  for A being Matrix of k,m,R
  for B being Matrix of m,n,R
  holds A*(r*B) = (A*r)*B;

theorem :: MATGRP_0:17
  for r1,r2 being Element of R
  for A being Matrix of R
  holds (r1*A)*r2 = r1*(A*r2);

theorem :: MATGRP_0:18
  for r1,r2 being Element of R
  for A being Matrix of R
  holds r1*(r2*A) = (r1*r2)*A;

:: MATRIX_5:24 generalized and weakened
theorem :: MATGRP_0:19
  for r being Element of R
  holds r * 0.(R,n) = 0.(R,n);

theorem :: MATGRP_0:20
  for k,m being Nat st k = 0 implies m = 0
  for r being Element of R
  for A being Matrix of k,m,R
  for B being Matrix of m,n,R
  holds (r*A)*B = r*(A*B);

theorem :: MATGRP_0:21
  for A being Matrix of R
  for r being Element of R
  holds (-r)*A = -(r * A);

theorem :: MATGRP_0:22 ::: similar to MATRIX_3:18
  for A being Matrix of R holds (1.R) * A = A;

begin :: Results about 1-by-1 matrices

theorem :: MATGRP_0:23
  for D being non empty set
  for M being Matrix of 1,D
  holds M = <* <* (M * (1,1)) *> *>;

theorem :: MATGRP_0:24
  for L being non empty ZeroOneStr
  holds 1.(L, 1) = <*<* (1.L) *>*>;

theorem :: MATGRP_0:25
  for x,y being Element of R
  for M1,M2 being Matrix of 1,R
  st M1 = <*<* x *>*> & M2 = <*<* y *>*>
  holds M1*M2 = <*<*(x * y)*>*>;

theorem :: MATGRP_0:26
  for x,y being Element of R
  for M1,M2 being Matrix of 1,R
  st M1 = <*<* x *>*> & M2 = <*<* y *>*>
  holds M1 + M2 = <*<*(x + y)*>*>;

theorem :: MATGRP_0:27
  for r,s being Element of R
  holds r * <*<* s *>*> = <*<* (r * s) *>*>
  & <*<* s *>*> * r = <*<* (s * r) *>*>;

theorem :: MATGRP_0:28
  for Y being Matrix of 1,R
  holds Y = (Y * (1,1)) * 1.(R,1);

begin :: Canonical basis for matrices

::$N Bourbaki, Algebra~\cite{BourbakiAlgI}, II 10.3 defines these as E_{i,j}
definition
  let R be non empty ZeroOneStr;
  let I,K,i,k be Nat;
  func canMat (i,k,I,K,R) -> Matrix of I,K,R means
:: MATGRP_0:def 1
  for i2,k2 being Nat st [i2,k2] in Indices it
  holds ([i,k] = [i2,k2] implies it * (i2,k2) = 1.R)
  & ([i,k] <> [i2,k2] implies it * (i2,k2) = 0.R);
end;

theorem :: MATGRP_0:29
  for I,K,i,k,i2,k2 being Nat
  st [i2,k2] in Indices canMat(i,k,I,K,R)
  holds (i <> i2 implies canMat(i,k,I,K,R) * (i2,k2) = 0.R)
  & (k <> k2 implies canMat(i,k,I,K,R) * (i2,k2) = 0.R)
  & (i = i2 & k = k2 implies canMat(i,k,I,K,R) * (i2,k2) = 1.R);

theorem :: MATGRP_0:30
  for I,K,i,k being Nat st not [i,k] in Indices canMat(i,k,I,K,R)
  holds canMat(i,k,I,K,R) = 0.(R, I, K);

theorem :: MATGRP_0:31
  for R being non empty ZeroOneStr
  for I,K being Nat st (I = 0 iff K = 0)
  for i,k being Nat
  holds (canMat(i,k,I,K,R))@ = canMat(k,i,K,I,R);

theorem :: MATGRP_0:32
  for i,k,I,K being Nat
  holds len canMat (i,k,I,K,R) = I
  & (I = 0 implies width canMat (i,k,I,K,R) = 0)
  & (I <> 0 implies width canMat (i,k,I,K,R) = K);

theorem :: MATGRP_0:33
  for I,K,i,k,i2 being Nat
  st [i2,k] in Indices canMat(i,k,I,K,R)
  holds (i2 = i implies Line(canMat(i,k,I,K,R), i2) = Line(1.(R,K), k))
  & (i2 <> i implies Line(canMat(i,k,I,K,R), i2) = Line(0.(R,K), k));

theorem :: MATGRP_0:34
  for I,K,i,k,k2 being Nat
  st [i,k2] in Indices canMat(i,k,I,K,R)
  holds (k2 = k implies Col(canMat(i,k,I,K,R), k2) = Col(1.(R,I), i))
  & (k2 <> k implies Col(canMat(i,k,I,K,R), k2) = Col(0.(R,I), i));

::$N Bourbaki, Algebra~\cite{BourbakiAlgI}, II 10.3 equation (9)
theorem :: MATGRP_0:35
  for I,K,L being Nat st I <> 0 & K <> 0
  for i,k1,k2,l being Nat st k1 <> k2
  holds (canMat (i,k1,I,K,R)) * (canMat(k2,l,K,L,R)) = 0.(R,I,L);

::$N Bourbaki, Algebra~\cite{BourbakiAlgI}, II 10.3 equation (9)
theorem :: MATGRP_0:36
  for I,K,L,i,k,l being Nat st i in Seg I & k in Seg K & l in Seg L
  holds (canMat (i,k,I,K,R)) * (canMat(k,l,K,L,R)) = canMat(i,l,I,L,R);

theorem :: MATGRP_0:37
  for I,K,L being Nat st I = 0 implies K = 0
  for i,k,l being Nat st k in Seg K
  holds (canMat (i,k,I,K,R)) * (canMat(k,l,K,L,R)) = canMat(i,l,I,L,R);

definition
  let R,n;
  let i,k be Nat;
  func canMat (i,k,n,R) -> Matrix of n,R equals
:: MATGRP_0:def 2
  canMat(i,k,n,n,R);
end;

theorem :: MATGRP_0:38
  for i,k,i2,k2 being Nat
  st [i2,k2] in Indices canMat(i,k,n,R)
  holds (i <> i2 implies canMat(i,k,n,R) * (i2,k2) = 0.R)
  & (k <> k2 implies canMat(i,k,n,R) * (i2,k2) = 0.R)
  & (i = i2 & k = k2 implies canMat(i,k,n,R) * (i2,k2) = 1.R);

theorem :: MATGRP_0:39
  for I,i,j1,j2,k being Nat st j1 <> j2
  holds (canMat(i,j1,I,R)) * (canMat(j2,k,I,R)) = 0.(R,I);

theorem :: MATGRP_0:40
  for i,j being Nat st not [i,j] in Indices canMat(i,j,n,R)
  holds canMat(i,j,n,R) = 0.(R,n);

theorem :: MATGRP_0:41
  for i,k,l being Nat st k in Seg n
  holds (canMat(i,k,n,R)) * (canMat(k,l,n,R)) = canMat(i,l,n,R);

theorem :: MATGRP_0:42
  for i,j being Nat st [i,j] in Indices canMat(i,j,n,R)
  for A being Matrix of n,R
  for i2,j2 being Nat st [i2,j2] in Indices A
  holds (i = i2 implies ((canMat(i,j,n,R)) * A) * (i2,j2) = A * (j,j2))
  & (i <> i2 implies ((canMat(i,j,n,R)) * A) * (i2,j2) = 0.R);

theorem :: MATGRP_0:43
  for i,j being Nat st [i,j] in Indices canMat(i,j,n,R)
  for A being Matrix of n,R
  for i2,j2 being Nat st [i2,j2] in Indices A
  holds (j = j2 implies (A * (canMat(i,j,n,R))) * (i2,j2) = A * (i2,i))
  & (j <> j2 implies (A * (canMat(i,j,n,R))) * (i2,j2) = 0.R);

theorem :: MATGRP_0:44
  for r being Element of R
  for i,j being Nat
  holds canMat(i,j,n,R)*r = r*canMat(i,j,n,R);

theorem :: MATGRP_0:45
  for i,j being Nat st i <> j
  for r being Element of R
  holds 1.(R,n) + r*canMat(i,j,n,R) is invertible Matrix of n,R;

theorem :: MATGRP_0:46
  for i,j being Nat
  for r being Element of R
  for A being Matrix of n,R
  holds A * (1.(R,n) + r*canMat(i,j,n,R)) = (1.(R,n) + r*canMat(i,j,n,R)) * A
  iff A * (r*canMat(i,j,n,R)) = (r*canMat(i,j,n,R)) * A;

theorem :: MATGRP_0:47
  for i,j being Nat
  for A being Matrix of n,R
  holds A * (1.(R,n) + canMat(i,j,n,R)) = (1.(R,n) + canMat(i,j,n,R)) * A
  iff A * canMat(i,j,n,R) = canMat(i,j,n,R) * A;

:: Now we can prove canMat(i,j,n,R) is triangular when i <> j
theorem :: MATGRP_0:48
  for i,j being Nat st i > j
  holds canMat(i,j,n,R) is lower_triangular;

theorem :: MATGRP_0:49
  for i,j being Nat st i < j
  holds canMat(i,j,n,R) is upper_triangular;

theorem :: MATGRP_0:50
  for i,j being Nat st i > j
  for r being Element of R
  holds r*canMat(i,j,n,R) is lower_triangular;

theorem :: MATGRP_0:51
  for i,j being Nat st i < j
  for r being Element of R
  holds r*canMat(i,j,n,R) is upper_triangular;

theorem :: MATGRP_0:52
  for i,j being Nat st i > j
  for r being Element of R
  holds 1.(R,n) + r*canMat(i,j,n,R) is lower_triangular;

theorem :: MATGRP_0:53
  for i,j being Nat st i < j
  for r being Element of R
  holds 1.(R,n) + r*canMat(i,j,n,R) is upper_triangular;

theorem :: MATGRP_0:54
  for i,j being Nat st i > j
  for r being Element of R
  holds canMat(i,j,n,R)*r is lower_triangular;

theorem :: MATGRP_0:55
  for i,j being Nat st i < j
  for r being Element of R
  holds canMat(i,j,n,R)*r is upper_triangular;

theorem :: MATGRP_0:56
  for i,j being Nat st i > j
  for r being Element of R
  holds 1.(R,n) + canMat(i,j,n,R)*r is lower_triangular;

theorem :: MATGRP_0:57
  for i,j being Nat st i < j
  for r being Element of R
  holds 1.(R,n) + canMat(i,j,n,R)*r is upper_triangular;

begin :: Matrix-membered structures and sets

reserve L for non empty doubleLoopStr;

definition
  let L be non empty 1-sorted;
  let n;
  let IT be set;
  attr IT is (n,L)-matrix-membered means
:: MATGRP_0:def 3
  for x being object st x in IT holds x is Matrix of n,L;
end;

registration
  let L,n;
  cluster n-Matrices_over L -> (n, L)-matrix-membered;
end;

theorem :: MATGRP_0:58
  for L being non empty 1-sorted
  holds n-tuples_on (n-tuples_on the carrier of L) is (n,L)-matrix-membered;

registration
  let L be non empty 1-sorted;
  let n;
  cluster non empty (n,L)-matrix-membered for set;
end;

definition
  let L be non empty 1-sorted;
  let n;
  let A be non empty (n, L)-matrix-membered set;
  redefine mode Element of A -> Matrix of n,L;
end;

definition
  let L be non empty 1-sorted;
  let n;
  let IT be 1-sorted;
  attr IT is (n,L)-matrix-membered means
:: MATGRP_0:def 4
  the carrier of IT is (n,L)-matrix-membered;
end;

theorem :: MATGRP_0:59
  for S being 1-sorted holds
  the carrier of S c= n-Matrices_over L iff S is (n,L)-matrix-membered;

registration
  let L be non empty 1-sorted;
  let n;
  cluster non empty (n,L)-matrix-membered for 1-sorted;
end;

registration
  let L,n;
  cluster strict non empty (n,L)-matrix-membered for 1-sorted;
end;

begin :: Matrix rings

definition
  let n;
  let L; :: be non empty doubleLoopStr;
  func matrix_mult (n,L) -> BinOp of n-Matrices_over L means
:: MATGRP_0:def 5
  for A,B being Element of n-Matrices_over L holds it.(A,B) = A*B;
end;

definition
  let n,L;
  func matrix_add (n,L) -> BinOp of n-Matrices_over L means
:: MATGRP_0:def 6
  for A,B being Element of n-Matrices_over L holds it.(A,B) = A + B;
end;

notation
   let L,n;
   synonym One(L,n) for 1.(L,n);
   synonym Zero(L,n) for 0.(L,n);
end;

definition
  let L,n;
  redefine func One(L,n) -> Element of n-Matrices_over L;
  redefine func Zero(L,n) -> Element of n-Matrices_over L;
end;

definition
  let L,n;
  func Matrix_ring(n, L) -> strict doubleLoopStr equals
:: MATGRP_0:def 7
  doubleLoopStr (# (n-Matrices_over L), matrix_add(n,L),
    matrix_mult(n,L),
    One(L,n),
    Zero(L,n) #);
end;

registration
  let L, n;
  cluster Matrix_ring(n, L) -> strict non empty (n,L)-matrix-membered;
end;

theorem :: MATGRP_0:60
  for x being object
  holds x is Element of Matrix_ring(n,L) iff x is Matrix of n,L;

registration
  let L;
  cluster Matrix_ring(0, L) -> trivial;
end;

theorem :: MATGRP_0:61
  for A,B being Matrix of n,L
  for X,Y being Element of Matrix_ring(n,L)
  st A = X & B = Y
  holds A + B = X + Y;

theorem :: MATGRP_0:62
  for X,Y being Matrix of n,L
  for x,y being Element of n-Matrices_over L
  st X = x & Y = y
  holds X * Y = matrix_mult(n,L).(x,y);

theorem :: MATGRP_0:63
  for A,B being Matrix of n,L
  for X,Y being Element of Matrix_ring(n,L)
  st A = X & B = Y
  holds A * B = X * Y;

theorem :: MATGRP_0:64
  for A,B,C being Matrix of n,R
  holds (A*B)*C = A*(B*C);

theorem :: MATGRP_0:65
  1.(L,n) is Element of Matrix_ring(n,L);

theorem :: MATGRP_0:66
  0.(L,n) is Element of Matrix_ring(n,L);

:: When (the addLoopStr of R) is an Abelian Group, Matrix_ring(n,R)
:: forms an Abelian group under addition
registration
  let n;
  let R be right_complementable Abelian add-associative right_zeroed
  non empty doubleLoopStr;
  cluster Matrix_ring(n,R) -> add-associative;
  cluster Matrix_ring(n,R) -> right_zeroed;
  cluster Matrix_ring(n,R) -> right_complementable;
  cluster Matrix_ring(n,R) -> Abelian;
end;

:: N.B.: the condition that R is a ring could be weakened, if...
registration
  let n, R;
  ::: MATRIX_3:18,19 are weakened to well-unital semirings
  cluster Matrix_ring(n,R) -> well-unital;
  ::: MATRIX_4:62,63 are weakened to distributive semirings
  cluster Matrix_ring(n,R) -> distributive;
  ::: MATRIX_3:33 is weakened to associative semirings
  cluster Matrix_ring(n,R) -> associative;
end;

theorem :: MATGRP_0:67
  Matrix_ring(1,R), R are_isomorphic;

begin :: Extension of underlying ring on the Matrix ring

theorem :: MATGRP_0:68
  for D,E being non empty set st D c= E
  for X being Matrix of D
  holds X is Matrix of E;

theorem :: MATGRP_0:69
  for m,n being Nat
  for D,E being non empty set st D c= E
  for X being Matrix of m,n,D
  holds X is Matrix of m,n,E;

theorem :: MATGRP_0:70
  for X being Matrix of n,S
  holds X is Matrix of n,R;

theorem :: MATGRP_0:71
  for S1,S2 being non empty 1-sorted
  for X being Matrix of n,S2
  for Y being Matrix of n,S1
  holds (for i,j being Nat st [i,j] in Indices X
         holds X * (i,j) = Y * (i,j))
  iff X = Y;

theorem :: MATGRP_0:72
  n-Matrices_over S c= n-Matrices_over R;

theorem :: MATGRP_0:73
  for a,b being Matrix of n,S
  for A,B being Matrix of n,R
  st a = A & b = B
  holds a + b = A + B;

theorem :: MATGRP_0:74
  matrix_add(n,S) = matrix_add(n,R) || (n-Matrices_over S);

theorem :: MATGRP_0:75
  for a being Matrix of n,S
  for A being Matrix of n,R
  st a = A
  for i being Nat st i in dom a
  holds Line(a, i) = Line(A, i);

theorem :: MATGRP_0:76
  for b being Matrix of n,S
  for B being Matrix of n,R
  st b = B
  for j being Nat st j in Seg width b
  holds Col(b, j) = Col(B, j);

theorem :: MATGRP_0:77
  for a being FinSequence of S
  for A being FinSequence of R
  st a = A
  holds Sum a = Sum A;

theorem :: MATGRP_0:78
  for a,b being FinSequence of S
  for A,B being FinSequence of R
  st a = A & b = B
  holds mlt(a,b) = mlt(A,B);

theorem :: MATGRP_0:79
  for a,b being Matrix of n,S
  for A,B being Matrix of n,R
  st a = A & b = B
  holds a * b = A * B;

theorem :: MATGRP_0:80
  matrix_mult(n,S) = matrix_mult(n,R) || (n-Matrices_over S);

theorem :: MATGRP_0:81
  0.(S,n) = 0.(R,n);

theorem :: MATGRP_0:82
  1.(S,n) = 1.(R,n);

theorem :: MATGRP_0:83
  One(S,n) = One(R,n) & Zero(S,n) = Zero(R,n);

::$N Extension of scalars for matrix rings
theorem :: MATGRP_0:84
  Matrix_ring(n,S) is Subring of Matrix_ring(n,R);

begin :: Center of the Matrix Ring

theorem :: MATGRP_0:85
  for z being Element of R st z in center R
  for A being Matrix of R
  holds A * z = z * A;

theorem :: MATGRP_0:86
  for z being Element of R st z in center R
  for A,B being Matrix of n,R
  st A*B = B*A
  holds A*(z*B) = (z*B)*A;

theorem :: MATGRP_0:87
  for z being Element of R st z in center R
  for A being Matrix of n,R
  holds A*(z*(1.(R,n))) = (z*(1.(R,n)))*A;

theorem :: MATGRP_0:88
  for x,y being Element of R
  holds (x * 1.(R,n)) * y = (x * y) * 1.(R,n);

theorem :: MATGRP_0:89
  for x,y being Element of R
  holds (x * 1.(R,n)) * (y * 1.(R,n)) = ((x * 1.(R,n)) * y) * 1.(R,n);

::$N See, e.g., Bourbaki's "Algebra" VIII~\cite{bourbaki2023algebra} 5 no.3 corollary 2 to theorem 2
theorem :: MATGRP_0:90
  for A being Matrix of n,R
  st (for B being Matrix of n,R
      holds A * B = B * A)
  ex z being Element of R
  st z in center R & A = z*(1.(R,n));

theorem :: MATGRP_0:91
  for X being Element of Matrix_ring(n,R)
  for A being Matrix of n,R st A = X
  holds X in center Matrix_ring(n,R)
  iff (for B being Matrix of n,R holds A * B = B * A);

theorem :: MATGRP_0:92
  for X being Element of Matrix_ring(n,R)
  holds X in center Matrix_ring(n,R) iff
  ex z being Element of R
  st z in center R & X = z*(1.(R,n));

begin :: Group of Units for unital rings

:: Most texts require M to be a Monoid, but that is too much
 reserve M for associative right_unital non empty multLoopStr;

definition
  let M be non empty multLoopStr;
  func units M -> Subset of M equals
:: MATGRP_0:def 8
  {x where x is Element of M : x is unital};
end;

theorem :: MATGRP_0:93
  for M being right_unital non empty multLoopStr
  for ell being Element of M
  holds ell is unital iff ell in units M;

registration
  let M;
  let u,v be unital Element of M;
  cluster u * v -> unital;
end;

registration
  let M;
  cluster units M -> (the multF of M)-binopclosed;
end;

definition
  let M;
  func UnitGroup M -> strict multMagma equals
:: MATGRP_0:def 9
  multMagma(# units M, (the multF of M) || (units M) #);
end;

theorem :: MATGRP_0:94
  1.M in UnitGroup M;

registration
  let M;
  cluster UnitGroup M -> non empty;
end;

theorem :: MATGRP_0:95
  for a,b being Element of M
  for x,y being Element of UnitGroup M
  st a = x & b = y
  holds a * b = x * y;

registration
  let M;
  cluster UnitGroup M -> associative;
end;

:: Importantly, M is a monoid for UnitGroup M to be Group-like
registration
  let M be associative left_unital right_unital non empty multLoopStr;
  cluster UnitGroup M -> Group-like;
end;

theorem :: MATGRP_0:96
  for M being associative well-unital non empty multLoopStr
  holds 1_(UnitGroup M) = 1.M;

registration
  let R be commutative Ring;
  cluster UnitGroup R -> commutative;
end;

theorem :: MATGRP_0:97
  for M being associative left_unital right_unital non empty multLoopStr
  holds UnitGroup M is strict Group;

theorem :: MATGRP_0:98
  for G being associative left_unital right_unital non empty multLoopStr
  st G is Group-like
  holds units G = the carrier of G;

:: Morally: UnitGroup of a strict group G is identical to G itself
theorem :: MATGRP_0:99
  for G being associative left_unital right_unital non empty multLoopStr
  st G is Group-like
  holds UnitGroup G = the multMagma of G;

:: Now, we can see that UnitGroup R coincides with MultGroup R when R
:: is a Skew-Field. First, a useful lemma.
theorem :: MATGRP_0:100
  for R being Skew-Field holds NonZero R = units R;

theorem :: MATGRP_0:101
  for R being Skew-Field
  holds MultGroup R = UnitGroup R;

registration
  let R be Skew-Field;
  identify units R with NonZero R;
  identify UnitGroup R with MultGroup R;
end;

theorem :: MATGRP_0:102
  for R being commutative Ring
  for x being object
  holds x in center R & x in UnitGroup R
  iff x in center UnitGroup R;

:: The converse of this theorem is false for *noncommutative* rings in
:: general. See Tsit Yuen Lam's "First Course in Noncommutative Rings"
:: (Springer, GTM131, 1991), Example (1.7) for a counter-example to
:: the converse.
:: For a summary, see: https://math.stackexchange.com/a/342817/31693
theorem :: MATGRP_0:103
  for x being object
  st x in center R & x in UnitGroup R
  holds x in center UnitGroup R;

theorem :: MATGRP_0:104
  for A being Matrix of n,R
  for z being Element of R
  st A = z * 1.(R,n) & z in UnitGroup R
  holds A is invertible;

theorem :: MATGRP_0:105
  for A being Matrix of n,R
  for z being Element of R
  st n > 0 & A = z * 1.(R,n) & A is invertible
  holds z in UnitGroup R;

theorem :: MATGRP_0:106
  for A being invertible Matrix of n,R
  st (for B being invertible Matrix of n,R
      holds A * B = B * A)
  ex z being Element of R
  st z in center UnitGroup R & A = z*(1.(R,n));

theorem :: MATGRP_0:107
  for R1,R2 being Ring
  st R1,R2 are_isomorphic
  holds UnitGroup R1, UnitGroup R2 are_isomorphic;

begin :: General Linear Group over a ring

:: This can be weakened to semirings
definition
  let n, R;
  func GL(n,R) -> strict Group equals
:: MATGRP_0:def 10
  UnitGroup Matrix_ring(n,R);
end;

registration
  let R;
  cluster GL(0,R) -> trivial;
end;

theorem :: MATGRP_0:108
  for x being object
  holds x is Element of GL(n, R) iff x is invertible Matrix of n, R;

registration
  let R, n;
  cluster GL(n, R) -> (n,R)-matrix-membered;
end;

registration
  let R, n;
  cluster the carrier of GL(n,R) -> non empty;
  cluster the carrier of GL(n,R) -> (n,R)-matrix-membered;
 ::: give general reg. instead of this one
end;

theorem :: MATGRP_0:109
  for x,y being Element of GL(n,R)
  for X,Y being Matrix of n,R
  st X = x & Y = y
  holds X * Y = x * y;

scheme :: MATGRP_0:sch 1
 GLSubset{ n() -> Nat, R() -> Ring, P[Matrix of R()] } :
  ex A being Subset of GL(n(), R())
  st for X being invertible Matrix of n(), R()
  holds X in A iff P[X];

scheme :: MATGRP_0:sch 2
 GLSubset2{ n() -> Nat, R() -> Ring, P[Matrix of R()] } :
  ex A being Subset of GL(n(), R())
  st for X being Matrix of n(), R() st X is invertible
  holds X in A iff P[X];

theorem :: MATGRP_0:110
  for X being Matrix of n, R
  holds X is Element of GL(n,R) iff X is invertible;

theorem :: MATGRP_0:111
  1.(R, n) is Element of GL(n, R);

theorem :: MATGRP_0:112
  1_GL(n,R) = 1.(R,n);

theorem :: MATGRP_0:113
  for x being Element of GL(n, R)
  for X being invertible Matrix of n,R st x = X
  holds x" = X~;

theorem :: MATGRP_0:114
  for g being Element of GL(n,R)
  for X,Y being Matrix of n,R st X = g
  holds Y = (inverse_op GL(n,R)).g iff Y is_reverse_of X;

scheme :: MATGRP_0:sch 3
 GLSubgroup{ n() -> Nat, R() -> Ring, P[Matrix of R()] } :
  ex H being strict Subgroup of GL(n(), R())
  st for X being invertible Matrix of n(), R()
  holds X in H iff P[X]
provided
 for X,Y being invertible Matrix of n(), R()
    st P[X] & P[Y]
    holds P[X * Y] and
 for X being invertible Matrix of n(), R()
    st P[X] holds P[X~] and
 P[1.(R(), n())];

scheme :: MATGRP_0:sch 4
 GLSubgroup2{ n() -> Nat, R() -> Ring, P[Matrix of n(), R()] } :
  ex H being strict Subgroup of GL(n(), R())
  st for X being invertible Matrix of n(), R()
  holds X in H iff P[X]
provided
 for X,Y being invertible Matrix of n(), R()
    st P[X] & P[Y]
    holds P[X * Y] and
 for X being invertible Matrix of n(), R()
    st P[X] holds P[X~] and
 P[1.(R(), n())];

begin :: Center of general linear group

theorem :: MATGRP_0:115
  for X being Element of GL(n,R)
  st (ex z being Element of R st z in center R & X = z * 1.(R,n))
  holds X in center GL(n,R);

theorem :: MATGRP_0:116
  for X being invertible Matrix of n,R st n <> 1
  holds X in center GL(n,R) iff
  ex z being Element of R
  st z in center R & z in UnitGroup R & X = z * 1.(R,n);

theorem :: MATGRP_0:117
  for r being Element of R st r in center UnitGroup R
  for s being Element of R st s in UnitGroup R
  holds r * s = s * r;

theorem :: MATGRP_0:118
  for X being invertible Matrix of n,R st n = 1
  holds X in center GL(n,R) iff
  ex z being Element of R
  st z in center UnitGroup R & X = z * 1.(R,n);

:: The results about center GL(1,R) is so surprising at first glance,
:: because our intuition expects the commutative R case to generalize to
:: the general situation. But we're not mistaken, and here's a slick proof.
theorem :: MATGRP_0:119
  center GL(1,R), center UnitGroup R are_isomorphic;

theorem :: MATGRP_0:120
  for R being commutative Ring
  for X being invertible Matrix of n,R
  holds X in center GL(n,R) iff
  ex z being Element of R
  st z in center R & z in UnitGroup R & X = z * 1.(R,n);

begin :: Extension of scalars for general linear group

theorem :: MATGRP_0:121
  for M1 being Matrix of n,R
  for M2 being Matrix of n,S
  st M1 = M2 & M2 is invertible
  holds M1 is invertible;

theorem :: MATGRP_0:122
  the carrier of GL(n,S) c= the carrier of GL(n,R);

theorem :: MATGRP_0:123
  the multF of GL(n,S) = (the multF of GL(n,R)) || (the carrier of GL(n,S));

theorem :: MATGRP_0:124
  GL(n,S) is strict Subgroup of GL(n,R);

begin :: Appendix 1: Matrix inversion as a unary operator

theorem :: MATGRP_0:125
  for x being Element of Matrix_ring(n,R)
  holds x is invertible
  iff ex X being invertible Matrix of n,R st X = x;

registration
  let n, R;
  cluster invertible for Element of Matrix_ring(n, R);
end;

theorem :: MATGRP_0:126
  for x being object
  holds x is invertible Element of Matrix_ring(n,R)
  iff x is invertible Matrix of n,R;

definition
  let n,R;
  func n-invertible_Matrices_over R -> Subset of n-Matrices_over R
  equals
:: MATGRP_0:def 11
  { X where X is Element of n-Matrices_over R :
  X is invertible Matrix of n,R };
end;

theorem :: MATGRP_0:127
  for x being object holds
  x in n-invertible_Matrices_over R iff x is invertible Matrix of n,R;

registration
  let n,R;
  cluster n-invertible_Matrices_over R -> non empty;
end;

theorem :: MATGRP_0:128
  the carrier of GL(n,R) = n-invertible_Matrices_over R;

theorem :: MATGRP_0:129
  n-invertible_Matrices_over R is (matrix_mult (n,R))-binopclosed;

theorem :: MATGRP_0:130
  One(R,n) is_a_unity_wrt matrix_mult(n,R);

registration
  let n,R;
  cluster matrix_mult(n,R) -> associative;
  cluster matrix_mult(n,R) -> having_a_unity;
end;

theorem :: MATGRP_0:131
  One(R,n) = the_unity_wrt matrix_mult(n,R);

definition
  let n,R;
  func matrix_inv(n,R) -> UnOp of n-invertible_Matrices_over R means
:: MATGRP_0:def 12

  for x being Element of n-invertible_Matrices_over R
  for X being invertible Matrix of n,R st x = X
  holds it.x = X ~;
end;

theorem :: MATGRP_0:132
  inverse_op GL(n,R) = matrix_inv(n,R);

theorem :: MATGRP_0:133
  for F being BinOp of n-invertible_Matrices_over R
  st F = matrix_mult(n,R) || (n-invertible_Matrices_over R)
  holds One(R,n) is_a_unity_wrt F;

theorem :: MATGRP_0:134
  for F being BinOp of n-invertible_Matrices_over R
  st F = matrix_mult(n,R) || (n-invertible_Matrices_over R)
  holds One(R,n) = the_unity_wrt F;

theorem :: MATGRP_0:135
  for F being BinOp of n-invertible_Matrices_over R
  st F = matrix_mult(n,R) || (n-invertible_Matrices_over R)
  holds matrix_inv(n,R) is_an_inverseOp_wrt F;

theorem :: MATGRP_0:136
  for F being BinOp of n-invertible_Matrices_over R
  st F = matrix_mult(n,R) || (n-invertible_Matrices_over R)
  holds F is having_a_unity & F is associative &
  F is having_an_inverseOp;

theorem :: MATGRP_0:137
  for F being BinOp of n-invertible_Matrices_over R
  st F = matrix_mult(n,R) || (n-invertible_Matrices_over R)
  holds matrix_inv(n,R) = the_inverseOp_wrt F;

::$N Rudin's results~\cite{rudin1985unique} concerning two-sided inverses and unique right invertibility, as discussed by Almira and Cid~\cite{almira2023ring}.
theorem :: MATGRP_0:138
  for a,b being Element of R
  st a * b = 1.R
  holds (for b9 being Element of R
         st a * b9 = 1.R
         holds b9 = b)
  iff (for x being Element of R holds a * x <> 0.R or x = 0.R);

theorem :: MATGRP_0:139
  for a,b being Element of R
  st a * b = 1.R
  holds (for x being Element of R holds a * x <> 0.R or x = 0.R)
  iff a is invertible;

theorem :: MATGRP_0:140
  for a,b being Element of R
  st a * b = 1.R
  holds (for b9 being Element of R
         st a * b9 = 1.R
         holds b9 = b)
  iff a is invertible;

:: Note:
:: (1) these conditions are equivalent to saying that R is Dedekind-finite.
:: (2) for R being commutative Ring
::     holds Matrix_ring(n,R) is Dedekind-finite.

begin :: Appendix 2: Linear groups

theorem :: MATGRP_0:141
  for G being Group
  holds the multMagma of G is Subgroup of G;

registration
  let G be Group;
  cluster the multMagma of G -> associative Group-like;
end;

theorem :: MATGRP_0:142
  for G being Group
  holds inverse_op G = inverse_op (the multMagma of G);

definition
  let n be Nat, R be Ring;
  let IT be Group;
  attr IT is (n,R)-linear means
:: MATGRP_0:def 13
  the multMagma of IT is Subgroup of GL(n,R);
end;

registration
  let n, R;
  cluster GL(n,R) -> (n,R)-linear;
end;

registration
  let n, R;
  cluster strict (n,R)-linear for Group;
end;

 reserve G for (n,R)-linear Group;

theorem :: MATGRP_0:143
  for H being Subgroup of GL(n,R)
  holds H is (n,R)-linear;

registration
  let n,R;
  cluster -> (n,R)-linear for Subgroup of GL(n,R);
end;

theorem :: MATGRP_0:144
  the carrier of G c= the carrier of GL(n,R);

theorem :: MATGRP_0:145
  the carrier of G c= n-invertible_Matrices_over R;

registration
  let n,R;
  cluster (n,R)-linear -> (n,R)-matrix-membered for Group;
end;

theorem :: MATGRP_0:146
  1_G = 1_(GL(n,R));

theorem :: MATGRP_0:147
  1_G = 1.(R,n);

registration
  let n,R,G;
  cluster the carrier of G -> non empty (n,R)-matrix-membered;
end;

theorem :: MATGRP_0:148
  the multF of G = (the multF of GL(n,R)) || (the carrier of G);

theorem :: MATGRP_0:149
  the multF of G = (matrix_mult (n, R)) || (the carrier of G);

theorem :: MATGRP_0:150
  the multF of GL(n,R) = (matrix_mult (n, R)) || (n-invertible_Matrices_over R)
;

theorem :: MATGRP_0:151
  for H being Subgroup of G
  holds H is (n,R)-linear;

registration
  let n, R, G;
  cluster -> (n,R)-linear for Subgroup of G;
end;

theorem :: MATGRP_0:152
  inverse_op G = (inverse_op GL(n,R)) | (the carrier of G);

theorem :: MATGRP_0:153
  inverse_op G = (matrix_inv(n,R)) | (the carrier of G);

begin :: Appendix 3: *General* linear groups

:: To *readably* distinguish the general (n,R)-linear Lie group from
:: the general (n,R)-linear algebraic group from the general
:: (n,R)-linear strict Group from ...

definition
  let n,R;
  let IT be (n,R)-linear Group;
  attr IT is general means
:: MATGRP_0:def 14
  for x being object
  holds x in IT iff x is invertible Matrix of n,R;
end;

registration
  let n,R;
  cluster GL(n,R) -> general;
end;

registration
  let n,R;
  cluster general strict for (n,R)-linear Group;
  cluster general for (n,R)-linear Group;
end;

theorem :: MATGRP_0:154
  for G being general (n,R)-linear Group
  holds the carrier of G = the carrier of GL(n,R);

theorem :: MATGRP_0:155
  for G being general (n,R)-linear Group
  holds the multF of G = the multF of GL(n,R);

theorem :: MATGRP_0:156
  for G being general (n,R)-linear Group
  holds the multMagma of G = GL(n,R);

theorem :: MATGRP_0:157
  the general (n,R)-linear strict Group = GL(n,R);

:: And, in the end, it turns out the real general linear group is the
:: friends we made alone the way...

Messung
CHZG
9210010097

¤ Dauer der Verarbeitung: 0.42 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*Bot Zugriff