Suppose I have a rational preference relation $\succsim$ on some consumption set $X$.
Suppose also that there is a utility function $u:X \to \mathbb{R}$ representing $\succsim$.
Definition: A function $u: X \to \mathbb{R}$ is a utility function representing preference relation $\succsim$ if, for all $x, y \in X$, $$x \succsim y \iff u(x) \geq u(y)$$
Is it possible to prove that $x \succ y \iff u(x) > u(y)$ without a continuity condition on $\succsim$?
My intuition says no, but am having difficult finding a suitable counter example. Any help is appreciated.