]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_lift.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / reduction / dfr_lift.ma
index d25ddc502452773090319fb5a90b97e0b50d20c4..3c6e4d6d9a205f19501869d3ac612b76d52de34c 100644 (file)
@@ -23,28 +23,38 @@ include "delayed_updating/unwind/unwind2_rmap_head.ma".
 *)
 include "delayed_updating/substitution/fsubst_eq.ma".
 include "delayed_updating/substitution/lift_prototerm_eq.ma".
+include "delayed_updating/substitution/lift_path_head.ma".
 
 include "delayed_updating/syntax/prototerm_proper_constructors.ma".
 
+
 (* DELAYED FOCUSED REDUCTION ************************************************)
 
 (* Constructions with lift **************************************************)
+(*
+lemma pippo (f) (r):
+      ↑[↑[r]f](rᴿ) = (↑[f]r)ᴿ.
+#f #r @(list_ind_rcons … r) -r //
+#p * [ #n ] #IH
+[ <reverse_rcons <lift_path_d_sn <lift_rmap_d_dx
+  <lift_path_d_dx <reverse_rcons
+  <IH  
+*)
 
 theorem dfr_lift_bi (f) (p) (q) (t1) (t2): (*t1 ϵ 𝐓 → *)
-        t1 ➡𝐝𝐟[p,q] t2 → ↑[f]t1 ➡𝐟[↑[f]p,↑[↑[p◖𝗔◖𝗟]f]q] ↑[f]t2.
+        t1 â\9e¡ð\9d\90\9dð\9d\90\9f[p,q] t2 â\86\92 â\86\91[f]t1 â\9e¡ð\9d\90\9dð\9d\90\9f\86\91[f]p,â\86\91\86\91[pâ\97\96ð\9d\97\94â\97\96ð\9d\97\9f]f]q] â\86\91[f]t2.
 #f #p #q #t1 #t2
 * #n * #H1n #Ht1 #Ht2
 @(ex_intro … ((↑[p●𝗔◗𝗟◗q]f)@⧣❨n❩)) @and3_intro
 [ -Ht1 -Ht2
-  >H1n >path_head_structure_depth <H1n -H1n //
-| lapply (in_comp_unwind2_path_term f … Ht1) -Ht2 -Ht1 -H0t1
-  <unwind2_path_d_dx <depth_structure
+  <lift_rmap_L_dx >lift_path_L_sn
   >list_append_rcons_sn in H1n; <reverse_append #H1n
-  lapply (unwind2_rmap_append_pap_closed f … H1n)
-  <reverse_lcons <depth_L_dx #H2n
-  lapply (eq_inv_ninj_bi … H2n) -H2n #H2n <H2n -H2n -H1n #Ht1 //
-| lapply (unwind2_term_eq_repl_dx f … Ht2) -Ht2 #Ht2
+  <(lift_path_head … H1n) -H1n //
+| lapply (in_comp_lift_path_term f … Ht1) -Ht2 -Ht1 -H1n
+  <lift_path_d_dx #Ht1 //
+| lapply (lift_term_eq_repl_dx f … Ht2) -Ht2 #Ht2
   @(subset_eq_trans … Ht2) -t2
+(*  
   @(subset_eq_trans … (unwind2_term_fsubst …))
   [ @fsubst_eq_repl [ // | // ]
     @(subset_eq_trans … (unwind2_term_iref …))
@@ -68,3 +78,4 @@ theorem dfr_lift_bi (f) (p) (q) (t1) (t2): (*t1 ϵ 𝐓 → *)
   ]
 ]
 qed.
+*)
\ No newline at end of file