{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mathcal{A}$ be a finite set, the alphabet, with the discrete topology, and give $\\mathcal{A}^{\\Z}$ the [[product topology|0GBG8B49AA]].\nThe *shift map* $\\sigma \\colon \\mathcal{A}^{\\Z} \\to \\mathcal{A}^{\\Z}$ is $\\sigma(x)_i = x_{i+1}$ for $x = (x_i)_{i \\in \\Z}$.\nA *shift space* (or *subshift*) over $\\mathcal{A}$ is a subset $X \\subseteq \\mathcal{A}^{\\Z}$ such that:\n\n1. $X$ is closed in $\\mathcal{A}^{\\Z}$.\n2. $\\sigma(X) = X$.\n\n## Remarks\n\nThe space $\\mathcal{A}^{\\Z}$ is [[compact|0TVJZYB6SH]], with the metric $d(x, y) = 2^{-\\min\\set{\\abs{i} : x_i \\neq y_i}}$ for $x \\neq y$, and $\\sigma$ is a [[homeomorphism|0QT00PB5G2]]; so $\\sigma$ restricts to a homeomorphism of each shift space.\nThe whole space $\\mathcal{A}^{\\Z}$ is the *full shift*.\nEquivalent form: $X$ is a shift space if and only if it is defined by a set $\\mathcal{F}$ of forbidden words.\nHere $\\mathcal{F}$ is a set of finite words, elements of the [[free monoid|CV013KHVJG]] on $\\mathcal{A}$.\nThen $X$ is the set of sequences in which no word of $\\mathcal{F}$ occurs as a block of consecutive symbols.\nOne-sided shift spaces are defined in the same way in $\\mathcal{A}^{\\N}$, with $\\sigma(X) \\subseteq X$.\nExample: the golden mean shift $X \\subseteq \\set{0, 1}^{\\Z}$, the sequences with no block $11$.\nA limit of such sequences has no block $11$, since a block $11$ at positions $i, i+1$ would appear in the sequences close to it.\nSo $X$ is closed, and shifting does not create or remove blocks, so $\\sigma(X) = X$.\nNon-example: the set of sequences in $\\set{0, 1}^{\\Z}$ with exactly one symbol $1$ satisfies clause 2, but not clause 1.\nIts elements with the $1$ at position $n$ tend to the all-$0$ sequence as $n \\to \\infty$, which is not in the set.\n\n## Explanations\n\n### L1 human\n\nA shift space is a closed, shift-invariant set of two-sided infinite sequences over a finite alphabet.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "A1XE59ZHNM",
    "kind": "definition",
    "msc": [
      "37B10"
    ],
    "name": "Shift space",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Shift_space"
      }
    ],
    "tag": "A71EWRZBZV",
    "uses": [
      "0GBG8B49AA",
      "0TVJZYB6SH",
      "0QT00PB5G2",
      "CV013KHVJG"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/A71EWRZBZV/",
  "links": [
    {
      "field": "defines",
      "target": "A1XE59ZHNM"
    },
    {
      "field": "uses",
      "target": "0GBG8B49AA"
    },
    {
      "field": "uses",
      "target": "0TVJZYB6SH"
    },
    {
      "field": "uses",
      "target": "0QT00PB5G2"
    },
    {
      "field": "uses",
      "target": "CV013KHVJG"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/A71EWRZBZV.md",
  "msc": [
    "37B10"
  ],
  "name": "Shift space",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/A71/A71EWRZBZV.md",
  "status": null,
  "tag": "A71EWRZBZV",
  "uri": "m2://A71EWRZBZV",
  "url": "https://tamnd.github.io/math2/wiki/shift-space-definition/",
  "writing": {
    "tag": "A71EWRZBZV",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
