aboutsummaryrefslogtreecommitdiff
path: root/kernel/term.mli
diff options
context:
space:
mode:
authorfilliatr1999-08-27 16:58:43 +0000
committerfilliatr1999-08-27 16:58:43 +0000
commitb69aafe250ca1fbb21eb2f318873fe65856511c0 (patch)
tree0a44fc61206e9abe1d6863ac7dd8e282808cd6c1 /kernel/term.mli
parentdd279791aca531cd0f38ce79b675c68e08a4ff63 (diff)
suppression champs inutiles dans constantes et inductifs; verification definitions inductives
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@29 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/term.mli')
-rw-r--r--kernel/term.mli15
1 files changed, 5 insertions, 10 deletions
diff --git a/kernel/term.mli b/kernel/term.mli
index ee60fbedde..0af1cf6133 100644
--- a/kernel/term.mli
+++ b/kernel/term.mli
@@ -24,7 +24,7 @@ type 'a oper =
| Fix of int array * int
| CoFix of int
- | XTRA of string * Coqast.t list
+ | XTRA of string
(* an extra slot, for putting in whatever sort of
operator we need for whatever sort of application *)
@@ -73,7 +73,7 @@ type kindOfTerm =
| IsRel of int
| IsMeta of int
| IsVar of identifier
- | IsXtra of string * Coqast.t list
+ | IsXtra of string
| IsSort of sorts
| IsImplicit
| IsCast of constr * constr
@@ -112,7 +112,7 @@ val mkMeta : int -> constr
val mkVar : identifier -> constr
(* Construct an [XTRA] term. *)
-val mkXtra : string -> Coqast.t list -> constr
+val mkXtra : string -> constr
(* Construct a type *)
val mkSort : sorts -> constr
@@ -232,7 +232,7 @@ val isMETA : constr -> bool
val destVar : constr -> identifier
(* Destructs an XTRA *)
-val destXtra : constr -> string * Coqast.t list
+val destXtra : constr -> string
(* Destructs a sort. [is_Prop] recognizes the sort \textsf{Prop}, whether
[isprop] recognizes both \textsf{Prop} and \textsf{Set}. *)
@@ -417,8 +417,7 @@ val prod_and_pop :
-> (name * constr) list * constr * (int * constr) list
(* recusively applies [prod_and_pop] :
- if [env] = $[na_1:T_1 ; na_2:T_2 ; ... ; na_n:T_n]@tlenv$
- then
+ if [env] = $[na_1:T_1 ; na_2:T_2 ; ... ; na_n:T_n]@tlenv$ then
[(prod_and_popl n env T l)] gives $(tlenv,(na_n:T_n)...(na_1:T_1)T,l')$
where $l'$ is [l] lifted down [n] steps *)
val prod_and_popl :
@@ -508,10 +507,6 @@ val replace_consts :
val subst_meta : (int * constr) list -> constr -> constr
-(* Transforms a constr into a matchable constr *)
-val matchable : constr -> constr
-val unmatchable: constr -> constr
-
(*s Hash-consing functions for constr. *)