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:
Tactics.program_simpl
DEBUG LTAC Evaluated term: A
DEBUG LTAC Evaluated term: Type
Level 3: type of T
 has value 
Type

Level 3: Backtrace:

No matching clauses for match.
Level 2: Backtrace:

No matching clauses for match.
Level 1: Backtrace:

No matching clauses for match.
Level 0: Backtrace:

No matching clauses for match.