{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "12V4MHVV0N"
    },
    {
      "field": "uses",
      "target": "8H4GF58E9M"
    },
    {
      "field": "uses",
      "target": "ACQ7A58XY7"
    },
    {
      "field": "uses",
      "target": "HTWWJNSZNQ"
    },
    {
      "field": "uses",
      "target": "MC4S4WCGJS"
    },
    {
      "field": "about",
      "target": "8H4GF58E9M"
    },
    {
      "field": "about",
      "target": "ACQ7A58XY7"
    }
  ],
  "body": "\n## Example\n\nLet $A = \\set{1, \\dots, k}$ be a finite alphabet and let $p = (p_1, \\dots, p_k)$ be a probability vector, with $p_i \\ge 0$ and $p_1 + \\cdots + p_k = 1$.\nLet $X = A^{\\Z}$ be the set of two-sided sequences $x = (x_n)_{n \\in \\Z}$, with the σ-algebra generated by the cylinder sets\n$$[a_m, \\dots, a_n]_m = \\set{x \\in X : x_i = a_i \\text{ for } m \\le i \\le n}.$$\nLet $\\mu$ be the [[infinite product measure|2HWVFHM13R]] of copies of $p$, so $\\mu([a_m, \\dots, a_n]_m) = p_{a_m} p_{a_{m+1}} \\cdots p_{a_n}$.\nThe shift $\\sigma \\colon X \\to X$, $(\\sigma x)_n = x_{n+1}$, is the *Bernoulli scheme* or *Bernoulli shift* $B(p_1, \\dots, p_k)$.\n\nCheck that $\\sigma$ is a [[measure-preserving transformation|556WBDAHNP]]: $x \\in \\sigma^{-1}[a_m, \\dots, a_n]_m$ means $x_{i+1} = a_i$ for $m \\le i \\le n$.\nSo $\\sigma^{-1}[a_m, \\dots, a_n]_m = [a_m, \\dots, a_n]_{m+1}$, which has the same measure $p_{a_m} \\cdots p_{a_n}$.\nCylinder sets form a π-system generating the σ-algebra, so $\\mu(\\sigma^{-1} E) = \\mu(E)$ for every measurable $E$.\n\nThe coordinate functions $x \\mapsto x_n$ form an i.i.d. sequence with law $p$, a two-sided version of the [[Bernoulli process|0CQQG3DEW9]] when $k = 2$.\nThe shift is invertible, [[mixing|S3RJQ9CX2P]], and a [[Kolmogorov automorphism|YRHJA7C7HS]].\nIts [[Kolmogorov–Sinai entropy|X1D1C7VH6P]] is $-\\sum_{i=1}^{k} p_i \\log p_i$, computed with the generating partition into the sets $\\set{x : x_0 = i}$.\nThe one-sided version uses $A^{\\N}$ instead of $A^{\\Z}$ and gives a non-invertible measure-preserving map.\n\n## Explanations\n\n### L1 human\n\nA Bernoulli scheme is the model of rolling the same loaded die once every second, forever into the past and into the future.\nA point of the space is a full record of all the rolls, and the shift moves the clock forward by one second.\nBecause the rolls are independent and identically distributed, moving the clock does not change the probabilities, so the shift preserves the measure.\nBernoulli schemes are the most random measure-preserving systems and serve as the yardstick for the others.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "instance_of": [
      "556WBDAHNP"
    ],
    "kind": "example",
    "msc": [
      "37A05",
      "37A35",
      "37B10"
    ],
    "name": "Bernoulli scheme",
    "same_as": {
      "wikidata": "Q3042439",
      "wikipedia": "Bernoulli scheme"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Bernoulli_scheme"
      }
    ],
    "tag": "D33JK3AXRZ",
    "uses": [
      "0CQQG3DEW9",
      "2HWVFHM13R",
      "S3RJQ9CX2P",
      "YRHJA7C7HS",
      "X1D1C7VH6P"
    ]
  },
  "kind": "example",
  "link": "https://tamnd.github.io/math2/node/D33JK3AXRZ/",
  "links": [
    {
      "field": "instance_of",
      "target": "556WBDAHNP"
    },
    {
      "field": "uses",
      "target": "0CQQG3DEW9"
    },
    {
      "field": "uses",
      "target": "2HWVFHM13R"
    },
    {
      "field": "uses",
      "target": "S3RJQ9CX2P"
    },
    {
      "field": "uses",
      "target": "YRHJA7C7HS"
    },
    {
      "field": "uses",
      "target": "X1D1C7VH6P"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/D33JK3AXRZ.md",
  "msc": [
    "37A05",
    "37A35",
    "37B10"
  ],
  "name": "Bernoulli scheme",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/D33/D33JK3AXRZ.md",
  "status": null,
  "tag": "D33JK3AXRZ",
  "uri": "m2://D33JK3AXRZ",
  "url": "https://tamnd.github.io/math2/wiki/bernoulli-scheme/",
  "writing": {
    "tag": "D33JK3AXRZ",
    "kind": "example",
    "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
      }
    ]
  }
}
