coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Leonardo Rodriguez <leonardomatiasrodriguez AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] ltac to unfold every local definition
- Date: Wed, 2 Oct 2013 15:48:24 -0300
I have just tried with
repeat match goal with
repeat match goal with
[H := _ : A |- _] =>
unfold H
endbut doesn't work either.
2013/10/2 Leonardo Rodriguez <leonardomatiasrodriguez AT gmail.com>
unfold t3 in *unfold t2I want to clean every [t_i] and replace the conclusionmy_type t1 t2 = t4t2 := second_term : At1 := first_term : AH1 : QH0 : PHi Coq Club,Suppose you have some goal like this
t3 := third_term : At4 := fourth_term t3 : A
==============
withmy_type (first_term) (second_term) = fourth_term third_termI'm trying to avoid doing:
unfold t1unfold t4I don't know too much Ltac, but I tried to dorepeat match goal with
[H : _ |- _] =>try unfold Hendand it seems not to match with local variables.Thank you!
- [Coq-Club] ltac to unfold every local definition, Leonardo Rodriguez, 10/02/2013
- Re: [Coq-Club] ltac to unfold every local definition, Leonardo Rodriguez, 10/02/2013
- Re: [Coq-Club] ltac to unfold every local definition, Rui Baptista, 10/03/2013
- Re: [Coq-Club] ltac to unfold every local definition, Leonardo Rodriguez, 10/03/2013
- Re: [Coq-Club] ltac to unfold every local definition, Jason Gross, 10/03/2013
- Re: [Coq-Club] ltac to unfold every local definition, Leonardo Rodriguez, 10/03/2013
- Re: [Coq-Club] ltac to unfold every local definition, Rui Baptista, 10/03/2013
- Re: [Coq-Club] ltac to unfold every local definition, Leonardo Rodriguez, 10/02/2013
Archive powered by MHonArc 2.6.18.