coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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
- [Coq-Club] More elegant work-around for A as goal, George Van Treeck, 07/11/2015
- RE: [Coq-Club] More elegant work-around for A as goal, Soegtrop, Michael, 07/13/2015
- Re: [Coq-Club] More elegant work-around for A as goal, Tej Chajed, 07/13/2015
- RE: [Coq-Club] More elegant work-around for A as goal, Soegtrop, Michael, 07/13/2015
Archive powered by MHonArc 2.6.18.