Comment Comment by contravariant I think that's just the ordinal corresponding to lexicographic order on the words in the language, so yeah that should work. I wonder how easy it is to calculate... parent contravariant 3 years ago