Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Optional elim restriction?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Optional elim restriction?


Chronological Thread 
  • From: Ralf Jung <jung AT mpi-sws.org>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Optional elim restriction?
  • Date: Thu, 10 Mar 2016 19:41:12 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jung AT mpi-sws.org; spf=Pass smtp.mailfrom=jung AT mpi-sws.org; spf=None smtp.helo=postmaster AT hera.mpi-klsb.mpg.de
  • Ironport-phdr: 9a23:ZTWO+RWBVLLvSNhGEkyiOgEOhO3V8LGtZVwlr6E/grcLSJyIuqrYZheGt8tkgFKBZ4jH8fUM07OQ6PC/HzxQqs/Y6DgrS99laVwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfTR8Kum9IIPOlcP/j7n0oM2MJVUYz2PkOftbF1afk0b4joEum4xsK6I8mFPig0BjXKBo/15uPk+ZhB3m5829r9ZJ+iVUvO89pYYbCf2pN/dwcbsNBzM/dmsx+cfDtB/ZTALJ6GFPfH8Rl09yCgzLpDPnWJi55innsOVV3TGbeNbpVvYzQzv0vPQjcwPhlCpSb21xy2rQkMEl1K8=

Hi,

> If you want to avoid using axiom, I think you should really avoid using
> Type for proofs. In my experience, once you do this choice, either you
> decide to put everything in Type (thus giving up on impredicativity), or
> you have to use some sort of axiom of choice.
>
> What is the actual reason justifying this choice ?

We have a partial order on a PCM-like structure defined the usual way

a <= b := exists c, b = a * c

If you now, e.g., have a function "nat -> T" for some PCM T, and you
lift the PCM pointwise as usual, you obtain a relation on "nat -> T"
like this (after unfolding a little)

f <= g := exists h, forall n, g n = f n * h n

but you really want this to hold:

f <= g <-> forall n, f n <= g n

To prove this, as far as I can see, you either have to assume choice, or
you have to replace the "exists" in "<=" with a sigma type.

I managed to push this through our entire development ("<=" defined with
a sigma), but losing rewriting was rather annoying.

Kind regards,
Ralf



Archive powered by MHonArc 2.6.18.

Top of Page