]> matita.cs.unibo.it Git - helm.git/commitdiff
update in ground
authorFerruccio Guidi <ferruccio.guidi@unibo.it>
Wed, 27 Apr 2022 17:34:39 +0000 (19:34 +0200)
committerFerruccio Guidi <ferruccio.guidi@unibo.it>
Wed, 27 Apr 2022 17:34:39 +0000 (19:34 +0200)
+ some addittions and corrections

matita/matita/contribs/lambdadelta/ground/arith/nat_succ.ma
matita/matita/contribs/lambdadelta/ground/lib/list_rcons.ma
matita/matita/contribs/lambdadelta/ground/relocation/tr_uni_compose.ma

index 742c6b25776f397bfddd57541f8a007ad5a0b4cc..660d4147a4fbb9a0cd317617de3b82fea6bba6bd 100644 (file)
@@ -41,6 +41,9 @@ lemma npsucc_zero: (šŸ) = ā†‘šŸŽ.
 lemma npsucc_inj (p): (ā†‘p) = ā†‘(ninj p).
 // qed.
 
+lemma nsucc_unfold (n): ninj (ā†‘n) = ā†‘n.
+// qed-.
+
 lemma nsucc_zero: ninj (šŸ) = ā†‘šŸŽ.
 // qed.
 
index 322235e7a15cc326f44a5c4d9c5873851f1a5612..00faad83dc2af5462773b9ef7ba0fc592ed623c1 100644 (file)
@@ -40,7 +40,7 @@ lemma list_append_rcons_sn (A):
 // qed.
 
 lemma list_append_rcons_dx (A):
-      āˆ€l1,l2,a. l1 ā؁ l2 āØ­ a = l1 ā؁{A} (l2 āØ­ a).
+      āˆ€l1,l2,a. (l1 ā؁ l2) āØ­ a = l1 ā؁{A} (l2 āØ­ a).
 // qed.
 
 (* Basic inversions *********************************************************)
index 54cf97875272b3995f5bea6b84279ae21f3ec9d4..d278582f214984c06fb1f6579f15331151c28bce 100644 (file)
@@ -29,6 +29,12 @@ qed.
 
 (* Constructions with tr_compose and tr_tls *********************************)
 
+lemma tr_tls_compose_uni_sn (f) (n) (p:pnat):
+      ā‡‚*[p]f ā‰— ā‡‚*[p](š®āØnā©āˆ˜f).
+#f #n #p elim p -p //
+#p #IH /2 width=1 by stream_tl_eq_repl/
+qed.
+
 lemma tr_tl_compose_uni_dx (f) (n):
       ā‡‚*[ā†‘n]f ā‰— ā‡‚(fāˆ˜š®āØnā©).
 // qed.