aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/inductive.mli
diff options
context:
space:
mode:
authorGravatar barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-07-30 19:53:46 +0000
committerGravatar barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-07-30 19:53:46 +0000
commit9518675fafc27d3af2a62a5201244f5b5dfaf47f (patch)
tree860892242d34bda1e923f697f571765a71638789 /checker/inductive.mli
parent707e6ebc87d88e0e6a5cb5060837dbc0fce3b6a1 (diff)
adpated the checker to handle coomutative cuts and lazyness
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13365 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'checker/inductive.mli')
-rw-r--r--checker/inductive.mli9
1 files changed, 5 insertions, 4 deletions
diff --git a/checker/inductive.mli b/checker/inductive.mli
index 35e040a66..2cf7c70df 100644
--- a/checker/inductive.mli
+++ b/checker/inductive.mli
@@ -75,9 +75,10 @@ type guard_env =
(* the recarg information of inductive family *)
recvec : wf_paths array;
(* dB of variables denoting subterms *)
- genv : subterm_spec list;
+ genv : subterm_spec Lazy.t list;
}
-val subterm_specif : guard_env -> constr -> subterm_spec
-val case_branches_specif : guard_env -> subterm_spec -> inductive ->
- constr array -> (guard_env * constr) array
+type stack_element = |SClosure of guard_env*constr |SArg of subterm_spec Lazy.t
+val subterm_specif : guard_env -> stack_element list -> constr -> subterm_spec
+val branches_specif : guard_env -> subterm_spec Lazy.t -> case_info ->
+ subterm_spec Lazy.t list array