defining inequalities of hexagram