]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/contribs/RELATIONAL/NPlus/defs.ma
removing old contribs
[helm.git] / helm / software / matita / contribs / RELATIONAL / NPlus / defs.ma
index 92561bc5cde818eff13fec8f94ccaf6ec19f2b88..15a16b72c1a7e93c7c9c3e8b9f28cc8f1565919d 100644 (file)
 (*                                                                        *)
 (**************************************************************************)
 
-set "baseuri" "cic:/matita/RELATIONAL/NPlus/defs".
 
-include "logic/equality.ma".
 
-include "Nat/defs.ma".
+include "datatypes/Nat.ma".
 
-inductive NPlus (p:Nat): Nat \to Nat \to Prop \def
+inductive NPlus (p:Nat): Nat → Nat → Prop ≝
    | nplus_zero_2: NPlus p zero p
-   | nplus_succ_2: \forall q, r. NPlus p q r \to NPlus p (succ q) (succ r).
+   | nplus_succ_2: ∀q, r. NPlus p q r → NPlus p (succ q) (succ r).
+
+interpretation "natural plus predicate" 'rel_plus x y z = (NPlus x y z).
+
+notation "hvbox(a break ⊕ b break ≍ c)"
+  non associative with precedence 45
+for @{'rel_plus $a $b $c}.