]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_proper.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / syntax / path_proper.ma
index 66de8a4f6c37a0e4a3c869316c20f88690fbff93..ff6a53c3932c4a01eac32c3e58993ab8fadb9174 100644 (file)
@@ -30,7 +30,12 @@ interpretation
 (* Basic constructions ******************************************************)
 
 lemma ppc_lcons (l) (q): lā——q Ļµ š.
-#l #p #H destruct
+#l #q #H0 destruct
+qed.
+
+lemma ppc_rcons (l) (q): qā—–l Ļµ š.
+#l #q #H
+elim (eq_inv_list_empty_rcons ??? H)
 qed.
 
 (* Basic inversions ********************************************************)
@@ -47,3 +52,11 @@ lemma ppc_inv_lcons (p):
 | #l #q #_ /2 width=3 by ex1_2_intro/
 ]
 qed-.
+
+lemma ppc_inv_rcons (p):
+      p Ļµ š ā†’ āˆƒāˆƒq,l. qā—–l = p.
+#p @(list_ind_rcons ā€¦ p) -p
+[ #H0 elim (ppc_inv_empty ā€¦ H0)
+| #q #l #_ #_ /2 width=3 by ex1_2_intro/
+]
+qed-.