From 05d5f8b9065b0f5e0349cf3d39dd62ab99f30369 Mon Sep 17 00:00:00 2001 From: Maxime Dénès Date: Sat, 18 Jan 2014 15:09:40 -0500 Subject: Relaxing the sort elimination check to allow for let-bindings in arities. I restored this in the kernel, and added it to the checker. There is one last source of non-uniformity, which is the Sort case in the checker (was not present in the kernel). I don't know what this case covers, so it should be reviewed. --- kernel/inductive.ml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel') diff --git a/kernel/inductive.ml b/kernel/inductive.ml index 5c10064385..abc6ba4dfb 100644 --- a/kernel/inductive.ml +++ b/kernel/inductive.ml @@ -316,6 +316,8 @@ let is_correct_arity env c pj ind specif params = with NotConvertible -> raise (LocalArity None) in check_allowed_sort ksort specif; union_constraints u univ + | _, (_,Some _,_ as d)::ar' -> + srec (push_rel d env) (lift 1 pt') ar' u | _ -> raise (LocalArity None) in -- cgit v1.2.3