(** * Addendum to the standard library of Coq *)
Require Export Omega.
Global Obligation Tactic := idtac.
Notation "[ x ; .. ; y ]" := (cons x .. (cons y nil) .. ).

Lemma map_seq_nth : forall A B (l : list A) (g : A -> B) d,
map (fun n => g (nth n l d)) (seq 0 (length l)) = map g l.