Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
This module provides a function to translate a signature to the HRS format used in the confluence competition.
val bvars : Lplib.Extra.IntSet.t Stdlib.ref
bvars
is the set of abstracted variables.
module V : sig ... end
pvars
map every pattern variable name to its arity.
module VMap : sig ... end
val pvars : int VMap.t Stdlib.ref
val sym_name : Core.Term.sym Lplib.Base.pp
sym_name s
translates the symbol name of s
.
val add_sym : Core.Term.sym -> unit
add_sym
declares a Lambdapi symbol.
val sym : Core.Term.sym Lplib.Base.pp
sym ppf s
translates the Lambdapi symbol s
.
val add_bvar : Core.Term.tvar -> unit
add_bvar v
declares an abstracted Lambdapi variable.
val bvar : Core.Term.tvar Lplib.Base.pp
bvar v
translates the Lambdapi variable v
.
val pvar : int Lplib.Base.pp
pvar i
translates the pattern variable index i
.
val term : Core.Term.term Lplib.Base.pp
term ppf t
translates the term t
.
val rule : (Core.Term.term * Core.Term.term) Lplib.Base.pp
rule ppf r
translates the pair of terms r
as a rule.
val sym_rule : Core.Term.sym -> Core.Term.rule Lplib.Base.pp
sym_rule ppf s r
increases the number of rules and translates the sym_rule r
.
val rules_of_sym : Core.Term.sym Lplib.Base.pp
Translate the rules of symbol s
.
val rules_of_sign : Core.Sign.t Lplib.Base.pp
Translate the rules of a dependency except if it is a ghost signature.
val sign : Core.Sign.t Lplib.Base.pp
sign ppf s
translates the Lambdapi signature s
.