def test_model_found(arguments):
 for (goal, assumptions) in arguments:
  g = Expression.fromstring(goal)
  alist = [lp.parse(a) for a in assumptions]
  m = MaceCommand(g, assumptions=alist, max_models=50)
  found = m.build_model()
  for a in alist:
   print(('   %s' % a))
  print(('|- %s: %s\n' % (g, decode_result(found))))

def test_model_found ( arguments ) : for ( goal , assumptions ) in arguments : g = Expression . fromstring ( goal ) alist = [ lp . parse ( a ) for a in assumptions ] m = MaceCommand ( g , assumptions = alist , max_models = 50 ) found = m . build_model ( ) for a in alist : print ( ( '   %s' % a ) ) print ( ( '|- %s: %s\n' % ( g , decode_result ( found ) ) ) )
try some proofs and exhibit the results .