An echelon computation returns a certificate of how it reduced: the
rank, the reduced matrix, an invertible transform T with
T * original = echelon, and each row's pivot column.
Two predicates say when such a record is a genuine echelon or
reduced-echelon form. Hex.Matrix.IsEchelonForm bundles the
conditions any echelon form shares: the transform equation, the
transform's invertibility, the rank bounds, and the staircase pivot
structure. Hex.Matrix.IsRowReduced adds the two reduced-form
conditions: each pivot is one, and every entry above a pivot is zero.