]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_ifr.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / reduction / dfr_ifr.ma
index dd24f856863792f367b106e4354464ede5961645..2d3fdbdf596f7e405e1a29725db9c922314e6f56 100644 (file)
 
 include "delayed_updating/reduction/dfr.ma".
 include "delayed_updating/reduction/ifr.ma".
+
 include "delayed_updating/unwind1/unwind_fsubst.ma".
 include "delayed_updating/unwind1/unwind_constructors.ma".
 include "delayed_updating/unwind1/unwind_preterm_eq.ma".
 include "delayed_updating/unwind1/unwind_structure_depth.ma".
 include "delayed_updating/unwind1/unwind_depth.ma".
+
 include "delayed_updating/substitution/fsubst_eq.ma".
 include "delayed_updating/substitution/lift_prototerm_eq.ma".
 include "delayed_updating/syntax/prototerm_proper_constructors.ma".
@@ -71,9 +73,9 @@ lemma dfr_unwind_id_bi (p) (q) (t1) (t2): t1 ฯต ๐“ โ†’
       t1 โžก๐๐Ÿ[p,q] t2 โ†’ โ–ผ[๐ข]t1 โžก๐Ÿ[โŠ—p,โŠ—q] โ–ผ[๐ข]t2.
 #p #q #t1 #t2 #H0t1
 * #b #n * #Hb #Hn #Ht1 #Ht2
-@(ex1_2_intro รข\80ยฆ (รข\8a\97b) (รข\86\91รข\9d\98รข\8a\97qรข\9d\98)) @and4_intro
+@(ex1_2_intro รข\80ยฆ (รข\8a\97b) (รข\86\91รข\99ยญรข\8a\97q)) @and4_intro
 [ //
-| //
+| (*//*)
 | lapply (in_comp_unwind_bi (๐ข) โ€ฆ Ht1) -Ht1 -H0t1 -Hb -Ht2
   <unwind_path_d_empty_dx <depth_structure //
 | lapply (unwind_term_eq_repl_dx (๐ข) โ€ฆ Ht2) -Ht2 #Ht2
@@ -85,11 +87,21 @@ lemma dfr_unwind_id_bi (p) (q) (t1) (t2): t1 ฯต ๐“ โ†’
     @fsubst_eq_repl [ // ]
     @(subset_eq_trans โ€ฆ (unwind_iref โ€ฆ))
 
-    elim Hb -Hb #Hb #H0 <H0 -H0 <nrplus_zero_dx <nplus_zero_dx <Hn
+    elim Hb -Hb #Hb #H0 <H0 -H0 <nrplus_zero_dx <nplus_zero_dx <nsucc_unfold
+    >Hn
     @(subset_eq_canc_sn โ€ฆ (lift_term_eq_repl_dx โ€ฆ))
     [ @unwind_grafted_S /2 width=2 by ex_intro/ | skip ]
-
+    <Hn <Hn
+(*    
+    @(subset_eq_trans โ€ฆ (lift_term_eq_repl_dx โ€ฆ))
+    [ @(unwind_term_eq_repl_sn โ€ฆ (tls_succ_unwind q โ€ฆ)) | skip ]
+*)
 (*
+    
+    @subset_eq_trans
+    [2: @unwind_term_eq_repl_dx
+    @(subset_eq_canc_sn โ€ฆ (unwind_term_eq_repl_dx โ€ฆ))
+
     @(subset_eq_canc_sn โ€ฆ (unwind_term_eq_repl_dx โ€ฆ))
     [ @unwind_grafted_S /2 width=2 by ex_intro/ | skip ]
 
@@ -116,3 +128,6 @@ Hn : โ†‘โ˜qโ˜ = โ†‘[pโ—๐—”โ——bโ—๐—Ÿโ——q]๐ข@โจnโฉ
 ---------------------------
 โ†‘[๐ฎโจโ†‘โ˜qโ˜+โ˜bโ˜โฉ] โ†‘[โ†‘[p]๐ข] t โ‡” โ†‘[๐ฎโจโ†‘[pโ—๐—”โ——bโ—๐—Ÿโ——q]๐ข@โจn+โ˜bโ˜โฉโฉ] t
 *)
+(*
+(โ†‘[๐ฎโจโ†‘โ˜qโ˜โฉ]โ–ผ[โ‡‚*[โ†‘โ˜qโ˜]โ–ผ[pโ—๐—Ÿโ——q]๐ข](t1โ‹”(pโ—–๐—ฆ))โ‡”โ–ผ[๐ฎโจโ†‘โ˜qโ˜โฉโˆ˜โ–ผ[pโ—๐—”โ——bโ—๐—Ÿโ——q]๐ข](t1โ‹”(pโ—–๐—ฆ))
+*)