]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground/relocation/pr_nat_uni.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / relocation / pr_nat_uni.ma
diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/pr_nat_uni.ma b/matita/matita/contribs/lambdadelta/ground/relocation/pr_nat_uni.ma
new file mode 100644 (file)
index 0000000..8831312
--- /dev/null
@@ -0,0 +1,32 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||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/arith/nat_plus_rplus.ma".
+include "ground/relocation/pr_pat_uni.ma".
+include "ground/relocation/pr_nat_nat.ma".
+
+(* NON-NEGATIVE APPLICATION FOR PARTIAL RELOCATION MAPS *********************)
+
+(* Constructions with pr_uni ************************************************)
+
+lemma pr_nat_uni (n) (l):
+      @↑❪l,𝐮❨n❩❫ ≘ l+n.
+/2 width=1 by pr_nat_pred_bi/
+qed.
+
+(* Inversions with pr_uni ***************************************************)
+
+lemma pr_nat_inv_uni (n) (l) (k):
+      @↑❪l,𝐮❨n❩❫ ≘ k → k = l+n.
+/2 width=4 by pr_nat_mono/ qed-.