coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "William J. Bowman" <wilbowma AT ccs.neu.edu>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Debugging an apparently diverging Coq program
- Date: Fri, 20 Sep 2019 17:52:08 -0700
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=wilbowma AT ccs.neu.edu; spf=Fail smtp.mailfrom=wilbowma AT ccs.neu.edu; spf=None smtp.helo=postmaster AT williamjbowman.com
- Ironport-phdr: 9a23:2JWO/hEeLuEwZj66n4RWIZ1GYnF86YWxBRYc798ds5kLTJ7yoM6wAkXT6L1XgUPTWs2DsrQY0rGQ6furAjxIoc7Y9ixbKtoUD15NoP5VtjRoONSCB0z/IayiRA0BN+MGamVY+WqmO1NeAsf0ag6aiHSz6TkPBke3blItdaz6FYHIksu4yf259YHNbAVUnjq9Zq55IAmroQnLucQanIVvJrwvxhbHrXdFdedbzn5sKV6Pghrw/Mi98IN9/yhKp/4t68tMWrjmcqolSrBVEC4oOH0v6s3xshnDQwqP5n8CXWgTjxFFHQvL4gzkU5noqif1ufZz1yecPc3tULA7Qi+i4LtxSB/pkygIKTg0+3zKh8NqjaJbpBWhpwFjw4PRfYqYOuZycr/bcNgHQmVPQ9tRVzdZAoyic4QPE+QPPeFdr4bnplsOqwa1CQ2jCe7rzzNFgGL9068n3OQ7CQzI3BAvEd0Bv3rasdv7N6kSXuKrwqfP1jjMdfFb2TLn5YjIbhwsofeBVq9wf8rLzkkvEhvIgluQpozkOzOV0uUNvHKe7+F9UeyjkXMsphx2ojmhw8cjkI/JiowIwV3D+yR5wYI1Ksa/SE91ZN6rCoBduD2GOIttWM8iRX9nuDsgxrIYpJG7YTEHxZI6zBDRbPyHdpKH4hPlVOuJPTh4g2hleLShiBa29Uis0PPzWdSp0FpSrypFlMPMtnEX2BDJ5MiHUONx/kig2TaT1wDT9/pLLVo1larcM5Ihzb8wloYTsUTeBSD6gln5jKiTdkgi5+Om6Pznb637qpKYKYN4kBzyP6Qul8ClAuk1MRICU3WG9em9zLHv40z0TKlFg/AznKTWrYzWKMceq6O4DQ9Y0Igj5hO8AjqmzNgUgXwKLFxFdR2Zj4XkPl7DLO32APq6jVShkzZmyOvDM7DlAZjCMH7Om6r7c7ln8U5T0g8zwMhf551KDrEBJ+r+W0HwtNzcCh85Mha7w+PlCNpm0YMfV2ePDbWfMK/IrVCI4ecvL/GNZI8Tpjn9N+Ao6+PqgHMng1MRYKmk0JsNZH27HflqOViVbWftj9sZFGcFpAs+TOjkiF2YVj5TYm6/Xqw95jE/E42mConCRoW3j7GawCi0AoZWanpACl+SDHfkbZuLVOoRaC6KOM9ujiQEVaS9S48mzRyhqAj6y6N+IuXI/i0YqIns2cNu5+zTkBEy7SZ7A96c02GLVWF0n3kHSyU43KBl8gRBzQKI1rE9iPhFH/RS4elIW0E0L83y1et/XprNWwbFf96MAHTgCv+hHjQ4SJh5l8APZ0x6BNCrphvIxGysDqJTmrCWUs9nupnA1mT8cp4ug03N07Ms2gV3G5cdBSidnqd6sjPrKcvRiUzAzPShfr9a2iPQsmqP0DjW5RwKYEtLSazAGEsnSA7WoND+vBuQUL6qDbUuNwlLztGHI60MYdrs3w0fFaXTfe/Gamf0oF+eQBOBx7eCdo3vIj5P1y7GTk4JjkYe8WvUaQU=
--
Sent from my phoneamajig
I suspect that Solve Obligations closes proofs transparently, which should consume much time to compute something irrelevant.
We present here the Program tactic commands, used to build certified Coq programs, elaborating them from their algorithmic skeleton and a rich specification .It can be thought of as a dual of Extraction.The goal of Program is to program as in a regular functional programming language whilst using as rich a specification as desired and proving that the code meets the specification using the ...
> Controls whether all obligations should be declared as transparent (the default), or if the system should infer which obligations can be declared opaque.
From: coq-club-request AT inria.fr <coq-club-request AT inria.fr> on behalf of Abhishek Anand <abhishek.anand.iitg AT gmail.com>
Sent: September 20, 2019 8:35 PM
To: coq-club <coq-club AT inria.fr>
Subject: Re: [Coq-Club] Debugging an apparently diverging Coq programPerhaps they forgot to instantiate the atom type? the computation would get stuck on (x == x'). `Program` often produces humongous functions.
On Fri, Sep 20, 2019 at 5:15 PM William J. Bowman <wjb AT williamjbowman.com> wrote:
All,
At the following URL is a model of a language with capture-avoiding substitution
that a student wrote:
https://gist.github.com/wilbowma/acf125222c64ff715a33b26a0ce8b4ab
The program looks (to me) like it ought to terminate quickly, and it's proven
terminating using Program, yet when we run the substitution function on a small
example... coqtop eats about 20 GB of memory and doesn't terminate within 5
minutes.
I'm using Coq 8.9.1 on MacOS 10.14.2; the same behavior is also observed on
Windows 10.
I'd appreciate any help debugging this.
--
William J. Bowman
- Re: [Coq-Club] Debugging an apparently diverging Coq program, (continued)
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Abhishek Anand, 09/21/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Nathaniel Yazdani, 09/21/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, William J. Bowman, 09/21/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Jason -Zhong Sheng- Hu, 09/23/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Sylvain Boulmé, 09/23/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Sylvain Boulmé, 09/23/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Xavier Leroy, 09/23/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, William J. Bowman, 09/23/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Pierre Courtieu, 09/24/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, William J. Bowman, 09/23/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Sylvain Boulmé, 09/23/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Jason -Zhong Sheng- Hu, 09/23/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Jason -Zhong Sheng- Hu, 09/21/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, William J. Bowman, 09/21/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Xuanrui Qi, 09/21/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Théo Winterhalter, 09/21/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Gaëtan Gilbert, 09/21/2019
- Re: [Coq-Club] Debugging an apparently diverging Coq program, Abhishek Anand, 09/21/2019
Archive powered by MHonArc 2.6.18.