English
IsUnit for one matrix implies the corresponding transformation is invertible with the inverse given by the other matrix.
Русский
Единичность матрицы означает существование обратной трансформации с обратной матрицей.
LaTeX
$$$\\text{IsUnit}(b.toMatrix b_2) \\Rightarrow \\text{there exists inverse matrix }(b_2.toMatrix b).$$$
Lean4
theorem midpoint_comm (x y : P) : midpoint R x y = midpoint R y x := by
rw [midpoint, ← lineMap_apply_one_sub, one_sub_invOf_two, midpoint]