Skip to content
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

lemmas about mule #403

Merged
merged 10 commits into from
Sep 18, 2021
Merged

lemmas about mule #403

merged 10 commits into from
Sep 18, 2021

Conversation

affeldt-aist
Copy link
Member

No description provided.

@CohenCyril
Copy link
Member

A comment about what goes wrong when unlocked?

@affeldt-aist
Copy link
Member Author

A comment about what goes wrong when unlocked?

The detail that prompted me to lock is that otherwise /= simplifies it even under bigops given difficult-to-read formulas on the screen. I guess we did not bother for other arithmetic operations so far because they are more simple.

@CohenCyril
Copy link
Member

CohenCyril commented Jul 29, 2021

A comment about what goes wrong when unlocked?

The detail that prompted me to lock is that otherwise /= simplifies it even under bigops given difficult-to-read formulas on the screen. I guess we did not bother for other arithmetic operations so far because they are more simple.

Ok, lock is not made for that, only for kernel / unification inefficiences.
Please try nosimpl instead:

Definition mule_subdef := <the definition of multiplication>

Definition mule := nosimpl mule_subdef.

@affeldt-aist affeldt-aist changed the title a few lemmas about distributivity of \bar R lemmas about mule Jul 29, 2021
@affeldt-aist affeldt-aist added this to the 0.3.11 milestone Aug 13, 2021
Copy link
Collaborator

@proux01 proux01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delayed review. This looks great!
(I had some doubts at first because in floating-point arithmetic oo x 0 yields a NaN and not 0, but that's quite moral, the 0 of floats meaning "a tiny value" whereas here 0 is exactly 0)

CHANGELOG_UNRELEASED.md Outdated Show resolved Hide resolved
theories/ereal.v Outdated Show resolved Hide resolved
theories/ereal.v Outdated Show resolved Hide resolved
theories/ereal.v Outdated Show resolved Hide resolved
theories/ereal.v Outdated Show resolved Hide resolved
@affeldt-aist
Copy link
Member Author

Sorry for the delayed review. This looks great!
(I had some doubts at first because in floating-point arithmetic oo x 0 yields a NaN and not 0, but that's quite moral, the 0 of floats meaning "a tiny value" whereas here 0 is exactly 0)

thank you very much, I addressed your comments, there were all to the point

Copy link
Collaborator

@proux01 proux01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot assign myself nor merge but this looks mergeable to me.

theories/ereal.v Outdated Show resolved Hide resolved
theories/ereal.v Outdated Show resolved Hide resolved
theories/ereal.v Outdated Show resolved Hide resolved
affeldt-aist and others added 2 commits August 31, 2021 02:31
- distributivity lemmas
- associativity of mule
- lock definition mule with lemma muleE
Co-authored-by: Pierre Roux <pierre@roux01.fr>
Co-authored-by: Cyril Cohen <cohen@crans.org>
- also fix changelog
theories/ereal.v Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants