Can anyone help me with my proof, please? I only got half points, but my professor won't tell me what I am doing wrong. My proof is:
Let $z$ $\in \mathbb{Z}$. If $S$ is a nonempty set of integers that are all greater than or equal to $z$, then $S$ has a least element.
And this is what I have:
First note that $S$ is the nonempty set of integers greater than or equal to $z$. We will create and use the alternative set $Q$, where $Q=\{x\in \mathbb{Z}\mid x=g+(-z), g\in S\}$ for some integer $g$. $Q$ is in the set of whole numbers because all elements of $S$ are greater than $z$ and $g$ is in $S$, so our lowest possible result from this is zero, therefore $Q$ is in the set of whole numbers and know it has a least element because of the least ordering principle and the set of whole numbers non-empty and positive. Since we added -$z$ to $S$ to get to the set of whole numbers, we must add $z$ to get back to the set of integers. Since $g+(-z)$ was the least element in the set $Q$ and we added $z$ to get back to the set $S$, we suspect that $k+z$ is the least element in $S$ for some integer $k \in S$. We must now prove $k+z \in S$, and we will do this by using proof by contradiction. That is, we will assume $k+z$ is less than some integer $r$ in $S$ and show that $k+z$ is not less than or equal to $r$. We begin with $r>k+z$. We begin by subtracting $z$ from both sides to get $r-z>k$. Since both $k$ and $r$ are in $S$, they are greater than or equal to $z$, so $r-z$ would be less than $k$ and we have come to a contradiction of our assumption that $k+z$ is less than some integer $r$ in $S$ which proves $k+z$ is the least element in $S$ and completes the proof.
You never picked what the least element was. Let's say you meant for $k$ to be the least element. What you then want to prove is not that $k+z\in S$, which is obvious, but rather that $k+z$ is the least element of $S$. You seem to have attempted to do that, but never succeeded.
I'm not sure exactly what you're trying to say with "We will assume $k+z$ is less than some integer $r$ in $S$ and show that $k+z$ is not less than or equal to $r$." But you want $k+z$ to be less than or equal to $r$. Perhaps you meant that $k+z$ is less than $r$, but this need not be true as we could take $r=k+z$. Reading before that, you assume that $k+z$ is less than $r$ from the outset, which is what you actually want to show.
The way to complete it would be to prove that if $r\in S$, then $k+z\leq r$. To do this, we note that $k\leq r-z$ because $r-z\in Q$ and $k$ is the least element of $Q$, hence $k+z\leq r=(r-z)+z$.