]> matita.cs.unibo.it Git - helm.git/commitdiff
update in delayed_updating
authorFerruccio Guidi <ferruccio.guidi@unibo.it>
Sat, 25 Jun 2022 21:01:12 +0000 (23:01 +0200)
committerFerruccio Guidi <ferruccio.guidi@unibo.it>
Sat, 25 Jun 2022 21:01:12 +0000 (23:01 +0200)
+ some additions
+ minor improvements

matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_ifr.ma
matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr_unwind.ma
matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_rmap_id.ma
matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_rmap_prelift.ma [new file with mode: 0644]

index 92bd90699321b65cf9d5589fb69b21faf0a65060..e54dd267877972e510e4b7d12516e0506efe9654 100644 (file)
@@ -58,14 +58,13 @@ theorem dfr_des_ifr (f) (p) (q) (t1) (t2): t1 Ļµ š“ ā†’
     @(subset_eq_trans ā€¦ (lift_unwind2_term_after ā€¦))
     @unwind2_term_eq_repl_sn
 (* Note: crux of the proof begins *)
-    @nstream_eq_inv_ext #m
-    <tr_compose_pap <tr_compose_pap
-    <tr_uni_pap <tr_uni_pap <tr_pap_plus
     >list_append_rcons_sn in H1n; <reverse_append #H1n
-    lapply (unwind2_rmap_append_pap_closed f ā€¦ H1n) #H2n
-    >nrplus_inj_dx in āŠ¢ (???%); <H2n -H2n
-    lapply (tls_unwind2_rmap_append_closed f ā€¦ H1n) -H1n #H2n
-    <(tr_pap_eq_repl ā€¦ H2n) -H2n //
+    @(stream_eq_trans ā€¦ (tr_compose_uni_dx ā€¦))
+    @tr_compose_eq_repl
+    [ <unwind2_rmap_append_pap_closed //
+    | >unwind2_rmap_A_sn <reverse_rcons
+      /2 width=1 by tls_unwind2_rmap_append_closed/
+    ]
 (* Note: crux of the proof ends *)
   | //
   | /2 width=2 by ex_intro/
index 13f6f3fa00dacfd3f309c42d7244165063cc239a..7d57698879785610dd3af516b8d3a1544febd02a 100644 (file)
@@ -57,14 +57,13 @@ lemma ifr_unwind_bi (f) (p) (q) (t1) (t2):
     @(subset_eq_canc_dx ā€¦ (unwind2_term_after_lift ā€¦))
     @unwind2_term_eq_repl_sn
 (* Note: crux of the proof begins *)
-    @nstream_eq_inv_ext #m
-    <tr_compose_pap <tr_compose_pap
-    <tr_uni_pap <tr_uni_pap <tr_pap_plus
     >list_append_rcons_sn in H1n; <reverse_append #H1n
-    lapply (unwind2_rmap_append_pap_closed f ā€¦ H1n) #H2n
-    >nrplus_inj_dx in āŠ¢ (???%); <H2n -H2n
-    lapply (tls_unwind2_rmap_append_closed f ā€¦ H1n) -H1n #H2n
-    <(tr_pap_eq_repl ā€¦ H2n) -H2n //
+    @(stream_eq_trans ā€¦ (tr_compose_uni_dx ā€¦))
+    @tr_compose_eq_repl
+    [ <unwind2_rmap_append_pap_closed //
+    | >unwind2_rmap_A_sn <reverse_rcons
+      /2 width=1 by tls_unwind2_rmap_append_closed/
+    ]
 (* Note: crux of the proof ends *)
   | //
   | /2 width=2 by ex_intro/
index 077f90747a49c2ffa5ff2fee329d0bf0ed53cfac..8787ecbb998ce72ac70bafa441644659be98980e 100644 (file)
@@ -15,7 +15,7 @@
 include "delayed_updating/substitution/lift_gen.ma".
 include "ground/relocation/tr_id_tls.ma".
 
-(* LIFT FOR RELOCATION MAP  *************************************************)
+(* LIFT FOR RELOCATION MAP **************************************************)
 
 (* Constructions with proj_rmap and tr_id ***********************************)
 
diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_rmap_prelift.ma b/matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_rmap_prelift.ma
new file mode 100644 (file)
index 0000000..ba6f96f
--- /dev/null
@@ -0,0 +1,30 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+include "delayed_updating/substitution/lift_gen.ma".
+include "delayed_updating/substitution/prelift_rmap.ma".
+
+(* LIFT FOR RELOCATION MAP **************************************************)
+
+(* Constructions with prelift_rmap ******************************************)
+
+lemma lift_rmap_lcons_prelift (f) (p) (l):
+      ā†‘[p]ā†‘[l]f = ā†‘[lā——p]f.
+#f #p * [ #n ] //
+qed.
+
+lemma lift_rmap_rcons_prelift (f) (p) (l):
+      ā†‘[l]ā†‘[p]f = ā†‘[pā—–l]f.
+#f #p * [ #n ] //
+qed.