coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: mulhern <mulhern AT gmail.com>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club]Question about refine tactic
- Date: Mon, 24 Apr 2006 13:00:46 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ViHeX04UsX8D4sI8fgFzds4syX+1taaywWOqrLvw7q97oUYCm+dWO7Fcv6y/cIn0feIZAh8A5eCZQSlFkSRS2e/6ktidqy+AwnOoZXizXPi0vjbBVmfRe1+EdloBdWTAzCS+6zIkNhTwjWCN3mXgN+6XYHxcY7ELPJUUIm4YGgA=
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Hi!
Using the refine tactic and I got this error.
User error: execute: found a non-instanciated goal
Aren't non-instantiated goals exactly the things refine is supposed to allow?
I tried giving the placeholders their correct types but got the same
error message.
I then filled in the placeholders with their correct values; luckily
for these particular placeholders the correct value was easy.
Does anybody have any suggestions as to what would cause refine to
give this particular error?
Thanks!
-mulhern
Here is the context of the offending underscores:
(f_equal
(fun e : term => match e with
| TmTrue => _
| TmFalse => _
| TmIf _ t _ => t
end) H3 )
H3 has type TmIf t1 t2 t3 = TmIf tm1 tm2 tm3.
So the anonymous function above needs to have the underscores replaced
with subterms of (TmIf t1 t2 t3) thus:
(f_equal
(fun e : term => match e with
| TmTrue => t2
| TmFalse => t2
| TmIf _ t _ => t
end) H3)
- [Coq-Club]Question about refine tactic, mulhern
Archive powered by MhonArc 2.6.16.