Skew-Symmetric Matrices #
This file defines skew-symmetric matrices and proves basic properties.
A matrix A is skew-symmetric (also called antisymmetric) if A^T = -A.
Main definitions #
Matrix.IsSkewSymmetric: A matrix A is skew-symmetric if A^T = -A.
Main results #
Matrix.IsSkewSymmetric.diag_eq_zero: Diagonal entries of a skew-symmetric matrix are zero (in characteristic ≠ 2).Matrix.IsSkewSymmetric.apply_neg: For a skew-symmetric matrix, A i j = -A j i.Matrix.IsSkewSymmetric.det_eq_zero_of_odd: The determinant of an odd-dimensional skew-symmetric matrix is zero (in characteristic ≠ 2).
Notes #
This file provides basic infrastructure for skew-symmetric matrices. The Pfaffian of a skew-symmetric matrix and Kasteleyn's formula for counting domino tilings would require substantial additional infrastructure.
Note: Mathlib has Matrix.IsSkewAdjoint J A which is the more general notion of
A being skew-adjoint with respect to a bilinear form J (i.e., Aᵀ * J = -J * A).
Our IsSkewSymmetric is the special case where J = I, i.e., simply Aᵀ = -A.
References #
- [Horn-Johnson, Matrix Analysis] for skew-symmetric matrix properties
Skew-Symmetric Matrices #
A matrix A is skew-symmetric if A^T = -A.
Equations
- A.IsSkewSymmetric = (A.transpose = -A)
Instances For
Diagonal entries of a skew-symmetric matrix are zero (in characteristic ≠ 2).
For a skew-symmetric matrix, A i j = -A j i.
Skew-symmetry is preserved under reindexing.
Skew-symmetry is preserved under map when the map preserves negation.
Skew-symmetry is preserved under scalar multiplication.
The zero matrix is skew-symmetric.
The sum of skew-symmetric matrices is skew-symmetric.
The negation of a skew-symmetric matrix is skew-symmetric.
The difference of two skew-symmetric matrices is skew-symmetric.
The determinant of an odd-dimensional skew-symmetric matrix is zero. This follows from det(A) = det(Aᵀ) = det(-A) = (-1)^n det(A) = -det(A), hence 2 det(A) = 0, so det(A) = 0 (in characteristic ≠ 2).