X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Fi_static%2Frexs_lex.ma;h=a5a1a42dc3b0cc15ae9025b7ba4255dedabfa333;hb=3c7b4071a9ac096b02334c1d47468776b948e2de;hp=46d28f330dcc4028288fb8e0cfcff6f19f7e6a8c;hpb=f308429a0fde273605a2330efc63268b4ac36c99;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/static_2/i_static/rexs_lex.ma b/matita/matita/contribs/lambdadelta/static_2/i_static/rexs_lex.ma index 46d28f330..a5a1a42dc 100644 --- a/matita/matita/contribs/lambdadelta/static_2/i_static/rexs_lex.ma +++ b/matita/matita/contribs/lambdadelta/static_2/i_static/rexs_lex.ma @@ -21,26 +21,24 @@ include "static_2/i_static/rexs_fqup.ma". (* Properties with generic extension of a context sensitive relation ********) -lemma rexs_lex: ∀R. c_reflexive … R → - ∀L1,L2,T. L1 ⪤[CTC … R] L2 → L1 ⪤*[R,T] L2. +lemma rexs_lex (R): c_reflexive … R → + ∀L1,L2,T. L1 ⪤[CTC … R] L2 → L1 ⪤*[R,T] L2. #R #HR #L1 #L2 #T * /5 width=7 by rexs_tc, sex_inv_tc_dx, sex_co, ext2_inv_tc, ext2_refl/ qed. -lemma rexs_lex_req: ∀R. c_reflexive … R → - ∀L1,L. L1 ⪤[CTC … R] L → ∀L2,T. L ≡[T] L2 → - L1 ⪤*[R,T] L2. +lemma rexs_lex_req (R): c_reflexive … R → + ∀L1,L. L1 ⪤[CTC … R] L → ∀L2,T. L ≡[T] L2 → L1 ⪤*[R,T] L2. /3 width=3 by rexs_lex, rexs_step_dx, req_fwd_rex/ qed. (* Inversion lemmas with generic extension of a context sensitive relation **) (* Note: s_rs_transitive_lex_inv_isid could be invoked in the last auto but makes it too slow *) -lemma rexs_inv_lex_req: ∀R. c_reflexive … R → - rex_fsge_compatible R → - s_rs_transitive … R (λ_.lex R) → - req_transitive R → - ∀L1,L2,T. L1 ⪤*[R,T] L2 → - ∃∃L. L1 ⪤[CTC … R] L & L ≡[T] L2. +lemma rexs_inv_lex_req (R): + c_reflexive … R → rex_fsge_compatible R → + s_rs_transitive … R (λ_.lex R) → req_transitive R → + ∀L1,L2,T. L1 ⪤*[R,T] L2 → + ∃∃L. L1 ⪤[CTC … R] L & L ≡[T] L2. #R #H1R #H2R #H3R #H4R #L1 #L2 #T #H lapply (s_rs_transitive_lex_inv_isid … H3R) -H3R #H3R @(rexs_ind_sn … H1R … H) -H -L2 @@ -50,7 +48,7 @@ lapply (s_rs_transitive_lex_inv_isid … H3R) -H3R #H3R elim (sex_sdj_split … ceq_ext … HL2 f0 ?) -HL2 [ #L0 #HL0 #HL02 |*: /2 width=1 by ext2_refl, sdj_isid_dx/ ] lapply (sex_sdj … HL0 f1 ?) /2 width=1 by sdj_isid_sn/ #H - elim (frees_sex_conf … Hf1 … H) // -H2R -H #f2 #Hf2 #Hf21 + elim (frees_sex_conf_fsge … Hf1 … H) // -H2R -H #f2 #Hf2 #Hf21 lapply (sle_sex_trans … HL02 … Hf21) -f1 // #HL02 lapply (sex_co ?? cfull (CTC … (cext2 R)) … HL1) -HL1 /2 width=1 by ext2_inv_tc/ #HL1 /8 width=11 by sex_inv_tc_dx, sex_tc_dx, sex_co, ext2_tc, ext2_refl, step, ex2_intro/ (**) (* full auto too slow *)