{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(P, \\le)$ be a finite [[partially ordered set|0QV2JS9RJ3]], and let $\\R^P$ be the real vector space of functions $f \\colon P \\to \\R$.\nThe *order polytope* of $P$ is the set $\\mathcal{O}(P)$ of all $f \\in \\R^P$ such that:\n\n1. $0 \\le f(x) \\le 1$ for all $x \\in P$.\n2. $f(x) \\le f(y)$ for all $x, y \\in P$ with $x \\le y$.\n\n## Remarks\n\nClause 2 says that $f$ is [[order-preserving|0A7KV2WB7A]].\nThe vertices of $\\mathcal{O}(P)$ are the indicator functions of the [[upper sets|ETCE287E2R]] of $P$.\nIts volume is $e(P)/p!$, where $p = \\abs{P}$ and $e(P)$ is the number of [[linear extensions|W8DZ5KGGHN]].\nFor an integer $m \\ge 1$, the dilate $m \\, \\mathcal{O}(P)$ has $\\Omega(P, m + 1)$ points with integer coordinates, where $\\Omega$ is the [[order polynomial|VDBDJZWPEA]].\n\nExample: for the chain $x \u003c y$, $\\mathcal{O}(P)$ is the triangle $0 \\le f(x) \\le f(y) \\le 1$.\nCheck: its vertices $(0, 0)$, $(0, 1)$, $(1, 1)$ are the indicators of the upper sets $\\emptyset$, $\\set{y}$, $\\set{x, y}$, and its area is $1/2 = e(P)/2!$.\n\nNon-example: the point $f(x) = 1$, $f(y) = 0$ satisfies clause 1 but not clause 2, so it is not in $\\mathcal{O}(P)$.\n\nFor an antichain of $p$ elements, $\\mathcal{O}(P)$ is the unit cube $[0, 1]^p$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "N587ECTQ4X",
    "kind": "definition",
    "msc": [
      "06A07",
      "52B05",
      "52B20"
    ],
    "name": "Order polytope",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Order_polytope"
      }
    ],
    "tag": "A9A7S5AYY1",
    "uses": [
      "0QV2JS9RJ3",
      "0A7KV2WB7A",
      "ETCE287E2R",
      "W8DZ5KGGHN",
      "VDBDJZWPEA"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/A9A7S5AYY1/",
  "links": [
    {
      "field": "defines",
      "target": "N587ECTQ4X"
    },
    {
      "field": "uses",
      "target": "0QV2JS9RJ3"
    },
    {
      "field": "uses",
      "target": "0A7KV2WB7A"
    },
    {
      "field": "uses",
      "target": "ETCE287E2R"
    },
    {
      "field": "uses",
      "target": "W8DZ5KGGHN"
    },
    {
      "field": "uses",
      "target": "VDBDJZWPEA"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/A9A7S5AYY1.md",
  "msc": [
    "06A07",
    "52B05",
    "52B20"
  ],
  "name": "Order polytope",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/A9A/A9A7S5AYY1.md",
  "status": null,
  "tag": "A9A7S5AYY1",
  "uri": "m2://A9A7S5AYY1",
  "url": "https://tamnd.github.io/math2/wiki/order-polytope-definition/",
  "writing": {
    "tag": "A9A7S5AYY1",
    "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
      }
    ]
  }
}
