]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/limits/Domain/data.ma
Preparing for 0.5.9 release.
[helm.git] / helm / software / matita / contribs / limits / Domain / data.ma
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 include "Domain/defs.ma".
16
17 (* QUANTIFICATION DOMAINS
18    - Here we define some useful domains based on data types.
19 *)
20
21 definition DBool: Domain ≝
22    mk_Domain (
23       mk_Class bool (true_f ?) (eq ?) (true_fw ? ?) (true_bw ? ?)
24    ).
25 (*
26 definition dbool_ixfam : \forall (C:Class). C \to C \to (DBool \to C) \def
27    \lambda C,c0,c1,b.
28    match b in bool with 
29       [ false \Rightarrow c0
30       | true \Rightarrow c1
31       ].
32 *)
33 definition DVoid: Domain ≝
34    mk_Domain (
35       mk_Class void (true_f ?) (eq ?) (true_fw ? ?) (true_bw ? ?)
36    ).
37 (*
38 definition dvoid_ixfam : \forall (C:Class). (DVoid \to C) \def
39    \lambda C,v.
40    match v in void with [].
41 *)