]> matita.cs.unibo.it Git - helm.git/commitdiff
update in delayed updating
authorFerruccio Guidi <ferruccio.guidi@unibo.it>
Mon, 10 Jan 2022 11:55:35 +0000 (12:55 +0100)
committerFerruccio Guidi <ferruccio.guidi@unibo.it>
Mon, 10 Jan 2022 11:55:35 +0000 (12:55 +0100)
+ notation for "proper element"
+ bug fixed ub the notation of predicates

12 files changed:
matita/matita/contribs/lambdadelta/delayed_updating/notation/functions/nodelabel_d_1.ma
matita/matita/contribs/lambdadelta/delayed_updating/notation/relations/predicate_p_tail_1.ma [new file with mode: 0644]
matita/matita/contribs/lambdadelta/delayed_updating/notation/relations/predicate_squarecap_1.ma
matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr.ma
matita/matita/contribs/lambdadelta/delayed_updating/reduction/ifr.ma
matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift.ma
matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_structure.ma
matita/matita/contribs/lambdadelta/delayed_updating/syntax/bdd_term.ma
matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_depth.ma
matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_structure.ma
matita/matita/contribs/lambdadelta/delayed_updating/syntax/preterm_constructors.ma
matita/matita/predefined_virtuals.ml

index f95126621d5c55d1fbf6c0011595e810bde01dc5..15767cf59cc43743b6c105e8d0dd31464553b051 100644 (file)
@@ -14,6 +14,6 @@
 
 (* NOTATION FOR DELAYED UPDATING ********************************************)
 
-notation "hvbox( ๐—ฑโจ break term 46 a โฉ )"
+notation "hvbox( ๐—ฑ break term 70 a )"
   non associative with precedence 70
   for @{ 'NodeLabelD $a }.
diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/notation/relations/predicate_p_tail_1.ma b/matita/matita/contribs/lambdadelta/delayed_updating/notation/relations/predicate_p_tail_1.ma
new file mode 100644 (file)
index 0000000..73397b8
--- /dev/null
@@ -0,0 +1,19 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+(* NOTATION FOR DELAYED UPDATING ********************************************)
+
+notation "hvbox( ๊” term 70 x )"
+  non associative with precedence 45
+  for @{ 'PredicatePTail $x }.
index dbe1a242db04e9edeb31eff54e3784ccad632c5d..64e50fc912645c9f3d6bac7803d4e8e9cc1850c7 100644 (file)
@@ -14,6 +14,6 @@
 
 (* NOTATION FOR DELAYED UPDATING ********************************************)
 
-notation "hvbox( โŠ“ term 46 p )"
+notation "hvbox( โŠ“ term 70 p )"
   non associative with precedence 45
   for @{ 'PredicateSquareCap $p }.
index 6890031062b55e008868119ea09cb6021a5f172e..3dca53142fb3a3e6fabc1d31a0fd34f1795831d1 100644 (file)
@@ -22,8 +22,8 @@ include "delayed_updating/notation/relations/black_rightarrow_df_4.ma".
 
 inductive dfr (p) (q) (t): predicate preterm โ‰
 | dfr_beta (b):
-  let r โ‰ pโ—๐—”โ——bโ—๐—Ÿโ——qโ—–๐—ฑโจโ†‘โ˜qโ˜โฉ in
-  r ฯต t โ†’ โŠ“โŠ—b โ†’ dfr p q t (t[โ‹”rโ†tโ‹”(pโ—–๐—ฆ)])
+  let r โ‰ pโ—๐—”โ——bโ—๐—Ÿโ——qโ—–๐—ฑ(โ†‘โ˜qโ˜) in
+  r ฯต t โ†’ โŠ“(โŠ—b) โ†’ dfr p q t (t[โ‹”rโ†tโ‹”(pโ—–๐—ฆ)])
 .
 
 interpretation
index 4f8c282b16a113c8aabb93a36cb986964075cb3f..746def17755b3f147022f07cb5773bb27121cbc5 100644 (file)
@@ -24,7 +24,7 @@ include "delayed_updating/notation/relations/black_rightarrow_f_4.ma".
 inductive ifr (p) (q) (t): predicate preterm โ‰
 | ifr_beta (b):
   let r โ‰ pโ—๐—”โ——bโ—๐—Ÿโ——q in
-  rโ—–๐—ฑโจโ†‘โ˜qโ˜โฉ ฯต t โ†’ โŠ“โŠ—b โ†’ ifr p q t (t[โ‹”rโ†โ†‘[๐ฎโจโ†‘โ˜qโ˜โฉ]tโ‹”(pโ—–๐—ฆ)])
+  rโ—–๐—ฑ(โ†‘โ˜qโ˜) ฯต t โ†’ โŠ“(โŠ—b) โ†’ ifr p q t (t[โ‹”rโ†โ†‘[๐ฎโจโ†‘โ˜qโ˜โฉ]tโ‹”(pโ—–๐—ฆ)])
 .
 
 interpretation
index 0293e8666246edbb81fc0e9dc9e9c9f57eb7ab73..b1ed7662361b232de071f08b4972c6fe1cb3247d 100644 (file)
@@ -31,7 +31,7 @@ match p with
   match l with
   [ label_node_d n โ‡’
     match q with
-    [ list_empty     โ‡’ lift_gen (A) (ฮปp. k (๐—ฑโจf@โจnโฉโฉโ——p)) q (fโˆ˜๐ฎโจnโฉ)
+    [ list_empty     โ‡’ lift_gen (A) (ฮปp. k (๐—ฑ(f@โจnโฉ)โ——p)) q (fโˆ˜๐ฎโจnโฉ)
     | list_lcons _ _ โ‡’ lift_gen (A) k q (fโˆ˜๐ฎโจnโฉ)
     ]
   | label_edge_L   โ‡’ lift_gen (A) (ฮปp. k (๐—Ÿโ——p)) q (โซฏf)
@@ -63,11 +63,11 @@ lemma lift_empty (A) (k) (f):
 // qed.
 
 lemma lift_d_empty_sn (A) (k) (n) (f):
-      โ†‘โจ(ฮปp. k (๐—ฑโจf@โจnโฉโฉโ——p)), ๐ž, fโˆ˜๐ฎโจninj nโฉโฉ = โ†‘{A}โจk, ๐—ฑโจnโฉโ——๐ž, fโฉ.
+      โ†‘โจ(ฮปp. k (๐—ฑ(f@โจnโฉ)โ——p)), ๐ž, fโˆ˜๐ฎโจninj nโฉโฉ = โ†‘{A}โจk, ๐—ฑnโ——๐ž, fโฉ.
 // qed.
 
 lemma lift_d_lcons_sn (A) (k) (p) (l) (n) (f):
-      โ†‘โจk, lโ——p, fโˆ˜๐ฎโจninj nโฉโฉ = โ†‘{A}โจk, ๐—ฑโจnโฉโ——lโ——p, fโฉ.
+      โ†‘โจk, lโ——p, fโˆ˜๐ฎโจninj nโฉโฉ = โ†‘{A}โจk, ๐—ฑnโ——lโ——p, fโฉ.
 // qed.
 
 lemma lift_L_sn (A) (k) (p) (f):
@@ -85,17 +85,17 @@ lemma lift_S_sn (A) (k) (p) (f):
 (* Basic constructions with proj_path ***************************************)
 
 lemma lift_path_d_empty_sn (f) (n):
-      ๐—ฑโจf@โจnโฉโฉโ——๐ž = โ†‘[f](๐—ฑโจnโฉโ——๐ž).
+      ๐—ฑ(f@โจnโฉ)โ——๐ž = โ†‘[f](๐—ฑnโ——๐ž).
 // qed.
 
 lemma lift_path_d_lcons_sn (f) (p) (l) (n):
-      โ†‘[fโˆ˜๐ฎโจninj nโฉ](lโ——p) = โ†‘[f](๐—ฑโจnโฉโ——lโ——p).
+      โ†‘[fโˆ˜๐ฎโจninj nโฉ](lโ——p) = โ†‘[f](๐—ฑnโ——lโ——p).
 // qed.
 
 (* Basic constructions with proj_rmap ***************************************)
 
 lemma lift_rmap_d_sn (f) (p) (n):
-      โ†‘[p](fโˆ˜๐ฎโจninj nโฉ) = โ†‘[๐—ฑโจnโฉโ——p]f.
+      โ†‘[p](fโˆ˜๐ฎโจninj nโฉ) = โ†‘[๐—ฑnโ——p]f.
 #f * // qed.
 
 lemma lift_rmap_L_sn (f) (p):
@@ -124,8 +124,8 @@ qed.
 
 lemma path_ind_lift (Q:predicate โ€ฆ):
       Q (๐ž) โ†’
-      (โˆ€n. Q (๐ž) โ†’ Q (๐—ฑโจnโฉโ——๐ž)) โ†’
-      (โˆ€n,l,p. Q (lโ——p) โ†’ Q (๐—ฑโจnโฉโ——lโ——p)) โ†’
+      (โˆ€n. Q (๐ž) โ†’ Q (๐—ฑnโ——๐ž)) โ†’
+      (โˆ€n,l,p. Q (lโ——p) โ†’ Q (๐—ฑnโ——lโ——p)) โ†’
       (โˆ€p. Q p โ†’ Q (๐—Ÿโ——p)) โ†’
       (โˆ€p. Q p โ†’ Q (๐—”โ——p)) โ†’
       (โˆ€p. Q p โ†’ Q (๐—ฆโ——p)) โ†’
index 4577a65b69ea451d9719d30152e3ca4865136a12..d18f72b52d1c152285d8643c05b3a7eac40d93e2 100644 (file)
@@ -20,7 +20,7 @@ include "delayed_updating/substitution/lift_eq.ma".
 (* Constructions with structure ********************************************)
 
 lemma lift_d_empty_dx (n) (p) (f):
-      (โŠ—p)โ—–๐—ฑโจ(โ†‘[p]f)@โจnโฉโฉ = โ†‘[f](pโ—–๐—ฑโจnโฉ).
+      (โŠ—p)โ—–๐—ฑ((โ†‘[p]f)@โจnโฉ) = โ†‘[f](pโ—–๐—ฑn).
 #n #p @(path_ind_lift โ€ฆ p) -p // [ #m #l #p |*: #p ] #IH #f
 [ <lift_rmap_d_sn <lift_path_d_lcons_sn //
 | <lift_rmap_L_sn <lift_path_L_sn <IH //
index d9f371823579474ec24bba792624aceb4388e81c..0101b8d9361671cef4edcdb00f89c8fa34d70c05 100644 (file)
@@ -39,8 +39,8 @@ interpretation
 
 lemma bdd_inv_in_comp_gen:
       โˆ€t,p. t ฯต ๐ƒ๐›— โ†’ p ฯต t โ†’
-      โˆจโˆจ โˆƒโˆƒn. #n โ‡” t & ๐—ฑโจnโฉโ——๐ž = p
-       | โˆƒโˆƒu,q,n. u ฯต ๐ƒ๐›— & q ฯต u & ๐›—n.u โ‡” t & ๐—ฑโจnโฉโ——q = p
+      โˆจโˆจ โˆƒโˆƒn. #n โ‡” t & ๐—ฑnโ——๐ž = p
+       | โˆƒโˆƒu,q,n. u ฯต ๐ƒ๐›— & q ฯต u & ๐›—n.u โ‡” t & ๐—ฑnโ——q = p
        | โˆƒโˆƒu,q. u ฯต ๐ƒ๐›— & q ฯต u & ๐›Œ.u โ‡” t & ๐—Ÿโ——q = p
        | โˆƒโˆƒv,u,q. v ฯต ๐ƒ๐›— & u ฯต ๐ƒ๐›— & q ฯต u & @v.u โ‡” t & ๐—”โ——q = p
        | โˆƒโˆƒv,u,q. v ฯต ๐ƒ๐›— & u ฯต ๐ƒ๐›— & q ฯต v & @v.u โ‡” t & ๐—ฆโ——q = p
@@ -62,7 +62,7 @@ lemma bdd_inv_in_comp_gen:
 qed-.
 
 lemma bdd_inv_in_comp_d:
-      โˆ€t,q,n. t ฯต ๐ƒ๐›— โ†’ ๐—ฑโจnโฉโ——q ฯต t โ†’
+      โˆ€t,q,n. t ฯต ๐ƒ๐›— โ†’ ๐—ฑnโ——q ฯต t โ†’
       โˆจโˆจ โˆงโˆง #n โ‡” t & ๐ž = q
        | โˆƒโˆƒu. u ฯต ๐ƒ๐›— & q ฯต u & ๐›—n.u โ‡” t
 .
@@ -77,7 +77,7 @@ elim (bdd_inv_in_comp_gen โ€ฆ Ht Hq) -Ht -Hq *
 qed-.
 
 lemma bdd_inv_in_root_d:
-      โˆ€t,q,n. t ฯต ๐ƒ๐›— โ†’ ๐—ฑโจnโฉโ——q ฯต โ–ตt โ†’
+      โˆ€t,q,n. t ฯต ๐ƒ๐›— โ†’ ๐—ฑnโ——q ฯต โ–ตt โ†’
       โˆจโˆจ โˆงโˆง #n โ‡” t & ๐ž = q
        | โˆƒโˆƒu. u ฯต ๐ƒ๐›— & q ฯต โ–ตu & ๐›—n.u โ‡” t
 .
@@ -165,7 +165,7 @@ qed-.
 (* Advanced inversions ******************************************************)
 
 lemma bbd_mono_in_root_d:
-      โˆ€l,n,p,t. t ฯต ๐ƒ๐›— โ†’ pโ—–๐—ฑโจnโฉ ฯต โ–ตt โ†’ pโ—–l ฯต โ–ตt โ†’ ๐—ฑโจnโฉ = l.
+      โˆ€l,n,p,t. t ฯต ๐ƒ๐›— โ†’ pโ—–๐—ฑn ฯต โ–ตt โ†’ pโ—–l ฯต โ–ตt โ†’ ๐—ฑn = l.
 #l #n #p elim p -p
 [ #t #Ht <list_cons_comm <list_cons_comm #Hn #Hl
   elim (bdd_inv_in_root_d โ€ฆ Ht Hn) -Ht -Hn *
index e76c4943b704ce2729085a27fe150c8decb87448..efeaf86b40fb7087219bef1d55b705fd4c0c8ce0 100644 (file)
@@ -39,7 +39,7 @@ interpretation
 lemma depth_empty: ๐ŸŽ = โ˜๐žโ˜.
 // qed.
 
-lemma depth_d (q) (n): โ˜qโ˜ = โ˜๐—ฑโจnโฉโ——qโ˜.
+lemma depth_d (q) (n): โ˜qโ˜ = โ˜๐—ฑnโ——qโ˜.
 // qed.
 
 lemma depth_L (q): โ†‘โ˜qโ˜ = โ˜๐—Ÿโ——qโ˜.
index 6ba6e937b48778b995bae2d16e1ca16f326ce13f..8c60eea7595c8a88c43250865500b11010701dee 100644 (file)
@@ -40,7 +40,7 @@ lemma structure_empty:
 // qed.
 
 lemma structure_d_sn (p) (n):
-      โŠ—p = โŠ—(๐—ฑโจnโฉโ——p).
+      โŠ—p = โŠ—(๐—ฑnโ——p).
 // qed.
 
 lemma structure_L_sn (p):
@@ -71,7 +71,7 @@ qed.
 (* Constructions with list_rcons ********************************************)
 
 lemma structure_d_dx (p) (n):
-      โŠ—p = โŠ—(pโ—–๐—ฑโจnโฉ).
+      โŠ—p = โŠ—(pโ—–๐—ฑn).
 #p #n <structure_append //
 qed.
 
index 003b8d1ce8ed74e479393a001c15145d578fb3cc..852fa0a59f204028bec097b7d212fbb0c51e8568 100644 (file)
@@ -51,7 +51,7 @@ interpretation
 
 lemma preterm_in_root_inv_lcons_oref:
       โˆ€p,l,n. lโ——p ฯต โ–ต#n โ†’
-      โˆงโˆง ๐—ฑโจnโฉ = l & ๐ž = p.
+      โˆงโˆง ๐—ฑn = l & ๐ž = p.
 #p #l #n * #q
 <list_append_lcons_sn #H0 destruct -H0
 elim (eq_inv_list_empty_append โ€ฆ e0) -e0 #H0 #_
@@ -60,7 +60,7 @@ qed-.
 
 lemma preterm_in_root_inv_lcons_iref:
       โˆ€t,p,l,n. lโ——p ฯต โ–ต๐›—n.t โ†’
-      โˆงโˆง ๐—ฑโจnโฉ = l & p ฯต โ–ตt.
+      โˆงโˆง ๐—ฑn = l & p ฯต โ–ตt.
 #t #p #l #n * #q
 <list_append_lcons_sn * #r #Hr #H0 destruct
 /3 width=2 by ex_intro, conj/
index d8528aae253cbee5ad729ea7b092726630a4b9e1..cc2953e4dd28cfcf8766f7c6387485afd489374c 100644 (file)
@@ -1565,7 +1565,7 @@ let predefined_classes = [
  ["o"; "ฮธ"; "ฯ‘"; "๐• "; "โˆ˜";  "โŠš"; "รธ"; "โ—‹"; "โ—"; "โ—–"; "โ——"; "๐จ"; "๐›‰"; "โ“ž"; ] ;
  ["O"; "ฮ˜"; "๐•†"; "๐Ž"; "๐šฏ"; "๐šน"; "โ“„"; ] ;
  ["p"; "ฯ€"; "๐•ก"; "๐ฉ"; "๐›‘"; "โ“Ÿ"; ] ;
- ["P"; "ฮ "; "โ„˜"; "โ„™"; "๐"; "๐šท"; "โ“…"; "๐’ซ"; ] ;
+ ["P"; "ฮ "; "โ„˜"; "โ„™"; "๐"; "๐šท"; "โ“…"; "๐’ซ"; "๊”"; ] ;
  ["q"; "๐•ข"; "๐ช"; "โ“ "; ] ;
  ["Q"; "โ„š"; "๐"; "โ“†"; ] ;
  ["r"; "ฯ"; "ฯฑ"; "๐•ฃ"; "๐ซ"; "๐›’"; "๐› "; "โ“ก"; ] ;