proposition: Lemma getLast_append_list : forall ls d, fst (getLast (ls ++ d :: nil)) = ls.
proof: Proof. induction ls; simpl; intuition. destruct (ls ++ d :: nil) eqn:Heq. exfalso; eauto. rewrite <- Heq. rewrite IHls. auto. Qed.
imports: Tutorial