I'm trying to answer a textbook question from page 188 of How To Prove It, second edition by Daniel J. Velleman, but I can't figure it out.
- Consider the following putative theorem.
Theorem? Suppose $R$ is a relation on $A$, and define a relation $S$ on $\mathscr{P}(A)$ as follows:
$$ S = \lbrace (X,Y) \in \mathscr{P}(A) \times \mathscr{P}(A) : \exists x \in X \, \exists y \in Y (xRy) \rbrace$$
If $R$ is transitive, then so is $S$.
- a) What's wrong with the proof for this theorem?
Proof: Suppose $R$ is transitive. Suppose $(X,Y) \in S$ and $(Y,Z) \in S$. Then by definition of $S$, $xRy$ and $yRz$, where $x \in X$, $y \in Y$, and $z \in Z$. Since $xRy$, $yRz$, and $R$ is transitive, $xRz$. But then since $x \in X$ and $z \in Z$, it follows from the definition of $S$ that $(X,Z) \in S$. Thus, $S$ is transitive. Q.E.D.
- b) Is the theorem correct? Justify your answer with either a proof or a counterexample.
Any ideas?
a) From the definition of $S$, we can only conclude $xRy_1$ and $y_2Rz$, where $x \in X, y_1, y_2 \in Y, z \in Z$. Note that we do not neccessarily have $y_1=y_2$, so we are unable to conclude that $xRz$.
b) False. Counterexample: Consider $\mathbb{N}$ with $xRy \iff x \equiv y \pmod{2}$. Let $X=\{1\},Y=\{2,3\}, Z=\{4\}$. As $1R3$ and $2R4$, $(X,Y),(Y,Z) \in S$. Clearly we also have $(X,Z) \notin S$ as $1R4$ does not hold.