coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Thorsten Altenkirch <Thorsten.Altenkirch AT nottingham.ac.uk>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Cc: "Luo, Zhaohui" <Zhaohui.Luo AT rhul.ac.uk>
- Subject: Re: [Coq-Club] Is Coq SN ?
- Date: Mon, 29 Feb 2016 11:17:55 +0000
- Accept-language: en-US, en-GB
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=Thorsten.Altenkirch AT nottingham.ac.uk; spf=None smtp.mailfrom=Thorsten.Altenkirch AT nottingham.ac.uk; spf=None smtp.helo=postmaster AT uidappmx01.nottingham.ac.uk
- Ironport-phdr: 9a23:xZHd3xCYMmOW2tlyucUJUyQJP3N1i/DPJgcQr6AfoPdwSP/7pMbcNUDSrc9gkEXOFd2CrakU1KyI4+u6ASQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTokb7isMeLKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46Fp34d6XK77Z6U1S6BDRHRjajhtpZ6jiR6WBwCI/z4XVngcuhtOGQnMqh/gFN+luSzj8+F5xSOyPMvsTLlyVy70vIlxTxq9tCcALSUl/Wefo8hsgaRYoQiqp1Qr/47TepqJOfw4V6fBcNUZRHBKXu5XUDBdA4Wzb4IKSeMKe/tb+dqu72ASpAezUFH/TNjkzSVF0zqvhfU3
Healfdene Goguen’s thesis in particular included \eta-reduction which was a non-trivial issue.
I don’t think Benjamin Werner did this.
Neither did I, in my ’93 PhD
but I still think this is the simplest (and first) proof of SN for CoC with large eliminations – hence I would be grateful if it doesn’t get completely ignored.
A short summary is given in
Cheers,
Thorsten
From: <coq-club-request AT inria.fr> on behalf of "Luo, Zhaohui" <Zhaohui.Luo AT rhul.ac.uk>
Reply-To: "coq-club AT inria.fr" <coq-club AT inria.fr>
Date: Monday, 29 February 2016 02:21
To: "coq-club AT inria.fr" <coq-club AT inria.fr>
Cc: "Luo, Zhaohui" <Zhaohui.Luo AT rhul.ac.uk>
Subject: Re: [Coq-Club] Is Coq SN ?
Reply-To: "coq-club AT inria.fr" <coq-club AT inria.fr>
Date: Monday, 29 February 2016 02:21
To: "coq-club AT inria.fr" <coq-club AT inria.fr>
Cc: "Luo, Zhaohui" <Zhaohui.Luo AT rhul.ac.uk>
Subject: Re: [Coq-Club] Is Coq SN ?
Dear all,
In his PhD thesis in 1994, Goguen has studied the meta-theory of UTT (SN, CR, SR, ...) which is essentially CoC + inductive types + universes (ie, a subset of the current Coq system pCIC after its universe Set became predicative.)
Best regards,
Zhaohui
From:
coq-club-request AT inria.fr <coq-club-request AT inria.fr> on behalf of roux cody <cody.roux AT gmail.com>
Sent: 28 February 2016 20:57
To: coq-club AT inria.fr
Subject: Re: [Coq-Club] Is Coq SN ?
Sent: 28 February 2016 20:57
To: coq-club AT inria.fr
Subject: Re: [Coq-Club] Is Coq SN ?
The SN of CIC + universes is something of a nasty open question at the moment. With recursors instead of fixpoint and no co-induction, it's believed to be indeed strongly normalizing, with Benjamin Werner's PhD serving as reference for the CIC without
universes and Luo's thesis for CoC with universes.
There is no "smoking gun" that seems to jeopardize consistency, but a complete write up would be nice.I think part of the issue is that the theory for strong normalization proofs are really not streamlined, which means each individual proof has to do a lot of setup work, which is really discouraging. In particular, there seems to be some resilience to
using the "usual" realizability semantics interpretation. There's some work by Hyland, Ong and Ritter on how to fix this, but it hasn't been pushed all the way through, as far as I know.
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.45.6979&rep=rep1&type=pdf
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.45.6979&rep=rep1&type=pdf
http://www.cse.chalmers.se/~abela/talkIHP14.pdf
https://gist.github.com/puffnfresh/8960574
Best,
Cody
On Sun, Feb 28, 2016 at 1:43 PM, Abhishek Anand
<abhishek.anand.iitg AT gmail.com> wrote:
However, Coq's implementation (if no bugs) should be weakly normalizing,
which is usually enough for consistency.
I thought that for consistency we also need type preservation (along with strong/weak normalization).Coq seems to not have type preservation, as shown in the last 2 slides (25 and 26) of
I just reproduced the above described problem using Coq 8.5:
Set Implicit Arguments.
CoInductive Inf :=S : Inf -> Inf.
CoFixpoint infinity : Inf :=S ( infinity).
(** This innocuous looking functionactually causes an unfolding of cofix *)Definition unfold (x : Inf) : Inf :=match x with| S y => S yend.
Definition unfoldEq (x:Inf) : x = unfold x.Proof.intros.destruct x as [x'].simpl. exact eq_refl.Defined.
(** We make a dummy goal to use the "type of" function *)
Goal False.
(** [unfoldEq infinity] is of type [infinity = S infinity] *)
match type of (unfoldEq infinity) with| ?T => let T' := eval simpl in T in idtac T "," T'end.
(**when we compute on [eqq infinity] as shown above, weget [eq_refl] which cannot be of the type[infinity = S infinity] because [S infinity] is not definitionally equal to [infinity]. *)
Eval compute in (unfoldEq infinity).
(** This is a voilation of type preservation*)
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
- [Coq-Club] Is Coq SN ?, Bas Spitters, 02/28/2016
- Re: [Coq-Club] Is Coq SN ?, Maxime Dénès, 02/28/2016
- Re: [Coq-Club] Is Coq SN ?, Abhishek Anand, 02/28/2016
- Re: [Coq-Club] Is Coq SN ?, roux cody, 02/28/2016
- Re: [Coq-Club] Is Coq SN ?, Luo, Zhaohui, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Thorsten Altenkirch, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Frédéric Blanqui, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Thorsten Altenkirch, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Thorsten Altenkirch, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Frédéric Blanqui, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, roux cody, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Jonathan Leivent, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Benoît Viguier, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Jonathan Leivent, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Thorsten Altenkirch, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Frédéric Blanqui, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Thorsten Altenkirch, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Thorsten Altenkirch, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, Luo, Zhaohui, 02/29/2016
- Re: [Coq-Club] Is Coq SN ?, roux cody, 02/28/2016
- Re: [Coq-Club] Is Coq SN ?, Abhishek Anand, 02/28/2016
- Re: [Coq-Club] Is Coq SN ?, Maxime Dénès, 02/28/2016
Archive powered by MHonArc 2.6.18.