Measurability in the space of square matrices #
Matrix inversion is not continuous: it jumps at the singular matrices, where Mathlib's totalized
inverse takes the value 0. It is still measurable, because Cramer's rule writes it as the
adjugate โ a polynomial in the entries โ scaled by the inverse of the determinant, and inversion
of scalars is measurable even at zero.
Main results #
TauCeti.measurable_matrix_invโ matrix inversion is measurable, and theMeasurableInvinstance it supplies.
theorem
TauCeti.measurable_matrix_inv
{m : Type u_1}
[Fintype m]
[DecidableEq m]
{๐ : Type u_2}
[Field ๐]
[TopologicalSpace ๐]
[IsTopologicalRing ๐]
[MeasurableSpace ๐]
[BorelSpace ๐]
[SecondCountableTopology ๐]
[MeasurableInv ๐]
:
Measurable fun (A : Matrix m m ๐) => Aโปยน
Matrix inversion is measurable.
instance
TauCeti.instMeasurableInvMatrix_tauCeti
{m : Type u_1}
[Fintype m]
[DecidableEq m]
{๐ : Type u_2}
[Field ๐]
[TopologicalSpace ๐]
[IsTopologicalRing ๐]
[MeasurableSpace ๐]
[BorelSpace ๐]
[SecondCountableTopology ๐]
[MeasurableInv ๐]
:
MeasurableInv (Matrix m m ๐)
Square matrices inherit MeasurableInv from the measurability of Cramer's rule, which makes
the generic measurable_inv API and Measurable.inv dot notation available for matrices.