{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\sigma$ be a signature with only function symbols and let $X$ be a set of variables.\nLet $\\Sigma$ be a set of [[identities|PKD440G2XW]] over $\\sigma$ and $X$.\nThe identities *derivable* from $\\Sigma$ in *equational logic*, written $\\Sigma \\vdash s \\approx t$, form the smallest set of identities that satisfies the following rules, for all [[terms|6D3WA7N2W4]] $s, t, u, s_i, t_i$:\n\n1. (axioms) every identity in $\\Sigma$ is derivable;\n2. (reflexivity) $t \\approx t$ is derivable;\n3. (symmetry) if $s \\approx t$ is derivable, so is $t \\approx s$;\n4. (transitivity) if $s \\approx t$ and $t \\approx u$ are derivable, so is $s \\approx u$;\n5. (replacement) if $s_i \\approx t_i$ is derivable for $i = 1, \\ldots, n$ and $f$ is a function symbol of arity $n$, then $f(s_1, \\ldots, s_n) \\approx f(t_1, \\ldots, t_n)$ is derivable;\n6. (substitution) if $s \\approx t$ is derivable and $\\theta$ is a [[substitution|NCDZ969V7X]], then $s\\theta \\approx t\\theta$ is derivable.\n\n## Remarks\n\nA derivation is a finite list of identities, each one in $\\Sigma$ or obtained from earlier ones by a rule.\nEach rule preserves truth in every algebra, so every derivable identity holds in every algebra that satisfies $\\Sigma$; Birkhoff's completeness theorem gives the converse.\n\nExample: let $\\Sigma = \\set{x + 0 \\approx x, \\ x + y \\approx y + x}$.\nRule 6 applied to the second axiom with $\\theta = \\set{x \\mapsto 0, \\ y \\mapsto x}$ gives $0 + x \\approx x + 0$, and rule 4 with the first axiom gives $\\Sigma \\vdash 0 + x \\approx x$.\n\nNon-example: $x + y \\approx y$ is not derivable from $\\Sigma$.\nThe group $(\\Z, +, 0)$ satisfies $\\Sigma$, and every derivable identity holds in it, but $1 + 0 \\ne 0$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "72S3YSQFZ7",
    "kind": "definition",
    "msc": [
      "08B05",
      "03B10"
    ],
    "name": "Equational logic",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Equational_logic"
      }
    ],
    "tag": "Q6WPMDYWN2",
    "uses": [
      "PKD440G2XW",
      "NCDZ969V7X",
      "6D3WA7N2W4"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/Q6WPMDYWN2/",
  "links": [
    {
      "field": "defines",
      "target": "72S3YSQFZ7"
    },
    {
      "field": "uses",
      "target": "PKD440G2XW"
    },
    {
      "field": "uses",
      "target": "NCDZ969V7X"
    },
    {
      "field": "uses",
      "target": "6D3WA7N2W4"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/Q6WPMDYWN2.md",
  "msc": [
    "08B05",
    "03B10"
  ],
  "name": "Equational logic",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/Q6W/Q6WPMDYWN2.md",
  "status": null,
  "tag": "Q6WPMDYWN2",
  "uri": "m2://Q6WPMDYWN2",
  "url": "https://tamnd.github.io/math2/wiki/equational-logic-definition/",
  "writing": {
    "tag": "Q6WPMDYWN2",
    "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
      }
    ]
  }
}
