-
Notifications
You must be signed in to change notification settings - Fork 248
[ add ] Choudhury and Fiore's alternative definition of Permutation
for Setoid
s
#2726
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: master
Are you sure you want to change the base?
Conversation
@MatthewDaggitt 's approach to |
This is also equivalent to the more general version using |
No to closing, the comment was about pursuing a proof of What is the "more general version using |
A |
@JacquesCarette wrote:
Fantastic! Thanks so much for this (and apologies for not going back to #2311 where you do reference your own developments, and I never properly followed those up :-():
Nevertheless, all that said (and doubtless more that could be said), at least one reason I favour this
Now, this comment (and perhaps others above) properly belong to #2311, as 'design' rather than 'implementation', so I'll stop here. |
Permutation
for Setoid
sPermutation
for Setoid
s
@jamesmckinna In that last commit I think you forgot to add the moved file so it just looks like As for the naming debate, I would say stay away from naming it after people unless it's |
🤦 as to deleting the addition; now restored. Thanks @gallais ! |
I meant naturally isomorphic as rig categories (though I did omit 'in the presence of the axiom of choice'). |
Having said that: there are strong reasons for having many different representations of permutations in I'm also with @gallais on naming. Especially for permutations. While you may have learned X or Y permutation from a specific paper by specific people, usually those representations are decades if not centuries old. We need to hunt down the 'proper' names. |
Alternative definition, as described in #2311, and towards open problems arising from #2723 and #2725
NB.:
ChoudhuryFiore
, likeHinze
before, it, doesn't sit well with library style? But will change for the time being, against the possibility of eventually supersedingPermutation.Setoid
with this definition?)DRAFT
for the time being... or else could be fixed up in v3.0 once we agree which representations to bless for that release? UPDATED: have now done soTODO:
Base
/Properties
refactoringCHANGELOG
Regarding the
Sorted
lemma of #2723suggest that this be handled in a downstream PR:
_∼ₛ_
in which listcs
isSorted
, is equivalent to_∼_
(given a sorting algorithm, or at least the existence of a sorted representative of the_∼_
equivalence class)_∼ₛ_
, with some gymnastics, satisfiesproperty1
, but the paper proof I have needs tidying up