package lambdapi

  1. Overview
  2. Docs

Symbols and signature for unification rules.

This module provides a signature to be used to handle unification rules. The signature is not attached to any real lambdapi file and is henceforth qualified to be a "ghost" signature.

val path : Common.Path.t

Path of signature containing unificaton rules symbols.

val sign : Sign.t

Ghost signature holding the symbols used in unification rules.

val equiv : Term.sym

Symbol of name LpLexer.equiv, with infix notation.

val cons : Term.sym

Symbol of name LpLexer.cons, with infix right notation with priority < LpLexer.equiv.

val unpack : Term.term -> (Term.term * Term.term) list

unpack eqs transforms a term of the form cons (equiv t u) (cons (equiv v w) ...) into a list [(t,u); (v,w); ...].

val is_ghost : Term.sym -> bool

is_ghost s is true iff s is a symbol of the ghost signature.

OCaml

Innovation. Community. Security.