Skip to Content.
Sympa Menu

coq-club - [Coq-Club] coqc and coqtop differ in what they can prove.

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] coqc and coqtop differ in what they can prove.


Chronological Thread 
  • From: Alexandre Pilkiewicz <alexandre.pilkiewicz AT polytechnique.org>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] coqc and coqtop differ in what they can prove.
  • Date: Sun, 20 Nov 2016 20:09:46 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=dapilki AT gmail.com; spf=Pass smtp.mailfrom=dapilki AT gmail.com; spf=None smtp.helo=postmaster AT mail-wj0-f174.google.com
  • Ironport-phdr: 9a23:k4QhsByHHUSkndfXCy+O+j09IxM/srCxBDY+r6Qd2+gfIJqq85mqBkHD//Il1AaPBtSAragewLOP4ujJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMijexe61+IAu5oQnMq8UbhZZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxLzliwJKyA2/33WisxojaJUvhShpwBkw4XJZI2ZLedycr/Bcd8fQ2dKQ8RfWDFbAo6kb4UBAekPM/tGoYbhvFYBtweyCBO2Ce/z1jNFhHn71rA63eQ7FgHG2RQtEs4KsHvKo9T6LqESXv2vzKbW0D7NdfJW2TP+6IjJbB8gr/CMUq5xcMHMzkQgDQfFgUufqIP/OTOay/4NvHaB4+p4VOKvj20nqwBvrTmhx8cjlojIi5kNylDD8SV4wJo1KsOkR057Z96kEYJQtzyEOIdsRcMiWW5otT88x7YbupC7ZDAHxIo7yxPbcfCKcIiF7gj9WOqMPTt0nm9pdbCwihu07EOu0PfzVtOu31ZPtidFksfDtnQK1xHL78iIUPp9/kO41TeB1QDf9vhIIU4pmafZJJMt2LEwlp0UsUTMGi/5hl/6g7ORdkUh4uSo6uLnbav6ppKEKYN4lgXzPr4tl8G/G+g0LBUCU3SB9eih1rDu8lX1QLBQgf03lqnZvoraJcMepqOhHgBayJ4j6xe7Dzel0dQVhnYHLFdfdxKGi4jlIU3BIPf9DfunmVSjjC9rx+zaPr3mGpjCMn/DkK74cblh705c1RE8wMtE55NUD7EBOOj8VlXwtNzeFB85Mha7z/zpCNVnhcsiXjekBbbRG6fPuxfc7eU2ZuKIeYU9uTDnKvFj6eS43lEjnlpIVK2kzZIRZGq1VsxnJ0aYbGXticVJRW4Osxo3SuDwhRuaUDpQZnutXqkuzik8DJO6AIzDQIG0nbHH2z20SM4FLltaA0yBRC+7P76PXO0BPWfLepds

All,

I am fixing an old Coq development, and I'm hitting a snag: one file compiles fine in coqtop but fails with coqc, and I don't understand why, nor do I know how to debug.

coqc --version and coqtop --version return the same thing.

The Coq Proof Assistant, version 8.5pl3 (November 2016)
compiled on Nov 19 2016 16:24:18 with OCaml 4.03.0

cat MyFile.v | coqtop
works like a charm (so does running it in proof general)

but then coqc MyFile.v fails with

File "./MyFile.v", line 161, characters 2-5:
In nested Ltac calls to "lia" and "xlia", last call failed.
Error: Tactic failure:  Cannot find witness.

If I replace lia with omega, it still works with coqtop, still fails with coqc, so it's not just a lia issue.

Error: Omega can't solve this system

Is this a common thing (maybe they use different environment variables or something)?

Is there a way to ask coqc to tell me what is the current state of the goal (-verbose does not help)

Thanks in advance!

Alex





Archive powered by MHonArc 2.6.18.

Top of Page