Goal:
  
  ============================
   (∀ (A : Type) (l : list A), {n : nat | n < #|l|} → [] = l → A)


DEBUG:Going to execute:
simpl; intros