agda-stdlib icon indicating copy to clipboard operation
agda-stdlib copied to clipboard

Prove that Permutation' n is isomorphic to Fin (n !)

Open Taneb opened this issue 4 months ago • 3 comments

There are exactly n ! permutations on n elements. We should prove this. It would be useful for, for example, finite group theory.

I had a bit of a go, but I found I was missing a remove-cong function for proving the isomorphism holds.

Taneb avatar Sep 10 '25 06:09 Taneb

You might also want to look at this talk by Patrik Jansson which I heard last week.

jamesmckinna avatar Sep 16 '25 12:09 jamesmckinna

I had done Lehmer codes, up to (but not including) composition. I could never quite figure out Split. Scoured the internet, asked on forums - nothing. So: yay to Patrik!

I should point out to him that it's not just symmetric monoidal category, it's a symmetric rig groupoid!

JacquesCarette avatar Sep 19 '25 15:09 JacquesCarette

(re: groupoids) I had meant to, after his talk, but it got lost in the wash of other discussion. But yes. he tells me there's a version (of the view) which is also indexed by the semantics, but I've yet to see the details.

jamesmckinna avatar Sep 20 '25 08:09 jamesmckinna