[Merged by Bors] - feat(Geometry/Convex): modules are convex spaces#39531
[Merged by Bors] - feat(Geometry/Convex): modules are convex spaces#39531YaelDillies wants to merge 4 commits into
Conversation
PR summary f6e2fcbfe6
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Analysis.Convex.MetricSpace | 1490 | 1492 | +2 (+0.13%) |
Import changes for all files
| Files | Import difference |
|---|---|
Mathlib.Analysis.Convex.MetricSpace |
2 |
Mathlib.Geometry.Convex.ConvexSpace.Module (new file) |
1033 |
Declarations diff
+ ConvexSpace.ofModule
+ IsModuleConvexSpace
+ IsModuleConvexSpace.ofModule
+ convexCombPair_eq_sum
+ convexSpaceSelf
+ fst_convexCombPair
+ iConvexComb_apply
+ iConvexComb_reindex
+ instance : ConvexSpace R (ι →₀ X) := .mk
+ instance [ConvexSpace R N] [IsModuleConvexSpace R N] : IsModuleConvexSpace R (M × N)
+ instance {ι : Type*} : IsModuleConvexSpace R (ι →₀ M)
+ instance {ι : Type*} {M : ι → Type*} [∀ i, AddCommMonoid (M i)] [∀ i, Module R (M i)]
+ isAffineMap_eval
+ isModuleConvexSpace_self
+ onFinsetSupport
+ sConvexComb_apply
+ snd_convexCombPair
++ convexCombPair_apply
- convexCombPair_eq_add
- sConvexComb_eq_sum
You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.
No changes to strong technical debt.
No changes to weak technical debt.
6cabf9d to
a7bbdb4
Compare
c985d0e to
e718c92
Compare
|
bors merge |
Show that every semimodule over an ordered semiring is a convex space. It is sadly impossible to make this a global instance since it creates diamonds with structural instances such as `ConvexSpace R X → ConvexSpace R Y → ConvexSpace R (X × Y)` because `(∑ i, f i).fst = ∑ i, (f i).fst` isn't defeq, ultimately because `Finset.sum` isn't a field of `AddCommMonoid`.
|
Pull request successfully merged into master. Build succeeded: |
…y#39531) Show that every semimodule over an ordered semiring is a convex space. It is sadly impossible to make this a global instance since it creates diamonds with structural instances such as `ConvexSpace R X → ConvexSpace R Y → ConvexSpace R (X × Y)` because `(∑ i, f i).fst = ∑ i, (f i).fst` isn't defeq, ultimately because `Finset.sum` isn't a field of `AddCommMonoid`.
…y#39531) Show that every semimodule over an ordered semiring is a convex space. It is sadly impossible to make this a global instance since it creates diamonds with structural instances such as `ConvexSpace R X → ConvexSpace R Y → ConvexSpace R (X × Y)` because `(∑ i, f i).fst = ∑ i, (f i).fst` isn't defeq, ultimately because `Finset.sum` isn't a field of `AddCommMonoid`.
…y#39531) Show that every semimodule over an ordered semiring is a convex space. It is sadly impossible to make this a global instance since it creates diamonds with structural instances such as `ConvexSpace R X → ConvexSpace R Y → ConvexSpace R (X × Y)` because `(∑ i, f i).fst = ∑ i, (f i).fst` isn't defeq, ultimately because `Finset.sum` isn't a field of `AddCommMonoid`.
Show that every semimodule over an ordered semiring is a convex space.
It is sadly impossible to make this a global instance since it creates diamonds with structural instances such as
ConvexSpace R X → ConvexSpace R Y → ConvexSpace R (X × Y)because(∑ i, f i).fst = ∑ i, (f i).fstisn't defeq, ultimately becauseFinset.sumisn't a field ofAddCommMonoid.