Definition:A space $X$ is connected if and only if $X$ is not the union of two disjoint non-empty open sets.
Prove $X$ is connected if and only if, for every pair of points $p$ and $q$ and every open cover $\{U_\alpha\}_{\alpha \in \lambda}$ of $X$ there exist a finite number of $U_{\alpha}$'s ,$\{U_{\alpha_1},...,U_{\alpha_n}\}$ such that $p \in U_{\alpha_1},q \in U_{\alpha_n}$ and for each $i<n$,$U_{\alpha_i} \cap U_{\alpha_{i+1}}\neq \varnothing$.
I was attempting this and trying to negate the second part of the statement in order to prove the contrapositive in both directions.The negation I came up with is the following:
There exist points $p$ and $q$ and an open over $\{U_\alpha\}$ of $X$ such that for all finite subcollections $\{U_{\alpha_1},...,U_{\alpha_n}\}$ such that $p \in U_{\alpha_1},q \in U_{\alpha_n}$, there is an $i <n$ with $U_{\alpha_i} \cap U_{\alpha_{i+1}}=\varnothing$.
Now I will try to attempt the proof by proving $X$ is not connected $\iff$ the statement directly above this sentence.
Suppose $X$ is not connected. Let $U,V$ constitute a pair of disjoint nonempty open sets whose union is $X$. Then $U \cup V=X$ so that $\{U,V\}$ is an open cover of $X$.
For the subcollection $\{U,V\}$ of $\{U,V\}$, choose any point $p \in U$ and $q \in V$. Set $U=U_{\alpha_1}$ and $V=U_{\alpha_2}$. Then for $i=1<2$, $U_{\alpha_1} \cap U_{\alpha_2}=\varnothing$.
For any other subcollection of $\{U,V\}$, the conditions of the conclusion of the statement are automatically satisfied.
Now suppose that the conditions in the fourth paragraph are satisfied. Let $p,q$ be such points and $\{U_\alpha\}$ be such an open cover. Need to show $X$ is not connected.
I am now having trouble with this part of the proof. Any suggestions? Also was my try at the first part of the proof correct?