package lambdapi

  1. Overview
  2. Docs

Solving unification constraints.

val solve_noexn : ?type_check:bool -> Term.problem -> bool

solve_noexn ~type_check p tries to simplify the constraints of p. It returns false if it finds a constraint that cannot be satisfied. Otherwise, p.to_solve is empty but p.unsolved may still contain constraints that could not be simplified. Metavariable instantiations are type-checked only if ~type_check is true. If ~type_check is not specified, it defaults to true.

OCaml

Innovation. Community. Security.