25#ifndef PROOFPRINTER_HPP
26#define PROOFPRINTER_HPP
32#include "StackItem.hpp"
34using std::filesystem::path;
36using ProofLine = pair<string, vector<size_t>>;
37using ProofType = vector<ProofLine>;
45void show_internal_proof(
const ProofType&);
116 void make_LaTeX(
const path&,
const path&,
const string&);
Class for rendering a proof in various formats.
vector< StackItem > * p
Pointer to the output of StackProver.
string make_LaTeX_state(StackItem *) const
Helper for producing LaTeX output.
void make_Prolog(const path &)
Convert to a form suitable for use by the Prolog proof checker and write to a file.
string make_LaTeX_subtree(StackItem *) const
Helper for producing LaTeX output.
ProofPrinter(vector< StackItem > *_p)
The constructor you want.
void set_proof(vector< StackItem > *_p)
Basic set method.
void show_tptp()
Show the proof in a TPTP-friendly format.
void make_LaTeX(const path &, const path &, const string &)
Convert to LaTeX and store in the specified file.
ProofPrinter()
Basic constructor.
void show_Prolog()
Show the proof in Prolog format.
vector< pair< string, vector< size_t > > > make_internal() const
Make a simple data structure representing the proof stack.
void clear()
Basic set method.
Stack items: each contains its own material for generating possible next inferences.