fix inequalities for text output

Fix inequalities.  Make >= output the expanded version for text output
so that parsers can understand them.  Add == and != as operators.