coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Fr�d�ric Besson <fbesson AT irisa.fr>
- To: Marko Maliković <marko AT ffri.hr>
- Cc: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] Match and number of subgoal
- Date: Fri, 24 Aug 2007 15:20:22 +0200
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
On 24 août 07, at 14:46, Marko Maliković wrote:
Maybe you could tag subgoals with a string. (It does not provide the subgoal number but each subgoal is annotated with the tactic that applied to it.) Require Import String. Open Scope string_scope. Ltac example :=  let tag := fresh "tag" in match goal with | [ |- expression1 ] => tactic1 ; set (tag := "tactic1") | [ |- expression2 ] => tactic2 ; set (tag := "tactic2") ... | [ |- expressionN ] => tacticN ;set (tag := "tacticN") | [ |- _ ] => idtac end. Regards, -- Frédéric Besson |
- [Coq-Club] Match and number of subgoal, Marko Malikoviæ
- Re: [Coq-Club] Match and number of subgoal, Frédéric Besson
- Re: [Coq-Club] Match and number of subgoal, Marko Malikoviæ
- Re: [Coq-Club] Match and number of subgoal, Frédéric Besson
Archive powered by MhonArc 2.6.16.