1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
16 include "algebra/magmas.ma".
18 nlet rec plus (n:nat) (m:nat) on n : nat ≝
21 | S n' ⇒ S (plus n' m) ].
23 ndefinition plus_magma_type: magma_type.
26 | napply mk_binary_morphism
28 | #a; #a'; #b; #b'; #Ha; #Hb; nrewrite < Ha; nrewrite < Hb; napply refl ]##]