coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Chris Casinghino <chris.casinghino AT gmail.com>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] "Anomaly" with crush
- Date: Thu, 17 Feb 2011 12:55:14 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=kK++oc+KhyK4Oai6xXKjzofl+STE9f0w/VXgwgCLIpZJQxFXSLmrfQhUvuLhuLPdqg 5oNGZcQh6jXvnbXfIMhJF0UaXatOcYYUzegZHHNK/NK1szg4RNChdhvSJH+VcTj13ntE ZBHbyC483baNO0mfFxtPdAhLxj6OUd6+isXz8=
OK, I have reduced this to a very small example with no cpdt
dependency. Looks like it's clearly a coq bug. Perhaps someone
running the latest svn version can check whether or not it still
exists?
This code causes coq-8.3pl1 to respond "Anomaly: unknown meta
?2. Please report." The code attempts to rewrite by something which
is not an equality, but coq should fail more gracefully (in a more
standard Ltac way).
Require Import List.
Theorem error : forall (P : list nat -> Prop),
(forall (A B : list nat), P (app A B)) -> False.
Proof.
intros P H. rewrite H.
In the short term, is there a simple Ltac check I can add to my larger
tactic that will fail more gracefully if a hypothesis can not be used
as an argument to rewrite?
Thanks!
--Chris Casinghino
On Tue, Feb 15, 2011 at 4:06 PM, Adam Chlipala
<adam AT chlipala.net>
wrote:
> Chris Casinghino wrote:
>>
>> The following simple code snippet causes coq to complain "Anomaly:
>> unknown meta ?122. Please report." along with a larger error,
>> reproduced below. This sounds like a coq error, but the example uses
>> the cpdt crush tactic.
>>
>
> I'm going to take the error message at face value and assume that this is a
> bug that needs fixing in Coq. :-)
>
- [Coq-Club] "Anomaly" with crush, Chris Casinghino
- Re: [Coq-Club] "Anomaly" with crush,
Adam Chlipala
- Re: [Coq-Club] "Anomaly" with crush, Chris Casinghino
- Re: [Coq-Club] "Anomaly" with crush,
Tom Prince
- [Coq-Club] Monads in Coq,
AUGER Cedric
- Re: [Coq-Club] Monads in Coq, ahrens
- Re: [Coq-Club] Monads in Coq,
alexandre p
- Re: [Coq-Club] Monads in Coq, Adam Chlipala
- Re: [Coq-Club] Monads in Coq, Thomas Strathmann
- [Coq-Club] Monads in Coq,
AUGER Cedric
- Re: [Coq-Club] "Anomaly" with crush,
Tom Prince
- Re: [Coq-Club] "Anomaly" with crush, Chris Casinghino
- Re: [Coq-Club] "Anomaly" with crush,
Adam Chlipala
Archive powered by MhonArc 2.6.16.