]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/syntax/prototerm_equivalence.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / syntax / prototerm_equivalence.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 include "ground/lib/subset_equivalence.ma".
16 include "delayed_updating/syntax/prototerm.ma".
17
18 (* EQUIVALENCE FOR PROTOTERM ************************************************)
19
20 (* Constructions with prototerm_root ****************************************)
21
22 lemma prototerm_root_incl_repl:
23       ∀t1,t2. t1 ⊆ t2 → ▵t1 ⊆ ▵t2.
24 #t1 #t2 #Ht #p * #q #Hq
25 /3 width=2 by ex_intro/
26 qed.
27
28 lemma prototerm_root_eq_repl:
29       ∀t1,t2. t1 ⇔ t2 → ▵t1 ⇔ ▵t2.
30 #t1 #t2 * #H1 #H2
31 /3 width=3 by conj, prototerm_root_incl_repl/
32 qed.