Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] "fold P in P;unfold P in P" loop

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] "fold P in P;unfold P in P" loop


chronological Thread 
  • From: "Andrew McCreight" <continuation AT gmail.com>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] "fold P in P;unfold P in P" loop
  • Date: Wed, 30 Jul 2008 16:38:26 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:subject:cc:in-reply-to:mime-version :content-type:references; b=oODxiLmMryvybsJjKdVXN6ry2FdX87qx0+PBTHywbkon5mkL99u+cktV2w0SHCngpE +K7Xxrd95DFItaEAkdDCIhIVbJ6OOolK6tZblXSu+FJRwS73ezmIrrgQFwVmXhZpQbrf ZfXRPlho+z5R+mUkvwk0uJmtTaPtV6T+oCizc=
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Hi,

This problem has been discussed before on the mailing list:

http://pauillac.inria.fr/pipermail/coq-club/2008/003728.html

That message has a bit of a workaround plus a link to the (not very useful) bug report in the Coq bug database.

-Andrew

On Wed, Jul 30, 2008 at 10:07 AM, <Cedric.Auger AT lri.fr> wrote:
I got an unexpected feature:
we can "fold P in P", but I am not sure
it has any meaning...

Why isn't there any way to avoid such rewriting?
Maybe it is a stupid question, but the following can
occur, and we may "loop" unexpectedly:

Goal True /\ True.
set (P := False).
fold P in *.
(* shouldn't react as it does,
  since P is no more a definition...,
  but for bigger definitions, we
  may find handy, to keep a light
  hypothesis environnement *)
split.
 (* situation A:

 P := P : Prop
 ============================
  True

 it is a piece of cake to solve it
   *)
 split.
 (* situation A:

 P := P : Prop
 ============================
  True

 we are in the same situation,
 but we want to unfold P
   *)
 unfold P in *.

--------------------------------------------------------
Bug reports: http://logical.futurs.inria.fr/coq-bugs
Archives: http://pauillac.inria.fr/pipermail/coq-club
         http://pauillac.inria.fr/bin/wilma/coq-club
Info: http://pauillac.inria.fr/mailman/listinfo/coq-club




Archive powered by MhonArc 2.6.16.

Top of Page