From: Ferruccio Guidi Date: Sat, 29 May 2021 08:40:29 +0000 (+0200) Subject: update in ground X-Git-Tag: make_still_working~148 X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=commitdiff_plain;h=0bcf2dc1a27e38cb6cd3d44eb838d652926841e0 update in ground + some renaming --- diff --git a/matita/matita/contribs/lambdadelta/ground/arith/nat_minus.ma b/matita/matita/contribs/lambdadelta/ground/arith/nat_minus.ma index d5d1c13fe..e4ccf83f4 100644 --- a/matita/matita/contribs/lambdadelta/ground/arith/nat_minus.ma +++ b/matita/matita/contribs/lambdadelta/ground/arith/nat_minus.ma @@ -32,7 +32,7 @@ lemma nminus_zero_dx (m): m = m - 𝟎. // qed. (*** minus_SO_dx *) -lemma nminus_one_dx (m): ↓m = m - 𝟏 . +lemma nminus_unit_dx (m): ↓m = m - 𝟏 . // qed. (*** eq_minus_S_pred *) diff --git a/matita/matita/contribs/lambdadelta/ground/arith/nat_plus.ma b/matita/matita/contribs/lambdadelta/ground/arith/nat_plus.ma index f1dffc51d..a9894fc62 100644 --- a/matita/matita/contribs/lambdadelta/ground/arith/nat_plus.ma +++ b/matita/matita/contribs/lambdadelta/ground/arith/nat_plus.ma @@ -31,7 +31,7 @@ lemma nplus_zero_dx (m): m = m + 𝟎. // qed. (*** plus_SO_dx *) -lemma nplus_one_dx (n): ↑n = n + 𝟏. +lemma nplus_unit_dx (n): ↑n = n + 𝟏. // qed. (*** plus_n_Sm *) @@ -76,7 +76,7 @@ qed. (* Helper constructions *****************************************************) (*** plus_SO_sn *) -lemma nplus_one_sn (n): ↑n = 𝟏 + n. +lemma nplus_unit_sn (n): ↑n = 𝟏 + n. #n nplus_one_dx +#n #c #H >nplus_unit_dx /2 width=1 by rtc_ism_plus/ qed. diff --git a/matita/matita/contribs/lambdadelta/ground/counters/rtc_ist_plus.ma b/matita/matita/contribs/lambdadelta/ground/counters/rtc_ist_plus.ma index 08bb3b772..5156acb85 100644 --- a/matita/matita/contribs/lambdadelta/ground/counters/rtc_ist_plus.ma +++ b/matita/matita/contribs/lambdadelta/ground/counters/rtc_ist_plus.ma @@ -33,7 +33,7 @@ lemma rtc_ist_plus_zero_dx (n) (c1) (c2): 𝐓❪n,c1❫ → 𝐓❪𝟎,c2❫ /2 width=1 by rtc_ist_plus/ qed. lemma rtc_ist_succ (n) (c): 𝐓❪n,c❫ → 𝐓❪↑n,c+𝟘𝟙❫. -#n #c #H >nplus_one_dx +#n #c #H >nplus_unit_dx /2 width=1 by rtc_ist_plus/ qed. @@ -54,7 +54,7 @@ lemma rtc_ist_inv_plus_zero_dx (n) (c1) (c2): 𝐓❪n,c1 + c2❫ → 𝐓❪ elim (rtc_ist_inv_plus … H) -H #n1 #n2 #Hn1 #Hn2 #H destruct // qed-. -lemma rtc_ist_inv_plus_one_dx: +lemma rtc_ist_inv_plus_unit_dx: ∀n,c1,c2. 𝐓❪n,c1 + c2❫ → 𝐓❪𝟏,c2❫ → ∃∃m. 𝐓❪m,c1❫ & n = ↑m. #n #c1 #c2 #H #H2 destruct diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist.ma b/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist.ma index e3f8acfcd..97780f1c6 100644 --- a/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist.ma +++ b/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist.ma @@ -45,7 +45,7 @@ lemma gr_after_des_ist_sn: qed-. (*** after_at1_fwd *) -lemma gr_after_pat_sn_des: +lemma gr_after_des_ist_pat: ∀f1,i1,i2. @❪i1, f1❫ ≘ i2 → ∀f2. 𝐓❪f2❫ → ∀f. f2 ⊚ f1 ≘ f → ∃∃i. @❪i2, f2❫ ≘ i & @❪i1, f❫ ≘ i. #f1 #i1 #i2 #Hf1 #f2 #Hf2 #f #Hf elim (Hf2 i2) -Hf2 diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist_isi.ma b/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist_isi.ma index 93077d253..fd325b4d7 100644 --- a/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist_isi.ma +++ b/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_ist_isi.ma @@ -20,7 +20,7 @@ include "ground/relocation/gr_after_ist.ma". (* Forward lemmas on istot and isid **************************************************) (*** after_fwd_isid_sn *) -lemma gr_after_des_isi_sn: +lemma gr_after_des_ist_eq_sn: ∀f2,f1,f. 𝐓❪f❫ → f2 ⊚ f1 ≘ f → f1 ≡ f → 𝐈❪f2❫. #f2 #f1 #f #H #Hf elim (gr_after_inv_ist … Hf H) -H #Hf2 #Hf1 #H @gr_isi_pat_total // -Hf2 @@ -31,10 +31,10 @@ lemma gr_after_des_isi_sn: qed-. (*** after_fwd_isid_dx *) -lemma gr_after_des_isi_dx: +lemma gr_after_des_ist_eq_dx: ∀f2,f1,f. 𝐓❪f❫ → f2 ⊚ f1 ≘ f → f2 ≡ f → 𝐈❪f1❫. #f2 #f1 #f #H #Hf elim (gr_after_inv_ist … Hf H) -H #Hf2 #Hf1 #H2 @gr_isi_pat_total // -Hf1 -#i1 #i2 #Hi12 elim (gr_after_pat_sn_des … Hi12 … Hf) -f1 +#i1 #i2 #Hi12 elim (gr_after_des_ist_pat … Hi12 … Hf) -f1 /3 width=8 by gr_pat_inj, gr_pat_eq_repl_back/ qed-. diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_nat_uni.ma b/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_nat_uni.ma deleted file mode 100644 index 489e820f6..000000000 --- a/matita/matita/contribs/lambdadelta/ground/relocation/gr_after_nat_uni.ma +++ /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 "ground/relocation/gr_tls.ma". -include "ground/relocation/gr_nat.ma". -include "ground/relocation/gr_isi_uni.ma". -include "ground/relocation/gr_after_isi.ma". - -(* RELATIONAL COMPOSITION FOR GENERIC RELOCATION MAPS ***********************************************************) - -(* Properties with gr_nat and uni *) - -(*** after_uni_dx *) -lemma gr_after_uni_dx (l2) (l1): - ∀f2. @↑❪l1, f2❫ ≘ l2 → - ∀f. f2 ⊚ 𝐮❨l1❩ ≘ f → 𝐮❨l2❩ ⊚ ⫱*[l2] f2 ≘ f. -#l2 @(nat_ind_succ … l2) -l2 -[ #l1 #f2 #Hf2 #f #Hf - elim (gr_nat_inv_zero_dx … Hf2) -Hf2 // #g2 #H1 #H2 destruct - lapply (gr_after_isi_inv_dx … Hf ?) -Hf - /3 width=3 by gr_after_isi_sn, gr_after_eq_repl_back/ -| #l2 #IH #l1 #f2 #Hf2 #f #Hf - elim (gr_nat_inv_succ_dx … Hf2) -Hf2 [1,3: * |*: // ] - [ #g2 #k1 #Hg2 #H1 #H2 destruct - elim (gr_after_inv_push_next … Hf) -Hf [ |*: // ] #g #Hg #H destruct - nsucc_inj - elim (gr_pat_inv_succ_dx … Hf2) -Hf2 [1,3: * |*: // ] - [ #g2 #j1 #Hg2 #H1 #H2 destruct >nsucc_inj in Hf; #Hf - elim (gr_after_inv_push_next … Hf) -Hf [ |*: // ] #g #Hg #H destruct - nsucc_inj #Hf - elim (gr_after_inv_next_sn … Hf) -Hf [2,3: // ] #g #Hg #H destruct - elim (gr_pat_inv_succ_dx … Hf2) -Hf2 [1,3: * |*: // ] - [ #g2 #j1 #Hg2 #H1 #H2 destruct nsucc_inj + elim (gr_pat_inv_succ_dx … Hf2) -Hf2 [1,3: * |*: // ] + [ #g2 #j1 #Hg2 #H1 #H2 destruct >nsucc_inj in Hf; #Hf + elim (gr_after_inv_push_next … Hf) -Hf [ |*: // ] #g #Hg #H destruct + nsucc_inj #Hf + elim (gr_after_inv_next_sn … Hf) -Hf [2,3: // ] #g #Hg #H destruct + elim (gr_pat_inv_succ_dx … Hf2) -Hf2 [1,3: * |*: // ] + [ #g2 #j1 #Hg2 #H1 #H2 destruct