-
Couldn't load subscription status.
- Fork 1
WIP cleanup finlattice.v #1
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: coq_8_16
Are you sure you want to change the base?
Conversation
src/finlattice.v
Outdated
| Definition fmeet (S : finLattice) := (premeet L S). | ||
| Definition fjoin (S : finLattice) := (prejoin L S). | ||
| Definition fmeet (S : finLattice) := premeet L S. | ||
| Definition fjoin (S : finLattice) := prejoin L S. |
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.
Turning the prelattice structure into a bundled structure would allow us to remove these fmeet and fjoin.
src/finlattice.v
Outdated
| Module Exports. | ||
| Coercion base : class_of >-> Order.POrder.class_of. | ||
| Coercion mixin : class_of >-> mixin_of. | ||
| Coercion class : type >-> class_of. |
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.
Usually class is not a coercion.
|
Shall we merge and continue on the coq_8_16 branch? |
|
Ah, but I guess I have no write access. |
RelOrdershould not be imported.S : {fset T}.finLatticeto split the Boolean conjunction into three fields. Defining itssubTypeinstance becomes a bit tricky, but I managed to do that.