]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/nlibrary/nat/plus.ma
Simplified proof after pattern fix
[helm.git] / helm / software / matita / nlibrary / nat / plus.ma
index 75268ffcb4336b3ca709e5134dd51ae00c350a88..8bbc71b9cbbbc3b5d50ece774467c69ebf890048 100644 (file)
@@ -21,6 +21,8 @@ nlet rec plus (n:nat) (m:nat) on n : nat ≝
   [ O ⇒ m
   | S n' ⇒ S (plus n' m) ].
 
+interpretation "natural plus" 'plus x y = (plus x y).
+
 ndefinition plus_magma_type: magma_type.
  napply mk_magma_type
   [ napply NAT
@@ -52,4 +54,4 @@ ndefinition plus_unital_magma_type: unital_magma_type.
   | #x; (* qua manca ancora l'hint *) napply (symm plus_abelian_magma_type) ]
 nqed.
 
-ndefinition big_plus ≝ λn.λf.big_op plus_magma_type n f O.
\ No newline at end of file
+ndefinition big_plus ≝ λn.λf.big_op plus_magma_type n f O.