class documentation
class Prover9Command(Prover9CommandParent, BaseProverCommand): (source)
Constructor: Prover9Command(goal, assumptions, timeout, prover)
A ProverCommand specific to the Prover9 prover. It contains the a print_assumptions() method that is used to print the list of assumptions in multiple formats.
Method | __init__ |
No summary |
Method | decorate |
:see BaseProverCommand.decorate_proof() |
Inherited from Prover9CommandParent
:
Method | print |
Print the list of the current assumptions. |
Inherited from BaseProverCommand
(via Prover9CommandParent
):
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. Store the result to prevent unnecessary re-proving. |
Instance Variable | _proof |
Undocumented |
Instance Variable | _prover |
The theorem tool to execute with the assumptions |
Instance Variable | _result |
A holder for the result, to prevent unnecessary re-proving |
Inherited from BaseTheoremToolCommand
(via Prover9CommandParent
, BaseProverCommand
):
Method | add |
Add new assumptions to the assumption list. |
Method | assumptions |
List the current assumptions. |
Method | goal |
Return the goal |
Method | retract |
Retract assumptions from the assumption list. |
Instance Variable | _assumptions |
Undocumented |
Instance Variable | _goal |
Undocumented |
Parameters | |
goal:sem.Expression | Input expression to prove |
assumptions:list(sem.Expression) | Input expressions to use as assumptions in the proof. |
timeout:int | number of seconds before timeout; set to 0 for no timeout. |
prover:Prover9 | a prover. If not set, one will be created. |