Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Re: [Agda] Termination proof in partiality monad

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Re: [Agda] Termination proof in partiality monad


chronological Thread 
  • From: "Luke Palmer" <lrpalmer AT gmail.com>
  • To: "Edsko de Vries" <devriese AT cs.tcd.ie>
  • Cc: coq-club <coq-club AT pauillac.inria.fr>, "Agda mailing list" <agda AT lists.chalmers.se>
  • Subject: [Coq-Club] Re: [Agda] Termination proof in partiality monad
  • Date: Mon, 17 Nov 2008 08:18:35 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=w9rAw++9JLsfWHwENyFnI4RXy5H/9LOdUlOU2H1MB8ZSqwgfouNBnfB+43SvpLnyrl rmKw7IOxen6TqKZxRjQ63QS3VsPVHlmHd1C8Hkv0VOXPGNzYYkmsZKI7zWcw8LXOVue2 u3w912PaAeNe4vTegtMqlF1CsZ9K9Q76KhEeM=
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

On Mon, Nov 17, 2008 at 6:47 AM, Edsko de Vries 
<devriese AT cs.tcd.ie>
 wrote:
> PS. I asked this before on the Coq mailing list but received no replies;
> perhaps my previous email was too low-level. Hence this repost.

FWIW I did see your mail and experimented with your code for quite a
while, without making very much progress.  The problem I kept running
into is that I could not re-fold the definition of lfp (I think... I'm
doing this from memory) because there was an extra f in the
definition.  I suspect that a lemma to the effect of:

   lfp f = f (lfp f)

Would do the trick.  However that lemma cannot be stated the way you
formalized things.  I tried changing the terminates inductive to
terminatesWith, which encodes the value that it terminates with as
well, but that ended up being a pain and I just gave up.  I think the
above lemma is the key.

If you resolve this, I'd love to see it.

You might also be interested in Bertot and Komendantsky's recent
paper: http://hal.inria.fr/docs/00/30/57/08/PDF/ppdp19-bertot.pdf

Very interesting stuff, but it is quite complicated.

Luke





Archive powered by MhonArc 2.6.16.

Top of Page