-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mathcomp master PseudoMetricNormedZmod #180
Conversation
Issue: Sometimes one needs to explicitly mention the pseudoMetricNormedZmodType on which lemmas are applied while it was not necessary with NormedModTypes. It also makes (at least) |
Issue: Some further generalizations should be possible but |
5cc9b78
to
0afbda8
Compare
0afbda8
to
b3e7e80
Compare
4d1cc32
to
4905f3c
Compare
7bfee4a
to
b8c628c
Compare
This branch/PR has been rebased on PR #177 that lifts several lemmas about limits to the level of topological spaces, thus the issues about Line 786 in b8c628c
|
b8c628c
to
1327fea
Compare
17086dc
to
7d1689b
Compare
1327fea
to
7d4bed6
Compare
theories/normedtype.v
Outdated
Lemma norm_cvg_eq x y : x --> y -> x = y. Proof. exact: cvg_eq. Qed. | ||
Lemma norm_lim_id x : lim x = x. Proof. exact: lim_id. Qed. | ||
Lemma norm_cvg_eq (x y : V) : x --> y -> x = y. Proof. exact: (@cvg_eq V). Qed. | ||
Lemma norm_lim_id x : [lim x in V](*NB: was lim x*) = x. Proof. exact: lim_id. Qed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this is now the main concern of this PR. This notation is properly documented, so this is acceptable to me as long as we keep the comment. @CohenCyril Is this acceptable for you too? Does the modification made to nbhs_le_nbhs_norm
ring any bell by any chance?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
solved by 8443585 actually...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improve one comment and confirm the notation use with another reviewer (see the conversation).
595a28a
to
6ed13e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok with me but I am biased
from normedModType to pseudoMetricNormedZModType Co-authored-by: Reynald Affeldt <reynald.affeldt@aist.go.jp> rebase in progress, admits inside
- use `filter_predI` instead of the new `filter_andb` (removed) - `Module BigmaxBigminr` was duplicated
- enforce the type of `nbhs` in `normedtype.v:nbhs_le_nbhs_norm` so that the type of implicit arguments look more as expected + this solves an inference problem in `derive.v:bilinear_eqo` - nitpicking about spaces
- also remove spurious comment
6ed13e7
to
79dd6b5
Compare
theories/normedtype.v
Outdated
rewrite near_map => /nbhs_ballP[_/posnumP[a]] + xl; apply. | ||
move/cvg_ball : xl => /(_ _ a)/nbhs_ballP[_/posnumP[b]]; apply; exact: ballxx. | ||
move/(cvg_ball (y := l)): xl=> /(_ _ a)/nbhs_ballP[_/posnumP[b]]; apply; exact: ballxx. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not use the _ := _
syntax, it is too unstable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this actually revealed a wrong definition: 13e50e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to merge after my comments have been taken into account.
Also, I would rather have TODO/NBs turned into issues, they are less prone to bitrot.
caf46d3
to
5b8886f
Compare
Co-authored-by: Cyril Cohen <CohenCyril@users.noreply.github.com>
5b8886f
to
6cbe24e
Compare
- this solves at least one inference problem
NBs that were marking issues caused by this PR has been resolved (I think). |
- generalizations of several lemmas from `normedModType` to `pseudoMetricNormedZModType` - enforce the type of `nbhs` in `normedtype.v:nbhs_le_nbhs_norm` so that the type of implicit arguments look more as expected + this solves an inference problem in `derive.v:bilinear_eqo` Co-authored-by: Reynald Affeldt <reynald.affeldt@aist.go.jp>
Further generalisations from normedModTypes to PseudoMetricNormedZmodTypes.
NB(rei): fixes #382
TODO:
analysis/theories/derive.v
Line 789 in 45e488f