{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $2^\\omega$ be [[Cantor space|W9VYJRBF9N]], the set of infinite binary sequences.\nFor a finite binary string $\\sigma$ of length $\\abs{\\sigma}$, let $[\\sigma] \\subseteq 2^\\omega$ be the set of sequences that begin with $\\sigma$.\nLet $\\mu$ be the uniform measure on $2^\\omega$, with $\\mu([\\sigma]) = 2^{-\\abs{\\sigma}}$.\nA *Martin-Löf test* is a sequence $(U_n)_{n \\in \\N}$ of subsets of $2^\\omega$ such that:\n\n1. there is a [[computably enumerable|TN9G24VABN]] set $W$ of pairs $(n, \\sigma)$ with $U_n = \\bigcup \\set{[\\sigma] : (n, \\sigma) \\in W}$ for every $n$;\n2. $\\mu(U_n) \\le 2^{-n}$ for every $n$.\n\nA sequence $X \\in 2^\\omega$ is *Martin-Löf random*, or *algorithmically random*, if $X \\notin \\bigcap_n U_n$ for every Martin-Löf test $(U_n)$.\n\n## Remarks\n\nExample: the binary expansion of Chaitin's halting probability $\\Omega$ is Martin-Löf random.\nAlso, the set of non-random sequences has measure $0$, because there is a universal Martin-Löf test whose intersection contains every non-random sequence.\n\nNon-example: a computable sequence $X$ is not random.\nLet $X \\upharpoonright n$ be the string of the first $n$ bits of $X$.\nThe sets $U_n = [X \\upharpoonright n]$ form a Martin-Löf test: they are uniformly computable and $\\mu(U_n) = 2^{-n}$.\nAnd $X$ lies in all of them.\n\nThe Levin–Schnorr theorem gives an equivalent form with [[Kolmogorov complexity|8PY3K6NCKF]].\nLet $K$ be prefix-free complexity.\nThen $X$ is Martin-Löf random if and only if there is a constant $c$ with $K(X \\upharpoonright n) \\ge n - c$ for all $n$.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "KW3V44GPPC",
    "kind": "definition",
    "msc": [
      "03D32",
      "68Q30"
    ],
    "name": "Algorithmic randomness",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Algorithmically_random_sequence"
      }
    ],
    "tag": "X5KD3X3VJ3",
    "uses": [
      "W9VYJRBF9N",
      "TN9G24VABN",
      "8PY3K6NCKF"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/X5KD3X3VJ3/",
  "links": [
    {
      "field": "defines",
      "target": "KW3V44GPPC"
    },
    {
      "field": "uses",
      "target": "W9VYJRBF9N"
    },
    {
      "field": "uses",
      "target": "TN9G24VABN"
    },
    {
      "field": "uses",
      "target": "8PY3K6NCKF"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/X5KD3X3VJ3.md",
  "msc": [
    "03D32",
    "68Q30"
  ],
  "name": "Algorithmic randomness",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/X5K/X5KD3X3VJ3.md",
  "status": null,
  "tag": "X5KD3X3VJ3",
  "uri": "m2://X5KD3X3VJ3",
  "url": "https://math2.tamnd.com/wiki/algorithmic-randomness-definition/",
  "writing": {
    "tag": "X5KD3X3VJ3",
    "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
      }
    ]
  }
}
