How do I prove the following trivial lemma:
Require Import Vector.
Lemma t0_nil: forall A (x:t A 0), x = nil A.
Proof.
Qed.
FAQ recommends decide equality
and discriminate
tactics but I could not find a way to apply either of them. For the reference, here is inductive definition:
Inductive t A : nat -> Type :=
|nil : t A 0
|cons : forall (h:A) (n:nat), t A n -> t A (S n).