Totally ordering the power set of a well ordered set.

Solution 1:

If $\lt$ is a well-ordering of $S$, then we may define the lexical ordering on the power set $P(S)$, by which $A\lt_{lex} B$, if and only if the $\lt$-least element of the symmetric difference $A\triangle B$ is in $B$ and not in $A$. That is, we look to the first place where the sets differ, and then put the set without this element before the set with this element. This is just like the order in a dictionary, hence the name, since two words in a dictionary are put in order by comparing the first letter on which they differ.

To see that this is a total order, we check first that it is transitive. If $A\lt_{lex}B\lt_{lex} C$, then the first difference between $A$ and $C$ must be in $C$, since either this occurs before the first difference between $A$ and $B$, in which case it is in $C$ and not in $B$ and hence in $C$ and not in $A$, or else it occurs at or after the first difference between $A$ and $B$, in which case it occurs exactly at this difference, which is in $C$ and not in $A$. The order it linear since any two sets do indeed have a least difference, since $\lt$ is a well-order.