Goal:
  
  ============================
   (∀ (A : Type) (l : list A) (n0 : {n : nat | n < #|l|}) 
      (hd : A) (tl : list A),
      hd :: tl = l
      → ∀ (filtered_var := proj1_sig n0) (n : nat),
          S n = filtered_var → (λ n1 : nat, n1 < #|tl|) n)


DEBUG:Going to execute:
simpl; intros; Tactics.destruct_all_rec_calls;
            repeat (Tactics.destruct_conjs; simpl proj1_sig in *); subst *;
            Tactics.autoinjections; try Tactics.discriminates