]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/contribs/limits/Domain/data.ma
limits: reorganized and attached to nightly tests (cow compiles fully)
[helm.git] / helm / software / matita / contribs / limits / Domain / data.ma
diff --git a/helm/software/matita/contribs/limits/Domain/data.ma b/helm/software/matita/contribs/limits/Domain/data.ma
new file mode 100644 (file)
index 0000000..f18e432
--- /dev/null
@@ -0,0 +1,37 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+include "Domain/defs.ma".
+
+(* QUANTIFICATION DOMAINS
+   - Here we define some useful domains based on data types.
+*)
+
+definition DBool: Domain ≝
+   mk_Domain (mk_Class bool (true_f ?) (eq ?)).
+(*
+definition dbool_ixfam : \forall (C:Class). C \to C \to (DBool \to C) \def
+   \lambda C,c0,c1,b.
+   match b in bool with 
+      [ false \Rightarrow c0
+      | true \Rightarrow c1
+      ].
+*)
+definition DVoid: Domain ≝
+   mk_Domain (mk_Class void (true_f ?) (eq ?)).
+(*
+definition dvoid_ixfam : \forall (C:Class). (DVoid \to C) \def
+   \lambda C,v.
+   match v in void with [].
+*)