Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Error in Function command

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Error in Function command


Chronological Thread 
  • From: Anders Lundstedt <anders AT anderslundstedt.se>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Error in Function command
  • Date: Tue, 25 Feb 2014 03:30:05 +0100

On Sat, Feb 22, 2014 at 2:32 PM, Rui Baptista
<rpgcbaptista AT gmail.com>
wrote:
> A quick fix is:
>
> Definition implication (P Q : Prop) : Prop := P -> Q.
>
> Function truth' P {measure complexity P} : Prop := match P with
> | atom => True
> | conn P Q => implication (truth' P) (truth' Q)
> end.

Thanks, that worked. Is there any workaround when the recursive call
is in the body of a lambda? (See example in my other reply some
minutes ago.)



Archive powered by MHonArc 2.6.18.

Top of Page