## Relation on equivalence classes of other relation

Hello,

Here's a relation $\displaystyle \sim$ defined on set $\displaystyle \mathbb{R}$:
$\displaystyle x \sim y \Leftrightarrow$\lfloor x \rfloor = $\lfloor y \rfloor$

So the number of equivalence classes is the same as the number of integers, am I right? Because that's how many differet "floors" we have. Here I have another relation $\displaystyle R$ defined on the set of these classes, meaning $\displaystyle R \subseteq \mathbb{R}/\sim \times \mathbb{R}/\sim$

$\displaystyle \left[ x \right] _{\sim} R \left[ y \right] _{\sim} \Leftrightarrow x \sim y \vee x < y$

And a few questions to answer.

I. Prove that the definition of the relation is correct.
This means I have to prove that no matter which member of the equivalence class I choose, the relation between equivalence classes will stand, meaning that for $\displaystyle x,y \in \mathbb{R}$ if $\displaystyle \left[ x \right] _{\sim} R \left[ y \right] _{\sim}$ then for any $\displaystyle x_{1} \in \left[ x \right] _{\sim} ,y_{1} \in \left[ y \right] _{\sim} \mathbb{R}$ are too in relation $\displaystyle \left[ x_{1} \right] _{\sim} R \left[ y_{1} \right] _{\sim}$.
We know that $\displaystyle$\lfloor x_{1} \rfloor=$\lfloor x \rfloor$ and $\displaystyle$\lfloor y_{1} \rfloor=$\lfloor y \rfloor$. So there's two cases to analyze, when two equivalence classes are related by the first part of the logical disjunction, then $\displaystyle$\lfloor x_{1} \rfloor=$\lfloor x \rfloor=$\lfloor y\rfloor=$\lfloor y_{1} \rfloor$, so the definiton is correct. For the second part of the logical disjunction we start by stating that $\displaystyle x<$\lfloor y \rfloor$, because otherwise$\displaystyle x$would be in the equivalence class of$\displaystyle y$and fulfill the first part of the disjunction, any by extensions,$\displaystyle x_{1}<$\lfloor y_{1} \rfloor$ whic means $\displaystyle x_{1} < y_{1}$, so the definition is correct in this case also.

II. Prove that this relation is a linear order, meaning that for any two equivalence classes either $\displaystyle [x]_{\sim} R [y]_{\sim}$ or $\displaystyle [y]_{\sim} R [x]_{\sim}$. It suffices to say that if two numbers have the same floor then their equivalence classes are in relation, if not than one must be larger than the other so it would still fulfill the definition.

III. Show, that $\displaystyle \left\langle \mathbb{R}/\sim,R \right\rangle$ is isomorphic with $\displaystyle \left\langle \mathbb{Z},\leq \right\rangle$, which is an order of integers by normal greater-equal relation. Well the bijection $\displaystyle f:\mathbb{R}/\sim \to \mathbb{Z}$ in this case to a equivalence class $\displaystyle \left[ x \right] _{\sim}$ assigns an integer $\displaystyle$\lfloor x \rfloor\$.

Is this right?