{
  "aliases": [
    "set-comprehension"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "082RMRSY26"
    }
  ],
  "body": "\n## Summary\n\nSet-builder notation describes a [[set|0SJ3RX9TXA]] by a property of its [[elements|0EZ758XE73]].\nFor a set $X$ and a [[predicate|0T3DPBG981]] $P(x)$ on $X$, the set $\\{x \\in X \\mid P(x)\\}$ has as elements exactly the $a \\in X$ such that $P(a)$ is true.\n\n## Remarks\n\nA colon is a common alternative to the bar: $\\{x \\in X : P(x)\\}$.\nExample: $\\{n \\in \\mathbb{Z} \\mid n \\text{ is even}\\}$ is the set of even integers.\nThe form $\\{f(x) \\mid x \\in X\\}$ denotes the set of the values $f(x)$. This is the [[image|0Q3F20XB0A]] of $X$ under $f$.\nWithout the bound $x \\in X$, the notation $\\{x \\mid P(x)\\}$ can lead to [[Russell's paradox|0HESMMSYEG]].\n\n## Explanations\n\n### L1 human\n\nInstead of a list of elements, you give a test.\n$\\{x \\in \\mathbb{R} \\mid x^2 = 4\\}$ means \"all real numbers whose square is $4$\".\nThis set is $\\{-2, 2\\}$.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "aliases": [
      "set-comprehension"
    ],
    "kind": "concept",
    "msc": [
      "03E20"
    ],
    "name": "Set-builder notation",
    "same_as": {
      "wikidata": "Q3352804",
      "wikipedia": "Set-builder notation"
    },
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Set-builder_notation"
      }
    ],
    "tag": "0TMZ89Q5KA",
    "uses": [
      "0SJ3RX9TXA",
      "0T3DPBG981"
    ]
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/0TMZ89Q5KA/",
  "links": [
    {
      "field": "uses",
      "target": "0SJ3RX9TXA"
    },
    {
      "field": "uses",
      "target": "0T3DPBG981"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0TMZ89Q5KA.md",
  "msc": [
    "03E20"
  ],
  "name": "Set-builder notation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0TM/0TMZ89Q5KA.md",
  "status": null,
  "tag": "0TMZ89Q5KA",
  "uri": "m2://0TMZ89Q5KA",
  "url": "https://math2.tamnd.com/wiki/set-builder-notation/",
  "writing": {
    "tag": "0TMZ89Q5KA",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
