From 6c52017b15171aa20ddfd01c1bbf3cc22a86c81c Mon Sep 17 00:00:00 2001 From: Ferruccio Guidi Date: Thu, 16 Jun 2022 00:47:11 +0200 Subject: [PATCH] update in delayed_updating + additions for lift + advances in dfr_lift_bi + some corrections + some parked files removed --- .../delayed_updating/etc/lift_i/lift.etc | 158 ----------------- .../etc/lift_i/lift_constructors.etc | 47 ----- .../delayed_updating/etc/lift_i/lift_eq.etc | 164 ------------------ .../etc/lift_i/lift_path_after.etc | 28 --- .../etc/lift_i/lift_path_proper.etc | 42 ----- .../etc/lift_i/lift_prototerm.etc | 30 ---- .../etc/lift_i/lift_prototerm_eq.etc | 57 ------ .../etc/lift_i/lift_prototerm_proper.etc | 36 ---- .../etc/unwind2/unwind_constructors.etc | 42 ----- .../etc/unwind2/unwind_fsubst.etc | 61 ------- .../etc/unwind2/unwind_preterm_eq.etc | 68 -------- .../etc/unwind2/unwind_prototerm.etc | 30 ---- .../etc/unwind2/unwind_prototerm_eq.etc | 40 ----- .../delayed_updating/reduction/dfr.ma | 2 +- .../delayed_updating/reduction/dfr_lift.ma | 14 +- .../delayed_updating/reduction/ifr.ma | 2 +- .../substitution/fsubst_eq.ma | 2 +- .../substitution/lift_constructors.ma | 11 +- .../{lift_path_id.ma => lift_id.ma} | 10 +- .../substitution/lift_path_head.ma | 58 +++++-- .../substitution/lift_path_uni.ma | 2 +- .../substitution/lift_prototerm.ma | 2 +- .../substitution/lift_prototerm_id.ma | 4 +- .../substitution/lift_prototerm_proper.ma | 2 +- .../delayed_updating/syntax/bdd_term.ma | 2 +- .../delayed_updating/syntax/path_head.ma | 17 ++ .../syntax/prototerm_constructors.ma | 2 +- .../prototerm_constructors_eq.ma} | 15 +- ...ototerm_equivalence.ma => prototerm_eq.ma} | 2 +- .../lambdadelta/ground/relocation/nap.ma | 4 + .../lambdadelta/ground/relocation/xap.ma | 16 ++ 31 files changed, 120 insertions(+), 850 deletions(-) delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_constructors.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_eq.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_path_after.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_path_proper.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_prototerm.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_prototerm_eq.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_prototerm_proper.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_constructors.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_fsubst.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_preterm_eq.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_prototerm.etc delete mode 100644 matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_prototerm_eq.etc rename matita/matita/contribs/lambdadelta/delayed_updating/substitution/{lift_path_id.ma => lift_id.ma} (85%) rename matita/matita/contribs/lambdadelta/delayed_updating/{etc/lift_i/lift_path_uni.etc => syntax/prototerm_constructors_eq.ma} (74%) rename matita/matita/contribs/lambdadelta/delayed_updating/syntax/{prototerm_equivalence.ma => prototerm_eq.ma} (100%) diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift.etc deleted file mode 100644 index 6933e9dbe..000000000 --- a/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift.etc +++ /dev/null @@ -1,158 +0,0 @@ -(**************************************************************************) -(* ___ *) -(* ||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/notation/functions/uparrow_4.ma". -include "delayed_updating/notation/functions/uparrow_2.ma". -include "delayed_updating/syntax/path.ma". -include "ground/relocation/tr_id_pap.ma". - -(* LIFT FOR PATH ************************************************************) - -definition lift_continuation (A:Type[0]) ≝ - tr_map → path → A. - -rec definition lift_gen (A:Type[0]) (k:lift_continuation A) (f) (p) on p ≝ -match p with -[ list_empty ⇒ k f (𝐞) -| list_lcons l q ⇒ - match l with - [ label_d n ⇒ lift_gen (A) (λg,p. k g (𝗱(f@⧣❨n❩)◗p)) (𝐢) q - | label_m ⇒ lift_gen (A) (λg,p. k g (𝗺◗p)) f q - | label_L ⇒ lift_gen (A) (λg,p. k g (𝗟◗p)) (⫯f) q - | label_A ⇒ lift_gen (A) (λg,p. k g (𝗔◗p)) f q - | label_S ⇒ lift_gen (A) (λg,p. k g (𝗦◗p)) f q - ] -]. - -interpretation - "lift (gneric)" - 'UpArrow A k f p = (lift_gen A k f p). - -definition proj_path: lift_continuation … ≝ - λf,p.p. - -definition proj_rmap: lift_continuation … ≝ - λf,p.f. - -interpretation - "lift (path)" - 'UpArrow f p = (lift_gen ? proj_path f p). - -interpretation - "lift (relocation map)" - 'UpArrow p f = (lift_gen ? proj_rmap f p). - -(* Basic constructions ******************************************************) - -lemma lift_empty (A) (k) (f): - k f (𝐞) = ↑{A}❨k, f, 𝐞❩. -// qed. - -lemma lift_d_sn (A) (k) (p) (n) (f): - ↑❨(λg,p. k g (𝗱(f@⧣❨n❩)◗p)), 𝐢, p❩ = ↑{A}❨k, f, 𝗱n◗p❩. -// qed. - -lemma lift_m_sn (A) (k) (p) (f): - ↑❨(λg,p. k g (𝗺◗p)), f, p❩ = ↑{A}❨k, f, 𝗺◗p❩. -// qed. - -lemma lift_L_sn (A) (k) (p) (f): - ↑❨(λg,p. k g (𝗟◗p)), ⫯f, p❩ = ↑{A}❨k, f, 𝗟◗p❩. -// qed. - -lemma lift_A_sn (A) (k) (p) (f): - ↑❨(λg,p. k g (𝗔◗p)), f, p❩ = ↑{A}❨k, f, 𝗔◗p❩. -// qed. - -lemma lift_S_sn (A) (k) (p) (f): - ↑❨(λg,p. k g (𝗦◗p)), f, p❩ = ↑{A}❨k, f, 𝗦◗p❩. -// qed. - -(* Basic constructions with proj_path ***************************************) - -lemma lift_path_empty (f): - (𝐞) = ↑[f]𝐞. -// qed. - -(* Basic constructions with proj_rmap ***************************************) - -lemma lift_rmap_empty (f): - f = ↑[𝐞]f. -// qed. - -lemma lift_rmap_d_sn (f) (p) (n): - ↑[p]𝐢 = ↑[𝗱n◗p]f. -// qed. - -lemma lift_rmap_m_sn (f) (p): - ↑[p]f = ↑[𝗺◗p]f. -// qed. - -lemma lift_rmap_L_sn (f) (p): - ↑[p](⫯f) = ↑[𝗟◗p]f. -// qed. - -lemma lift_rmap_A_sn (f) (p): - ↑[p]f = ↑[𝗔◗p]f. -// qed. - -lemma lift_rmap_S_sn (f) (p): - ↑[p]f = ↑[𝗦◗p]f. -// qed. - -(* Advanced cinstructionswith proj_rmap and tr_id ***************************) - -lemma lift_rmap_id (p): - (𝐢) = ↑[p]𝐢. -#p elim p -p // -* [ #n ] #p #IH // -qed. - -(* Advanced constructions with proj_rmap and path_append ********************) - -lemma lift_rmap_append (p2) (p1) (f): - ↑[p2]↑[p1]f = ↑[p1●p2]f. -#p2 #p1 elim p1 -p1 // * [ #n ] #p1 #IH #f // -[ lift_lcons_alt // >lift_append_rcons_sn // -lift_lcons_alt nrplus_inj_dx -/2 width=1 by tr_tls_compose_uni_dx/ -qed. -*) diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_path_after.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_path_after.etc deleted file mode 100644 index 938d21534..000000000 --- a/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_path_after.etc +++ /dev/null @@ -1,28 +0,0 @@ -(**************************************************************************) -(* ___ *) -(* ||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/substitution/lift_eq.ma". -include "ground/relocation/tr_compose_pap.ma". -include "ground/relocation/tr_compose_pn.ma". - -(* LIFT FOR PATH ************************************************************) - -(* Constructions with tr_after **********************************************) - -lemma lift_path_after (p) (f1) (f2): - ↑[f2]↑[f1]p = ↑[f2∘f1]p. -#p elim p -p [| * ] // #p #IH #f1 #f2 -tr_compose_push_bi // -qed. diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_path_proper.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_path_proper.etc deleted file mode 100644 index 0eef97896..000000000 --- a/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_path_proper.etc +++ /dev/null @@ -1,42 +0,0 @@ -(**************************************************************************) -(* ___ *) -(* ||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/substitution/lift_eq.ma". -include "delayed_updating/syntax/path_proper.ma". - -(* LIFT FOR PATH ************************************************************) - -(* Constructions with proper condition for path *****************************) - -lemma lift_path_proper (f) (p): - p ϵ 𝐏 → ↑[f]p ϵ 𝐏. -#f * -[ #H0 elim (ppc_inv_empty … H0) -| * [ #n ] #p #_ - [ (lift_path_id p) -/2 width=1 by in_comp_lift_bi/ -qed-. - -lemma lift_term_id_dx (t): - ↑[𝐢]t ⊆ t. -#t #p * #q #Hq #H destruct // -qed-. - -lemma lift_term_id (t): - t ⇔ ↑[𝐢]t. -/3 width=2 by lift_term_id_dx, lift_term_id_sn, conj/ -qed. diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_prototerm_proper.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_prototerm_proper.etc deleted file mode 100644 index a9b16219f..000000000 --- a/matita/matita/contribs/lambdadelta/delayed_updating/etc/lift_i/lift_prototerm_proper.etc +++ /dev/null @@ -1,36 +0,0 @@ -(**************************************************************************) -(* ___ *) -(* ||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/substitution/lift_prototerm.ma". -include "delayed_updating/substitution/lift_path_proper.ma". -include "delayed_updating/syntax/prototerm_proper.ma". - -(* LIFT FOR PROTOTERM *******************************************************) - -(* Constructions with proper condition for path *****************************) - -lemma lift_term_proper (f) (t): - t ϵ 𝐏 → ↑[f]t ϵ 𝐏. -#f #t #Ht #p * #q #Hq #H0 destruct -@lift_path_proper @Ht -Ht // (**) (* auto fails *) -qed. - -(* Inversions with proper condition for path ********************************) - -lemma lift_term_inv_proper (f) (t): - ↑[f]t ϵ 𝐏 → t ϵ 𝐏. -#f #t #Ht #p #Hp -@(lift_path_inv_proper f) -@Ht -Ht @in_comp_lift_bi // (**) (* auto fails *) -qed-. diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_constructors.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_constructors.etc deleted file mode 100644 index 93ddb2ef6..000000000 --- a/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_constructors.etc +++ /dev/null @@ -1,42 +0,0 @@ -(**************************************************************************) -(* ___ *) -(* ||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/unwind2/unwind_prototerm_eq.ma". -include "delayed_updating/syntax/prototerm_constructors.ma". - -(* UNWIND FOR PROTOTERM *****************************************************) - -lemma unwind_iref_after_sn (f) (t:prototerm) (n:pnat): - ▼[f∘𝐮❨n❩]t ⊆ ▼[f](𝛗n.t). -#f #t #n #p * #q #Hq #H0 destruct -@(ex2_intro … (𝗱n◗𝗺◗q)) -/2 width=1 by in_comp_iref/ -qed-. - -lemma unwind_iref_after_dx (f) (t) (n:pnat): - ▼[f](𝛗n.t) ⊆ ▼[f∘𝐮❨n❩]t. -#f #t #n #p * #q #Hq #H0 destruct -elim (in_comp_inv_iref … Hq) -Hq #p #Hp #Ht destruct -/2 width=1 by in_comp_unwind_bi/ -qed-. - -lemma unwind_iref_after (f) (t) (n:pnat): - ▼[f∘𝐮❨n❩]t ⇔ ▼[f](𝛗n.t). -/3 width=1 by conj, unwind_iref_after_sn, unwind_iref_after_dx/ -qed. - -lemma unwind_iref (f) (t) (n:pnat): - ▼[f]▼[𝐮❨n❩]t ⇔ ▼[f](𝛗n.t). -/3 width=3 by unwind_term_after, subset_eq_trans/ -qed. diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_fsubst.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_fsubst.etc deleted file mode 100644 index fedc665fb..000000000 --- a/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_fsubst.etc +++ /dev/null @@ -1,61 +0,0 @@ -(**************************************************************************) -(* ___ *) -(* ||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/unwind2/unwind_prototerm_eq.ma". -include "delayed_updating/unwind2/unwind_structure.ma". -include "delayed_updating/substitution/fsubst.ma". -include "delayed_updating/syntax/preterm.ma". -include "delayed_updating/syntax/prototerm_proper.ma". - -(* UNWIND FOR PROTOTERM *****************************************************) - -(* Constructions with fsubst ************************************************) - -lemma unwind_fsubst_sn (f) (t) (u) (p): u ϵ 𝐏 → - (▼[f]t)[⋔(⊗p)←▼[▼[p]f]u] ⊆ ▼[f](t[⋔p←u]). -#f #t #u #p #Hu #ql * * -[ #rl * #r #Hr #H1 #H2 destruct - >unwind_append_proper_dx - /4 width=5 by in_comp_unwind_bi, in_ppc_comp_trans, or_introl, ex2_intro/ -| * #q #Hq #H1 #H0 - @(ex2_intro … H1) @or_intror @conj // * - [ unwind_rmap_S_dx >structure_S_dx - @unwind_grafted_sn // -| /2 width=1 by unwind_grafted_S_dx/ -] -qed. diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_prototerm.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_prototerm.etc deleted file mode 100644 index 1a5d46b77..000000000 --- a/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_prototerm.etc +++ /dev/null @@ -1,30 +0,0 @@ -(**************************************************************************) -(* ___ *) -(* ||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/unwind2/unwind.ma". -include "delayed_updating/syntax/prototerm.ma". -include "ground/lib/subset_ext.ma". - -(* UNWIND FOR PROTOTERM *****************************************************) - -interpretation - "unwind (prototerm)" - 'BlackDownTriangle f t = (subset_ext_f1 ? ? (unwind_gen ? proj_path f) t). - -(* Basic constructions ******************************************************) - -lemma in_comp_unwind_bi (f) (p) (t): - p ϵ t → ▼[f]p ϵ ▼[f]t. -/2 width=1 by subset_in_ext_f1_dx/ -qed. diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_prototerm_eq.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_prototerm_eq.etc deleted file mode 100644 index 15b8cdb2c..000000000 --- a/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2/unwind_prototerm_eq.etc +++ /dev/null @@ -1,40 +0,0 @@ -(**************************************************************************) -(* ___ *) -(* ||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 "ground/lib/subset_ext_equivalence.ma". -include "delayed_updating/unwind2/unwind_eq.ma". -include "delayed_updating/unwind2/unwind_prototerm.ma". - -(* UNWIND FOR PROTOTERM *****************************************************) - -(* Constructions with subset_equivalence ************************************) - -lemma unwind_term_eq_repl_sn (f1) (f2) (t): - f1 ≗ f2 → ▼[f1]t ⇔ ▼[f2]t. -/3 width=1 by subset_equivalence_ext_f1_exteq, unwind_path_eq_repl/ -qed. - -lemma unwind_term_eq_repl_dx (f) (t1) (t2): - t1 ⇔ t2 → ▼[f]t1 ⇔ ▼[f]t2. -/2 width=1 by subset_equivalence_ext_f1_bi/ -qed. - -lemma unwind_term_after (f1) (f2) (t): - ▼[f2]▼[f1]t ⇔ ▼[f2∘f1]t. -#f1 #f2 #t @subset_eq_trans -[ -| @subset_inclusion_ext_f1_compose -| @subset_equivalence_ext_f1_exteq /2 width=5/ -] -qed. diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr.ma b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr.ma index 0a4b7cf1f..738553c7d 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr.ma @@ -14,7 +14,7 @@ include "delayed_updating/substitution/fsubst.ma". include "delayed_updating/syntax/prototerm_constructors.ma". -include "delayed_updating/syntax/prototerm_equivalence.ma". +include "delayed_updating/syntax/prototerm_eq.ma". include "delayed_updating/syntax/path_head.ma". include "delayed_updating/syntax/path_depth.ma". include "delayed_updating/syntax/path_reverse.ma". diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_lift.ma b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_lift.ma index e33b454be..3c6e4d6d9 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_lift.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/reduction/dfr_lift.ma @@ -42,7 +42,7 @@ lemma pippo (f) (r): *) theorem dfr_lift_bi (f) (p) (q) (t1) (t2): (*t1 ϵ 𝐓 → *) - t1 ➡𝐝𝐟[p,q] t2 → ↑[f]t1 ➡𝐟[↑[f]p,↑[↑[p◖𝗔◖𝗟]f]q] ↑[f]t2. + t1 ➡𝐝𝐟[p,q] t2 → ↑[f]t1 ➡𝐝𝐟[↑[f]p,↑[↑[p◖𝗔◖𝗟]f]q] ↑[f]t2. #f #p #q #t1 #t2 * #n * #H1n #Ht1 #Ht2 @(ex_intro … ((↑[p●𝗔◗𝗟◗q]f)@⧣❨n❩)) @and3_intro @@ -50,15 +50,11 @@ theorem dfr_lift_bi (f) (p) (q) (t1) (t2): (*t1 ϵ 𝐓 → *) lift_path_L_sn >list_append_rcons_sn in H1n; list_append_rcons_sn in H1n; nsucc_pnpred tr_xap_succ_pos - lift_rmap_append tr_xap_succ_nap + lift_rmap_append tr_xap_succ_nap + tr_xap_succ_nap + tr_xap_succ_nap + tr_xap_succ_nap + (lift_path_id p) -/2 width=1 by in_comp_lift_bi/ +/2 width=1 by in_comp_lift_path_term/ qed-. lemma lift_term_id_dx (t): diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_prototerm_proper.ma b/matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_prototerm_proper.ma index a9b16219f..45d65b3ff 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_prototerm_proper.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_prototerm_proper.ma @@ -32,5 +32,5 @@ lemma lift_term_inv_proper (f) (t): ↑[f]t ϵ 𝐏 → t ϵ 𝐏. #f #t #Ht #p #Hp @(lift_path_inv_proper f) -@Ht -Ht @in_comp_lift_bi // (**) (* auto fails *) +@Ht -Ht @in_comp_lift_path_term // (**) (* auto fails *) qed-. diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/bdd_term.ma b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/bdd_term.ma index 8aaefad91..6a70f61cb 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/bdd_term.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/bdd_term.ma @@ -13,7 +13,7 @@ (**************************************************************************) include "delayed_updating/syntax/prototerm_constructors.ma". -include "delayed_updating/syntax/prototerm_equivalence.ma". +include "delayed_updating/syntax/prototerm_eq.ma". include "delayed_updating/notation/functions/class_d_phi_0.ma". include "ground/xoa/or_5.ma". include "ground/xoa/ex_3_1.ma". diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_head.ma b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_head.ma index 827af4489..9cdfe620f 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_head.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/syntax/path_head.ma @@ -71,3 +71,20 @@ lemma path_head_A_sn (p) (n): lemma path_head_S_sn (p) (n): (𝗦◗↳[↑n]p) = ↳[↑n](𝗦◗p). // qed. + +(* Basic inversions *********************************************************) + +lemma eq_inv_path_empty_head (p) (n): + (𝐞) = ↳[n]p → 𝟎 = n. +* +[ #m tr_pushs_succ tr_pap_plus // +qed. -- 2.39.2