coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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
- [Coq-Club] Eval compute problem, Wojciech Moczydlowski
- Re: [Coq-Club] Eval compute problem, Pierre Letouzey
- Re: [Coq-Club] Eval compute problem, Jasper Stein
- Re: [Coq-Club] Eval compute problem, Pierre Letouzey
Archive powered by MhonArc 2.6.16.