1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| A.Asperti, C.Sacerdoti Coen, *)
8 (* ||A|| E.Tassi, S.Zacchiroli *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU Lesser General Public License Version 2.1 *)
13 (**************************************************************************)
15 set "baseuri" "cic:/matita/bool/".
17 inductive bool : Set \def
21 definition notb : bool \to bool \def
24 [ true \Rightarrow false
25 | false \Rightarrow true ].
27 definition andb : bool \to bool \to bool\def
31 match b2 with [true \Rightarrow true | false \Rightarrow false]
32 | false \Rightarrow false ].
34 definition orb : bool \to bool \to bool\def
38 match b2 with [true \Rightarrow true | false \Rightarrow false]
39 | false \Rightarrow false ].
41 definition if_then_else : bool \to Prop \to Prop \to Prop \def
42 \lambda b:bool.\lambda P,Q:Prop.
45 | false \Rightarrow Q].