-
Notifications
You must be signed in to change notification settings - Fork 47
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
fixes #1051 (rename lim_sup
-> limn_sup
)
#1068
Conversation
lim_sup
-> lim_nsup
)lim_sup
-> limn_sup
)
|
@CohenCyril the renaming is as we discussed during the last meeting, plus one name change that I made to be more uniform between the real and the ereal versions |
@@ -1459,17 +1459,17 @@ End standard_measurable_fun. | |||
#[global] Hint Extern 0 (measurable_fun _ (fun x => x ^+ _)) => | |||
solve [exact: measurable_exprn] : core. | |||
#[deprecated(since="mathcomp-analysis 0.6.3", note="use `measurable_exprn` instead")] | |||
Notation measurable_fun_sqr := measurable_exprn. | |||
Notation measurable_fun_sqr := measurable_exprn (only parsing). |
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 didn't know Coq accepted this... (only parsing syndefs...)
Sure! I agree with the renaming. Can you tell me why the "only parsing" for lemmas (where are they printed anyway?) |
I think that I only added them ("only parsing" format info) to |
I meant: why bother putting only parsing on notations for lemma. What else than |
I'll remove them asap. |
Well, in fact, besides |
I do not understand. It's good that the error is about the deprecated lemma, and that the warning notice gives the new lemma. Can you give me a concrete usecase, with a concrete error message and what's wrong with it. I tried to reproduce what you said but for me the result is unchanged whether I put e.g. whether I put
it emits:
anyway... |
For example, in the current state, if you apply, say,
which is a bit puzzling at first sight.
|
Oh I undestand now!! Thanks for the clarification! |
This is really nontrivial, could you document it somewhere? |
What about an entry in CONTRIBUTING.md about how to write deprecated pragmas? |
I added a few sentence in |
* fixes math-comp#1051 * add only parsing
Motivation for this change
fixes #1051
as (briefly) discussed during the last meeting https://github.com/math-comp/analysis/wiki/2023-10-16-Meeting
Things done/to do
CHANGELOG_UNRELEASED.md
Compatibility with MathComp 2.0
TODO: HB port
to make sure someone ports this PR tothe
hierarchy-builder
branch or I already opened an issue or PR (please cross reference).Automatic note to reviewers
Read this Checklist and put a milestone if possible.