From: Ferruccio Guidi Date: Tue, 23 Aug 2022 16:18:57 +0000 (+0200) Subject: update in static_2 X-Git-Tag: make_still_working~40 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=6183fdeb092e83ddb5d0da61f8da87a9bcde8569;p=helm.git update in static_2 + notation update from ground --- diff --git a/matita/matita/contribs/lambdadelta/static_2/relocation/lifts.ma b/matita/matita/contribs/lambdadelta/static_2/relocation/lifts.ma index 1a1f561f8..67dcd57b8 100644 --- a/matita/matita/contribs/lambdadelta/static_2/relocation/lifts.ma +++ b/matita/matita/contribs/lambdadelta/static_2/relocation/lifts.ma @@ -32,7 +32,7 @@ include "static_2/syntax/term.ma". *) inductive lifts: pr_map → relation term ≝ | lifts_sort: ∀f,s. lifts f (⋆s) (⋆s) -| lifts_lref: ∀f,i1,i2. @↑❨i1,f❩ ≘ i2 → lifts f (#i1) (#i2) +| lifts_lref: ∀f,i1,i2. @§❨i1,f❩ ≘ i2 → lifts f (#i1) (#i2) | lifts_gref: ∀f,l. lifts f (§l) (§l) | lifts_bind: ∀f,p,I,V1,V2,T1,T2. lifts f V1 V2 → lifts (⫯f) T1 T2 → @@ -88,7 +88,7 @@ lemma lifts_inv_sort1: ∀f,Y,s. ⇧*[f] ⋆s ≘ Y → Y = ⋆s. /2 width=4 by lifts_inv_sort1_aux/ qed-. fact lifts_inv_lref1_aux: ∀f,X,Y. ⇧*[f] X ≘ Y → ∀i1. X = #i1 → - ∃∃i2. @↑❨i1,f❩ ≘ i2 & Y = #i2. + ∃∃i2. @§❨i1,f❩ ≘ i2 & Y = #i2. #f #X #Y * -f -X -Y [ #f #s #x #H destruct | #f #i1 #i2 #Hi12 #x #H destruct /2 width=3 by ex2_intro/ @@ -101,7 +101,7 @@ qed-. (* Basic_1: was: lift1_lref *) (* Basic_2A1: includes: lift_inv_lref1 lift_inv_lref1_lt lift_inv_lref1_ge *) lemma lifts_inv_lref1: ∀f,Y,i1. ⇧*[f] #i1 ≘ Y → - ∃∃i2. @↑❨i1,f❩ ≘ i2 & Y = #i2. + ∃∃i2. @§❨i1,f❩ ≘ i2 & Y = #i2. /2 width=3 by lifts_inv_lref1_aux/ qed-. fact lifts_inv_gref1_aux: ∀f,X,Y. ⇧*[f] X ≘ Y → ∀l. X = §l → Y = §l. @@ -170,7 +170,7 @@ lemma lifts_inv_sort2: ∀f,X,s. ⇧*[f] X ≘ ⋆s → X = ⋆s. /2 width=4 by lifts_inv_sort2_aux/ qed-. fact lifts_inv_lref2_aux: ∀f,X,Y. ⇧*[f] X ≘ Y → ∀i2. Y = #i2 → - ∃∃i1. @↑❨i1,f❩ ≘ i2 & X = #i1. + ∃∃i1. @§❨i1,f❩ ≘ i2 & X = #i1. #f #X #Y * -f -X -Y [ #f #s #x #H destruct | #f #i1 #i2 #Hi12 #x #H destruct /2 width=3 by ex2_intro/ @@ -183,7 +183,7 @@ qed-. (* Basic_1: includes: lift_gen_lref lift_gen_lref_lt lift_gen_lref_false lift_gen_lref_ge *) (* Basic_2A1: includes: lift_inv_lref2 lift_inv_lref2_lt lift_inv_lref2_be lift_inv_lref2_ge lift_inv_lref2_plus *) lemma lifts_inv_lref2: ∀f,X,i2. ⇧*[f] X ≘ #i2 → - ∃∃i1. @↑❨i1,f❩ ≘ i2 & X = #i1. + ∃∃i1. @§❨i1,f❩ ≘ i2 & X = #i1. /2 width=3 by lifts_inv_lref2_aux/ qed-. fact lifts_inv_gref2_aux: ∀f,X,Y. ⇧*[f] X ≘ Y → ∀l. Y = §l → X = §l. @@ -242,7 +242,7 @@ lemma lifts_inv_flat2: ∀f,I,V2,T2,X. ⇧*[f] X ≘ ⓕ[I]V2.T2 → lemma lifts_inv_atom1: ∀f,I,Y. ⇧*[f] ⓪[I] ≘ Y → ∨∨ ∃∃s. I = Sort s & Y = ⋆s - | ∃∃i,j. @↑❨i,f❩ ≘ j & I = LRef i & Y = #j + | ∃∃i,j. @§❨i,f❩ ≘ j & I = LRef i & Y = #j | ∃∃l. I = GRef l & Y = §l. #f * #n #Y #H [ lapply (lifts_inv_sort1 … H) @@ -253,7 +253,7 @@ qed-. lemma lifts_inv_atom2: ∀f,I,X. ⇧*[f] X ≘ ⓪[I] → ∨∨ ∃∃s. X = ⋆s & I = Sort s - | ∃∃i,j. @↑❨i,f❩ ≘ j & X = #i & I = LRef j + | ∃∃i,j. @§❨i,f❩ ≘ j & X = #i & I = LRef j | ∃∃l. X = §l & I = GRef l. #f * #n #X #H [ lapply (lifts_inv_sort2 … H)