coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Rui Baptista <rpgcbaptista AT gmail.com>
- To: Adam Chlipala <adamc AT csail.mit.edu>
- Cc: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Beginner problem writing tactic
- Date: Fri, 2 Aug 2013 01:09:24 +0100
But the tactic
progress repeat
match goal with
| [H1 : _ |- _] => progress (
apply (proj1 OJQZ) in H1 ||
(apply eq_sym in H1; apply (proj1 OJQZ) in H1; try apply eq_sym in H1))
| [|- _] => progress (
apply (proj2 OJQZ) ||
(apply eq_sym; apply (proj2 OJQZ); try apply eq_sym))
end.
is just the result of "unfolding" rw_aux OJQZ. Why does that one work, but not the other?
I've made the argument of OJQZ implicit just so I could feed it to proj1 and proj2.
- [Coq-Club] Beginner problem writing tactic, rpgcbaptista, 08/02/2013
- Re: [Coq-Club] Beginner problem writing tactic, Adam Chlipala, 08/02/2013
- Re: [Coq-Club] Beginner problem writing tactic, Rui Baptista, 08/02/2013
- Re: [Coq-Club] Beginner problem writing tactic, Adam Chlipala, 08/02/2013
- Re: [Coq-Club] Beginner problem writing tactic, Rui Baptista, 08/02/2013
- Re: [Coq-Club] Beginner problem writing tactic, Adam Chlipala, 08/02/2013
Archive powered by MHonArc 2.6.18.