]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_structure.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / syntax / path_structure.ma
index 95c728682db4058cc10f4caca52bb357be601634..288575c4e7680630668be3a61108478261a6d0c4 100644 (file)
@@ -23,12 +23,11 @@ match p with
 [ list_empty     ā‡’ šž
 | list_lcons l q ā‡’
    match l with
-   [ label_d k    ā‡’ structure q
-   | label_d2 k d ā‡’ structure q
-   | label_m      ā‡’ structure q
-   | label_L      ā‡’ (structure q)ā—–š—Ÿ
-   | label_A      ā‡’ (structure q)ā—–š—”
-   | label_S      ā‡’ (structure q)ā—–š—¦
+   [ label_d k ā‡’ structure q
+   | label_m   ā‡’ structure q
+   | label_L   ā‡’ (structure q)ā—–š—Ÿ
+   | label_A   ā‡’ (structure q)ā—–š—”
+   | label_S   ā‡’ (structure q)ā—–š—¦
    ]
 ].
 
@@ -46,10 +45,6 @@ lemma structure_d_dx (p) (k):
       āŠ—p = āŠ—(pā—–š—±k).
 // qed.
 
-lemma structure_d2_dx (p) (k) (d):
-      āŠ—p = āŠ—(pā—–š—±āØk,dā©).
-// qed.
-
 lemma structure_m_dx (p):
       āŠ—p = āŠ—(pā—–š—ŗ).
 // qed.
@@ -71,13 +66,13 @@ lemma structure_S_dx (p):
 theorem structure_idem (p):
         āŠ—p = āŠ—āŠ—p.
 #p elim p -p //
-* [ #k | #k #d ] #p #IH //
+* [ #k ] #p #IH //
 qed.
 
 theorem structure_append (p) (q):
         āŠ—pā—āŠ—q = āŠ—(pā—q).
 #p #q elim q -q //
-* [ #k | #k #d ] #q #IH //
+* [ #k ] #q #IH //
 <list_append_lcons_sn //
 qed.
 
@@ -88,11 +83,6 @@ lemma structure_d_sn (p) (k):
 #p #k <structure_append //
 qed.
 
-lemma structure_d2_sn (p) (k) (d):
-      āŠ—p = āŠ—(š—±āØk,dā©ā——p).
-#p #k #d <structure_append //
-qed.
-
 lemma structure_m_sn (p):
       āŠ—p = āŠ—(š—ŗā——p).
 #p <structure_append //
@@ -117,23 +107,9 @@ qed.
 
 lemma eq_inv_d_dx_structure (h) (q) (p):
       qā—–š—±h = āŠ—p ā†’ āŠ„.
-#h #q #p elim p -p [| * [ #k | #k #d ] #p #IH ]
+#h #q #p elim p -p [| * [ #k ] #p #IH ]
 [ <structure_empty #H0 destruct
 | <structure_d_dx #H0 /2 width=1 by/
-| <structure_d2_dx #H0 /2 width=1 by/
-| <structure_m_dx #H0 /2 width=1 by/
-| <structure_L_dx #H0 destruct
-| <structure_A_dx #H0 destruct
-| <structure_S_dx #H0 destruct
-]
-qed-.
-
-lemma eq_inv_d2_dx_structure (d) (h) (q) (p):
-      qā—–š—±āØh,dā© = āŠ—p ā†’ āŠ„.
-#d #h #q #p elim p -p [| * [ #k | #k #d ] #p #IH ]
-[ <structure_empty #H0 destruct
-| <structure_d_dx #H0 /2 width=1 by/
-| <structure_d2_dx #H0 /2 width=1 by/
 | <structure_m_dx #H0 /2 width=1 by/
 | <structure_L_dx #H0 destruct
 | <structure_A_dx #H0 destruct
@@ -143,10 +119,9 @@ qed-.
 
 lemma eq_inv_m_dx_structure (q) (p):
       qā—–š—ŗ = āŠ—p ā†’ āŠ„.
-#q #p elim p -p [| * [ #k | #k #d ] #p #IH ]
+#q #p elim p -p [| * [ #k ] #p #IH ]
 [ <structure_empty #H0 destruct
 | <structure_d_dx #H0 /2 width=1 by/
-| <structure_d2_dx #H0 /2 width=1 by/
 | <structure_m_dx #H0 /2 width=1 by/
 | <structure_L_dx #H0 destruct
 | <structure_A_dx #H0 destruct
@@ -157,14 +132,11 @@ qed-.
 lemma eq_inv_L_dx_structure (q) (p):
       qā—–š—Ÿ = āŠ—p ā†’
       āˆƒāˆƒr1,r2. q = āŠ—r1 & šž = āŠ—r2 & r1ā—š—Ÿā——r2 = p.
-#q #p elim p -p [| * [ #k | #k #d ] #p #IH ]
+#q #p elim p -p [| * [ #k ] #p #IH ]
 [ <structure_empty #H0 destruct
 | <structure_d_dx #H0
   elim IH -IH // -H0 #r1 #r2 #H1 #H0 #H2 destruct
   /2 width=5 by ex3_2_intro/
-| <structure_d2_dx #H0
-  elim IH -IH // -H0 #r1 #r2 #H1 #H0 #H2 destruct
-  /2 width=5 by ex3_2_intro/
 | <structure_m_dx #H0
   elim IH -IH // -H0 #r1 #r2 #H1 #H0 #H2 destruct
   /2 width=5 by ex3_2_intro/
@@ -178,14 +150,11 @@ qed-.
 lemma eq_inv_A_dx_structure (q) (p):
       qā—–š—” = āŠ—p ā†’
       āˆƒāˆƒr1,r2. q = āŠ—r1 & šž = āŠ—r2 & r1ā—š—”ā——r2 = p.
-#q #p elim p -p [| * [ #k | #k #d ] #p #IH ]
+#q #p elim p -p [| * [ #k ] #p #IH ]
 [ <structure_empty #H0 destruct
 | <structure_d_dx #H0
   elim IH -IH // -H0 #r1 #r2 #H1 #H0 #H2 destruct
   /2 width=5 by ex3_2_intro/
-| <structure_d2_dx #H0
-  elim IH -IH // -H0 #r1 #r2 #H1 #H0 #H2 destruct
-  /2 width=5 by ex3_2_intro/
 | <structure_m_dx #H0
   elim IH -IH // -H0 #r1 #r2 #H1 #H0 #H2 destruct
   /2 width=5 by ex3_2_intro/
@@ -199,14 +168,11 @@ qed-.
 lemma eq_inv_S_dx_structure (q) (p):
       qā—–š—¦ = āŠ—p ā†’
       āˆƒāˆƒr1,r2. q = āŠ—r1 & šž = āŠ—r2 & r1ā—š—¦ā——r2 = p.
-#q #p elim p -p [| * [ #k | #k #d ] #p #IH ]
+#q #p elim p -p [| * [ #k ] #p #IH ]
 [ <structure_empty #H0 destruct
 | <structure_d_dx #H0
   elim IH -IH // -H0 #r1 #r2 #H1 #H0 #H2 destruct
   /2 width=5 by ex3_2_intro/
-| <structure_d2_dx #H0
-  elim IH -IH // -H0 #r1 #r2 #H1 #H0 #H2 destruct
-  /2 width=5 by ex3_2_intro/
 | <structure_m_dx #H0
   elim IH -IH // -H0 #r1 #r2 #H1 #H0 #H2 destruct
   /2 width=5 by ex3_2_intro/
@@ -222,11 +188,10 @@ qed-.
 theorem eq_inv_append_structure (p) (q) (r):
         pā—q = āŠ—r ā†’
         āˆƒāˆƒr1,r2.p = āŠ—r1 & q = āŠ—r2 & r1ā—r2 = r.
-#p #q elim q -q [| * [ #k | #k #d ] #q #IH ] #r
+#p #q elim q -q [| * [ #k ] #q #IH ] #r
 [ <list_append_empty_sn #H0 destruct
   /2 width=5 by ex3_2_intro/
 | #H0 elim (eq_inv_d_dx_structure ā€¦ H0)
-| #H0 elim (eq_inv_d2_dx_structure ā€¦ H0)
 | #H0 elim (eq_inv_m_dx_structure ā€¦ H0)
 | #H0 elim (eq_inv_L_dx_structure ā€¦ H0) -H0 #r1 #r2 #Hr1 #Hr2 #H0 destruct
   elim (IH ā€¦ Hr1) -IH -Hr1 #s1 #s2 #H1 #H2 #H3 destruct
@@ -253,14 +218,6 @@ elim (eq_inv_append_structure ā€¦ H0) -H0 #r1 #r2
 elim (eq_inv_d_dx_structure ā€¦ H0)
 qed-.
 
-lemma eq_inv_d2_sn_structure (d) (h) (q) (p):
-      (š—±āØh,dā©ā——q) = āŠ—p ā†’ āŠ„.
-#d #h #q #p >list_cons_comm #H0
-elim (eq_inv_append_structure ā€¦ H0) -H0 #r1 #r2
-<list_cons_comm #H0 #H1 #H2 destruct
-elim (eq_inv_d2_dx_structure ā€¦ H0)
-qed-.
-
 lemma eq_inv_m_sn_structure (q) (p):
       (š—ŗ ā——q) = āŠ—p ā†’ āŠ„.
 #q #p >list_cons_comm #H0