English
The operation comp(I,J,K,L,R) defines an additive equivalence between matrices of block form and matrices with row/column blocks.
Русский
Операция comp(I,J,K,L,R) задаёт сложение-сохранное эквивалент между матрицами блочного вида и матрицами с блочными строками/столбцами.
LaTeX
$$$ \mathrm{compAddEquiv} : \mathrm{Matrix}\ I\ J\ (\mathrm{Matrix}\ K\ L\ R) \simeq_+ \mathrm{Matrix} (I \times K) (J \times L) R $$$
Lean4
/-- `Matrix.comp` as `AddEquiv` -/
def compAddEquiv : Matrix I J (Matrix K L R) ≃+ Matrix (I × K) (J × L) R
where
__ := Matrix.comp I J K L R
map_add' _ _ := rfl