Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Is Coq SN?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Is Coq SN?


Chronological Thread 
  • From: Gabriel Scherer <gabriel.scherer AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Is Coq SN?
  • Date: Thu, 22 Dec 2016 14:36:08 -0500
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=gabriel.scherer AT gmail.com; spf=Pass smtp.mailfrom=gabriel.scherer AT gmail.com; spf=None smtp.helo=postmaster AT mail-it0-f52.google.com
  • Ironport-phdr: 9a23:ckJDbhWCBbQMvJ46Qam6B7Tt4HzV8LGtZVwlr6E/grcLSJyIuqrYbBCGt8tkgFKBZ4jH8fUM07OQ6PG7Hzxcqs/b4DgrS99lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUhrwOhBoKevrB4Xck9q41/yo+53Ufg5EmCexbal8IRiyowjdrMobjIRtJqos1BfEoWZDdvhLy29vOV+dhQv36N2q/J5k/SRQuvYh+NBFXK7nYak2TqFWASo/PWwt68LlqRfMTQ2U5nsBSWoWiQZHAxLE7B7hQJj8tDbxu/dn1ymbOc32Sq00WSin4qx2RhLklDsLOjgk+2zMlMd+kLxUrw6gpxxnwo7bfoeVNOZlfqjAed8WXHdNUtpNWyBEBI63cokBAPcbPetArYb9qVsAoxW9CwexGu3g1iRFiWXq0aAgyektDR3K0Q4mEtkTsHrUttL1NKIKXO601qbH1i/Db/JI1jf59YPGbwwuofGSUrJqb8XR01QkGgTKjlqKsoPlJTKV2foJs2SB9OpvSeKvhHA9qw5vuDii3cgsiozTiYIUzlDI7zl2wIEwJdChTkNwfNCqEJxVty6ANot2RNsvQ2BuuCYgy70Jo4S3fCYQyJg/3R7fauCIfJaS7h39SemRPDF1j29mdrKnnxu+71Ssx+nmWsS30FtGtDRJnsTDu3wX1xHf9M6KQeZn8Ei7wzaAzQXT5/lEIU8qkarbLIYswrsqmZoStUTPBy72mFnqgKOPeEUp+vak5/7oYrXhoZ+cOIt0hR/kPqsyncy/BPw0MgkIX2eF5eSxzKPv8VH9TblQjfA7krPVvI7HKckUvKK0AxFZ3p4m6xmlDjem1NoYnWMALFJAYB+HgJLmNErUIPD5E/i/h06gkCx3yPDGILLhGIvCLmLYnbfueLZy8U9cyA4pwd9D4JJUD6kNIOjvVU/pqNzYEhg5PhSozObgEdVxz58RWWaSAqCCK67Sql+J5uc3I+aWfoMVuTD9K+Ik5/H0l3M5l0UdLuGV2s48b2nwNfB7KQ3Nan31x9wFDG0ivwwkTeWshkfUAhBJYHPncKs2/DA2DMqdBofOXI23yOiO1S2hH5BSIHtNCl2WHG3AeICNWvNKYyWXdJwy2gcYXKSsHtdynSqlsxX3nv8+drLZ


- [a machine formalized proof] is extremely tough, given the technical complexities involved, and the Godelian meta-theoretical issues (certainly something will have to be assumed as an axiom).

On a practical level, I have tried to do mechanized proofs of simpler systems in the past and I my personal impression was that the lack of induction-recursion made Coq unsuitable for formalization of universe hierarchies. This is one of the reason why I am very happy to hear that Matthieu Sozeau is working on induction-recursion. Of course, adding it worsens the problem of "mecha-meta-theoretizing the whole of Coq", but I think that having a system tomorrow in which the whole of today's situation can be exposed would be very valuable nonetheless.

On Thu, Dec 22, 2016 at 2:27 PM, roux cody <cody.roux AT gmail.com> wrote:
As the discussed example (and the example discussed last week) shows, Gallina/Coq is *not* SN, though as far as we know it *is* WN, which is enough for consistency.

This issue comes up regularly on the list, and I believe that the summary is as follows:

- It's extremely difficult for the theory to keep up with the practical demands of the system.
- We should be trying to have a reasonable meta-theory anyways.
- There are a few papers which prove normalization of various fragments and variants of Coq. However, I know of none that handle CiC + Impredicative Prop + Universes + Large Elimination (don't even ask about impredicative set!). I can try to list them if required, but I always worry about forgetting a crucial one.
- The above works are extremely technical and hard to fully check, this seems to be begging for a machine formalized proof.
- Such a proof is extremely tough, given the technical complexities involved, and the Godelian meta-theoretical issues (certainly something will have to be assumed as an axiom).

My constant call is for a more thorough exploration of the abstract structure of such proofs, so we can clearly separate it into combinatorial considerations + a model construction, which may be more tractable. There's a bunch of work on this as well, including the whole sub-field about normalization-by-evaluation, but CiC + universes seems a bit out of reach for now with such techniques, and again, writing down the whole construction is extremely tedious and error prone.

Hope this helps give the high overview,

Best,
Cody


On Thu, Dec 22, 2016 at 8:10 AM, Bas Spitters <b.a.w.spitters AT gmail.com> wrote:
This page refers to an example showing that Coq is not SN (due to the
guard condition).
https://coq.inria.fr/cocorico/CoqTerminationDiscussion

However, this (unpublished) report claims that CiC (with Prop and
universes) is SN.
http://csweb.rice.edu/uploadedFiles/Computer_Science/Research/Tech_Reports/TR11-01.pdf
Uniform Logical Relations - Eddy Westbrook

Has there been any progress on this? It would be good to update the
wiki/FAQ with this information.





Archive powered by MHonArc 2.6.18.

Top of Page