class documentation
class Prover: (source)
Known subclasses: nltk.inference.api.ParallelProverBuilder
, nltk.inference.prover9.Prover9
, nltk.inference.resolution.ResolutionProver
, nltk.inference.tableau.TableauProver
Interface for trying to prove a goal from assumptions. Both the goal and the assumptions are constrained to be formulas of logic.Expression.
overridden in
nltk.inference.api.ParallelProverBuilder
, nltk.inference.prover9.Prover9
, nltk.inference.resolution.ResolutionProver
, nltk.inference.tableau.TableauProver
Returns | |
tuple: (bool, str) | Whether the proof was successful or not, along with the proof |