Goal:
  
  A : Type
  a : A
  x : A
  l : list A
  IHl : 0 < S #|l| → Some a = nth_error (List.rev l ++ [a]) (#|l| - 0)
  ============================
   (0 < S (#|l| + 1) → Some a = nth_error (List.rev l ++ [a]) #|l|)


DEBUG:Going to execute:
<coq-core.plugins.ssreflect::ssrrewrite@0> $1 $2