]> matita.cs.unibo.it Git - helm.git/blob - helm/matita/library/datatypes/constructors.ma
Added datatypes/constructors.ma
[helm.git] / helm / matita / library / datatypes / constructors.ma
1 (**************************************************************************)
2 (*       ___                                                                *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||       A.Asperti, C.Sacerdoti Coen,                          *)
8 (*      ||A||       E.Tassi, S.Zacchiroli                                 *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU Lesser General Public License Version 2.1         *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 set "baseuri" "cic:/matita/datatypes/constructors/".
16
17 inductive void : Set \def.
18
19 inductive Prod (A,B:Set) : Set \def
20 pair : A \to B \to Prod A B.
21
22 inductive Sum (A,B:Set) : Set \def
23   inl : A \to Sum A B
24 | inr : B \to Sum A B.