aboutsummaryrefslogtreecommitdiff
path: root/kernel/reduction.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/reduction.ml')
-rw-r--r--kernel/reduction.ml8
1 files changed, 7 insertions, 1 deletions
diff --git a/kernel/reduction.ml b/kernel/reduction.ml
index 7e81089453..77331bf5a2 100644
--- a/kernel/reduction.ml
+++ b/kernel/reduction.ml
@@ -1306,7 +1306,13 @@ let is_type_arity env =
| _ -> false
in
srec
-
+
+let is_info_type env t =
+ let s = t.typ in
+ (s = Prop Pos) ||
+ (s <> Prop Null &&
+ try info_arity env t.body with IsType -> true)
+
let is_info_cast_type env c =
match c with
| DOP2(Cast,c,t) ->