coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jason Gross <jasongross9 AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] That time we proved False in Coq
- Date: Wed, 29 Dec 2021 13:32:48 -0800
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jasongross9 AT gmail.com; spf=Pass smtp.mailfrom=jasongross9 AT gmail.com; spf=None smtp.helo=postmaster AT mail-il1-f169.google.com
- Ironport-data: A9a23:0g0HFKJak1FsdlENFE+RvpQlxSXFcZb7ZxGrkP8bfHDr1W5wgTBVyDcaUWHQa/qDYTP3edBxO4q19xlX7cLRxqc2QQE+nZ1PZyIT+JCdXbx1DW+pYnjMdpWbJK5fAnR3huDodKjYdVeB4Ef9WlTdhSMkj/jRHOCtULWs1h1ZHGeIdg9x0XqPpMZi2uaEsfDha++8kYuaT//3YDdJ6BYoWo4g0J9vnTs01BjEVJz0iXRlDRxDlAe2e3D4l/vzL4npR5fzatE88uJX24/+IL+FEmPxp3/BC/ugm7f/N0wOG/vcZFbfzHVRXKemj15JoSlaPqQTbqJNLxcKzWzXwZYoloQlWZ+YEW/FOoXOkf8aVRZCFDplbIVJ/bbGJT60tsn7I0juKiG2maQzVinaOqVBorotaY1UztQTLylIZRSejcqt0bejQ69tgN4iJY/lJusiVttI2WmMV7B5VcmWG+OS8YUNhHFq15EXCa2LP4xEfWU6RQrkSBhrFlczKZsYoP2MuHjaZ2QA/QrR/PAji4TI5Al40byoMd6MP9LTG5QTkUGfqWbLuW/+B3kn2BWk4WLt2hqRaiXnxEsXmb7+FYFUMtZviVyXg20XUVgYDAXq5/a+jUG6VpRULEl8Fu8GxUQt3BTDczU/d0TQTL24Uto0VN9ZEul84waIokYRyxjMHXAKF1atd/R/3PLbhlUWOpuhkNbgBDgpu7qQIZ5Y3t94shvqURUowaQ+iePogOfLDxQPYG3+s/4XcuteLQ==
- Ironport-hdrordr: A9a23:PjPrRK/f6NW9GJw/lFVuk+DhI+or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hYa5w51BAxAc319xS5JJZBqscLP/yW0L9rsHUAx49PgCsxuboEtR91ocQWWKVBa+ZNbvfsV2S6eI0JOmMYoAVuCz6K/g+/P7jiWQ0mVAYfaaz3JsXbGq0EehhI0WceXbsmMsOEX8WvgoiS+znkEGNUTlKZ3qrQ6084iw7B5m9AIfYRoGthaSB0z2hEp1XYGBGEFGMHm3ye4WKQfdfIB6Vd8Rmi3kPUaWrA9sq0gjrvwvnwZJmKPDV82sWr8Sw+sJy4rjxnAo183RbFcOGyCnZTWhvmWUHXTgtx/FXrkl0y1PF2q991a8LXedP7u9EB19pfaXXyPZ3XoyjMuogVtKASVLjQ9H/RD9oEIN3zNgJbEJwXd6li0Kbt8JFK7AQnr2PQpcz9/CFt5AUD8l4wnfCkqImigt+KvY=
> That seems unlikely, since the CIC is not strongly normalizing:
The paper says:
In practice, our formalisation assumes strong normalisation of the reduction of CIC; and this even serves as the basis for the implementation of algorithmic conversion, which is defined by recursion on the strong normalisation assumption. We also assume other properties of the metatheory3: subject reduction, validity, strengthening, guard condition for inductive types and fixpoints and proof-irrelevance. This is the only Achilles heel of our formalisation, the correctness of the specification of the metatheory: If the metatheory fulfills the well-known, assumed properties, then there is no error in the implementation.
Maybe we can get one of the authors to comment?
Best,
Jason
On Wed, Dec 29, 2021 at 1:24 PM roux cody <cody.roux AT gmail.com> wrote:
On Tue, Dec 28, 2021 at 9:59 PM Jason Gross <jasongross9 AT gmail.com> wrote:> Would a hypothetical proof of consistency of the entire Coq kernel as it currently exists be possible in principleYou may be interested in the Coq Coq Correct! project, which re-implements a significant fraction of Coq's kernel in Gallina (I think everything except the .vo format, module types / functors, universe polymorphism, and the VM and native reduction machines, but don't quote me on this) and proves it correct relative to an axiom stating strong normalization of CIC.That seems unlikely, since the CIC is not strongly normalizing:
Fixpoint foo (n : nat) :=
let g := foo n in
0.
Eval compute in foo 2. (* stack overflow *)Best,JasonOn Tue, Dec 28, 2021 at 6:44 PM Abhishek Anand <aa755 AT pm.me> wrote:I have a small side question regarding the wiki article. It contains a sentence:> As a result, not all the legitimate functions that satisfy the current (unsound) guardedness checker will satisfy the new sized type based typechecker.My impression was that all the actual soundness holes in the guardedness checker were patched, so what unsoundness remains in the checker in recent versions of Coq? Would a hypothetical proof of consistency of the entire Coq kernel as it currently exists be possible in principle, or do we know that this is false without avoiding certain areas?Yes, as far as I know, the guardedness checker was patched. I fixed the article: https://github.com/coq/coq/wiki/CoqTerminationDiscussion/_compare/8f9576e00875b77614eae47dbd5cbbbc86c7adfd...fd05a250486919dc8035174017acf65667f66967Mario CarneiroOn Tue, Dec 28, 2021 at 3:34 PM public <aa755 AT pm.me> wrote:I wrote a wiki article about the last such incident I remember.(others have since contributed to the article)Regards,Abhishek Anand‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐On Tuesday, December 28th, 2021 at 3:19 PM, Marco Servetto <marco.servetto AT gmail.com> wrote:> Hi,>> I'm writing a little document talking about soundness/unsoundesses in>> verification systems.>> I remember that there was a time we managed to prove False in Coq, and>> the community came together effectively and promptly to fix it, and>> all major proofs were unaffected by the fix. I also remember members>> from other communities (Agda?) coming to give a hand.>> While I'm not a Coq genius, seeing the honesty and the clear polite>> and direct action made by this community filled me up with hope for>> the>> future.>> Do I remember correctly? Can someone help me to summarise the event>> and provide some references? Do you have references to other important>> tools that have been proved unsound and any discussions about the>> response of their community?>> Marco.
- [Coq-Club] That time we proved False in Coq, Marco Servetto, 12/28/2021
- Re: [Coq-Club] That time we proved False in Coq, public, 12/28/2021
- Re: [Coq-Club] That time we proved False in Coq, Mario Carneiro, 12/29/2021
- Re: [Coq-Club] That time we proved False in Coq, Abhishek Anand, 12/29/2021
- Re: [Coq-Club] That time we proved False in Coq, Jason Gross, 12/29/2021
- Re: [Coq-Club] That time we proved False in Coq, Mario Carneiro, 12/29/2021
- Re: [Coq-Club] That time we proved False in Coq, roux cody, 12/29/2021
- Re: [Coq-Club] That time we proved False in Coq, Jason Gross, 12/29/2021
- Re: [Coq-Club] That time we proved False in Coq, Yannick Forster, 12/30/2021
- Re: [Coq-Club] That time we proved False in Coq, Pierre-Marie Pédrot, 12/31/2021
- Re: [Coq-Club] That time we proved False in Coq, Jason Gross, 12/29/2021
- Re: [Coq-Club] That time we proved False in Coq, Jason Gross, 12/29/2021
- Re: [Coq-Club] That time we proved False in Coq, Abhishek Anand, 12/29/2021
- Re: [Coq-Club] That time we proved False in Coq, Mario Carneiro, 12/29/2021
- Re: [Coq-Club] That time we proved False in Coq, public, 12/28/2021
Archive powered by MHonArc 2.6.19+.