Global Information Lookup Global Information

Shortlex order information


In mathematics, and particularly in the theory of formal languages, shortlex is a total ordering for finite sequences of objects that can themselves be totally ordered. In the shortlex ordering, sequences are primarily sorted by cardinality (length) with the shortest sequences first, and sequences of the same length are sorted into lexicographical order.[1] Shortlex ordering is also called radix, length-lexicographic, military, or genealogical ordering.[2]

In the context of strings on a totally ordered alphabet, the shortlex order is identical to the lexicographical order, except that shorter strings precede longer strings. For example, the shortlex order of the set of strings on the English alphabet (in its usual order) is [ε, a, b, c, ..., z, aa, ab, ac, ..., zz, aaa, aab, aac, ..., zzz, ...], where ε denotes the empty string.

The strings in this ordering over a fixed finite alphabet can be placed into one-to-one order-preserving correspondence with the natural numbers, giving the bijective numeration system for representing numbers.[3] The shortlex ordering is also important in the theory of automatic groups.[4]

  1. ^ Sipser, Michael (2012). Introduction to the Theory of Computation (3 ed.). Boston, MA: Cengage Learning. p. 14. ISBN 978-1133187790.
  2. ^ Bárány, Vince (2008), "A hierarchy of automatic ω-words having a decidable MSO theory", RAIRO Theoretical Informatics and Applications, 42 (3): 417–450, doi:10.1051/ita:2008008, MR 2434027.
  3. ^ Smullyan, R. (1961), "9. Lexicographical ordering; n-adic representation of integers", Theory of Formal Systems, Annals of Mathematics Studies, vol. 47, Princeton University Press, pp. 34–36.
  4. ^ Epstein, David B. A.; Cannon, James W.; Holt, Derek F.; Levy, Silvio V. F.; Paterson, Michael S.; Thurston, William P. (1992), Word processing in groups, Boston, MA: Jones and Bartlett Publishers, p. 56, ISBN 0-86720-244-0, MR 1161694.

and 7 Related for: Shortlex order information

Request time (Page generated in 0.761 seconds.)

Shortlex order

Last Update:

languages, shortlex is a total ordering for finite sequences of objects that can themselves be totally ordered. In the shortlex ordering, sequences are...

Word Count : 296

Lexicographic order

Last Update:

sequence. This variant of the lexicographical order is sometimes called shortlex order. In lexicographical order, the word "Thomas" appears before "Thompson"...

Word Count : 3352

Senary

Last Update:

∗ / ∼ {\displaystyle {\mathcal {D}}_{6}^{*}/\sim } equipped with a shortlex order, where the equivalence class ∼ {\displaystyle \sim } is { n ∈ D 6 ∗...

Word Count : 1784

Champernowne constant

Last Update:

(in any given base) in some recursive order. For instance, the binary Champernowne sequence in shortlex order is 0 1 00 01 10 11 000 001 ... (sequence...

Word Count : 2094

Sequence

Last Update:

the n th bit of the sequence to 1 if and only if the n th string (in shortlex order) is in the language. This representation is useful in the diagonalization...

Word Count : 6156

Disjunctive sequence

Last Update:

11\ 000\ 001\ldots } formed by concatenating all binary strings in shortlex order, clearly contains all the binary strings and so is disjunctive. (The...

Word Count : 841

Bijective numeration

Last Update:

of bijective base-k numerals, in natural order of the integers represented, is automatically in shortlex order (shortest first, lexicographical within...

Word Count : 2021

PDF Search Engine © AllGlobal.net