Idris2Doc : Control.Permutation.Mod

Control.Permutation.Mod

circulate : Permutationn
  For S_4, (1234)

Totality: total
cycles : Permutation (Sn) -> List (List (Fin (Sn)))
  Return a list of disjoint cycles given a permutation. We use this for our
pretty-printer.

Totality: total
enumerateStrict : Vect (factorialn) (Permutationn)
  All permutations of a certain order.

Totality: total
factorial : Nat -> Nat
Totality: total
isEven : Permutationn -> Bool
  Test whether a permutation is even.

Totality: total
order : Permutation (Sn) -> Nat
Totality: total
piPerm : Finn -> Finn -> Permutationn
  The permutation π_ij

Totality: total
swaps : Permutationn -> List (Permutationn)
  Factors a permutation into a product of swaps.

Totality: total