Fixpoint zip (s : seq S) (t : seq T) {struct t} :=
  match s, t with
  | x :: s', y :: t' => (x, y) :: zip s' t'
  | _, _ => [::]
  end.Definition unzip1 := map (@fst S T).Definition unzip2 := map (@snd S T).

Lemma rev_zip s1 s2 : size s1 = size s2 -> rev (zip s1 s2) = zip (rev s1) (rev s2).