package dedukti

  1. Overview
  2. Docs

infer sg ctx te infers a type for the term te in the signature sg and context ctx The context is assumed to be well-formed

val check : Signature.t -> Term.typed_context -> Term.term -> typ -> unit

check sg ctx te ty checks that the term te has type ty in the signature sg and context ty.ctx. ty is assumed to be well-typed in ctx and ctx is assumed to be well-formed

val checking : Signature.t -> Term.term -> Term.term -> unit

checking sg te ty checks that te has type ty in the empty context. ty is typechecked first.

val inference : Signature.t -> Term.term -> typ

inference sg ctx te infers a type for the term te in empty context.

check_rule sg ru checks that a rule is well-typed.

OCaml

Innovation. Community. Security.