Repository navigation
[Merged by Bors] - feat(ModelTheory): Semilinear sets are closed under intersection, difference and complement - #27414
staroperator wants to merge 42 commits into
Conversation
PR summary 57ecfb93a1Import 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
|
ℕ are closed under intersection and complementℕ ^ k are closed under intersection and complement
|
This pull request has conflicts, please merge |
5995a2f to
dbbd7a8
Compare
a8e67ef to
7983441
Compare
|
This pull request has conflicts, please merge |
7983441 to
4cbee7f
Compare
3edeb9d to
653e1dd
Compare
We have [`Matrix.fromBlocks_mulVec`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Matrix/Block.html#Matrix.fromBlocks_mulVec) and [`Matrix.vecMul_fromBlocks`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Matrix/Block.html#Matrix.vecMul_fromBlocks) but not the `fromRows`/`fromCols` version. I find those helpful in #27414.
We have [`Matrix.fromBlocks_mulVec`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Matrix/Block.html#Matrix.fromBlocks_mulVec) and [`Matrix.vecMul_fromBlocks`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Matrix/Block.html#Matrix.vecMul_fromBlocks) but not the `fromRows`/`fromCols` version. I find those helpful in #27414.
f9edb48 to
6d85ad4
Compare
5da2ed6 to
e55f1fc
Compare
…rover-community#29784) We have [`Matrix.fromBlocks_mulVec`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Matrix/Block.html#Matrix.fromBlocks_mulVec) and [`Matrix.vecMul_fromBlocks`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Matrix/Block.html#Matrix.vecMul_fromBlocks) but not the `fromRows`/`fromCols` version. I find those helpful in leanprover-community#27414.
|
This pull request has conflicts, please merge |
Co-authored-by: Yaël Yanis Dillies <[email protected]>
Co-authored-by: Yaël Yanis Dillies <[email protected]>
Co-authored-by: Yaël Yanis Dillies <[email protected]>
YaelDillies
left a comment
There was a problem hiding this comment.
Thanks!
maintainer delegate
| classical | ||
| haveI := Fintype.ofFinite ι |
There was a problem hiding this comment.
We have a slight preferrence for
| classical | |
| haveI := Fintype.ofFinite ι | |
| cases nonempty_fintype ι |
There was a problem hiding this comment.
This doesn't work because I need DecidableEq for One (Matrix ι ι ℕ) from classical. The cases nonempty_fintype ι is the same as haveI := Fintype.ofFinite ι
There was a problem hiding this comment.
BTW, is there a Zulip discussion? I have a strong preference for Fintype.ofFinite.
|
🚀 Pull request has been placed on the maintainer queue by YaelDillies. |
…ference and complement (#27414) Separated from #27100. This PR proves that semilinear sets in any commutative monoid are closed under intersection, set difference and complement (requires finitely generated). We prove these results on `ℕ ^ k` first (which are private) and then generalize to any monoid.
|
Pull request successfully merged into master. Build succeeded: |
Separated from #27100. This PR proves that semilinear sets in any commutative monoid are closed under intersection, set difference and complement (requires finitely generated). We prove these results on
ℕ ^ kfirst (which are private) and then generalize to any monoid.Set.IsPWO.exists_le_minimal,Set.IsPWO.exists_minimal,Set.IsPWO.exists_minimalFor#27082LinearMap.toMatrix'_mulVec#27086map_tsub_of_le#27088LinearIndepOntheorems #27096Monoid.FG (∀ i, M i)andGroup.FG (∀ i, M i)#28670fg_iff_exists_fin_addMonoidHom#29032Submonoid.FG,Subgroup.FGon supremums #29034Submonoid.inclusion#29035mem_eqLocussimp lemmas #29749vecMul_fromRowsandfromCols_mulVec#29784mem_closure_iff_of_fintypeandmem_closure_finset'#29793