class documentation

This class holds a ModelBuilder, a goal, and a list of assumptions. When build_model() is called, the ModelBuilder is executed with the goal and assumptions.

Method build_model Perform the actual model building. :return: A model if one is generated; None otherwise. :rtype: sem.Valuation
Method get_model_builder Return the model builder object :return: ModelBuilder
Method model Return a string representation of the model

Inherited from TheoremToolCommand:

Method add_assumptions Add new assumptions to the assumption list.
Method assumptions List the current assumptions.
Method goal Return the goal
Method print_assumptions Print the list of the current assumptions.
Method retract_assumptions Retract assumptions from the assumption list.
@abstractmethod
def build_model(self, verbose=False): (source)

Perform the actual model building. :return: A model if one is generated; None otherwise. :rtype: sem.Valuation

@abstractmethod
def get_model_builder(self): (source)

Return the model builder object :return: ModelBuilder

@abstractmethod
def model(self, format=None): (source)

Return a string representation of the model

Parameters
formatUndocumented
simplifybool simplify the proof?
Returns
str