I am working on proving a characterization of irreducibility of $\mathrm{spec}(A)$, where $A$ is commutative unital ring.
My text defined $X_f$ for some $f \in A$ to be the complement of $V(f)$ which is the set of prime ideals in the spec containing $f$. Further, we showed that the $X_f$ form a basis for the open sets. I have no topology background, but I assume this mean any open set in my space can be written as a union of the $X_f$?
Just to be fully clear the definition of irreducible we take is that any two non empty open sets in the spec have a non empty intersection.
Now I didn't have any trouble proving the characterization, but my proof didn't use arbitrary open sets, I just used open sets from the basis. I am led to believe this is sufficient but I would like to prove it. That is, I would like to prove something of the form
Let $X$ be a nonempty topological space. Let $B$ be a basis of open sets. Then if $b_1, b_2 \in B$ such that $b_1,b_2 \neq \emptyset$ implies that $b_1 \cap b_2 \neq \emptyset$ then for all $O_1, O_2$ arbitrary non empty open sets in $X$, $O_1 \cap O_2 \neq \emptyset$.
Any help appreciated.