#NEWLINE# def prover9_input( self , goal , assumptions ) : #NEWLINE# #INDENT# '\n        :return: The input string that should be provided to the\n        prover9 binary.  This string is formed based on the goal,\n        assumptions, and timeout value of this object.\n        ' #NEWLINE# s = '' #NEWLINE# if assumptions : #NEWLINE# #INDENT# s += 'formulas(assumptions).\n' #NEWLINE# for p9_assumption in convert_to_prover9 ( assumptions ) : #NEWLINE# #INDENT# s += ( '    %s.\n' % p9_assumption ) #NEWLINE# #UNINDENT# s += 'end_of_list.\n\n' #NEWLINE# #UNINDENT# if goal : #NEWLINE# #INDENT# s += 'formulas(goals).\n' #NEWLINE# s += ( '    %s.\n' % convert_to_prover9 ( goal ) ) #NEWLINE# s += 'end_of_list.\n\n' #NEWLINE# #UNINDENT# return s