Functor Dot.Default

module Default: 
functor (S : Res.S) -> Arg with type atom := S.atom and type hyp := S.clause and type lemma := S.clause and type assumption := S.clause

Provides a reasonnable default to instantiate the Make functor, assuming the original printing functions are compatible with DOT html labels.

Parameters:
S : Res.S

Term printing for DOT

This module defines what functions are required in order to export a proof to the DOT format.

type atom 

The type of atomic formuals

type hyp 
type lemma 
type assumption 

The type of theory-specifi proofs (also called lemmas).

val print_atom : Format.formatter -> atom -> unit

Print 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) list
val lemma_info : lemma ->
string * string option * (Format.formatter -> unit -> unit) list
val assumption_info : assumption ->
string * string option * (Format.formatter -> unit -> unit) list

Generate 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: