{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "3F2W916W64"
    }
  ],
  "body": "\n## Statement\n\nLet $K$ be a class of algebras of a fixed signature $\\sigma$.\nThen $K$ is a [[variety|AJNZJD8442]] if and only if $K$ is closed under the [[class operators|S7MJVSP79N]] $H$, $S$ and $P$.\nHere a variety is the class of all models of some set of [[identities|PKD440G2XW]].\n\n## Remarks\n\nOne direction is a direct check: identities are preserved by homomorphic images, by subalgebras and by direct products.\nFor the converse, let $\\Sigma$ be the set of identities that hold in every member of $K$, and let $A$ satisfy $\\Sigma$.\nThe free algebra of $HSP(K)$ on a set of the size of $A$ is a subalgebra of a product of members of $K$.\nSince $A$ satisfies $\\Sigma$, the algebra $A$ is a homomorphic image of it.\nSo $A \\in HSP(K) = K$.\nExample: groups form a variety, and the theorem confirms that subgroups, quotient groups and products of groups are groups.\nClosure under products cannot be dropped.\nThe class of groups with at most two elements is closed under $H$ and $S$, but it does not contain $\\Z / 2\\Z \\times \\Z / 2\\Z$.\n\n## Explanations\n\n### L1 human\n\nThere are two ways to describe a class of algebras.\nOne is by the equations its members obey.\nThe other is by the constructions it is closed under.\nBirkhoff's theorem says that being described by equations is the same as being closed under taking images, subalgebras and products.\n\n### L2 human\n\nThe theorem lets one decide whether a class is a variety without writing identities.\nTo show that a class is not equationally definable, one finds a product, subalgebra or image that leaves the class.\nFor example, torsion-free abelian groups are not a variety, because their quotient $\\Z / 2\\Z$ has torsion.\nThe proof introduces free algebras of $HSP(K)$, which are the main tool of the theory.\nA finer form, Tarski's formula $V(K) = HSP(K)$, describes the variety generated by any class.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "about": [
      "AJNZJD8442"
    ],
    "kind": "statement",
    "msc": [
      "08B99",
      "03C05"
    ],
    "name": "Birkhoff's HSP theorem",
    "role": "theorem",
    "sources": [
      {
        "locator": "Birkhoff's variety theorem",
        "url": "https://en.wikipedia.org/wiki/Variety_(universal_algebra)"
      }
    ],
    "tag": "5083DHSK82",
    "uses": [
      "AJNZJD8442",
      "S7MJVSP79N",
      "PKD440G2XW"
    ]
  },
  "kind": "statement",
  "link": "https://tamnd.github.io/math2/node/5083DHSK82/",
  "links": [
    {
      "field": "about",
      "target": "AJNZJD8442"
    },
    {
      "field": "uses",
      "target": "AJNZJD8442"
    },
    {
      "field": "uses",
      "target": "S7MJVSP79N"
    },
    {
      "field": "uses",
      "target": "PKD440G2XW"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/5083DHSK82.md",
  "msc": [
    "08B99",
    "03C05"
  ],
  "name": "Birkhoff's HSP theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/508/5083DHSK82.md",
  "status": null,
  "tag": "5083DHSK82",
  "uri": "m2://5083DHSK82",
  "url": "https://tamnd.github.io/math2/wiki/birkhoffs-hsp-theorem/",
  "writing": {
    "tag": "5083DHSK82",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
