Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Reset Induction Principle

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Reset Induction Principle


chronological Thread 
  • From: Pierre Courtieu <Pierre.Courtieu AT cnam.fr>
  • To: catalin.hritcu AT gmail.com
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Reset Induction Principle
  • Date: Thu, 4 Mar 2010 20:38:55 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=wXAoZzNgJp88acSYjLNkF8EbLYGMJUala5o7RxsVQ15o5E0AX5+teB0jKwIAisTKNX buDGceCB/svFOlOmGS2qFXFSyBdDxHJ6U+56pgEVnjE7y8Oclo9QmTC3o7ffCsVWPFAD WWOkOSJ9uZaMk7hc3e/WumeGm9pNxmw0A6LLo=

No this is not a bug. These commands are supposed to be used when
using coq in a terminal. Using these command in coqide would
de-synchronize the "locked region" of the buffer and coq typing
environment. The locked region is supposed to represent at any time
the definitions already accepted by the prover. In particular allowing
such command would lead to situations where navigation forward would
be impossible. For example:


Definition X:=nat.
(*Point 2*)
Definition Y := X.
Definition Z:= ....
Reset X.
(* Point 1*)

Suppose the user navigates this file to point  1 and then back to
point 2, then definition of Y is not typable since X was resetted. So
the user is stuck.

This may seem restrictive but I think it is a good thing that this
kind of problem is avoided.

However it may be interesting to wish for an option for disabling this
restriction for people knowing what they do.

You may use proofgeneral for that in the meantime, though I would not
call this a feature of PG...

Regards,
People


2010/3/4  
<catalin.hritcu AT gmail.com>:
> Hello,
>
> I have an apparently similar problem with the commands "Restart" and 
> "Abort".
> They are accepted by coqc, but CoqIDE gives out an "Error: Use CoqIDE
> navigation instead". "Reset" doesn't work either.
>
> Is it possible that this is a CoqIDE bug?
>
> Thanks,
> Catalin
>



Archive powered by MhonArc 2.6.16.

Top of Page