Nonsingular inverses over semirings #
This file proves A * B = 1 ↔ B * A = 1 for square matrices over a commutative semiring.
The determinant, but only the terms of a given sign.
A.detp 1 is written |A|⁺ in the literature and A.detp (-1) is written |A|⁻.
Equations
- Matrix.detp s A = ∑ σ ∈ Equiv.Perm.ofSign s, ∏ k : n, A k (σ k)
Instances For
A square matrix A over a commutative semiring R is "determinant balanced"
with respect to a b : R if a|A|⁺ + b|A|⁻ = b|A|⁺ + a|A|⁻. Over a commutative ring,
this is equivalent to (a - b)|A| = 0, see Matrix.isDetpBalanced_iff_sub_mul_det_eq_zero.
Equations
- A.IsDetpBalanced a b = (a * Matrix.detp 1 A + b * Matrix.detp (-1) A = b * Matrix.detp 1 A + a * Matrix.detp (-1) A)
Instances For
Alias of the reverse direction of Matrix.isDetpBalanced_transpose_iff.
Alias of the forward direction of Matrix.isDetpBalanced_transpose_iff.
A square matrix A over a commutative semiring R is called nonsingular if it is
only determinant balanced with respect to equal elements.
See also See also Matrix.Nondegenerate.
Equations
- A.Nonsingular = ∀ (a b : R), A.IsDetpBalanced a b → a = b
Instances For
Alias of the reverse direction of Matrix.nonsingular_transpose_iff.
Alias of the forward direction of Matrix.nonsingular_transpose_iff.
Alias of the reverse direction of Matrix.nonsingular_submatrix_equiv_iff.
If A is determinant balanced with respect to a and b, any submatrix of
the same or bigger size (possibly with repeated rows or columns) is also.
The adjugate matrix, but only the terms of a given sign.
Equations
- Matrix.adjp s A = Matrix.of fun (i j : n) => ∑ σ ∈ Equiv.Perm.ofSign s with σ j = i, ∏ k ∈ {j}ᶜ, A k (σ k)
Instances For
Laplace expansion of detp along the none row of an Option-indexed matrix.