Definition reverse {X : UU} (x : Sequence X) : Sequence X := functionToSequence (fun i : (stn (length x)) => x (dualelement i)).
Require Import UniMath.Combinatorics.Vectors. Require Import UniMath.MoreFoundations.PartA. Require Import UniMath.MoreFoundations.Tactics.