{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\sigma$ be a signature.\nThe set $\\operatorname{FV}(\\varphi)$ of *free variables* of a [[formula|HYJ10AF6RT]] $\\varphi$ over $\\sigma$ is defined by recursion on $\\varphi$:\n\n1. for an atomic formula, $\\operatorname{FV}(\\varphi)$ is the set of variables that occur in its [[terms|6D3WA7N2W4]];\n2. $\\operatorname{FV}(\\neg \\varphi) = \\operatorname{FV}(\\varphi)$, and $\\operatorname{FV}(\\varphi \\ast \\psi) = \\operatorname{FV}(\\varphi) \\cup \\operatorname{FV}(\\psi)$ for each binary connective $\\ast$;\n3. $\\operatorname{FV}(\\forall x \\, \\varphi) = \\operatorname{FV}(\\exists x \\, \\varphi) = \\operatorname{FV}(\\varphi) \\setminus \\set{x}$.\n\nA *sentence* over $\\sigma$ is a formula $\\varphi$ with $\\operatorname{FV}(\\varphi) = \\emptyset$.\n\n## Remarks\n\nThe formula $\\forall x \\, \\exists y \\, (x \u003c y)$ is a sentence.\nIndeed $\\operatorname{FV}(x \u003c y) = \\set{x, y}$, removing $y$ gives $\\set{x}$, and removing $x$ gives $\\emptyset$.\nThe formula $\\exists y \\, (x \u003c y)$ is not a sentence, since $x$ remains free.\nSentences are also called closed formulas.\nIn Mathlib sentences are `FirstOrder.Language.Sentence`.\n",
  "commit": "5fc425f97f1f6b11da5892c2948ef8c5d8805665",
  "front": {
    "defines": "DKFGQTRYZE",
    "kind": "definition",
    "msc": [
      "03B10",
      "03C07"
    ],
    "name": "Sentence",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Sentence_(mathematical_logic)"
      }
    ],
    "tag": "Q85MMH5DEY",
    "uses": [
      "HYJ10AF6RT",
      "6D3WA7N2W4"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/Q85MMH5DEY/",
  "links": [
    {
      "field": "defines",
      "target": "DKFGQTRYZE"
    },
    {
      "field": "uses",
      "target": "HYJ10AF6RT"
    },
    {
      "field": "uses",
      "target": "6D3WA7N2W4"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/Q85MMH5DEY.md",
  "msc": [
    "03B10",
    "03C07"
  ],
  "name": "Sentence",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/Q85/Q85MMH5DEY.md",
  "status": null,
  "tag": "Q85MMH5DEY",
  "uri": "m2://Q85MMH5DEY",
  "url": "https://math2.tamnd.com/wiki/sentence-definition/",
  "writing": {
    "tag": "Q85MMH5DEY",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
