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>
- Subject: Re: [Coq-Club] Example of terminating function that are not accepted by Coq
- Date: Wed, 19 Dec 2018 14:27:20 +0000
- Accept-language: en-US
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=Thorsten.Altenkirch AT nottingham.ac.uk; spf=Pass smtp.mailfrom=Thorsten.Altenkirch AT nottingham.ac.uk; spf=None smtp.helo=postmaster AT uidappmx02.nottingham.ac.uk
- Ironport-phdr: 9a23:bni02xDrQ67DkkX39mksUyQJP3N1i/DPJgcQr6AfoPdwSPX6p8bcNUDSrc9gkEXOFd2Cra4c26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJNyA3/nzLisJ+j6xbrhCupx1jzIHbe4yaLuZyfqbHcN8GWWZMXMBcXDFBDIOmaIsPCvIMM/hYr4n6vVsOtge+CheqBOjy1jJIgmP20rM80+QiEAHGxhAvH9ITu3nTstv1NKASUfquzKnU0zrDaela1Cv56IjUbB8hp/KMXbNqccXNyUkiDAXFjlKMqYz5PjOV0OsNs2iB4OplT+6gkXIopxtsojis38ohjJTCiIENyl3c6Cl13oU4KcemREN0b9OoCpRdui+AO4drXM8vQ3lktSgnxrEcpJK3YTQGxI4myhLDcfCKc4yF7grtVOmPIjp0mHdodbejiBux70Sv1OjxW8i33VtFsCVIl93Bu34R2BHc78WIUOVy80iu1DuJygvd8PtLIVoumqreM5MhwqA/lp4UsUnbAy/2mVj5g7WOdkU8/+ip5Pjrbqv8qp+aMI90lh3+MqUomsywAeQ3KA0OU3KB9uugzrHj4E75TK1Ljv0wjKbZrIjXKdkFqqO6GQNZzIku5hilAzqp3tkUh2QLIExFdR6fiojmIVDOIPT2DfelhFSslS9mye7GPr3mGJXNNWTDn6nnfbpn90NczBYzws5Z55JXC7EBOu78Wk/qudzeCR85LxC0w+fhCNVy1oMRQ2ePDrWDP6zOq1OI++EvL/GWZIAJoDb9N+Ql5/n2gHAlnl8dZLCl0ocTaHClBftrOF6ZYHrpgtcZC2gGpAs+TOrwiF2DSzFffXiyX7hvrg08XcitCp6GTYSwipSA2j26F9tYfCoOXluLCDLjc5iOc/YKciObZMF7xG8qT7+kHrMh0gu1qAL8g5NjMufS+SwCvpKrgOR14PfIiRw0sxVwE8mb0GCXRGFcmGQUWz4w06B2pAp0wRGe0v4r0LRjCdVP6qYRAU8BPpnGwrkiUoGgakf6Zt6MDW2ebJCjCDA1QMg2xoZeMUB6B8mjiB/D1i/sCrRTir/ZXcVooJKZ5GD4IoNG81iDzLMo1gl0RMxTKWygia528k7aDMjUkBfBzvv4ReEnxCfIsVy74y+OsUVfCl8iTKTJVGgHY1uO95L/4V/eTrmhCb0idAJKj9OBePNH
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
What is the problem with Ackermann? It is definable in System T hence in COQ.
Thorsten
Sent from my iPhone
It is well known and proven that total languages do not have self interpreters (because you can't prove a calculus's termination in itself), but I'm actually not sure what happens in the presence of coinductive families. I think the answer should still be no. Alternatively, though, you can definitely write a Brown-Palsberg self-interpreter for Coq. See Matt Brown and Jens Palsberg's POPL 2016 paper for an example (in System F-omega).
Also, Ackermann is not definable in Coq, unless you trick Coq using Program Fixpoint. IIRC it's actually a loophole, but you won't break anything by introducing inconsistency.
-Ray
On Wed, Dec 19, 2018 at 8:40 AM -0500, "Siddharth Bhat" <siddu.druid AT gmail.com> wrote:
Is it not possible to provide conductive semantics to such an interpreter, and thereby get coq to accept an interpreter?
Thanks,Siddharth--
On Wed, 19 Dec, 2018, 18:45 Klaus Ostermann, <klaus.ostermann AT uni-tuebingen.de> wrote:
I assume an interpreter of Coq in Coq would be such a function.
Klaus
Am 19.12.18 um 13:53 schrieb Vincent Siles:
> Hi !
> Today I've been asked if there are some examples of known terminating
> programs that can't be expressed at all in Coq. I know the usual
> 'fuel' encoding where one can add an integer to recurse on, and then
> prove that there always exists an integer big enough for the program
> to terminante. But are there examples that are not accepted by Coq
> even with such technics ?
>
> Best,
> V.
Sending this from my phone, please excuse any typos!
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 contact the sender and delete the email and attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. Email communications with the University of Nottingham may be monitored where permitted by law.
- [Coq-Club] Example of terminating function that are not accepted by Coq, Vincent Siles, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Klaus Ostermann, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Siddharth Bhat, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Xuanrui Qi, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Robbert Krebbers, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Thorsten Altenkirch, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Klaus Ostermann, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Xuanrui Qi, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Xuanrui Qi, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Jan Bessai, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Thorsten Altenkirch, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Jan Bessai, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Xuanrui Qi, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Siddharth Bhat, 12/19/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Jean-Francois Monin, 12/19/2018
- [Coq-Club] Why Qwire was verified precisely in Coq?, José Manuel Rodriguez Caballero, 12/21/2018
- Re: [Coq-Club] Why Qwire was verified precisely in Coq?, Robert Rand, 12/21/2018
- Re: [Coq-Club] Why Qwire was verified precisely in Coq?, José Manuel Rodriguez Caballero, 12/21/2018
- Re: [Coq-Club] Why Qwire was verified precisely in Coq?, Robert Rand, 12/21/2018
- [Coq-Club] Why Qwire was verified precisely in Coq?, José Manuel Rodriguez Caballero, 12/21/2018
- Re: [Coq-Club] Example of terminating function that are not accepted by Coq, Klaus Ostermann, 12/19/2018
Archive powered by MHonArc 2.6.18.