-
Notifications
You must be signed in to change notification settings - Fork 5
reintroduce a type for angle (wip) #36
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
base: master
Are you sure you want to change the base?
Conversation
|
I did not read the PR but one should ideally show that the type |
Right but using which tooling from MathComp? |
|
|
could it be the definition of angle? |
|
Be careful, you do not need to build |
|
It could also be the definition of angle... sure |
|
This PR is the consequence of an effort to replace the coq-robot definition of trigonometric functions with what is now available in MathComp-Analysis but maybe we should first generalize expR to complex numbers to prove the relation with cos/sin to redefine the already-existing angle as a subtype of R that can finally be endowed afterwards with a ring structure using ring_quotient. |
|
|
||
| Lemma sin_eq0 (r : R) : sin r = 0 <-> exists k, r = k%:~R * pi. | ||
| Proof. | ||
| split; last by move=> [k ->]; rewrite sin_int_pi. |
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.
could this also be handled by some general alternating property
f x = 0, alternating f p -> there exists 0 <= x <p /\ f x = 0
``.
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.
Thank you for your comments. This one I hadn't it time to address it today.
See 2a5197b
|
Reintroducing the type |
No description provided.