Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Eval compute problem

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Eval compute problem


chronological Thread 
  • From: Pierre Letouzey <Pierre.Letouzey AT lri.fr>
  • To: Wojciech Moczydlowski <wm174746 AT zodiac.mimuw.edu.pl>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] Eval compute problem
  • Date: Sat, 27 Nov 2004 18:49:41 +0100 (MET)
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>


On Sat, 27 Nov 2004, Wojciech Moczydlowski wrote:

My question is - why does the last command give this answer, which
doesn't seem to be reduced enough? I would expect it to evaluate to 20.

Thanks,

Wojtek


At the end of your definition, use the keyword "Defined" instead of "Save, and your function will be reducible. By default, bodies of theorems &
lemmas, finished with Qed or Save, are considered "Opaque" and are not unfold-able. You can have a look at the reference manual for more information about this Opaque/Transparent distinction.

Pierre Letouzey




Archive powered by MhonArc 2.6.16.

Top of Page