A well-order code represents a pair with and such that is a strict well-order of . Its rank is the unique countable ordinal isomorphic to . Allowing a subset is essential: codes zero, a finite codes a finite ordinal, and infinite subsets code infinite countable ordinals.
Both the domain and relation can be recorded by bits in a real number, using a fixed enumeration of pairs of natural numbers. Different well-order codes can represent the same ordinal; changing the labels of the elements changes the code while preserving its order type.
New to topics? Read the docs here!