{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $X$ be a set and let $\\le$ be a [[partial order|0QV2JS9RJ3]] on $X$.\nA *linear extension* of $\\le$ is a [[total order|0FRXBVVR03]] $\\preceq$ on $X$ such that $x \\le y$ implies $x \\preceq y$ for all $x, y \\in X$.\n\n## Remarks\n\nExample: on $\\set{1, 2, 3, 6}$ ordered by divisibility, the usual order $1 \u003c 2 \u003c 3 \u003c 6$ is a linear extension, because each divisor of a positive integer is at most that integer.\nNon-example: the order $1 \\prec 3 \\prec 6 \\prec 2$ is total but not a linear extension, because $2 \\mid 6$ and yet $6 \\prec 2$.\nIf $X$ is finite with $n$ elements, a linear extension is the same as a bijection $f \\colon X \\to \\set{1, \\ldots, n}$ with $f(x) \u003c f(y)$ whenever $x \u003c y$.\nThe number of linear extensions of a finite poset $P$ is often written $e(P)$.\nA total order has exactly one linear extension, itself, and an antichain with $n$ elements has $n!$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "W8DZ5KGGHN",
    "kind": "definition",
    "msc": [
      "06A05",
      "06A07"
    ],
    "name": "Linear extension",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Linear_extension"
      }
    ],
    "tag": "Q3EAVBDA8J",
    "uses": [
      "0QV2JS9RJ3",
      "0FRXBVVR03"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/Q3EAVBDA8J/",
  "links": [
    {
      "field": "defines",
      "target": "W8DZ5KGGHN"
    },
    {
      "field": "uses",
      "target": "0QV2JS9RJ3"
    },
    {
      "field": "uses",
      "target": "0FRXBVVR03"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/Q3EAVBDA8J.md",
  "msc": [
    "06A05",
    "06A07"
  ],
  "name": "Linear extension",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/Q3E/Q3EAVBDA8J.md",
  "status": null,
  "tag": "Q3EAVBDA8J",
  "uri": "m2://Q3EAVBDA8J",
  "url": "https://tamnd.github.io/math2/wiki/linear-extension-definition/",
  "writing": {
    "tag": "Q3EAVBDA8J",
    "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
      }
    ]
  }
}
