Goal:
    A : Type  d : A  i : nat  v : A  H : nth i [] d = v
  ============================
   ((nth_error [] i = Some v) + (nth_error [] i = None ∧ v = d))%type


DEBUG:Going to execute:
match goal with
           | H:¬ _ |- _ => solve [ case H; trivial ]
           end
Level 1: Backtrace:

No such assumption.
Level 0: Backtrace:

No such assumption.
Level 0: Backtrace:

No such assumption.
Level 0: Backtrace:

No such assumption.