]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/procedural/Coq/Bool/Sumbool.mma
Preparing for 0.5.9 release.
[helm.git] / helm / software / matita / contribs / procedural / Coq / Bool / Sumbool.mma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 (* This file was automatically generated: do not edit *********************)
16
17 include "Coq.ma".
18
19 include "Init/Prelude.ma".
20
21 (*#***********************************************************************)
22
23 (*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
24
25 (* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
26
27 (*   \VV/  **************************************************************)
28
29 (*    //   *      This file is distributed under the terms of the       *)
30
31 (*         *       GNU Lesser General Public License Version 2.1        *)
32
33 (*#***********************************************************************)
34
35 (*i $Id: Sumbool.v,v 1.12.2.1 2004/07/16 19:31:03 herbelin Exp $ i*)
36
37 (*#* Here are collected some results about the type sumbool (see INIT/Specif.v)
38    [sumbool A B], which is written [{A}+{B}], is the informative
39    disjunction "A or B", where A and B are logical propositions.
40    Its extraction is isomorphic to the type of booleans. *)
41
42 (*#* A boolean is either [true] or [false], and this is decidable *)
43
44 inline procedural "cic:/Coq/Bool/Sumbool/sumbool_of_bool.con" as definition.
45
46 (* UNEXPORTED
47 Hint Resolve sumbool_of_bool: bool.
48 *)
49
50 inline procedural "cic:/Coq/Bool/Sumbool/bool_eq_rec.con" as definition.
51
52 inline procedural "cic:/Coq/Bool/Sumbool/bool_eq_ind.con" as definition.
53
54 (*i pourquoi ce machin-la est dans BOOL et pas dans LOGIC ?  Papageno i*)
55
56 (*#* Logic connectives on type [sumbool] *)
57
58 (* UNEXPORTED
59 Section connectives
60 *)
61
62 (* UNEXPORTED
63 cic:/Coq/Bool/Sumbool/connectives/A.var
64 *)
65
66 (* UNEXPORTED
67 cic:/Coq/Bool/Sumbool/connectives/B.var
68 *)
69
70 (* UNEXPORTED
71 cic:/Coq/Bool/Sumbool/connectives/C.var
72 *)
73
74 (* UNEXPORTED
75 cic:/Coq/Bool/Sumbool/connectives/D.var
76 *)
77
78 (* UNEXPORTED
79 cic:/Coq/Bool/Sumbool/connectives/H1.var
80 *)
81
82 (* UNEXPORTED
83 cic:/Coq/Bool/Sumbool/connectives/H2.var
84 *)
85
86 inline procedural "cic:/Coq/Bool/Sumbool/sumbool_and.con" as definition.
87
88 inline procedural "cic:/Coq/Bool/Sumbool/sumbool_or.con" as definition.
89
90 inline procedural "cic:/Coq/Bool/Sumbool/sumbool_not.con" as definition.
91
92 (* UNEXPORTED
93 End connectives
94 *)
95
96 (* UNEXPORTED
97 Hint Resolve sumbool_and sumbool_or sumbool_not: core.
98 *)
99
100 (*#* Any decidability function in type [sumbool] can be turned into a function
101     returning a boolean with the corresponding specification: *)
102
103 inline procedural "cic:/Coq/Bool/Sumbool/bool_of_sumbool.con" as definition.
104
105 (* UNEXPORTED
106 Implicit Arguments bool_of_sumbool.
107 *)
108