coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Théo Zimmermann <theo AT irif.fr>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Easiest way to recover broken proof
- Date: Tue, 3 Aug 2021 11:02:33 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=theo AT irif.fr; spf=Pass smtp.mailfrom=theo AT irif.fr; spf=None smtp.helo=postmaster AT korolev.univ-paris7.fr
- Ironport-hdrordr: A9a23:WpqIVqirq5bOOCjemCp9RmcWi3BQXr0ji2hC6mlwRA09TyX+raGTdZUguyMc5wxhO03I9erwWpVoIkmyyXcK2+ks1N6ZNWGM0ldAR7sP0WKN+VDdJxE=
- Ironport-phdr: A9a23:H3EkJBcAdqd3v7JTr6y4caFllGM+Et7LVj580XLHo4xHfqnrxZn+JkuXvawr0AWRG9uAoK8dw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94PPbwlShTewb7x+IRWroQ7MqsQYnIxuJ7orxBDUuHVIYeNWxW1pJVKXgRnx49q78YBg/SpNpf8v7tZMXqrmcas2S7xYFykmPHsu5ML3rxnDTBCA6WUaX24LjxdHGQnF7BX9Xpfsriv3s/d21SeGMcHqS70/RC+v5Ll3RhD2lCgHNiY58GDJhcx2kKJbuw+qqxhmz4LJfI2ZKP9yc6XAdt0YWGVBRN5cWCNPAoy+b4UBAekPM/tGoYbhvFYBtweyCBO2Ce/z1jNFhHn71rA63eQ7FgHG2RQtEcwOsHPOq9X6LKQdUeGwzKnN0zrDdfZW1i376IjObxsspu2MXbJufsrW0kQvFhnFjlSeqYD/MTOVzP0Avm6G5OVvSeyhkXQoqx1tojex3McsjJHEip4bxFzZ8Sh3wJg4KMClRUB1b9OpEIZcuiCaOoZ5Tc0sTXxktDs1xLAYp5K2YjYHxZUjyhPfdfGKcoqF7gz/WeuXPDx2inVleLeliBaz90it0uz8Vs+u0FZLtCVJiNfMtmoV2xzc68iHVvt9/lq61jqVyw/T7eRELEYpnqTYM54s2qM8m54cvEjZACP7mEr7gLWXe0k54OSk9urqb7b+qpOCK4N5jhvyP6cul8ClHOg1MwoDU3KU9Om+0rDo4Ff3T69QjvIsl6nUqJDaKtofpq6+GwJV0YEj6wy4DzeiztsYg2MLLE9DeBKGkYjlIknOL+riDfe+mFShki1nx/7cPrH5A5XNKGbMkKv5cLpg70NRxxA/wc5f6p9bEL0MIe//VlXsuNHWDRI1Kwm0zPzmCNV52IMeQ2WPAqqBPaPOsV+H+OUvLvKNZI8PuTb9JeIp5/D0jXMhg18SYbGp3YcLaHC/BvlpP0KZYWP1jtgdFWcKoxExQffxiFyCVD5Tf2y9U7g95jE9EoKmDJ3MSpqjgLybj2+HGch9YXkOIVSRGz+8fIKdHvwIdSi6I8l7kzVCW6L3GKE70hT7iA97zI1VL+/R9zcdvJTlnIxp5+DUvRAo9DIyAd7LgDLFdH19gm5dH2x+56t4u0Eojw7bicCQZtRZD91dof1TAF9S3XH0zvZ7BZb8QFCYFj9oYFWhWNKiDC93U9Qw3ZoWalx8AIrkgAqRh0KX
Hi,
What you propose doesn't really sound like an efficient method to me. Worse, it would make your proofs very hard to maintain in the future, so what would you even gain from porting them to a new version?
Best,
What you *should* do is to refer to the release notes (https://coq.inria.fr/refman/changes.html), where all the breaking changes are documented and explained, often with strategies to port existing code. Then, you can learn why your proofs are broken:
Changed: The default tactic used by firstorder is auto with core instead of auto with *; [...] the default solver can be set with Set Firstorder Solver.
The easiest way to fix your main compatibility problem (although not the most robust) is therefore to set the default solver back to auto with *.
Théo
Le mar. 3 août 2021 à 10:48, mukesh tiwari <mukeshtiwari.iiitm AT gmail.com> a écrit :
Hi Everyone,
2 years ago, I wrote a proof [1] using Coq 8.10 (if I remember
correctly), but now the proof can't get past Coq 8.12.2. With Coq
8.10, I used the 'firstorder' tactic generously, to build the terms,
and now most of these are broken.
My question is: how can I fix it with the least amount of effort? One
idea that I have is to get the Coq 8.10 and replay the proof. From the
proof, get the Gallina terms by using 'Show Proof' and use the Gallina
terms directly to build the current proof. I am curious if there is
another way to do this.
Best,
Mukesh
[1] https://github.com/mukeshtiwari/EncryptionSchulze/blob/master/code/Workingcode/ValidityExist.v#L83-L1460
- [Coq-Club] Easiest way to recover broken proof, mukesh tiwari, 08/03/2021
- Re: [Coq-Club] Easiest way to recover broken proof, Gaëtan Gilbert, 08/03/2021
- Re: [Coq-Club] Easiest way to recover broken proof, Théo Zimmermann, 08/03/2021
Archive powered by MHonArc 2.6.19+.