theory ListLexorder imports Main begin section‹Detour: Lexicographic ordering for lists› text‹Simplicial complexes are defined as sets of sets. To conveniently run computations on them, we convert those sets to lists via @{const sorted_list_of_set}. This requires providing an arbitrary linear order for lists. We pick a lexicographic order.› (* There's probably an easier way to get a sorted list of lists from a set of lists. Some lexicographic ordering does have to exist. No idea... *)