-
Notifications
You must be signed in to change notification settings - Fork 246
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
Relation.Binary.Bundles.Preorder
declares the 'wrong' symbol for the ordering relation!!!
#2096
Comments
I agree that |
I agree that it's a breaking change. And I think that means if this is something we want to do, we ought to do it now. We're not going to have another major version increment any time soon |
Two/three things to say to this:
|
Aaaargh... this may be worse than I hoped/thought/feared. Some great subtleties to do with renaming symbols in the signature of the |
Algebra.Bundles.Preorder
declares the 'wrong' symbol for the ordering relation!!!Relation.Binary.Bundles.Preorder
declares the 'wrong' symbol for the ordering relation!!!
Agree with changing to |
Closing this now after merge of #2099 . But NB discussion above about deprecation! |
Preorder
s are rarelySymmetric
, unless they arise already from instances ofSetoid
/IsEquivalence
.So... why in the name of all that is holy do we declare them with a field name
_∼_
which is (notationally/syntactically/formally) symmetric.Consequences:
Relation.Binary.Properties.Preorder
) can't have a 'flipped' notation, so we have to make do with the (semantically)flip
ped definition of the converse relation;Poset
is declared inRelation.Binary.Properties.Poset
, when that could simply be a renaming of the converse fromRelation.Binary.Properties.Preorder
, were that to be able to have a notation (qua definition, or else assyntax
declaration);_≮_
and_≰_
to bundles in the binary relation hierarchy. #1214 / [fixes #1214] Add negated ordering relation symbols systematically toRelation.Binary.*
#2095 as a result...Refactoring PROPOSAL: that we rename (and appropriately deprecate, groan) the infix symbol/definition
_∼_
to be_≲_
, which becomes_≤_
inPoset
, etc... and whoseRelation.Binary.Properties.Preorder.InducedEquivalence
be given by @laMudri 'sRelation.Binary.Construct.Interior.Symmetric
from #2071 applied to_≲_
...Just sayin'.
The text was updated successfully, but these errors were encountered: