coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Ralf Jung <jung AT mpi-sws.org>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Optional elim restriction?
- Date: Thu, 10 Mar 2016 17:33:29 +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:aS2baR2BhB/rH8wJsmDT+DRfVm0co7zxezQtwd8ZsegUI/ad9pjvdHbS+e9qxAeQG96LtLQU26GG7ejJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd6NyZTnnLDss7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cY6Lod8JtLVry/dKAlR5RZCi4nOiY7/p7Frx7GGDGG4nVUcHgQnVIcARXD4zn/Rpa0qTTh8O1n13/JboXNUbkoVGH6vO9QQxjyhXJfOg==
Hi all,
I'm working in an axiom-free Coq development, and the elim restriction
is getting in our way. I considered moving parts of our development from
Prop to Type, but Coq's support for that is pretty poor -- in terms of
notation, but (most importantly) in terms of rewriting. The Setoid
mechanism forces the relation to be "A -> A -> Prop".
However (if I recall correctly), the elim restriction is actually only
needed because Coq wants to remain compatible with classical axioms.
Since we try hard to avoid these, it is rather unfortunate that we still
have to pay this prize. Of course we could just assume an axiom
"inhabited T -> T", but that would not reduce properly, and of course it
would mean we are no longer axiom-free. (I'm not sure if the part about
computation would practically matter, but foundationally, it'd be nice
to keep everything computational.)
So I wonder, would it be possible to add a flag to Coq to disable the
elim restriction? Would that make sense? It's a little like
type-in-type, except that it's not actually unsound if not combined with
classical axioms.
Kind regards,
Ralf
- [Coq-Club] Optional elim restriction?, Ralf Jung, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Roger Witte, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Ralf Jung, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Jacques-Henri Jourdan, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Ralf Jung, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Jacques-Henri Jourdan, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Ralf Jung, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Jacques-Henri Jourdan, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Pierre-Marie Pédrot, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Jacques-Henri Jourdan, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Ralf Jung, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Jacques-Henri Jourdan, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Pierre-Marie Pédrot, 03/10/2016
- Re: [Coq-Club] Optional elim restriction?, Roger Witte, 03/10/2016
Archive powered by MHonArc 2.6.18.