Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] [Function] with measure?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] [Function] with measure?


Chronological Thread 
  • From: Pierre Courtieu <pierre.courtieu AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] [Function] with measure?
  • Date: Wed, 24 Aug 2016 11:09:29 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=pierre.courtieu AT gmail.com; spf=Pass smtp.mailfrom=pierre.courtieu AT gmail.com; spf=None smtp.helo=postmaster AT mail-lf0-f43.google.com
  • Ironport-phdr: 9a23:SdO3KRP8J4BWlg4YM6El6mtUPXoX/o7sNwtQ0KIMzox0KPX+rarrMEGX3/hxlliBBdydsKMdzbGI+Pi7ESxYuNDa4ShEKMQNHzY+yuwu1zQ6B8CEDUCpZNXLVAcdWPp4aVl+4nugOlJUEsutL3fbo3m18CJAUk6nbVk9GO35F8bogtit0KjqotuIMlwO32T2Oeg6bE3v616A7o9O2coqA51y4yOBmmFPdeVSyDEgDnOotDG42P2N+oV++T9bofMr+p0Ie6z7e6MlUe4QV2x+YCgdrffmvhjbTAaJ+mBUEiBPykIJUED560TRWY65mS/nvKIp0y6DeMbyULocWDK47q4tRgW+2wkdMDtsyGDakNZ9xIlcvQi9phFii9rMYYyPLvc4daTAZ88bSHdpUcNYVigHCYS5OdhcR9EdNPpV+tGu72AFqgGzUEz1XLvi

Hi Randy,

2016-08-24 0:36 GMT+02:00 Randy Pollack
<rpollack0 AT gmail.com>:
> I define a function using a measure, e.g.
>
> Function foo (xs:list nat) : nat :=
> match xs with ... end.

Just to be sure: If you use a measure then "{measure lt xs}" should
appear somewhere.

> The function is accepted and an obligation goal is generated.
>
> I solve the obligation and the Coq response is
>
> No more subgoals.
> (dependent evars:)
>
> Neither Qed nor Defined is accepted at this point,
> and the function
> foo is "not found in the current environment."

That should not happen. Is there some warning? (look in the *coq*
buffer in PG, in case it got hidden somehow)

> I did not find in the RefMan how to finish this definition.

Nothing special there, "Defined" is fine as usual.

Best regards,
Pierre
PS. Can you send the code please, either to coq-club or to me?


>
> Thanks for any help.
>
> --Randy



Archive powered by MHonArc 2.6.18.

Top of Page