blob: fcdbc6e875dd3b6cd59863e52fce5db9eb39ad8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
(************************************************************************)
(* v * The Coq Proof Assistant / The Coq Development Team *)
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
(* \VV/ **************************************************************)
(* // * This file is distributed under the terms of the *)
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
(*i $Id$ i*)
Require Import Notations.
Require Import Logic.
(** Useful tactics *)
Ltac rewrite_all Eq := match type of Eq with
?a = ?b =>
generalize Eq; clear Eq;
match goal with
| H : context [a] |- _ => intro Eq; rewrite Eq in H; rewrite_all Eq
| _ => intro Eq
end
end.
|