Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Questions about info_eauto and info_auto

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Questions about info_eauto and info_auto


Chronological Thread 
  • From: Théo Zimmermann <theo.zimmi AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Questions about info_eauto and info_auto
  • Date: Tue, 18 Oct 2016 11:57:22 +0000
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=theo.zimmi AT gmail.com; spf=Pass smtp.mailfrom=theo.zimmi AT gmail.com; spf=None smtp.helo=postmaster AT mail-qt0-f171.google.com
  • Ironport-phdr: 9a23:U8PtiR0fKdOjTUsZsmDT+DRfVm0co7zxezQtwd8ZsegVKfad9pjvdHbS+e9qxAeQG96KsbQZ16GN4+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL2PbrnD61zMOABK3bVMzfbWvXNOOxJ/nn8mJuLTrKz1SgzS8Zb4gZD6Xli728vcsvI15N6wqwQHIqHYbM85fxGdvOE7B102kvpT4r9Zf9HFbvOtk/MpdW437eb45RPpWFmcIKWcwsfHrNB70fwqK43YGV2wQlFIcHwjI61foX5L0swP1s+N83G+ROsigHuN8Yiir86o+EEygsywALTNsqGw=

Hi Scott and sorry for the late answer,

The info_auto tactic has just been fixed by Hugo and thus should work normally in 8.5pl3 (whenever there is such a thing) and in 8.6beta (which should arrive quite soon). You can also compile the 8.5 branch yourself.
In the meantime, note that there also exists a `debug auto` tactic, which is a bit more verbose because it shows also the tentative proofs that failed.

Cheers,
Théo

Le jeu. 24 mars 2016 à 04:41, scott constable <sdconsta AT syr.edu> a écrit :
Hi All,

I recently stumbled upon the info_eauto tactic on a forum, and have found it very useful. For instance, running

Hint Constructors or.
Example easyy : forall p q, p /\ q -> q /\ p.
Proof. intros. destruct H. info_eauto.

prints this very helpful output:

Debug: (* info eauto : *)
Debug: apply conj.
Debug:  exact H0.
Debug:  exact H.

My first question is, why isn't this tactic in the 8.5 manual?

Second, one would expect that if there is an info_eauto, then there should also be an info_auto, but when I try to invoke info_auto, coq reports:

Warning: The "info_auto" tactic does not print traces anymore. Use "Info 1
 auto", instead.

But the output from "Info 1 auto" tends to be incredibly unhelpful. Using "Info 1 auto" in place of "info_eauto" in the same example from above yields:

<unknown>;[> refine H0 | refine H ]

which is certainly not very enlightening. So why is there no info_auto?

~Scott Constable


  • Re: [Coq-Club] Questions about info_eauto and info_auto, Théo Zimmermann, 10/18/2016

Archive powered by MHonArc 2.6.18.

Top of Page