{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nA *shelf* is a [[magma|9689SFPVE9]] $(X, \\triangleright)$ whose operation is [[left self-distributive|VEFE5WZMS3]]:\n$$x \\triangleright (y \\triangleright z) = (x \\triangleright y) \\triangleright (x \\triangleright z) \\quad \\text{for all } x, y, z \\in X.$$\n\n## Remarks\n\nEquivalently, for every $x \\in X$ the left translation $y \\mapsto x \\triangleright y$ is an endomorphism of $(X, \\triangleright)$.\nA shelf is a [[rack|X74VY86TSX]] when every left translation is a bijection.\n\nExample: let $X = \\set{1, 2}$ with $1 \\triangleright y = 2$ and $2 \\triangleright y = y$ for all $y$; this is the Laver table $A_1$.\nIf $x = 2$, both sides equal $y \\triangleright z$.\nIf $x = 1$, the left side is $2$, and the right side is $2 \\triangleright 2 = 2$.\nSo $X$ is a shelf; it is not a rack, since $y \\mapsto 1 \\triangleright y$ is not injective.\n\nNon-example: $(\\Z, +)$, since $x + (y + z) \\ne (x + y) + (x + z)$ for $x \\ne 0$.\n\nSome authors use right self-distributivity instead, with $(z \\triangleleft y) \\triangleleft x = (z \\triangleleft x) \\triangleleft (y \\triangleleft x)$; the two conventions are related by $x \\triangleright y = y \\triangleleft x$.\nIn Mathlib this structure is the class `Shelf`.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "PDFC0MRYR8",
    "kind": "definition",
    "msc": [
      "20N02",
      "57K12"
    ],
    "name": "Shelf",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Racks_and_quandles"
      }
    ],
    "tag": "1ZC0ZW96YQ",
    "uses": [
      "9689SFPVE9",
      "VEFE5WZMS3"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/1ZC0ZW96YQ/",
  "links": [
    {
      "field": "defines",
      "target": "PDFC0MRYR8"
    },
    {
      "field": "uses",
      "target": "9689SFPVE9"
    },
    {
      "field": "uses",
      "target": "VEFE5WZMS3"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/1ZC0ZW96YQ.md",
  "msc": [
    "20N02",
    "57K12"
  ],
  "name": "Shelf",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/1ZC/1ZC0ZW96YQ.md",
  "status": null,
  "tag": "1ZC0ZW96YQ",
  "uri": "m2://1ZC0ZW96YQ",
  "url": "https://tamnd.github.io/math2/wiki/shelf-definition/",
  "writing": {
    "tag": "1ZC0ZW96YQ",
    "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
      }
    ]
  }
}
