{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $L$ be a [[signature|WDVVEYD6AT]], let $T$ be an $L$-[[theory|92SWXST1ZM]], and let $n \\ge 1$.\nAn *$n$-type* of $T$ is a set $p(x_1, \\dots, x_n)$ of $L$-[[formulas|HYJ10AF6RT]] whose free variables are among $x_1, \\dots, x_n$, such that $T \\cup p$ is satisfiable.\nThis means that some [[model|MVCH6N9SNW]] $M$ of $T$ has a tuple $(a_1, \\dots, a_n)$ that satisfies every formula of $p$.\nThe type $p$ is *complete* if for every $L$-formula $\\varphi(x_1, \\dots, x_n)$, either $\\varphi \\in p$ or $\\neg \\varphi \\in p$.\nA model $M$ of $T$ *realizes* $p$ if some tuple of $M$ satisfies every formula of $p$, and *omits* $p$ otherwise.\nThe set of complete $n$-types of $T$ is written $S_n(T)$.\n\nLet $M$ be a model and $A$ a set of elements of $M$.\nLet $L_A$ be $L$ extended by a new constant for each element of $A$.\nA type over $A$ is a type of the $L_A$-theory of $M$.\nThe set of complete $n$-types over $A$ is written $S_n^M(A)$.\n\n## Remarks\n\nFor a tuple $\\bar{a}$ of a model $M$, the set $\\operatorname{tp}(\\bar{a})$ of all formulas satisfied by $\\bar{a}$ in $M$ is a complete type of the theory of $M$.\n\nExample: let $T$ be the theory of $(\\N, 0, 1, +, \\cdot, \u003c)$ and let $p(x) = \\set{x \u003e 1 + \\cdots + 1 \\ (k \\text{ terms}) : k \\ge 1}$.\nEach finite part of $p$ is satisfied in $\\N$ by a large number, so by compactness $T \\cup p$ has a model, and $p$ is a $1$-type.\nThe standard model $\\N$ omits $p$, while every nonstandard model of $T$ realizes it.\n\nNon-example: in the theory of fields, $\\set{x = 0, \\; x \\cdot x = 1}$ is not a type, since $x = 0$ gives $x \\cdot x = 0 \\ne 1$ in every field.\n\nThe set $S_n(T)$ carries a natural topology, with basic open sets $\\set{p : \\varphi \\in p}$; it is a compact, totally disconnected Hausdorff space by the compactness theorem.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "9V71Q3SD1G",
    "kind": "definition",
    "msc": [
      "03C07",
      "03C50"
    ],
    "name": "Type",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Type_(model_theory)"
      }
    ],
    "tag": "VA7AK1R5AN",
    "uses": [
      "92SWXST1ZM",
      "HYJ10AF6RT",
      "MVCH6N9SNW",
      "WDVVEYD6AT"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/VA7AK1R5AN/",
  "links": [
    {
      "field": "defines",
      "target": "9V71Q3SD1G"
    },
    {
      "field": "uses",
      "target": "92SWXST1ZM"
    },
    {
      "field": "uses",
      "target": "HYJ10AF6RT"
    },
    {
      "field": "uses",
      "target": "MVCH6N9SNW"
    },
    {
      "field": "uses",
      "target": "WDVVEYD6AT"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/VA7AK1R5AN.md",
  "msc": [
    "03C07",
    "03C50"
  ],
  "name": "Type",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/VA7/VA7AK1R5AN.md",
  "status": null,
  "tag": "VA7AK1R5AN",
  "uri": "m2://VA7AK1R5AN",
  "url": "https://math2.tamnd.com/wiki/type-definition/",
  "writing": {
    "tag": "VA7AK1R5AN",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
