Skip to content

Conversation

@pi8027
Copy link
Collaborator

@pi8027 pi8027 commented Jan 26, 2023

  • I think that RelOrder should not be imported.
  • It seems to me that the prelattice structure should be bundled. The disadvantage of the current slightly unbundled version is that we cannot infer the prelattice instance from a given S : {fset T}.
  • Redefined finLattice to split the Boolean conjunction into three fields. Defining its subType instance becomes a bit tricky, but I managed to do that.

@pi8027 pi8027 marked this pull request as draft January 26, 2023 15:36
src/finlattice.v Outdated
Comment on lines 456 to 424
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.
Copy link
Collaborator Author

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.
Copy link
Collaborator Author

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.

@pi8027
Copy link
Collaborator Author

pi8027 commented Feb 13, 2023

Shall we merge and continue on the coq_8_16 branch?

@pi8027
Copy link
Collaborator Author

pi8027 commented Feb 13, 2023

Ah, but I guess I have no write access.

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.

2 participants