let paramsno = count_pi ty in (* number of (left or right) parameters *)
let rightno = paramsno - leftno in
let dependent = (strip_pi ty <> Cic.Sort Cic.Prop) in
-let head = match strip_pi ty with Cic.Sort s -> s in
+ let head =
+ match strip_pi ty with
+ Cic.Sort s -> s
+ | _ -> assert false
+ in
let conslen = List.length constructors in
let consno = ref (conslen + 1) in
if