package lambdapi

  1. Overview
  2. Docs
Proof assistant for the λΠ-calculus modulo rewriting

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-3.0.0.tbz
sha256=1066aed2618fd8e6a400c5147dbf55ea977ce8d3fe2e518ac6785c6775a1b8be
sha512=f7f499626aba92e070ae69581299a58525973fdbfd04a160ed3ac89209fb6cbe307b816d0b23e1b75bc83467ce8b4b0530c6f9816eaf58f7a07fde65a450106c

doc/lambdapi.handle/Handle/Query/index.html

Module Handle.QuerySource

Handling of queries.

infer pos p c t returns a couple (t',a) where a is the type of t in context c and under constraints of problem p; and t' is the refinement of t. Note that p gets modified. Context c must well sorted.

  • raises Fatal

    if t cannot be typed.

check pos p c t a checks that the term t has type a in context c and under the constraints of p, and returns t refined. Context c must be well-sorted. Note that p is modified.

  • raises Fatal

    if t is not of type a.

check_sort pos p c t checks that the term t has type Type or Kind in context c and under the constraints of p. Context c must be well sorted.

  • raises Fatal

    if t cannot be typed by a sort (Type or Kind).

Sourcetype result = (unit -> string) option

Result of query displayed on hover in the editor.

handle_query ss ps q

OCaml

Innovation. Community. Security.