Repository navigation
[Merged by Bors] - feat(Data/Matrix): add Matrix.vecCons_inj - #26896
staroperator wants to merge 5 commits into
Conversation
PR summary aa6e50029fImport changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diff
You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
|
These look basically fine, but (bearing in mind I've not done it myself), would it be worth adding a simproc to cover I suppose the argument is that these special cases are useful to have. |
|
Actually |
Matrix.vecCons_inj and lemmas for vec1, vec2 and vec3Matrix.vecCons_inj
|
I have removed all new definitions except |
`vecCons_inj` is the `vecCons` version of `Fin.cons_inj`. Also use it to simplify some proofs for `vec2` and `vec3`. [Zulip discussion](https://leanprover.zulipchat.com/#narrow/channel/217875-Is-there-code-for-X.3F/topic/.60!.5Ba.5D.20.3D.20!.5Bb.5D.20.E2.86.94.20a.20.3D.20b.60/)
|
Pull request successfully merged into master. Build succeeded:
|
Matrix.vecCons_injMatrix.vecCons_inj
`vecCons_inj` is the `vecCons` version of `Fin.cons_inj`. Also use it to simplify some proofs for `vec2` and `vec3`. [Zulip discussion](https://leanprover.zulipchat.com/#narrow/channel/217875-Is-there-code-for-X.3F/topic/.60!.5Ba.5D.20.3D.20!.5Bb.5D.20.E2.86.94.20a.20.3D.20b.60/)
`vecCons_inj` is the `vecCons` version of `Fin.cons_inj`. Also use it to simplify some proofs for `vec2` and `vec3`. [Zulip discussion](https://leanprover.zulipchat.com/#narrow/channel/217875-Is-there-code-for-X.3F/topic/.60!.5Ba.5D.20.3D.20!.5Bb.5D.20.E2.86.94.20a.20.3D.20b.60/)
`vecCons_inj` is the `vecCons` version of `Fin.cons_inj`. Also use it to simplify some proofs for `vec2` and `vec3`. [Zulip discussion](https://leanprover.zulipchat.com/#narrow/channel/217875-Is-there-code-for-X.3F/topic/.60!.5Ba.5D.20.3D.20!.5Bb.5D.20.E2.86.94.20a.20.3D.20b.60/)
vecCons_injis thevecConsversion ofFin.cons_inj. Also use it to simplify some proofs forvec2andvec3.Zulip discussion