Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] local definition in proof mode

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] local definition in proof mode


chronological Thread 
  • From: andr� hirschowitz <ah AT unice.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] local definition in proof mode
  • Date: Tue, 6 Apr 2010 15:07:32 +0200
  • 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:content-type; b=eb1Nkee3EhOzv782+5NPC++PfDFLOiviZpWi4FrMlWmwBN3MnfVxhm9FBJO+LjrSjw atTVPuAltSyUhQOpOKqN8RbusUWuHzwj+Ye+CYoKLAUmLAjb6f4EzBQXRjdqpR+ug5Tj TVsQ0TbyfPikNCuh1k7mtF7SVq4VuqVeorVcU=



In fact I doubt that assert is what andre wishes, as I think andre wanted to say,
 "assert (H: P)." produces an opaque term, and sometimes (it happened to me), we
 should want a transparent term with usable definition.

Exactly. I just want to give a name to an awful term which I am unable to write although I am able to produce it in proof mode.

That makes me think of a maybe real solution, but I am not sure it works:
instead of a "pose (H := _ : P).", you should try a "Lemma H: P."

No, this does not work because the local environment is not taken into account by this command (if my experiment is correct). Neither does Definition for the same reason.

Thanks to all.

ah









Archive powered by MhonArc 2.6.16.

Top of Page