Definitions

# Subshift of finite type

In mathematics, subshifts of finite type are used to model dynamical systems, and in particular are the objects of study in symbolic dynamics and ergodic theory. They also describe the set of all possible sequences executed by a finite state machine. The most widely studied shift spaces are the subshifts of finite type.

## Definition

Let $V$ be a finite set of $n$ symbols (alphabet), and let A be a $ntimes n$ adjacency matrix with entries in {0,1}. Using these elements we construct a directed graph G=(V,E) with V the set of vertices the set of edges E defined with A. Let X be the set of all infinite admissible sequences of edges, where by admissible it is meant that that the sequence is a walk of the graph. Let T be the shift operator on this sequence; it plays the role of the time-evolution operator of the dynamical system. The subshift of finite type is then defined as the pair (X, T). If the sequence extends to infinity in only one direction, it is called a one-sided subshift of finite type, and if it is bilateral, it is called a two-sided subshift of finite type.

Formally, one may define the sequence of edges as

$Sigma_\left\{A\right\}^\left\{+\right\} = left\left\{ \left(x_0,x_1,ldots\right):$
x_j in V, A_{x_{j}x_{j+1}}=1, jinmathbb{N} right}.

This is the space of all sequences of symbols such that the symbol p can be followed by the symbol q only if the (p,q)th entry of the matrix A is 1. The space of all bi-infinite sequences is defined analogously:

$Sigma_\left\{A\right\} = left\left\{ \left(ldots, x_\left\{-1\right\},x_0,x_1,ldots\right):$
x_j in V, A_{x_{j}x_{j+1}}=1, jinmathbb{Z} right}.

The shift operator T maps a sequence in the one- or two-sided shift to another by shifting all symbols to the left, i.e.

$\left(T\left(x\right)\right)_\left\{j\right\}=x_\left\{j+1\right\}.$

Clearly this map is only invertible in the case of the two-sided shift.

A subshift of finite type is called transitive if there is a sequence of edges from any one vertex to any other vertex. It is precisely transitive subshifts of finite type which correspond to dynamical systems with orbits that are dense.

An important special case is the full n-shift: it has a graph with an edge that connects every vertex to every other vertex; that is, all of the entries of the adjacency matrix are 1. The full n-shift corresponds to the Bernoulli scheme without the measure.

## Terminology

By convention, the term shift is understood to refer to the full n-shift. A subshift is then any subspace of the full shift that is shift-invariant (that is, a subspace that is invariant under the action of the shift operator), non-empty, and closed for the product topology defined below. Some subshifts can be characterized by a transition matrix, as above; such subshifts are then called subshifts of finite type. Often, this distinction is relaxed, and subshifts of finite type are called simply shifts of finite type. Subshifts of finite type are also sometimes called topological Markov shifts.

## Generalizations

A sofic system is a subshift of finite type where different edges of the transition graph may correspond to the same symbol.

A renewal system is defined to be the set of all infinite concatenations of a finite set of finite words.

Subshifts of finite type are identical to free (non-interacting) one-dimensional Potts models (n-letter generalizations of Ising models), with certain nearest-neighbor configurations excluded. Interacting Ising models are defined as subshifts together with a continuous function of the configuration space (continuous with respect to the topology defined in this article); the partition function and Hamiltonian are explicitly expressible in terms of this function.

Subshifts may be quantized in a certain way, leading to the idea of the quantum finite automata.

## Topology

The subshift of finite type has a natural topology, derived from the product topology on $V^mathbb\left\{Z\right\}$, where

$V^mathbb\left\{Z\right\}= Pi_\left\{n in mathbb\left\{Z\right\}\right\} V = \left\{ x=\left(ldots,x_\left\{-1\right\},x_0,x_1,ldots\right) :$
x_k in V ; forall k in mathbb{Z} }

The basis for the topology of the shift of finite type are the cylinder sets

$C_t\left[a_0, ldots, a_s\right]= \left\{x in V^mathbb\left\{Z\right\} :$
x_t = a_0, ldots ,x_{t+s} = a_s }

The cylinder sets are clopen sets. Every open set in the subshift of finite type is a countable union of cylinder sets. In particular, the shift T is a homeomorphism; that is, it is continuous with respect to this topology.

## Metric

A variety of different metrics can be defined on a shift space. One can define a metric on a shift space by considering two points to be "close" if they have many initial symbols in common; this is the p-adic metric. In fact, both the one- and two-sided shift spaces are compact metric spaces.

## Measure

A subshift of finite type may be endowed with any one of several different measures, thus leading to a measure-preserving dynamical system. A common object of study is the Markov measure, which is an extension of a Markov chain to the topology of the shift.

A Markov chain is a pair (P,π) consisting of the transition matrix, an $n times n$ matrix $P=\left(p_\left\{ij\right\}\right)$ for which all $p_\left\{ij\right\} ge 0$ and

$sum_\left\{j=1\right\}^np_\left\{ij\right\}=1$

for all i. The stationary probability vector $pi=\left(pi_i\right)$ has all $pi_\left\{ij\right\} ge 0$ and has

$sum_\left\{i=1\right\}^n pi_i p_\left\{ij\right\}= pi_j$.

A Markov chain, as defined above, is said to be compatible with the shift of finite type if $p_\left\{ij\right\} = 0$ whenever $A_\left\{ij\right\} = 0$. The Markov measure of a cylinder set may then be defined by

$mu\left(C_t\left[a_0,ldots,a_s\right]\right) = pi_\left\{a_0\right\} p_\left\{a_0,a_1\right\} cdots p_\left\{a_\left\{s-1\right\}, a_s\right\}$

The Kolmogorov-Sinai entropy with relation to the Markov measure is

$s_mu = -sum_\left\{i=1\right\}^n pi_i sum_\left\{j=1\right\}^n p_\left\{ij\right\} log p_\left\{ij\right\}$