Simple.ATerm printing for DOT
This module defines what functions are required in order to export a proof to the DOT format.
type hyp = S.formula listtype assumption = S.formulaThe type of theory-specifi proofs (also called lemmas).
val print_atom : Format.formatter -> S.formula -> unitPrint the contents of the given atomic formulas. WARNING: this function should take care to escape and/or not output special reserved characters for the dot format (such as quotes and so on).
val hyp_info :
hyp ->
string * string option * (Format.formatter -> unit -> unit) listval lemma_info :
S.lemma ->
string * string option * (Format.formatter -> unit -> unit) listval assumption_info :
assumption ->
string * string option * (Format.formatter -> unit -> unit) listGenerate some information about the leafs of the proof tree. Currently this backend print each lemma/assumption/hypothesis as a single leaf of the proof tree. These function should return a triplet (rule, color, l), such that:
rule is a name for the proof (arbitrary, does not need to be unique, but should rather be descriptive)color is a color name (optional) understood by DOTl is a list of printers that will be called to print some additional information