X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground%2Frelocation%2Fpr_nexts_eq.ma;h=3ca8053d8cf0e9353c406c884fb3b112f50ac8ba;hb=742e21da086654af82f308027250d00b50d67f52;hp=ca6a8d5acedb1dd104b26ff6d78195462906dd75;hpb=f8b4eb67c2437f7b5174d7dca46e102e0ac0d19d;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/pr_nexts_eq.ma b/matita/matita/contribs/lambdadelta/ground/relocation/pr_nexts_eq.ma index ca6a8d5ac..3ca8053d8 100644 --- a/matita/matita/contribs/lambdadelta/ground/relocation/pr_nexts_eq.ma +++ b/matita/matita/contribs/lambdadelta/ground/relocation/pr_nexts_eq.ma @@ -12,7 +12,7 @@ (* *) (**************************************************************************) -include "ground/relocation/pr_eq.ma". +include "ground/relocation/pr_tl_eq.ma". include "ground/relocation/pr_nexts.ma". (* ITERATED NEXT FOR PARTIAL RELOCATION MAPS ********************************) @@ -25,3 +25,24 @@ lemma pr_nexts_eq_repl (n): #n @(nat_ind_succ … n) -n /3 width=5 by pr_eq_next/ qed. + +(* Inversions with pr_eq ****************************************************) + +lemma pr_eq_inv_nexts_push_bi (f1) (f2) (n1) (n2): + ↑*[n1] ⫯f1 ≡ ↑*[n2] ⫯f2 → + ∧∧ n1 = n2 & f1 ≡ f2. +#f1 #f2 +#n1 @(nat_ind_succ … n1) -n1 [| #n1 #IH ] +#n2 @(nat_ind_succ … n2) -n2 [2,4: #n2 #_ ] +[