Goal:
    A : Type  l : list A  n : nat  a : A  Heq : nth_error l n = Some a
  ============================
   (n < #|l|)


DEBUG:Going to execute:
t