While trying to prove a lemma, I get to a situation where there is only one subgoal left, which is nat
:
1 subgoal
...
______________________________________(1/1)
nat
I'm confused as to what that means. What do I actually need to prove? Is there any documentation on the subject available (coq questions are incredibly hard to google)?
I don't want to share the actual lemma, because it's an assignment. Basically I'm trying to prove an inductive definition which is something like that:
Inductive indef : deftype -> Prop :=
| foo x : indef (construct_0 x)
| bar a : (forall x, some_predicate x a) -> indef (construct_1 a).
In the proof I'm able to show that (forall x : nat, some_predicate x a)
. While the predicate some_predicate
is only defined for nat
, I suspect that the problem has something to do with the fact that the type of x
is not explicitly stated in the definition of indef
.
Could this be the reason I'm seeing the nat
subgoal`?