This is based on this thread on the mailing list started by Todd Wilson (@lambdacalculator). His example:
Kind t type.
% Close t.
Theorem member_prune[A] : forall E (L:list A), nabla (x:A),
member (E x) L -> exists E', E = y\E'.
induction on 1. intros. case H1.
search.
apply IH to H2. search.
This fails unless the Close t is commented out. Obviously t can be introduced after the theorem is proved and there would be no error.
This is based on this thread on the mailing list started by Todd Wilson (@lambdacalculator). His example:
This fails unless the
Close t
is commented out. Obviouslyt
can be introduced after the theorem is proved and there would be no error.