Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Can Qed raise a type error?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Can Qed raise a type error?


chronological Thread 
  • From: Julien Forest <forest AT ensiie.fr>
  • To: Keiko Nakata <keiko AT kurims.kyoto-u.ac.jp>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] Can Qed raise a type error?
  • Date: Wed, 9 Jul 2008 12:37:38 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:x-mailer:mime-version:content-type :content-transfer-encoding:sender; b=L8m7vSAcip5sLFDsaIEvHMNtG8hO+zug0SqmDBJajpOxudVFhSXcTc8H4v8hxXEfZ7 NBV9oovFYUEDprUz6zjpV+vofPVK+aCk3VUBI86BQtUjvPYTsPn14VJL95os4W3vWJMS 9egoDZlR2XV27gxwSfjD+Drm3NAh4ixP22VUU=
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
  • Organization: CNAM

Hi Keiko, 
On Wed, 09 Jul 2008 17:33:54 +0900 (JST)
Keiko Nakata 
<keiko AT kurims.kyoto-u.ac.jp>
 wrote:

> 
> > by using the tactic "fix" without being cautious, you can complete a proof
> > but the Qed failed, mostly because your recursive call was not on a sub
> > term.
> > 
> > That's the only case I know where Qed can failed.
I not agree completely with Vincent. In theory, all tactics may lead to
type error at Qeq since the only critical phase w.r.t. typechecking is Qed.  
In practice, you can suspect new tactics (which are less tested than
old tactics) and tactics which have changed a lot recently. Some months
ago, I had a problem with rewrite (before Matthieu's changes), I
personally use some unsafe features as the fix tactic when creating
Function principles (but I can not break your proof since this part is
closed by its own qed). I suspect that some uses of eapply may lead to
wrong typed term. 
Can you send us the exact error message ? 


Best regards, 
Julien





Archive powered by MhonArc 2.6.16.

Top of Page