]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/prova.ma
- new tactic subst removes simple non recursive equalities from the context
[helm.git] / helm / software / matita / contribs / prova.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 set "baseuri" "cic:/matita/test/".
16
17 include "nat/nat.ma".
18
19 theorem pippo: \forall (P,Q,R:nat \to Prop).
20                \forall x,y. x=y \to P x \to Q x \to R x.
21                intros.
22                rewrite > P in Q.  
23 (*             
24 theorem pippo: \forall (P,Q,R:nat \to Prop).
25                \forall x,y. x=y \to P x \to Q x \to R x.
26                intros. rewrite > H in y.
27 *)