Open jouvelot opened 2 years ago
I was able to reproduce this back to Coq 8.5 [thanks jsCoq :)] so indeed, not a new problem.
Note that this only happens when the goal in have
is a subterm of the main goal. See even weirder behavior:
have foo n : A -> B. (* works *)
have foo : A -> B := _ . (* 100% bizarre *)
The Ssreflect
have
construct fails in a somewhat unexpected way. The error message isNote that adding a dummy argument to
foo
(i.e.,have foo n:
) makes it succeed.Coq 8.13.0 (also fails in jsCoq)