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