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:
-
is the set of natural numbers without zero,
is the set of integers,
is the set of rational numbers, and
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
,
, and
are countable but
is not. -
For a countable set
, called an alphabet,
is the set of sequences of length
and
, called the Kleene plus, is the set of nonempty finite sequences. Symbol
denotes the empty sequence, whereas
. Then,
, called the Kleene star, is the set of all finite sequences, also called strings,
is the set of one‐sided infinite sequences, and
is the set of two‐sided infinite sequences. -
Relation
will be pronounced as
is greater than
and
is less than
. Relation
will be pronounced as
is strictly greater than
and
is strictly less than
. Relations
or
will be pronounced as
is positive or
is negative , respectively. Relations
or
will be pronounced as
is strictly positive or
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
is the inclusion of sets, whereas
is the proper inclusion of sets (i.e.
and
). Similarly, we write
when string
is a substring of sequence
(i.e.
for some possibly empty strings
and
), whereas we write
when string
is a proper substring of sequence
(i.e.
and
). -
Symbols
,
, and
denote the union, the intersection, and the difference of sets
and
, respectively. -
We denote the length
of a string
. -
The same symbol for a real number denotes the absolute value,
-
Cardinality of set
is denoted as
. -
We denote the floor and the ceiling functions as
-
The greater and the smaller of two numbers will be written as
-
Symbol
denotes the binary logarithm of
, i.e.
whereas
denotes the natural logarithm of
, i.e.
-
For a proposition
we will write the indicator function