Repository navigation
[Merged by Bors] - feat(LinearAlgebra/Matrix): row and col are linear maps - #44933
SnirBroshi wants to merge 25 commits into
Conversation
PR summary 4a1faaaf42Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (strong) |
|---|---|---|
| 2300 | -1 | backward.defeqAttrib.useBackward |
| 4154 | -1 | backward.isDefEq.respectTransparency |
Current commit 4a1faaaf42
Reference commit f2bcc2514f
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
…o feature/matrix/row-col-lemmas
(just reorders even though the diff looks strange)
|
This pull request has conflicts, please merge |
…o feature/matrix/row-col-lemmas
…o feature/matrix/row-col-lemmas
| /-- A matrix with linearly independent columns has surjective `vecMul`. -/ | ||
| theorem _root_.LinearIndependent.vecMul_surjective [CommRing R] [IsSemisimpleRing R] | ||
| [Fintype m] {M : Matrix m n R} (h : LinearIndependent R M.col) : M.vecMul.Surjective := by | ||
| rw [← row_transpose] at h |
There was a problem hiding this comment.
don't think this is needed, but I like it
Co-authored-by: Monica Omar <[email protected]>
themathqueen
left a comment
There was a problem hiding this comment.
Thanks,
maintainer delegate
| refine congrArg _ (funext fun i ↦ ?_) | ||
| split_ifs with hi <;> simp [he, hi] | ||
|
|
||
| theorem cRank_diagonal [DecidableEq m] (w : m → R) : |
There was a problem hiding this comment.
do you want to add a TODO here to generalize and weaken the hypothesis?
There was a problem hiding this comment.
Generalizing to domains w/ StrongRankCondition is as trivial as adding a TODO, and I don't know whether it generalizes further (but I suspect so), so I think a TODO is strange either way unfortunately
|
🚀 Pull request has been placed on the maintainer queue by themathqueen. |
`simp` lemmas for `(A + B).row` and similar expressions, and bundled forms of `row`/`col` as `Equiv`/`AddEquiv`/`LinearEquiv`. Also fixes lots of places that should use `row`/`col` but don't.
|
Pull request successfully merged into master. Build succeeded: |
row and col are linear mapsrow and col are linear maps
- Regenerate `VecNotation.lean` as a pure move from `master`'s `Notation.lean`, restoring upstream changes that had been reverted (leanprover-community#44933, leanprover-community#43918, leanprover-community#44513, leanprover-community#43408, leanprover-community#42318); in particular `cons_transpose`, `head_transpose` and `tail_transpose` are no longer simp. - Fix the `!![...]` delaborator for literals with more than 32 entries, whose list literals contain `let`s and are too deep to delaborate as `#[...]`: delaborate entries one at a time. Move `listLitElems?` to `Notation/Basic.lean` and reuse it in the tactic parser. Add a 6x6 delaborator test. - Remove `@[simp]` from `transposeArray_size` and `submatrixArray_size` (simpNF). - Drop `@[expose]` from `Notation.lean` and `Notation/Basic.lean`. - Add the new modules to `Mathlib.lean`. - Nits: avoid shadowing in `List.tendsto_getD`, split tactic one-liners, merge `simp` calls in `CanonicalEmbedding/Basic.lean`, simplify the `Modular.lean` literal products, and replace `simp? says` with `simp` in `MathlibTest/matrix.lean`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
simplemmas for(A + B).rowand similar expressions, and bundled forms ofrow/colasEquiv/AddEquiv/LinearEquiv.Also fixes lots of places that should use
row/colbut don't.detp_eq_of_row_eqsped up from ~420ms to ~140ms