Rank bounds are closed conditions #
For a matrix Z and r : ℕ, the condition rank Z ≤ r says that every (r + 1) × (r + 1) minor
of Z vanishes (Matrix.rank_le_iff_forall_det_submatrix_eq_zero). Each such minor is a
polynomial in the entries of Z, with integer coefficients, and so is each minor of a power
Z ^ j of a square matrix. Hence the conditions rank Z ≤ r and rank (Z ^ j) ≤ r are Zariski
closed: they pass from a set of matrices to every point of the zero locus of the polynomials
vanishing on that set. Over a field with continuous ring operations and closed points, such as
ℂ, they are also closed in the usual topology. The Zariski closure is expressed through
Mathlib's MvPolynomial.zeroLocus and MvPolynomial.vanishingIdeal.
The same holds for a linear family φ : V →ₗ[K] M →ₗ[K] N of linear maps between
finite-dimensional spaces, read in the coordinates of a basis of the parameter space V: the
entries of the matrix of φ x are linear in the coordinates of x, so its minors are polynomials
in them. The bound rank (φ x) ≤ p is therefore Zariski closed in x. Over an infinite field the
complementary condition p ≤ rank (φ x) cuts out a Zariski-open set, which is Zariski dense as
soon as it is nonempty, because a nonzero polynomial cannot vanish on the complement of a
hypersurface. For the adjoint representation of a Lie algebra this gives the openness and density
of the elements whose centralizer has minimal dimension.
Main results #
Matrix.rank_le_of_mem_zeroLocus_vanishingIdealandMatrix.rank_pow_le_of_mem_zeroLocus_vanishingIdeal: a bound on the rank of a matrix, or of itsj-th power, holding on a set of matrices holds on its Zariski closure.Matrix.isClosed_setOfPred_rank_leandMatrix.isClosed_setOfPred_rank_pow_le: the matrices of rank at mostr, and the square matricesZwithrank (Z ^ j) ≤ r, form closed sets.Matrix.isOpen_setOfPred_mulVec_surjective: full row rank is an open condition on matrices.LinearMap.exists_eval_eq_det_submatrix: each minor of the matrix of a linear familyφ xis a polynomial in the coordinates ofx.LinearMap.finrank_range_le_of_mem_zeroLocus_vanishingIdeal: a rank bound on a linear family of linear maps passes to the Zariski closure in the coordinates of the parameter.LinearMap.vanishingIdeal_setOfPred_le_finrank_range_eq_bot: over an infinite field, a nonempty locusp ≤ rank (φ x)is Zariski dense.
Rank bounds are Zariski closed. If rank Z ≤ r for every matrix Z of a set S, then
rank Y ≤ r for every Y on which all polynomials vanishing on S vanish.
Rank bounds are Zariski closed. If rank (Z ^ j) ≤ r for every matrix Z of a set S,
then rank (Y ^ j) ≤ r for every Y on which all polynomials vanishing on S vanish.
Over a field with continuous ring operations and closed points, the matrices of rank at most
r form a closed set.
Over a field with continuous ring operations and closed points, surjectivity of A.mulVec is
an open condition on matrices A with finitely many rows. When m is nonempty, full row rank is
the complement of the closed condition rank A ≤ card m - 1; when m is empty, A.mulVec is
always surjective.
Over a field with continuous ring operations and closed points, the matrices Z with
rank (Z ^ j) ≤ r form a closed set.
The minors of the matrices of a linear family of linear maps are polynomials in the
coordinates of the parameter: for bases bM and bN and row and column selections r and c,
some polynomial q evaluates at the b-coordinates of x to the minor of the matrix of φ x.
Rank bounds on a linear family are Zariski closed. Let φ be a linear family of linear
maps parametrized by a vector space V with basis b. If rank (φ y) ≤ p for every y in a set
S, then rank (φ x) ≤ p for every x whose coordinates lie in the common zero locus of the
polynomials vanishing on the coordinates of S.
A nonempty rank lower bound locus is Zariski dense. Over an infinite field, if some member
of a linear family φ of linear maps has rank at least p, then the only polynomial vanishing on
the coordinates of every x with p ≤ rank (φ x) is zero.