Struct mm0b_parser::ThmBuilder [−][src]
pub struct ThmBuilder<'a, W>(_, _);
Expand description
An unfinished axiom or theorem. The unify
and proof
streams should be used to write unify
and proof commands, respectively, and when completed the finish
function will finalize the
streams and return the ThmId
of the new theorem.
Implementations
A reference to the unify stream for this theorem. Use UnifyCmd::write_to
to add
commands to this stream. Do not add an END
command at the end; [finish
] will handle that.
A reference to the proof stream for this theorem. Use ProofCmd::write_to
to add
commands to this stream. Do not add an END
command at the end; [finish
] will handle that.