Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] admit, Qed, and Print Assumptions

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] admit, Qed, and Print Assumptions


Chronological Thread 
  • From: Enrico Tassi <enrico.tassi AT inria.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] admit, Qed, and Print Assumptions
  • Date: Fri, 19 Jun 2015 10:55:34 +0200

On Thu, Jun 18, 2015 at 06:43:34PM +0200, Christian Doczkal wrote:
> Is this a temporary measure, or is there a principled reason why this
> cannot work in Coq 8.5? I someties use this in combination with Print
> Assumptions to get a quick overview of all the "holes" in some
> theorem.

Hello, there is indeed a technical reason why generating Axioms on the
fly in the middle of a proof (what 8.4 admit was doing) cannot work
anymore.

If you want an admit tactic as in 8.4 you need to do the following

Axiom devil : False.
Ltac admit := case devil.

Unfortunately Print Assumptions will simply display this axiom instead of
all its uses (i.e. which type was inhabited by using the devil axiom).
There is an open bug in the bug tracker, It will be fixed for 8.5.

Just for the records, the standard admit tactic in 8.5 lets you give up
goals. When you close all the non given up ones, Coq prints the goals
you did not solve.

Best,
--
Enrico Tassi



Archive powered by MHonArc 2.6.18.

Top of Page