let rec aux i context term =
match (context, term) with
| Cic.Implicit (Some `Hole), t -> [i,t]
+ | Cic.Implicit (Some `Type), t -> []
| Cic.Implicit None,_ -> []
| Cic.Meta (_, ctxt1), Cic.Meta (_, ctxt2) ->
List.concat
(List.map2
(fun (_, ty1, bo1) (_, ty2, bo2) -> aux i ty1 ty2 @ aux i bo1 bo2)
funs1 funs2)
- | _ -> assert false
+ | _ -> assert false (* maybe an Implicit annotation ? *)
and auxs i terms1 terms2 = (* as aux for list of terms *)
List.concat (List.map2 (fun t1 t2 -> aux i t1 t2) terms1 terms2)
in