Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(data/matrix/basic): dependently-typed block diagonal (#7068)
This allows constructing block diagonal matrices whose blocks are different sizes. A notable example of such a matrix is the one from the Jordan Normal Form. This duplicates all of the API for `block_diagonal` from this file. Most of the proofs copy across cleanly, but the proof for `block_diagonal_mul'` required lots of hand-holding that `simp` could solve by itself for the non-dependent case.
- Loading branch information
1 parent
8459d0a
commit c3c7c34
Showing
1 changed file
with
122 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters