]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/contribs/RELATIONAL/NLE/nplus.ma
removing old contribs
[helm.git] / helm / software / matita / contribs / RELATIONAL / NLE / nplus.ma
index f469568d7306ea197d9e4e600f5eed687fd3780b..22998c0385b9e1246aa02921c431e9a4439567f9 100644 (file)
 (*                                                                        *)
 (**************************************************************************)
 
-set "baseuri" "cic:/matita/RELATIONAL/NLE/nplus".
+
 
 include "NLE/defs.ma".
 
-axiom nle_nplus_comp: \forall x1, x2, x3. (x1 + x2 == x3) \to
-                      \forall y1, y2, y3. (y1 + y2 == y3) \to
-                      x1 <= y1 \to x2 <= y2 \to x3 <= y3.
+theorem nle_nplus: ∀p, q, r. p ⊕ q ≍ r → q ≤ r.
+ intros; elim H; clear H q r; autobatch.
+qed.
+
+axiom nle_nplus_comp: ∀x1,x2,x3. x1 ⊕ x2 ≍ x3 → ∀y1,y2,y3. y1 ⊕ y2 ≍ y3 →
+                      x1 ≤ y1 → x2 ≤ y2 → x3 ≤ y3.
 
-axiom nle_nplus_comp_lt_2: \forall x1, x2, x3. (x1 + x2 == x3) \to
-                           \forall y1, y2, y3. (y1 + y2 == y3) \to
-                           x1 <= y1 \to x2 < y2 \to x3 < y3.
+axiom nle_nplus_comp_lt_2: ∀x1,x2,x3. x1 ⊕ x2 ≍ x3 → ∀y1,y2,y3. y1 ⊕ y2 ≍ y3 →
+                           x1 ≤ y1 → x2 < y2 → x3 < y3.