coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Eric Mullen <emullen AT cs.washington.edu>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Encoding Tactic Sequences in Ltac
- Date: Mon, 27 Oct 2014 13:34:32 -0700
Is what you want similar to:
try solve [tactic1]; try solve [tactic2]....
On Oct 27, 2014 1:26 PM, "Gransden, Thomas" <tg75 AT student.le.ac.uk> wrote:
Hi all,
I was just wondering if there was a way of encoding the following scenario in Ltac:
Say that we have a few sequences of tactics that we use often in a corpus of proofs - for example lets say the following:
t1 - intros. rewrite mult_n_O. trivial.
t2 - intros. destruct_all bool. reflexivity.
t3 - induction n. intros. simpl; trivial. simpl; trivial.
Can I create an Ltac tactic that applies t1 OR t2 OR t3?
I have had a play around with Ltac but cannot seem to get something like this working, so any help or hints would be much appreciated.
Thanks
Tom
- [Coq-Club] Encoding Tactic Sequences in Ltac, Gransden, Thomas, 10/27/2014
- Re: [Coq-Club] Encoding Tactic Sequences in Ltac, Eric Mullen, 10/27/2014
- Re: [Coq-Club] Encoding Tactic Sequences in Ltac, Pierre Courtieu, 10/27/2014
- Re: [Coq-Club] Encoding Tactic Sequences in Ltac, Eric Mullen, 10/27/2014
Archive powered by MHonArc 2.6.18.