Goal:
    A : Type  l : list A  n : nat
  ============================
   ((∑ x : A, nth_error l n = Some x) <~> n < #|l|)


DEBUG:Going to execute:
<coq-core.plugins.ltac::revert@0> $1