TypingBaseRaised in case of type error, not propagated because replaced by an error constructor in the proof
Raised in case of subtyping error, not propagated because replaced by an error constructor in the proof
exception Loop_error of Pos.poptRaised when the termination checkers fails, propagated
val loop_error : Pos.popt -> 'atype ctxt = {sub_ihs : Ast.schema list; |
fix_ihs : fix_induction list; |
fix_todo : (unit -> unit) list Stdlib.ref; |
top_induction : induction_node; |
call_graphs : Sct.t; |
non_zero : Ast.ordi list; |
}and fix_induction = (Ast.term', Ast.term) Bindlib.binder * Ast.schema list Stdlib.refinduction hypothesis for typing recursive programs
val empty_ctxt : unit -> ctxtthe initial empty context
val run_fix_todo : ctxt -> unitrun the registered functions.
val consecutive : (int * Ast.ordi) list -> boolval opred : Ast.ordi -> Ast.ord_wit -> Ast.ordiconstruction of an ordinal < o such that w
val print_nz : 'a -> ctxt -> unitval has_leading_ord_quantifier : Ast.kind -> boolval has_leading_exists : Ast.kind -> boolval has_leading_forall : Ast.kind -> boolval has_uvar : Ast.kind -> bool