You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: theories/Algebra/Rings/Matrix.v
+166Lines changed: 166 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1018,6 +1018,172 @@ Defined.
1018
1018
1019
1019
(** Skew-symmetric matrices degenerate to symmetric matrices in rings with characteristic 2. In odd characteristic the module of matrices can be decomposed into the direct sum of symmetric and skew-symmetric matrices. *)
1020
1020
1021
+
(** ** Exchange matrix *)
1022
+
1023
+
(** The exchange matrix is the matrix with ones on the anti-diagonal and zeros elsewhere. It will play an important role in defining classes of matrices with certain symmetric properties. *)
1024
+
Definition exchange_matrix (R : Ring) n : Matrix R n n
1025
+
:= Build_Matrix R n n (fun i j Hi Hj
1026
+
=> kronecker_delta (R:=R) (i + j) (pred n))%nat.
1027
+
1028
+
(** Multiplying a matrix by the exchange matrix on the left is equivalent to exchanging the rows. Similarly multiplying on the right exchanges the columns. *)
1029
+
1030
+
(** The exchange matrix is invariant under transpose. *)
1031
+
Definition exchange_matrix_transpose {R n}
1032
+
: matrix_transpose (exchange_matrix R n) = exchange_matrix R n.
nrapply (Build_Subring' (fun M : matrix_ring R n => IsCentrosymmetric M));
1184
+
cbn beta; exact _.
1185
+
Defined.
1186
+
1021
1187
Section MatrixCat.
1022
1188
1023
1189
(** The wild category [MatrixCat R] of [R]-valued matrices. This category has natural numbers as objects and m x n matrices as the arrows between [m] and [n]. *)
0 commit comments