]> matita.cs.unibo.it Git - helm.git/commitdiff
update in delayed_updating
authorFerruccio Guidi <fguidi@maelstrom.helm.cs.unibo.it>
Wed, 16 Mar 2022 21:41:40 +0000 (22:41 +0100)
committerFerruccio Guidi <fguidi@maelstrom.helm.cs.unibo.it>
Wed, 16 Mar 2022 21:41:40 +0000 (22:41 +0100)
+ some additions and corrections

matita/matita/contribs/lambdadelta/delayed_updating/notation/functions/black_downtriangle_2.ma [new file with mode: 0644]
matita/matita/contribs/lambdadelta/delayed_updating/notation/functions/black_downtriangle_4.ma [new file with mode: 0644]
matita/matita/contribs/lambdadelta/delayed_updating/syntax/bdd_term.ma
matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_balanced.ma
matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_structure_inner.ma [new file with mode: 0644]
matita/matita/contribs/lambdadelta/delayed_updating/syntax/prototerm_constructors.ma

diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/notation/functions/black_downtriangle_2.ma b/matita/matita/contribs/lambdadelta/delayed_updating/notation/functions/black_downtriangle_2.ma
new file mode 100644 (file)
index 0000000..73cccf6
--- /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 46 t1 ] break term 70 t2  )"
+  non associative with precedence 70
+  for @{ 'BlackDownTriangle $t1 $t2 }.
diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/notation/functions/black_downtriangle_4.ma b/matita/matita/contribs/lambdadelta/delayed_updating/notation/functions/black_downtriangle_4.ma
new file mode 100644 (file)
index 0000000..9235b7e
--- /dev/null
@@ -0,0 +1,27 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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 46 k, break term 46 p, break term 46 f ❩ )"
+  non associative with precedence 70
+  for @{ 'BlackDownTriangle $S $k $p $f }.
+
+notation > "hvbox( ▼❨ term 46 k, break term 46 p, break term 46 f ❩ )"
+  non associative with precedence 70
+  for @{ 'BlackDownTriangle ? $k $p $f }.
+
+notation > "hvbox( ▼{ term 46 S }❨ break term 46 k, break term 46 p, break term 46 f ❩ )"
+  non associative with precedence 70
+  for @{ 'BlackDownTriangle $S $k $p $f }.
index 8d514e0d7f2a1fe8ff3438166b9aed1388d93d9c..9cfe28ad9dc81a650ab98325739f00674f75af20 100644 (file)
@@ -35,7 +35,7 @@ interpretation
   "by-depth delayed (prototerm)"
   'ClassDPhi = (bdd).
 
-(*
+(* COMMENT
 
 (* Basic inversions *********************************************************)
 
@@ -213,4 +213,4 @@ lemma bbd_mono_in_root_d:
   ]
 ]
 qed-.
-*)
\ No newline at end of file
+*)
index 017cfc5bae27c0dc38febdb6495b1f16eaf0bf33..c279d223107bcba197f550c6db84685f7d3395b2 100644 (file)
@@ -17,7 +17,7 @@ include "delayed_updating/notation/functions/class_b_0.ma".
 
 (* BALANCE CONDITION FOR PATH ***********************************************)
 
-(* This condition applies to a structural path *)
+(* Note: this condition applies to a structural path *)
 inductive pbc: predicate path ≝
 | pbc_empty: pbc (𝐞)
 | pbc_redex: ∀b. pbc b → pbc (𝗔◗b◖𝗟)
diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_structure_inner.ma b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_structure_inner.ma
new file mode 100644 (file)
index 0000000..5c0e5e6
--- /dev/null
@@ -0,0 +1,34 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+include "delayed_updating/syntax/path_structure.ma".
+include "delayed_updating/syntax/path_inner.ma".
+
+(* STRUCTURE FOR PATH *******************************************************)
+
+(* Constructions with pic ***************************************************)
+
+lemma structure_pic (p):
+      ⊗p ϵ 𝐈.
+#p @(list_ind_rcons … p) -p
+[ <structure_empty //
+| #p * [ #n ] #IH
+  [ <structure_d_dx //
+  | <structure_m_dx //
+  | <structure_L_dx //
+  | <structure_A_dx //
+  | <structure_S_dx //
+  ]
+]
+qed.
index 35a79b0399624d79444c8ba3243003e8b1eb5cb6..df218ebc2f035b9211edf7a199fb64ee1914dcd9 100644 (file)
@@ -69,7 +69,7 @@ lemma in_comp_inv_iref (t) (p) (n):
 #t #p #n * #q #Hq #Hp
 /2 width=3 by ex2_intro/
 qed-.
-(*
+(* COMMENT
 lemma prototerm_in_root_inv_lcons_oref:
       ∀p,l,n. l◗p ϵ ▵#n →
       ∧∧ 𝗱n = l & 𝐞 = p.