In the main matter of this book, let us switch to the customary plural personal pronoun. Throughout the book, we use the following general notations:

  • images is the set of natural numbers without zero, images is the set of integers, images is the set of rational numbers, and images is the set of real numbers.

  • A set is called countable if its elements can be mapped one‐to‐one to a subset of natural numbers. Sets images , images , and images are countable but images is not.

  • For a countable set images , called an alphabet, images is the set of sequences of length images and images , called the Kleene plus, is the set of nonempty finite sequences. Symbol images denotes the empty sequence, whereas images . Then, images , called the Kleene star, is the set of all finite sequences, also called strings, images is the set of one‐sided infinite sequences, and images is the set of two‐sided infinite sequences.

  • Relation images will be pronounced as images is greater than images and images is less than images . Relation images will be pronounced as images is strictly greater than images and images is strictly less than images . Relations images or images will be pronounced as images is positive or images is negative , respectively. Relations images or images will be pronounced as images is strictly positive or images is strictly negative , respectively. Similar conventions concerning the use of adverb strictly will concern notions such as more , fewer , smaller , larger , growing/increasing , decreasing , convex , and concave , which are formally defined using inequalities.

  • Relation images is the inclusion of sets, whereas images is the proper inclusion of sets (i.e. images and images ). Similarly, we write images when string images is a substring of sequence images (i.e. images for some possibly empty strings images and images ), whereas we write images when string images is a proper substring of sequence images (i.e. images and images ).

  • Symbols images , images , and images denote the union, the intersection, and the difference of sets images and images , respectively.

  • We denote the length images of a string images .

  • The same symbol for a real number denotes the absolute value,

    equation

  • Cardinality of set images is denoted as images .

  • We denote the floor and the ceiling functions as

    equation

  • The greater and the smaller of two numbers will be written as

    equation

  • Symbol images denotes the binary logarithm of images , i.e.

    equation

    whereas images denotes the natural logarithm of images , i.e.

    equation

  • For a proposition images we will write the indicator function

    equation