Deleting the destination row of setRow M dst v gives the same minor
as deleting the destination row of M: the replaced row is removed
anyway, so the new entries are invisible.
The cofactor expansion of setRow M dst v along the replaced row
dst uses the same minors as the cofactor expansion of M along that
row, because the deleted row never contributes to the minor.
Pair a row vector with a cofactor row of M. This is the scalar that
appears in Laplace expansion after replacing the expanded row.
Equations
Instances For
Pairing the original row against its own cofactor row recovers det M.
The "alien cofactor" identity: expanding row i of M against the
cofactors of a different row j produces zero. This is the
characteristic vanishing identity that makes the adjugate work.
Pairing an unreplaced row of M against a different cofactor row is zero.
The local adjugate matrix: entry (i, j) is the cofactor at row j,
column i of M. This is the transpose of the cofactor matrix.
Instances For
Entrywise version of M * adjugate M = det M • 1. On the diagonal
this is Laplace expansion of det M; off the diagonal it is the alien
cofactor identity.
Entrywise version of adjugate M * M = det M • 1.
This is the transpose-side companion to mul_adjugate_apply; it is useful
when cofactor identities are consumed columnwise rather than rowwise.
The adjugate identity adjugate M * M = det M • identity.
The left-hand companion to mul_adjugate. Having both sides in matrix form is
what lets a one-sided inverse be turned into a two-sided one; see
mul_eq_one_comm.
Cofactor-minor representation of an adjugate entry.
The (Fin.last, Fin.last) adjugate entry equals the determinant of
the leading prefix minor obtained by deleting the last row and column.
Two-row replacement determinant Plucker kernel.
For matrix M : Matrix R (n+1) (n+1), distinct rows a and b, and
replacement vectors u, v, the determinant of M paired with the
two-row-replaced cofactor-row pairing is the two-by-two difference of the four
one-row cofactor-row pairings of u and v.
This is the two-by-two case of Jacobi's identity for minors of the adjugate,
written with row replacement rather than row deletion. It is not the general
Sylvester determinant identity, the statement that an m by m matrix of
bordered minors has determinant det A0 ^ (m - 1) * det A, which is not proved
in this project.
Two-row replacement determinant identity: replacing distinct rows a and
b of M by u and v relates det M times the doubly-replaced determinant
to the four singly-replaced determinants.
Substituting standard basis vectors for u and v turns each singly-replaced
determinant into a signed one-row/one-column minor, recovering Desnanot-Jacobi
for an arbitrary row pair and column pair.
A square matrix with a right inverse over a commutative ring has that same matrix as a left inverse.
Over a field this is linear algebra. Over a general commutative ring it needs
the adjugate, because the inverse is only available as adjugate M scaled by
det M, and det M is a unit exactly when M is invertible. The proof applies
adjugate_mul twice: once to rewrite adjugate U as det U • W, and once to
recognise det U • (W * U) as det U • 1.
The intended consumer is a certificate checker that verifies a single product
U * W = 1 and reads unimodularity of U off it, rather than checking both
directions or computing a determinant.