def predicate_info(logic, start, equals_ind):
	"""Returns information about predicate logic from string form"""
	var = logic[0:equals_ind]
	operator = "="
	if var[-1]=="<" or var[-1]==">":
		operator = var[-1] + operator
		var = var[:-1]
	return var, operator