package dedukti

  1. Overview
  2. Docs

Type checking/inference

val d_typeChecking : Basic.Debug.flag
val d_rule : Basic.Debug.flag
val coc : bool Stdlib.ref
val fail_on_unsatisfiable_constraints : bool Stdlib.ref
type typing_error =
  1. | KindIsNotTypable
  2. | ConvertibilityError of Term.term * Term.typed_context * Term.term * Term.term
  3. | AnnotConvertibilityError of Basic.loc * Basic.ident * Term.typed_context * Term.term * Term.term
  4. | VariableNotFound of Basic.loc * Basic.ident * int * Term.typed_context
  5. | SortExpected of Term.term * Term.typed_context * Term.term
  6. | ProductExpected of Term.term * Term.typed_context * Term.term
  7. | InexpectedKind of Term.term * Term.typed_context
  8. | DomainFreeLambda of Basic.loc
  9. | CannotInferTypeOfPattern of Rule.pattern * Term.typed_context
  10. | UnsatisfiableConstraints of Rule.partially_typed_rule * int * Term.term * Term.term
  11. | BracketExprBoundVar of Term.term * Term.typed_context
  12. | BracketExpectedTypeBoundVar of Term.term * Term.typed_context * Term.term
  13. | BracketExpectedTypeRightVar of Term.term * Term.typed_context * Term.term
  14. | TypingCircularity of Basic.loc * Basic.ident * int * Term.typed_context * Term.term
  15. | FreeVariableDependsOnBoundVariable of Basic.loc * Basic.ident * int * Term.typed_context * Term.term
  16. | NotImplementedFeature of Basic.loc
  17. | Unconvertible of Basic.loc * Term.term * Term.term
  18. | Convertible of Basic.loc * Term.term * Term.term
  19. | Inhabit of Basic.loc * Term.term * Term.term
exception Typing_error of typing_error
type typ = Term.term
module type S = sig ... end
module Make (R : Reduction.S) : S
module Default : S