coq-club AT inria.fr
Subject: The Coq mailing list
List archive
[Coq-Club] Why does eauto treat "core" differently than the other hint databases?
Chronological Thread
- From: Catalin Hritcu <catalin.hritcu AT gmail.com>
- To: Coq Club <coq-club AT inria.fr>
- Subject: [Coq-Club] Why does eauto treat "core" differently than the other hint databases?
- Date: Wed, 10 Oct 2012 20:18:16 -0400
I've run into some inconsistent behavior with Coq 8.4, in which hints
in "core" are ignored by eauto, but the same hints added to a
different hint database or directly with the "using" clause work just
fine. I've attached a small bit of a larger development where this
problem was quite pervasive. Here are the most interesting bits:
(* This works *)
Lemma red1_t : exists t', red1 tt t'.
Proof.
eauto using red1.
Qed.
(* This also works *)
Lemma red1_t'' : exists t', red1 tt t'.
Proof.
eauto using red1_beta.
Qed.
(* This also works *)
Create HintDb mydb.
Hint Constructors red1 : mydb.
Lemma red1_t' : exists t', red1 tt t'.
Proof.
eauto with mydb.
Qed.
(* But this doesn't work! *)
Hint Constructors red1.
Lemma red1_t''' : exists t', red1 tt t'.
Proof.
eauto.
Abort.
(* Unfolding tt makes it work though *)
Lemma red1_t''' : exists t', red1 tt t'.
Proof.
unfold tt. debug eauto.
Qed.
(* But not with Hint Unfold? *)
Hint Unfold tt.
Lemma red1_t'''' : exists t', red1 tt t'.
Proof.
debug eauto.
Abort.
(* Still no luck *)
Lemma red1_t''''' : exists t', red1 tt t'.
Proof.
debug eauto with core.
Abort.
(* But if we use a database that's not core it all works *)
Hint Unfold tt : mydb.
Lemma red1_t'''' : exists t', red1 tt t'.
Proof.
debug eauto with mydb.
Qed.
Attachment:
Strange.v
Description: Binary data
- [Coq-Club] Why does eauto treat "core" differently than the other hint databases?, Catalin Hritcu, 10/11/2012
- [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Catalin Hritcu, 10/11/2012
- Re: [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Jason Gross, 10/11/2012
- Re: [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Catalin Hritcu, 10/11/2012
- Re: [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Catalin Hritcu, 10/11/2012
- Re: [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Jason Gross, 10/11/2012
- Re: [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Tom Prince, 10/14/2012
- Re: [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Catalin Hritcu, 10/14/2012
- Re: [Coq-Club] Why does eauto treat "core" differently than the other hint databases?, Matthieu Sozeau, 10/14/2012
- Re: [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Catalin Hritcu, 10/14/2012
- Re: [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Catalin Hritcu, 10/11/2012
- Re: [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Catalin Hritcu, 10/11/2012
- Re: [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Jason Gross, 10/11/2012
- [Coq-Club] Re: Why does eauto treat "core" differently than the other hint databases?, Catalin Hritcu, 10/11/2012
Archive powered by MHonArc 2.6.18.