coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Castéran Pierre <pierre.casteran AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Non standard natural numbers
- Date: Thu, 3 Jun 2021 17:13:42 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=pierre.casteran AT gmail.com; spf=Pass smtp.mailfrom=pierre.casteran AT gmail.com; spf=None smtp.helo=postmaster AT mail-wr1-f46.google.com
- Ironport-hdrordr: A9a23:CVlK8KxOZH8g1gdbHB9OKrPwMb1zdoMgy1knxilNoHtuA6+lfqGV/MjzuiWYtN98YgBEpTniAsi9qA3nhPxICOAqVN/INjUO01HGEGgN1+ffKnHbdRHDyg==
- Ironport-phdr: A9a23:5O69dBcnpkRnmMTjHVBCJ52xlGM+Jd7LVj580XLHo4xHfqnrxZn+JkuXvawr0AaYG9+Kurkf0qL/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHOZwhEniSxbLd2IRm5owjdq9QdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W/XlsN/g79VrhyvpxJhwYHaY4abOeFkca/BeNMXX2pBUtpTWiFHH4iyb5EPD+0EPetAsYTyvUAOrQekAgm2HuzvzCdHiGX33aIkyeQhCx/J1xEnEtIWsXTbss/1NL0MXuyv0KbH1y7Db+9I1jfn8ofIdAssof6JXb1qcMrRzVMjGB/CjlWVsIHoOS6e2esRvWaB9eVgSf6vhHA9qwF3ujWiyNohh43Ki48bxF7K+jl0zZg7KNC3VkJ3fcCpHpteuS+UNYZ4TMIvTmFmtionxLALuZC1cSYKxpkp2xLSZPOKfo6V6RztU+aRJC13hHNjeL+niBay8FSgyu3hVsavylpFsi1FktzKu3sQ1BLT8tCKRuVh8kqlwzqC1ADe5vtaLUwqiKbXMZEsz78ompYNq0vPAjL6lUDqg6CNa0kp/u2l5ub8bbjmo5KROZF7hh3iPqkrmcGyAuo4PwoLUmSG+umzyKfs8Ej5TbpWgP06j6zUv4zHKskVqKO0BRJe3Jw55BalFTim1cwVnXkZI1JBfxKKl43pNEvPIPD8FPu+jU6snCpyy/DIMbDsA4/BLnfEkLfmcrZ971BTxBAvwtBY4pJYErABIPTtVU/trNHUEAM1Pgiuz+vkCNhxzJ0SVXySDqODP67fsEeE5uc1LOmNYI8Vtiz9K/8g5/P2lX85mEESfbOz3ZQJcny3Au5pI16FYXXymNcOC2EKsxExTOzvklKCUDpTa2yuUKI74zE3EJimApvbRoCxnLyB2z+2EYFRZmBfE1yDDXPod5ifVPoXcyKTIsphkiQeWrS7So8h0wuutA7gxLZ9IOrU4H5QiZW2399soubXiBsa9DpuDs3b3XveYXtzmzYjTiQqXbp2p3tFy1qZy6Uw1+RZGMZJ6rVCWxwmOITVycR1DtnzXkTKedLfGwXuecmvHTxkFoF5+NQJeUsoQ71KbzjG1iuuRqAPzvmFWMJy/aXb0Hz8Yc16ziSevEHOp1YjS8pLc2ahg/wmn+A2L4HMmkSd0a2tcPZEtBM=
Hi, Eddy.
The work by Russel O’Connor on Gödel’s theorem is now maintained by Coq community. It contains a formalization of PA.
For maintenance and development reasons, it is hosted in two libraries.
Definition of primitive recursive functions and PA : as the Ackermann sub-library of https://github.com/coq-community/hydra-battles
Proof of Gödel’s theorem (requires also the Pocklington library) https://github.com/coq-community/goedel
Best regards,
Pierre
Le 3 juin 2021 à 16:05, Eddy Westbrook <westbrook AT galois.com> a écrit :Vincent,There are certainly non-standard models of Coq (Gödel ensures us of that), but they are bound to be a lot more complicated than non-standard models of Peano arithmetic, which is where the notion of non-standard naturals comes from. The reason for this is that Coq can express a general notion of well-foundedness and induction in the logic (this is in fact the heart of Evan’s answer, that you can use induction in Coq), whereas Peano arithmetic cannot.If what you really want is non-standard models of Peano arithmetic, then you will probably have to formalize Peano arithmetic, or at least a simpler form of it. I would guess that there are formalizations of it in Coq out there, but am not sure. A simpler form of Peano arithmetic might just be to define a signature (or, better, a type class) of types that have a 0 and successor but not necessarily induction.If what you want is just infinite natural numbers, maybe you should look at Coq’s coinductive types? These let you define a Coq type that can contain infinite sequences of successors.Hope this helps,-EddyOn Jun 3, 2021, at 6:53 AM, Vincent Semeria <vincent.semeria AT gmail.com> wrote:How do these non standard integers cope with the normalization property of Coq? A non standard integer would compute to an infinite sequence of successors, so it does not terminate.Is it a property of Coq that all definable nat terms are standard? If so, how is "standard" defined?On Wed, Jun 2, 2021, 22:25 roux cody <cody.roux AT gmail.com> wrote:Sure, I mean your notional proof that the axiom schema is consistent.On Wed, Jun 2, 2021 at 4:10 PM Evan Marzion <emarzion AT gmail.com> wrote:By induction, c is greater than n for all n. Thus, c > c, a contradiction.On Wed, Jun 2, 2021 at 2:53 PM Vincent Semeria <vincent.semeria AT gmail.com> wrote:Dear Coq club,Is it possible to axiomatize a term c : nat, such as c is greater than all standard natural numbers ? The first 2 lines are easy,Axiom c : nat.
Axiom c_gt0 : 0 < c.But then, could we consistently add this axiom ?Axiom c_non_standard : forall n:nat, n < c -> S n < c.If the last axiom is not consistent, we could modify Coq's type checker to interpret all names of the form c_gtSSSS...S0 as closed terms of the corresponding types SSSS...S0 < c. I am pretty sure that these terms are consistent, because if they introduced a proof of False, that proof would be a finite lambda-term with only a finite number of these c_gt terms. Then c could be replaced by the greatest of these terms, and we would obtain a proof of False in basic Coq.
- Re: [Coq-Club] Non standard natural numbers, (continued)
- Re: [Coq-Club] Non standard natural numbers, Vincent Semeria, 06/03/2021
- Re: [Coq-Club] Non standard natural numbers, roux cody, 06/03/2021
- Re: [Coq-Club] Non standard natural numbers, Ralf Jung, 06/03/2021
- Re: [Coq-Club] Non standard natural numbers, Eddy Westbrook, 06/03/2021
- Re: [Coq-Club] Non standard natural numbers, roux cody, 06/03/2021
- Re: [Coq-Club] Non standard natural numbers, Thorsten Altenkirch, 06/03/2021
- Re: [Coq-Club] Non standard natural numbers, roux cody, 06/03/2021
- Re: [Coq-Club] Non standard natural numbers, Ralf Jung, 06/04/2021
- Message not available
- Re: [Coq-Club] Non standard natural numbers, Ralf Jung, 06/04/2021
- Re: [Coq-Club] Non standard natural numbers, roux cody, 06/03/2021
- Re: [Coq-Club] Non standard natural numbers, Vincent Semeria, 06/03/2021
- Re: [Coq-Club] Non standard natural numbers, Tadeusz Litak, 06/04/2021
- Re: [Coq-Club] Non standard natural numbers, Dominik Kirst, 06/04/2021
- Re: [Coq-Club] Non standard natural numbers, Thorsten Altenkirch, 06/05/2021
- Re: [Coq-Club] Non standard natural numbers, Vincent Semeria, 06/04/2021
- Re: [Coq-Club] Non standard natural numbers, Vincent Semeria, 06/07/2021
- Re: [Coq-Club] Non standard natural numbers, Slavomir Kaslev, 06/08/2021
- Re: [Coq-Club] Non standard natural numbers, Vincent Semeria, 06/08/2021
- Re: [Coq-Club] Non standard natural numbers, Slavomir Kaslev, 06/08/2021
Archive powered by MHonArc 2.6.19+.