File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1663,18 +1663,17 @@ lemma catmr_subm m n: 0 <= n < cols m =>
16631663 (subm m 0 (rows m) 0 n || subm m 0 (rows m) n (cols m)) = m.
16641664proof.
16651665move => n_bound; rewrite eq_matrixP /=.
1666- split => [| i j bound].
1667- - smt(rows_catmr cols_catmr size_subm).
1666+ rewrite rows_catmr cols_catmr 2!cols_subm 2!rows_subm /= maxzz /=.
1667+ split => [/#| i j bound].
16681668rewrite get_catmr // cols_subm /=.
16691669case (j < n) => j_bound.
1670- - rewrite get_subm /=; first 2 smt(size_catmr size_subm).
1671- rewrite (getm0E (subm _ _ _ _ _)).
1670+ - rewrite get_subm /= 1,2:/# (getm0E (subm _ _ _ _ _)).
16721671 + smt(size_catmr size_subm).
16731672 by rewrite addr0.
16741673- rewrite getm0E; 1: smt(size_catmr size_subm).
16751674 rewrite add0r get_subm; [3:smt()].
1676- + smt(rows_catmr rows_subm) .
1677- + smt(cols_catmr cols_subm ).
1675+ + by elim bound .
1676+ + smt().
16781677qed.
16791678
16801679lemma subm_colmx (m: matrix) l :
You can’t perform that action at this time.
0 commit comments