package lambdapi

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

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.5.0.tbz
sha256=9bc8ae3694dd51bd5742e7aba760bd2878c4b0e5ef9b3d4a7b06f3cd303b611d
sha512=c812c3129b3d85b0c4d7e741d11137dbb4fe2a0aaba3a5968409080b742924ecb506280c19ad83ef6bc910346db96d87780313fa7683c29345edae16ae79c704

doc/lambdapi.core/Core/Inverse/index.html

Module Core.InverseSource

Compute the inverse image of a term wrt an injective function.

Sourceval log : 'a Lplib.Base.outfmt -> 'a
Sourceval cache : (Term.sym -> 'a) -> Term.sym -> 'a

cache f s is equivalent to f s but f s is computed only once unless the rules of s are changed.

Sourceval const_graph : Term.sym -> (Term.sym * Term.sym) list

cached version of const_rules.

Sourceval inverse_const : Term.sym -> Term.sym -> Term.sym

inverse_const s s' returns s0 if s has a rule of the form s (s0 ...) ↪ s' ....

  • raises [Not_found]

    otherwise.

Sourceval prod_graph : Term.sym -> (Term.sym * Term.sym * Term.sym * bool) list

cached version of prod_graph.

Sourceval inverse_prod : Term.sym -> Term.sym -> Term.sym * Term.sym * Term.sym * bool

inverse_prod s s' returns (s0,s1,s2,b) if s has a rule of the form s (s0 _ _) ↪ Π x:s1 _, s2 r with b=true iff x occurs in r, and either s1 has a rule of the form s1 (s3 ...) ↪ s' ... or s1 == s'.

  • raises [Not_found]

    otherwise.

Sourceval inverse : Term.sym -> Term.term -> Term.term
OCaml

Innovation. Community. Security.