Skip to Content.
Sympa Menu

coq-club - [Coq-Club] More elegant work-around for A as goal

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] More elegant work-around for A as goal


Chronological Thread 
  • From: George Van Treeck <treeck AT yahoo.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] More elegant work-around for A as goal
  • Date: Sat, 11 Jul 2015 16:38:13 +0000 (UTC)

I have a "Variable A : Type." and a lemma that uses "forall (a: A) (l: list A),...". When I apply that lemma it to another lemma, which only uses "forall (l: list A),...", then Coq leaves a final goal of "A" that I can't clear.

I can work around this problem by adding the variable, "(a:A)", to use assumption to clear the "A" goal. But, it's an ugly hack because the variable, a, isn't actually used in the lemma. Is there a more elegant way to clear the goal "A"? I'm using Coq versioin 8.4p16.

-George



Archive powered by MHonArc 2.6.18.

Top of Page