class documentation
Undocumented
| Method | __init__ |
Undocumented |
| Method | prover9 |
No summary |
| Method | _call |
Call the prooftrans binary with the given input. |
| Method | _call |
Call the prover9 binary with the given input. |
| Method | _prove |
Use Prover9 to prove a theorem. :return: A pair whose first element is a boolean indicating if the proof was successful (i.e. returns value of 0) and whose second element is the output of the prover. |
| Instance Variable | _prooftrans |
Undocumented |
| Instance Variable | _prover9 |
Undocumented |
| Instance Variable | _timeout |
The timeout value for prover9. If a proof can not be found in this amount of time, then prover9 will return false. (Use 0 for no timeout.) |
Inherited from Prover9Parent:
| Method | binary |
A list of directories that should be searched for the prover9 executables. This list is used by config_prover9 when searching for the prover9 executables. |
| Method | config |
Undocumented |
| Method | _call |
Call the binary with the given input. |
| Method | _find |
Undocumented |
| Instance Variable | _binary |
Undocumented |
Inherited from Prover (via Prover9Parent):
| Method | prove |
No summary |
Call the prooftrans binary with the given input.
| Parameters | |
| input | A string whose contents are used as stdin. |
| args | A list of command-line arguments. |
| verbose | Undocumented |
| Returns | |
| A tuple (stdout, returncode) | |
| See Also | |
| config_prover9 | |
Call the prover9 binary with the given input.
| Parameters | |
| input | A string whose contents are used as stdin. |
| args | A list of command-line arguments. |
| verbose | Undocumented |
| Returns | |
| A tuple (stdout, returncode) | |
| See Also | |
| config_prover9 | |
overrides
nltk.inference.api.Prover._proveUse Prover9 to prove a theorem. :return: A pair whose first element is a boolean indicating if the proof was successful (i.e. returns value of 0) and whose second element is the output of the prover.