[Merged by Bors] - refactor: generalise compact from CompleteLattice to PartialOrder#33061
[Merged by Bors] - refactor: generalise compact from CompleteLattice to PartialOrder#33061edwin1729 wants to merge 2 commits intoleanprover-community:masterfrom
Conversation
PR summary 0bc483ae44Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
c4e9adc to
786ef0f
Compare
|
@b-mehta requesting review |
b-mehta
left a comment
There was a problem hiding this comment.
The loss of dot notation is because the def's name used to be a prefix of the relevant lemmas, but the new name isn't any more. You could move the lemmas out of CompleteLattice, which might make sense to do, currently most lemmas about CompleteLattice outside this file aren't in that namespace.
Nice work though!
I think I will just leave it as is. Since dot notation could be used if future lemmas where placed in the |
0b80fbd to
b7cef19
Compare
|
Just a reminder that this PR is ready for review, and all comments have been addressed. @b-mehta |
11bf788 to
08ec932
Compare
|
As this PR is labelled bors merge |
…3061) `IsCompactElement` assumes a `CompleteLattice` structure on the type for which it is defined. But a `PartialOrder` will suffice and this is the textbook definition of compact https://en.wikipedia.org/wiki/Compact_element. Also it is currently defined in a non-standard way. The standard definition uses directed sets. Changing this has indeed simplified most proofs by removing an `rw` into this more standard form. Co-authored-by: Edwin Fernando <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
…anprover-community#33061) `IsCompactElement` assumes a `CompleteLattice` structure on the type for which it is defined. But a `PartialOrder` will suffice and this is the textbook definition of compact https://en.wikipedia.org/wiki/Compact_element. Also it is currently defined in a non-standard way. The standard definition uses directed sets. Changing this has indeed simplified most proofs by removing an `rw` into this more standard form. Co-authored-by: Edwin Fernando <[email protected]>
…anprover-community#33061) `IsCompactElement` assumes a `CompleteLattice` structure on the type for which it is defined. But a `PartialOrder` will suffice and this is the textbook definition of compact https://en.wikipedia.org/wiki/Compact_element. Also it is currently defined in a non-standard way. The standard definition uses directed sets. Changing this has indeed simplified most proofs by removing an `rw` into this more standard form. Co-authored-by: Edwin Fernando <[email protected]>
…anprover-community#33061) `IsCompactElement` assumes a `CompleteLattice` structure on the type for which it is defined. But a `PartialOrder` will suffice and this is the textbook definition of compact https://en.wikipedia.org/wiki/Compact_element. Also it is currently defined in a non-standard way. The standard definition uses directed sets. Changing this has indeed simplified most proofs by removing an `rw` into this more standard form. Co-authored-by: Edwin Fernando <[email protected]>
IsCompactElementassumes aCompleteLatticestructure on the type for which it is defined. But aPartialOrderwill suffice and this is the textbook definition of compact https://en.wikipedia.org/wiki/Compact_element.Also it is currently defined in a non-standard way. The standard definition uses directed sets. Changing this has
indeed simplified most proofs by removing an
rwinto this more standard form.Note to reviewers: moving
IsCompactElementout of theCompleteLatticenamespace caused the loss of being able to use dot notation here and here. Would like help fixing that