I have been working on this problem from Velleman's How to prove book:
Suppose A is a set, and F ⊆ P (A). Let R = {(a, b) ∈ A × A | for every X ⊆ A \ {a, b}, if X ∪ {a} ∈ F then X ∪ {b} ∈ F}. Show that R is transitive.
Now, I have been solving the proof like this:
Let $a, b, c$ be arbitrary elements of A such that $(a,b) \in R$ and $(b,c) \in R$. Suppose $F \subseteq P(A)$. Let $X$ be arbitrary set. Suppose $X \subseteq A \setminus \{a,c\}$ and $X \cup \{a\} \in F$, we have to prove that $X \cup \{c\} \in F$. From $X \subseteq A \setminus \{a,c\}$, it follows that $a,c \notin X$. We can consider two cases:
1) $b \notin X$. This is straightforward to prove.
2) $b \in X$
Now the second part confuses me. How to proceed the second part ?
Hint: Consider $Y=X\backslash{\{b\}}$.