{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(L, \\vee, \\wedge, 0, 1)$ be a [[bounded lattice|72V1Z82M5F]] with order $\\le$.\nA *co-Heyting algebra* structure on $L$ is a binary operation $\\setminus$ on $L$ such that for all $a, b, c \\in L$,\n$$a \\setminus b \\le c \\iff a \\le b \\vee c.$$\nSo $a \\setminus b$ is the least element $c$ with $a \\le b \\vee c$.\nA *co-Heyting algebra* is a bounded lattice with such an operation.\n\n## Remarks\n\nThe operation is unique when it exists, since it is a least element.\nA bounded lattice is a co-Heyting algebra if and only if its order dual is a [[Heyting algebra|NG943XNQWH]].\nThe element $\\neg a = 1 \\setminus a$ is called the supplement of $a$; it is the least $c$ with $a \\vee c = 1$.\n\nExample: let $X$ be a topological space and $L$ its family of closed sets, ordered by inclusion.\nFor closed $A, B$, put $A \\setminus B = \\overline{A - B}$, the closure of the set difference.\nIf $A \\subseteq B \\cup C$ with $C$ closed, then $A - B \\subseteq C$, so $\\overline{A - B} \\subseteq C$.\nIf $\\overline{A - B} \\subseteq C$, then $A \\subseteq B \\cup (A - B) \\subseteq B \\cup C$.\nSo the defining equivalence holds.\n\nNon-example: the diamond lattice $M_3$, with atoms $p, q, r$, is bounded but has no such operation.\nEvery co-Heyting algebra is distributive, and $M_3$ is not, since $p \\vee (q \\wedge r) = p$ while $(p \\vee q) \\wedge (p \\vee r) = 1$.\nDirectly: the elements $c$ with $1 \\le p \\vee c$ are $q$, $r$ and $1$, and they have no least one.\n\nIn Mathlib the notion is `CoheytingAlgebra`, with difference `\\` and supplement `￢`.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "6G03V0BVZT",
    "kind": "definition",
    "msc": [
      "06D20",
      "03G10"
    ],
    "name": "Co-Heyting algebra",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Heyting_algebra"
      }
    ],
    "tag": "3H5SDW6JTX",
    "uses": [
      "72V1Z82M5F",
      "NG943XNQWH"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/3H5SDW6JTX/",
  "links": [
    {
      "field": "defines",
      "target": "6G03V0BVZT"
    },
    {
      "field": "uses",
      "target": "72V1Z82M5F"
    },
    {
      "field": "uses",
      "target": "NG943XNQWH"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/3H5SDW6JTX.md",
  "msc": [
    "06D20",
    "03G10"
  ],
  "name": "Co-Heyting algebra",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/3H5/3H5SDW6JTX.md",
  "status": null,
  "tag": "3H5SDW6JTX",
  "uri": "m2://3H5SDW6JTX",
  "url": "https://tamnd.github.io/math2/wiki/co-heyting-algebra-definition/",
  "writing": {
    "tag": "3H5SDW6JTX",
    "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
      }
    ]
  }
}
