class documentation

This class holds a goal and a list of assumptions to be used in proving or model building.

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 add_assumptions(self, new_assumptions): (source)

Add new assumptions to the assumption list.

Parameters
new_assumptions:list(sem.Expression)new assumptions
@abstractmethod
def print_assumptions(self): (source)

Print the list of the current assumptions.

@abstractmethod
def retract_assumptions(self, retracted, debug=False): (source)

Retract assumptions from the assumption list.

assumptions list. :type debug: bool :param retracted: assumptions to be retracted :type retracted: list(sem.Expression)

Parameters
retractedUndocumented
debugIf True, give warning when retracted is not present on