On permutations

Define the following relationships on (list A): Show that the second one is an equivalence relation.

Solution

Look at this file

Notes

You could also define directly the relation perm as the reflexive-rtransitive closure of transpose. In this case, you first have to load the module Operators_Properties of the library Relations.

See also the development in this file , that contains some lemmas on permutations. Additionnally, it uses the library Relation_Classes.
Follow this link