-
Notifications
You must be signed in to change notification settings - Fork 110
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
rpred expose the iinternal of Num.real #1108
Comments
What about |
It improves things but still 1 \in Num.Def.Rreal_pred Anyway there is something weird. Now I write |
You may have to add something like
I think both are accepted as input but it should indeed be the second when printing. |
From mathcomp Require Import all_ssreflect all_algebra all_field.
Open Scope ring_scope.
Goal (- 1 : algC) \is Num.real.
rewrite GRing.rpredN.
by rewrite -[_ \in _]/(_ \is Num.real).
Qed. |
I see, I don't think we have a better solution currently. |
I am porting my code to
mathcomp2.1
Here is the initial code :
rpredN
turns into-1 \is Creal
into1 \is Creal
which is solved automatically.With
mathcomp2.1
Now
repdN
exposes the interval1 \in Num.Internals.Def_Rreal_pred__canonical__GRing_OppClosed Algebraics.Implementation_type__canonical__Num_NumDomain
and the proof does not terminate anymore with
by []
.What has changed?
The text was updated successfully, but these errors were encountered: