I am working on Ex.1.25 of Atiyah's "Commutative Algebra", which asks to deduce Stone's Theorem: every Boolean lattice is isomorphic to the lattice of open-and-closed subsets of some compact Hausdorff topological space.
By the previous exercises, I can prove that any Boolean lattice is isomorphic to the lattice associated with a Boolean ring, and it suffices to prove that for a Boolean ring $A$, its associated Boolean lattice, $L$, is isomorphic to the lattice of clopen subsets of $\mathrm{Spec}(A)$, since $\mathrm{Spec}(A)$ is compact Hausdorff. Then I considered a map sending $a\in L$ to $X_{a}$, where $X_a := \mathrm{Spec}(A)-V(a)=V(1-a)$. But I cannot prove this map is injective. Any idea is welcome!