]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/delayed_updating/syntax/prototerm_constructors.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / syntax / prototerm_constructors.ma
index fd86ef975a39b862aaf05ac99dc5efd298fb10ed..f026c769e0cd3442db5b644f274f3252b37dfcf5 100644 (file)
@@ -15,7 +15,7 @@
 include "delayed_updating/syntax/prototerm.ma".
 include "delayed_updating/notation/functions/m_hook_1.ma".
 include "delayed_updating/notation/functions/hash_1.ma".
-include "delayed_updating/notation/functions/phi_2.ma".
+include "delayed_updating/notation/functions/tau_2.ma".
 include "delayed_updating/notation/functions/lamda_1.ma".
 include "delayed_updating/notation/functions/at_2.ma".
 
@@ -45,7 +45,7 @@ interpretation
 
 interpretation
   "inner variable reference by depth (prototerm)"
-  'Phi n t = (prototerm_node_1_2 (label_d n) label_m t).
+  'Tau n t = (prototerm_node_1_2 (label_d n) label_m t).
 
 interpretation
   "name-free functional abstraction (prototerm)"
@@ -55,8 +55,21 @@ interpretation
   "application (prototerm)"
   'At u t = (prototerm_node_2 label_S label_A u t).
 
-(* Basic Inversions *********************************************************)
+(* Basic constructions *******************************************************)
 
+lemma in_comp_iref (t) (q) (n):
+      q ϵ t → 𝗱n◗𝗺◗q ϵ 𝛕n.t.
+/2 width=3 by ex2_intro/ qed.
+
+(* Basic inversions *********************************************************)
+
+lemma in_comp_inv_iref (t) (p) (n):
+      p ϵ 𝛕n.t →
+      ∃∃q. 𝗱n◗𝗺◗q = p & q ϵ t.
+#t #p #n * #q #Hq #Hp
+/2 width=3 by ex2_intro/
+qed-.
+(* COMMENT
 lemma prototerm_in_root_inv_lcons_oref:
       ∀p,l,n. l◗p ϵ ▵#n →
       ∧∧ 𝗱n = l & 𝐞 = p.
@@ -67,7 +80,7 @@ elim (eq_inv_list_empty_append … e0) -e0 #H0 #_
 qed-.
 
 lemma prototerm_in_root_inv_lcons_iref:
-      â\88\80t,p,l,n. lâ\97\97p Ïµ â\96µð\9d\9b\97n.t →
+      â\88\80t,p,l,n. lâ\97\97p Ïµ â\96µð\9d\9b\95n.t →
       ∧∧ 𝗱n = l & p ϵ ▵ɱ.t.
 #t #p #l #n * #q * #r #Hr
 <list_append_lcons_sn #H0 destruct -H0
@@ -98,3 +111,4 @@ lemma prototerm_in_root_inv_lcons_appl:
 <list_append_lcons_sn #H0 destruct
 /4 width=2 by ex_intro, or_introl, or_intror, conj/
 qed-.
+*)