Repository navigation
[Merged by Bors] - feat(LinearAlgebra/LinearIndependent): linearIndependent_iffₒₛ etc for linearly and canonically ordered semiring - #27341
Conversation
PR summary 88e5ab07ce
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.LinearAlgebra.LinearIndependent.Defs | 811 | 812 | +1 (+0.12%) |
Import changes for all files
| Files | Import difference |
|---|---|
12 filesMathlib.Algebra.SkewMonoidAlgebra.Basic Mathlib.LinearAlgebra.Basis.Basic Mathlib.LinearAlgebra.Basis.Exact Mathlib.LinearAlgebra.Basis.Fin Mathlib.LinearAlgebra.Basis.Flag Mathlib.LinearAlgebra.Basis.Prod Mathlib.LinearAlgebra.Basis.SMul Mathlib.LinearAlgebra.Basis.Submodule Mathlib.LinearAlgebra.FreeModule.Basic Mathlib.LinearAlgebra.LinearIndependent.Basic Mathlib.LinearAlgebra.LinearIndependent.Defs Mathlib.RingTheory.AlgebraTower |
1 |
Declarations diff
+ Fintype.linearIndependent_iffₒₛ
+ Fintype.not_linearIndependent_iffₒₛ
+ linearIndepOn_finset_iffₒₛ
+ linearIndependent_iffₒₛ
+ not_linearIndepOn_finset_iffₒₛ
+ not_linearIndependent_iffₒₛ
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 script/declarations_diff.sh contains some details about this script.
No changes to technical debt.
You can run this locally as
./scripts/technical-debt-metrics.sh 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).
7ae6b4c to
be55f68
Compare
| · have := (exists_add_of_le h).choose_spec | ||
| rw [this] at h | ||
| conv_rhs => rw [this, add_comm] | ||
| rw [add_le_add_iff_right] | ||
| · rw [not_le] at h | ||
| constructor <;> intro h' | ||
| · simpa using add_le_add h' h.le | ||
| · exact zero_le c |
There was a problem hiding this comment.
This can probably be golfed
a238f7a to
c8d7e6b
Compare
5132f90 to
c280a6d
Compare
…ered monoid (leanprover-community#27639) There is a `Sub` structure for linearly canonically ordered monoid using choice that satisfies `OrderedSub`. Thanks eric-wieser for the suggestion in leanprover-community#27341!
YaelDillies
left a comment
There was a problem hiding this comment.
Thanks!
maintainer delegate
|
🚀 Pull request has been placed on the maintainer queue by YaelDillies. |
linearIndependent_iffₒ etc for canonically linearly ordered semiringlinearIndependent_iffₒₛ etc for linearly and canonically ordered semiring
|
What does the |
|
|
LGTM, I golfed the proofs a bit:
|
|
Thanks! bors d+ |
|
✌️ staroperator can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors r+ |
…for linearly and canonically ordered semiring (#27341) If the semiring `R` is linearly and canonically ordered (e.g. `R = ℕ`), `LinearIndependent` can be proved from linear combination over two disjoint sets. This result is stronger than `linearIndependent_iff'ₛ` and is particularly useful in #27342. Co-authored-by: staroperator <[email protected]> Co-authored-by: Jovan Gerbscheid <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
linearIndependent_iffₒₛ etc for linearly and canonically ordered semiringlinearIndependent_iffₒₛ etc for linearly and canonically ordered semiring
…ered monoid (leanprover-community#27639) There is a `Sub` structure for linearly canonically ordered monoid using choice that satisfies `OrderedSub`. Thanks eric-wieser for the suggestion in leanprover-community#27341!
…for linearly and canonically ordered semiring (leanprover-community#27341) If the semiring `R` is linearly and canonically ordered (e.g. `R = ℕ`), `LinearIndependent` can be proved from linear combination over two disjoint sets. This result is stronger than `linearIndependent_iff'ₛ` and is particularly useful in leanprover-community#27342. Co-authored-by: staroperator <[email protected]> Co-authored-by: Jovan Gerbscheid <[email protected]>
If the semiring
Ris linearly and canonically ordered (e.g.R = ℕ),LinearIndependentcan be proved from linear combination over two disjoint sets.This result is stronger than
linearIndependent_iff'ₛand is particularly useful in #27342.Finset.filter_notMem_eq_sdiff,Finset.map_sdiff#27340Substructure for linearly canonically ordered monoid #27639