Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Hint Extern

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Hint Extern


Chronological Thread 
  • From: t x <txrev319 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Hint Extern
  • Date: Fri, 20 Sep 2013 23:42:32 +0000

Why is it that in

(1) Hint Extern 1 (?a = ?b) => idtac : mydb.
(2) Hint Extern 1 (?a) => idtac : mydb.

(1) is valid but (2) gets Error: bound head variable ?


In particular, I want a hint that matches on _all_ goals. This is so that I can do:

Hint Extern # _ =>
  match goal on
  | H1: ...,
    H2: ...
  end

to be able to match on hypothesis.

How do I make this work?

Thanks!



Archive powered by MHonArc 2.6.18.

Top of Page