class documentation
class ProverCommand(TheoremToolCommand): (source)
Known subclasses: nltk.inference.api.BaseProverCommand
, nltk.inference.api.ProverCommandDecorator
This class holds a Prover, a goal, and a list of assumptions. When prove() is called, the Prover is executed with the goal and assumptions.
Method | get |
Return the prover object :return: Prover |
Method | proof |
Return the proof string :param simplify: bool simplify the proof? :return: str |
Method | prove |
Perform the actual proof. |
Inherited from TheoremToolCommand
:
Method | add |
Add new assumptions to the assumption list. |
Method | assumptions |
List the current assumptions. |
Method | goal |
Return the goal |
Method | print |
Print the list of the current assumptions. |
Method | retract |
Retract assumptions from the assumption list. |