Suppose we have a countable set $X$, say $X=\mathbb{N}$, and let $Q \colon X \rightarrow \{0,1\}$ be a function. Is $$\min \{x \in X \colon Q(x)=1\}$$ the same as $$ \inf \{x \in X \colon Q(x)=1\}.$$
What about $\max$ and $\sup$? And for uncountable sets it is not the same?
Thanks for your help.
This has less to do with countable vs. uncountable as with the question whether $X$ well-ordered. In a well-ordered set, every non-empty subset has a minimal element. On the other hand for example $X:=\{\,\frac1n:n\in\mathbb N\,\}$ does not have a minimal element (nor does any infinite subset of $X$) even though it is countable.