Proof of interchange_psum using esum - #2061
Open
lyonel2017 wants to merge 5 commits into
Open
Conversation
[CI] Update Nix toolbox
fixes math-comp#2043 (missing useful instances)
| - by move=> y _; rewrite /comp/= ger0_norm// ge0_psum. | ||
| Qed. | ||
|
|
||
| Lemma interchange_psum' : |
Member
There was a problem hiding this comment.
We avoid lemmas ending with a "prime" in the MathComp ecosystem.
| by apply/andP; split; [exact: normr_ge0 | exact: ger1_psum y (H1 x)]. | ||
| Qed. | ||
|
|
||
| Lemma inner_LHS x : (PosSum.psum (fun y => S x y))%:E = \esum_(y in [set: U]) `|S x y|%:E. |
Member
There was a problem hiding this comment.
Such a name is too generic to be global. It could be local or belong to the theory of PosSum.psum
| Hypothesis H1: (forall x, summable (S x)). | ||
| Hypothesis H2: summable (fun x => PosSum.psum (fun y => S x y)). | ||
|
|
||
| Lemma sm_col y : summable (fun x => `|S x y|). |
Member
There was a problem hiding this comment.
I think that we are using summable as a substring for identifiers of lemmas using summable (the identifier).
| (* -------------------------------------------------------------------- *) | ||
| Section PSumInterchangeEsum. | ||
| Context {R : realType} {T U : choiceType} (S : T -> U -> R). | ||
| Hypothesis H1: (forall x, summable (S x)). |
Member
There was a problem hiding this comment.
Suggested change
| Hypothesis H1: (forall x, summable (S x)). | |
| Hypothesis H1 : forall x, summable (S x). |
affeldt-aist
requested changes
Jul 30, 2026
affeldt-aist
left a comment
Member
There was a problem hiding this comment.
Sorry again for the short comments.
Since we already have an issue with the new version of experimental_reals
(we broke the compilation of ssprove: SSProve/ssprove#89),
let us postpone this one to the next release.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Proof of
interchange_psumusingesum. Asked by @affeldt-aist in #2007Checklist
CHANGELOG_UNRELEASED.mdReference: How to document
Reminder to reviewers