X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Frtmap_isid.ma;h=7dde16d0f6472eaecab351bd21eebb8f75d58c53;hb=9a023f554e56d6edbbb2eeaf17ce61e31857ef4a;hp=cfe2b37717e586fb7298d4492278f71044127973;hpb=b9526dac808d40bf89dc378cf9c5ea0c121526a4;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_isid.ma b/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_isid.ma index cfe2b3771..7dde16d0f 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_isid.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_isid.ma @@ -13,7 +13,7 @@ (**************************************************************************) include "ground_2/notation/relations/isidentity_1.ma". -include "ground_2/relocation/rtmap_minus.ma". +include "ground_2/relocation/rtmap_tls.ma". (* RELOCATION MAP ***********************************************************) @@ -43,7 +43,9 @@ lemma isid_inv_next: ∀g. 𝐈⦃g⦄ → ∀f. ⫯f = g → ⊥. #f #Hf * -g #g #H elim (discr_next_push … H) qed-. -let corec isid_inv_eq_repl: ∀f1,f2. 𝐈⦃f1⦄ → 𝐈⦃f2⦄ → f1 ≗ f2 ≝ ?. +(* Main inversion lemmas ****************************************************) + +corec theorem isid_inv_eq_repl: ∀f1,f2. 𝐈⦃f1⦄ → 𝐈⦃f2⦄ → f1 ≗ f2. #f1 #f2 #H1 #H2 cases (isid_inv_gen … H1) -H1 cases (isid_inv_gen … H2) -H2 @@ -52,7 +54,7 @@ qed-. (* Basic properties *********************************************************) -let corec isid_eq_repl_back: eq_repl_back … isid ≝ ?. +corec lemma isid_eq_repl_back: eq_repl_back … isid. #f1 #H cases (isid_inv_gen … H) -H #g1 #Hg1 #H1 #f2 #Hf cases (eq_inv_px … Hf … H1) -f1 /3 width=3 by isid_push/ @@ -63,11 +65,11 @@ lemma isid_eq_repl_fwd: eq_repl_fwd … isid. (* Alternative definition ***************************************************) -let corec eq_push_isid: ∀f. ↑f ≗ f → 𝐈⦃f⦄ ≝ ?. +corec lemma eq_push_isid: ∀f. ↑f ≗ f → 𝐈⦃f⦄. #f #H cases (eq_inv_px … H) -H /4 width=3 by isid_push, eq_trans/ qed. -let corec eq_push_inv_isid: ∀f. 𝐈⦃f⦄ → ↑f ≗ f ≝ ?. +corec lemma eq_push_inv_isid: ∀f. 𝐈⦃f⦄ → ↑f ≗ f. #f * -f #f #g #Hf #Hg @(eq_push … Hg) [2: @eq_push_inv_isid // | skip ] @eq_f //