{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "5PNBCRH2JG"
    },
    {
      "field": "specializes",
      "target": "BK4DDS24XC"
    },
    {
      "field": "defines",
      "target": "NA44T2NZE2"
    }
  ],
  "body": "\n## Summary\n\nAn idempotent semiring, also called a dioid, is a [[semiring|D31S3GR51T]] in which $a + a = a$ for every element $a$.\nIn such a semiring the addition defines a natural partial order, with $a \\le b$ when $a + b = b$, and addition becomes the join of this order.\nThe Boolean semiring, the tropical semirings and the semiring of formal languages are examples.\nIdempotent semirings are the algebra of shortest paths, of tropical geometry and of [[Kleene algebras|BK4DDS24XC]].\n\n## Explanations\n\n### L1 human\n\nIn ordinary arithmetic, $1 + 1 = 2$.\nIn an idempotent semiring, adding something to itself changes nothing, like taking the larger of a number and itself.\nA good example uses \"maximum\" as addition and ordinary addition as multiplication: the \"sum\" of $3$ and $3$ is $3$.\nBecause of this, the addition behaves like choosing the best of several options, which is why these semirings fit optimisation problems.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "16Y60",
      "06F05"
    ],
    "name": "Idempotent semiring",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Semiring"
      }
    ],
    "specializes": [
      "D31S3GR51T"
    ],
    "tag": "JCSAC9Y1CV"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/JCSAC9Y1CV/",
  "links": [
    {
      "field": "specializes",
      "target": "D31S3GR51T"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/JCSAC9Y1CV.md",
  "msc": [
    "16Y60",
    "06F05"
  ],
  "name": "Idempotent semiring",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/JCS/JCSAC9Y1CV.md",
  "status": null,
  "tag": "JCSAC9Y1CV",
  "uri": "m2://JCSAC9Y1CV",
  "url": "https://tamnd.github.io/math2/wiki/idempotent-semiring/",
  "writing": {
    "tag": "JCSAC9Y1CV",
    "kind": "concept",
    "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
      }
    ]
  }
}
