Definition sequenceToFunction {X} (x:Sequence X) := pr2 x : stn (length x) -> X.
Require Import UniMath.Combinatorics.Vectors. Require Import UniMath.MoreFoundations.PartA. Require Import UniMath.MoreFoundations.Tactics.