Select Premises

As theorem proving is very computationally expensive, you may want to select premises that are beneficial to proof the given conjecture. Note that an exhaustive proof but unsuccessful attempt does not yield any information about the whole problem.

from gavel.selection.selector import Selector
selector = Selector()
small_problem = selector.select(problem)
prover.prove(small_problem)
class gavel.selection.selector.Selector[source]

Base class for gavel selectors.

select(problem: gavel.logic.problem.Problem, **kwargs) → gavel.logic.problem.Problem[source]

Takes a problem instance and returns a (smaller) problem instance :param problem: :return: