]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/procedural/Coq/Logic/Eqdep_dec.mma
Preparing for 0.5.9 release.
[helm.git] / helm / software / matita / contribs / procedural / Coq / Logic / Eqdep_dec.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: Eqdep_dec.v,v 1.14.2.1 2004/07/16 19:31:06 herbelin Exp $ i*)
36
37 (*#* We prove that there is only one proof of [x=x], i.e [(refl_equal ? x)].
38    This holds if the equality upon the set of [x] is decidable.
39    A corollary of this theorem is the equality of the right projections
40    of two equal dependent pairs.
41
42    Author:   Thomas Kleymann |<tms@dcs.ed.ac.uk>| in Lego
43              adapted to Coq by B. Barras
44
45    Credit:   Proofs up to [K_dec] follows an outline by Michael Hedberg
46 *)
47
48 (*#* We need some dependent elimination schemes *)
49
50 (* UNEXPORTED
51 Set Implicit Arguments.
52 *)
53
54 (*#* Bijection between [eq] and [eqT] *)
55
56 inline procedural "cic:/Coq/Logic/Eqdep_dec/eq2eqT.con" as definition.
57
58 inline procedural "cic:/Coq/Logic/Eqdep_dec/eqT2eq.con" as definition.
59
60 inline procedural "cic:/Coq/Logic/Eqdep_dec/eq_eqT_bij.con" as lemma.
61
62 inline procedural "cic:/Coq/Logic/Eqdep_dec/eqT_eq_bij.con" as lemma.
63
64 (* UNEXPORTED
65 Section DecidableEqDep
66 *)
67
68 (* UNEXPORTED
69 cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/A.var
70 *)
71
72 (* UNAVAILABLE OBJECT: cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/comp.con ***)
73
74 inline procedural "cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/comp.con" "DecidableEqDep__" as definition.
75
76 inline procedural "cic:/Coq/Logic/Eqdep_dec/trans_sym_eqT.con" as remark.
77
78 (* UNEXPORTED
79 cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/eq_dec.var
80 *)
81
82 (* UNEXPORTED
83 cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/x.var
84 *)
85
86 (* UNAVAILABLE OBJECT: cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/nu.con *****)
87
88 inline procedural "cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/nu.con" "DecidableEqDep__" as definition.
89
90 (* UNAVAILABLE OBJECT: cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/nu_constant.con *)
91
92 inline procedural "cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/nu_constant.con" "DecidableEqDep__" as definition.
93
94 (* UNAVAILABLE OBJECT: cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/nu_inv.con *)
95
96 inline procedural "cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/nu_inv.con" "DecidableEqDep__" as definition.
97
98 inline procedural "cic:/Coq/Logic/Eqdep_dec/nu_left_inv.con" as remark.
99
100 inline procedural "cic:/Coq/Logic/Eqdep_dec/eq_proofs_unicity.con" as theorem.
101
102 inline procedural "cic:/Coq/Logic/Eqdep_dec/K_dec.con" as theorem.
103
104 (*#* The corollary *)
105
106 (* UNAVAILABLE OBJECT: cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/proj.con ***)
107
108 inline procedural "cic:/Coq/Logic/Eqdep_dec/DecidableEqDep/proj.con" "DecidableEqDep__" as definition.
109
110 inline procedural "cic:/Coq/Logic/Eqdep_dec/inj_right_pair.con" as theorem.
111
112 (* UNEXPORTED
113 End DecidableEqDep
114 *)
115
116 (*#* We deduce the [K] axiom for (decidable) Set *)
117
118 inline procedural "cic:/Coq/Logic/Eqdep_dec/K_dec_set.con" as theorem.
119