A chain-complete partially ordered set has a supremum for each chain (and a least element if the empty chain is included). The weaker condition needed for Zorn lemma is that every chain have an upper bound; some terminology also calls this chain-complete. Zorn's lemma says that a nonempty partially ordered set with this upper-bound property has a maximal element. We verify that exact hypothesis below.
Consider the lattice ideals containing but not , ordered by inclusion. The principal ideal belongs to this family because . The union of a nonempty chain of such ideals is an ideal: two of its elements lie together in one member of the chain, which contains their join and everything below it. The union still avoids . The empty chain has the initial principal ideal as an upper bound. Zorn supplies a maximal such ideal .
We prove that is a prime lattice ideal. If , maximality says that the ideals generated by adjoining and by adjoining both contain . Thus and for some : the first generated ideal consists of elements below , and similarly for . If , distributivity gives
a contradiction. Consequently implies or .
Define on and one elsewhere. An ideal contains exactly when it contains both and , and its primeness says that it contains exactly when it contains at least one of them. Thus preserves both joins and meets, and as required.
For completeness, take the Lindenbaum algebra of classical propositional formulae modulo provable equivalence, including any given premises as axioms. It is a Boolean, hence distributive, lattice; provable implication is its order. If a formula is not provable from the premises, then . The separation just proved, with , gives a homomorphism of lattices sending to zero and one to one. It also sends zero to zero, since , and preserves complements because their meet is zero and join is one. Its values on atomic propositions form a Boolean valuation satisfying all premises and falsifying . Thus semantic consequence implies provability, the completeness theorem for propositional logic.