Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
A shallow encoding of products. This encoding allows to rewrite products.
val md : Kernel.Basic.mident
module name of the encoding
val entries : unit -> Parsers.Entry.entry list
List of declarations
val signature : Kernel.Signature.t
Signature of the encoding. Redudant with entries
val encode_term :
?sg:Kernel.Signature.t ->
?ctx:Kernel.Term.typed_context ->
Kernel.Term.term ->
Kernel.Term.term
encode_term sg ctx t
encodes a term t
. sg
and ctx
are used only if safe
is true
val decode_term : Kernel.Term.term -> Kernel.Term.term
decode_term t
decodes a term t
val encode_rule :
?sg:Kernel.Signature.t ->
'a Kernel.Rule.rule ->
'a Kernel.Rule.rule
encode_rule sg r
encodes a rule r
. sg
is used only if safe
is true