Goal:
    A : Type  l : list A  n : nat  H : n < #|l|  Heq_l : [] = l
  ============================
   A


DEBUG:Going to execute:
subst Y
Level 1: Backtrace:

Ltac variable X is bound to [] of type constr which cannot be coerced to
a variable.