let ok s =
X.log ("anticipate: ok " ^ s)
-let not_prop1 c u = match (K.whd c (K.typeof c u)) with
+let typeof c t = K.whd c (K.typeof c t)
+
+let not_prop1 c u = match typeof c u with
| C.Sort (C.Prop) -> false
| C.Sort _ -> true
| _ -> malformed "1"
with
| T.TypeCheckerFailure s
| T.AssertFailure s -> malformed (Lazy.force s)
- | Invalid_argument "List.nth" -> malformed "4" (* to be removed *)
let proc_fun c =
let r, s, i, u, t = c in