|
Connect++ 0.1
A fast, readable connection prover for first-order logic.
|
Class for rendering a proof in various formats. More...
#include <ProofPrinter.hpp>
Public Member Functions | |
| ProofPrinter () | |
| Basic constructor. | |
| ProofPrinter (vector< StackItem > *_p) | |
| The constructor yuo want. | |
| void | set_proof (vector< StackItem > *_p) |
| Basic set method. | |
| void | clear () |
| Basic set method. | |
| void | make_LaTeX (const path &, const path &, const string &) |
| Convert to LaTeX and store in the specified file. | |
| void | make_Prolog (const path &) |
| Convert to a form suitable for use by the Prolog proof checker and write to a file. | |
Class for rendering a proof in various formats.
A proof is supplied as a stack of StackItem produced by StackProver.
At present, this class will render a proof as LaTeX, or in a Prolog-readable certificate format that can be passed through the Connect++ certificate checker.
It will be extended later if a standard format for connection calculus proof certificates is agreed – this discussion is ongoing.
|
inline |
The constructor yuo want.
| _p | Pointer to the output of StackProver. |
| void ProofPrinter::make_LaTeX | ( | const path & | path_to_file, |
| const path & | path_to_input_file, | ||
| const string & | matrix_as_latex | ||
| ) |
Convert to LaTeX and store in the specified file.
| path_to_file | Path of file to store to |
| path_to_input_file | File for the problem being solved |
| matrix_as_latex | LaTeX formatted matrix |
| void ProofPrinter::make_Prolog | ( | const path & | path_to_file | ) |
Convert to a form suitable for use by the Prolog proof checker and write to a file.
| path_to_file | Path for output file |
|
inline |
Basic set method.
| _p | Pointer to the output of StackProver. |