aboutsummaryrefslogtreecommitdiff
path: root/toplevel/command.ml
diff options
context:
space:
mode:
Diffstat (limited to 'toplevel/command.ml')
-rw-r--r--toplevel/command.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/toplevel/command.ml b/toplevel/command.ml
index 47c51b83fd..07f5019565 100644
--- a/toplevel/command.ml
+++ b/toplevel/command.ml
@@ -355,7 +355,7 @@ let adjust_guardness_conditions const =
| Fix ((nv,0),(_,_,fixdefs as fixdecls)) ->
let possible_indexes =
List.map (fun c ->
- interval 0 (List.length (fst (Sign.decompose_lam_assum c))))
+ interval 0 (List.length ((lam_assum c))))
(Array.to_list fixdefs) in
let indexes = search_guard dummy_loc (Global.env()) possible_indexes fixdecls in
{ const with const_entry_body = mkFix ((indexes,0),fixdecls) }
@@ -1125,7 +1125,7 @@ let look_for_mutual_statements thms =
(* common coinductive conclusion *)
let n = List.length thms in
let inds = List.map (fun (id,(t,_) as x) ->
- let (hyps,ccl) = Sign.decompose_prod_assum t in
+ let (hyps,ccl) = decompose_prod_assum t in
let whnf_hyp_hds = map_rel_context_with_binders
(fun i c -> fst (whd_betadeltaiota_stack (Global.env()) Evd.empty (lift i c)))
hyps in