If the Node provided by XMLNodeParser is a <proof> element, a pair of (1) the name of the proof and (2) an LKProof object corresponding to the Node is returned.
If the Node provided by XMLNodeParser is a <proof> element, a pair of (1) the name of the proof and (2) an LKProof object corresponding to the Node is returned.
A pair of name and LKProof corresponding to the Node provided by getInput().
ParsingException
If the Node provided by getInput() is not a <proof>,
<rule> or <prooflink> Node.
getProof()
If n is a <proof>, <rule> or <prooflink> Node, an LKProof object corresponding to the Node is returned.
If n is a <proof>, <rule> or <prooflink> Node, an LKProof object corresponding to the Node is returned. Note that the LK proofs in gapt differ from the LK proofs in the XML format: the XML format sees sequents in proofs as pairs of lists of formulas, while gapt sees sequents in proofs as pairs of sets of formula occurrences. The parser converts the XML proofs in such a way that the ancestor relation is preserved.
TODO: prooflink parsing is not supported yet!
A <proof>, <rule>, or <prooflink> Node.
An LKProof object corresponding to n.
ParsingException
If n is not a <proof>, <rule> or <prooflink>
Node.
If the Node provided by XMLNodeParser is a <proof>, <rule> or <prooflink> element, an LKProof object corresponding to the Node is returned.
If the Node provided by XMLNodeParser is a <proof>, <rule> or <prooflink> element, an LKProof object corresponding to the Node is returned. Note that the LK proofs in gapt differ from the LK proofs in the XML format: the XML format sees sequents in proofs as pairs of lists of formulas, while gapt sees sequents in proofs as pairs of sets of formula occurrences. The parser converts the XML proofs in such a way that the ancestor relation is preserved.
TODO: prooflink parsing is not supported yet!
An LKProof object corresponding to the Node provided by getInput().
ParsingException
If the Node provided by getInput() is not a <proof>,
<rule> or <prooflink> Node.
This trait parses XML elements <proof>, <rule> and <prooflink> into the respective objects.
TODO: prooflink parsing is not supported yet!