]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/delayed_updating/reduction/dbfr_lift.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / reduction / dbfr_lift.ma
index e1446df2df8328ed1aaeeffbf3946da82b8bbfa2..1f5c35a851d9c29726a1af037bc105c0a6361480 100644 (file)
@@ -19,7 +19,6 @@ include "delayed_updating/substitution/fsubst_eq.ma".
 include "delayed_updating/substitution/lift_prototerm_constructors.ma".
 include "delayed_updating/substitution/lift_path_structure.ma".
 include "delayed_updating/substitution/lift_path_closed.ma".
-include "delayed_updating/substitution/lift_path_guard.ma".
 include "delayed_updating/substitution/lift_rmap_closed.ma".
 
 (* DELAYED BALANCED FOCUSED REDUCTION ***************************************)
@@ -29,19 +28,17 @@ include "delayed_updating/substitution/lift_rmap_closed.ma".
 theorem dbfr_lift_bi (f) (t1) (t2) (r):
         t1 โžก๐๐›๐Ÿ[r] t2 โ†’ ๐Ÿ ก[f]t1 โžก๐๐›๐Ÿ[๐Ÿ ก[f]r] ๐Ÿ ก[f]t2.
 #f #t1 #t2 #r
-* #p #b #q #m #n #Hr #Hp #Hb #Hm #Hn #Ht1 #Ht2 destruct
-@(ex7_5_intro โ€ฆ (๐Ÿ ก[f]p) (๐Ÿ ก[๐Ÿ ข[f](pโ—–๐—”)]b) (๐Ÿ ก[๐Ÿ ข[f](pโ—–๐—”โ—bโ—–๐—Ÿ)]q) (๐Ÿ ข[f](pโ—๐—”โ——b)๏ผ โจmโฉ) (๐Ÿ ข[f](pโ—๐—”โ——bโ—๐—Ÿโ——q)๏ผ ยงโจnโฉ))
-[ -Hp -Hb -Hm -Hn -Ht1 -Ht2 //
-| -Hb -Hm -Hn -Ht1 -Ht2
-  /2 width=1 by lift_path_guard/
-| -Hp -Hm -Hn -Ht1 -Ht2 //
-| -Hp -Hb -Hn -Ht1 -Ht2
+* #p #b #q #m #n #Hr #Hb #Hm #Hn #Ht1 #Ht2 destruct
+@(ex6_5_intro โ€ฆ (๐Ÿ ก[f]p) (๐Ÿ ก[๐Ÿ ข[f](pโ—–๐—”)]b) (๐Ÿ ก[๐Ÿ ข[f](pโ—–๐—”โ—bโ—–๐—Ÿ)]q) (๐Ÿ ข[f](pโ—๐—”โ——b)๏ผ โจmโฉ) (๐Ÿ ข[f](pโ—๐—”โ——bโ—๐—Ÿโ——q)๏ผ ยงโจnโฉ))
+[ -Hb -Hm -Hn -Ht1 -Ht2 //
+| -Hm -Hn -Ht1 -Ht2 //
+| -Hb -Hn -Ht1 -Ht2
   /2 width=1 by lift_path_closed/
-| -Hp -Hb -Hm -Ht1 -Ht2
+| -Hb -Hm -Ht1 -Ht2
   /2 width=1 by lift_path_rmap_closed_L/
-| lapply (in_comp_lift_path_term f โ€ฆ Ht1) -Ht2 -Ht1 -Hn -Hp
+| lapply (in_comp_lift_path_term f โ€ฆ Ht1) -Ht2 -Ht1 -Hn
   <lift_path_d_dx #Ht1 //
-| lapply (lift_term_eq_repl_dx f โ€ฆ Ht2) -Ht2 #Ht2 -Ht1 -Hp
+| lapply (lift_term_eq_repl_dx f โ€ฆ Ht2) -Ht2 #Ht2 -Ht1
   @(subset_eq_trans โ€ฆ Ht2) -t2
   @(subset_eq_trans โ€ฆ (lift_term_fsubst โ€ฆ))
   @fsubst_eq_repl [ // | // ]
@@ -51,6 +48,7 @@ theorem dbfr_lift_bi (f) (t1) (t2) (r):
   @iref_eq_repl
   @(subset_eq_canc_sn โ€ฆ (lift_term_grafted_S โ€ฆ))
   @lift_term_eq_repl_sn
+(* ๐Ÿ ข[f]p โ‰— โ‡‚*[โ†‘(m+n)]๐Ÿ ข[f](((pโ—–๐—”)โ—b)โ—๐—Ÿโ——q) *)
 (* Note: crux of the proof begins *)
   >lift_rmap_A_dx
   /2 width=2 by tls_succ_plus_lift_rmap_append_closed_bLq_dx/