exception AssertFailure of string
exception MetaSubstFailure of string
-val delift :
- Cic.context -> Cic.metasenv -> (Cic.term option) list -> Cic.term ->
- Cic.term * Cic.metasenv
-
(* The entry (i,t) in a substitution means that *)
(* (META i) have been instantiated with t. *)
type substitution = (int * Cic.term) list
+val delift :
+ int -> substitution -> Cic.context -> Cic.metasenv -> (Cic.term option) list -> Cic.term ->
+ Cic.term * Cic.metasenv
+
(* unwind_subst metasenv subst *)
(* unwinds [subst] w.r.t. itself. *)
(* It can restrict some metavariable in the [metasenv] *)
* From now on we recreate a kernel abstraction where substitutions are part of
* the calculus *)
-val whd: substitution -> Cic.context -> Cic.term -> Cic.term
+val whd: Cic.metasenv -> substitution -> Cic.context -> Cic.term -> Cic.term
val are_convertible:
- substitution -> Cic.context -> Cic.term -> Cic.term ->
+ Cic.metasenv -> substitution -> Cic.context -> Cic.term -> Cic.term ->
bool
val type_of_aux':