coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Marko Malikovi� <marko AT ffri.hr>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club] Match and number of subgoal
- Date: Fri, 24 Aug 2007 14:46:06 +0200 (CEST)
- Importance: Normal
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Dear Coq users and developers,
if I have Ltac like this:
Ltac example :=
match goal with
| [ |- expression1 ] => tactic1
| [ |- expression2 ] => tactic2
| [ |- expression3 ] => tactic3
...
| [ |- expressionN ] => tacticN
| [ |- _ ] => idtac
end.
and I apply this matching on all before generated subgoals (with ;example
tactical), how I can know which tactic is applied on which subgoal.
Exactly I need ordinal number of subgoal.
Concrete, if after ";example", tactic3 is applied on i-th subgoal than I
need what number i is.
Thanx in advance,
Marko Malikoviæ
- [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.