{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Example\n\nWe derive the axiom 4, $\\Box p \\to \\Box\\Box p$, in the calculus G3K4 of the [[definition of labeled sequent calculus|VW8XP95XCB]].\nG3K4 is G3K with the frame rule for [[transitivity|0GJZW9JFZQ]]:\n$$\\dfrac{x R z, x R y, y R z, \\Gamma \\Rightarrow \\Delta}{x R y, y R z, \\Gamma \\Rightarrow \\Delta} \\ (\\mathrm{Trans})$$\nThe goal is the sequent $\\Rightarrow x : \\Box p \\to \\Box\\Box p$.\n\n### The derivation\n\n1. The sequent $z : p, x : \\Box p, x R z, x R y, y R z \\Rightarrow z : p$ is initial, because $z : p$ occurs on both sides.\n2. Apply ${\\Box}$L with principal formula $x : \\Box p$ and atom $x R z$. The conclusion is $x : \\Box p, x R z, x R y, y R z \\Rightarrow z : p$.\n3. Apply Trans with $\\Gamma = x : \\Box p$ and $\\Delta = z : p$. The conclusion is $x : \\Box p, x R y, y R z \\Rightarrow z : p$.\n4. Apply ${\\Box}$R with eigenvariable $z$. The conclusion is $x : \\Box p, x R y \\Rightarrow y : \\Box p$.\n5. Apply ${\\Box}$R with eigenvariable $y$. The conclusion is $x : \\Box p \\Rightarrow x : \\Box\\Box p$.\n6. Apply ${\\to}$R. The conclusion is $\\Rightarrow x : \\Box p \\to \\Box\\Box p$.\n\nEach step is an initial sequent or one rule of G3K4, and no step uses cut.\n\n### The eigenvariable conditions\n\n7. Step 4 is ${\\Box}$R with $\\Gamma = x : \\Box p, x R y$ and $\\Delta$ empty, so the premise is $y R z, \\Gamma \\Rightarrow z : p$. Its eigenvariable $z$ does not occur in the conclusion $\\Gamma \\Rightarrow y : \\Box p$.\n8. Step 5 is ${\\Box}$R with $\\Gamma = x : \\Box p$ and $\\Delta$ empty, so the premise is $x R y, \\Gamma \\Rightarrow y : \\Box p$. Its eigenvariable $y$ does not occur in the conclusion $\\Gamma \\Rightarrow x : \\Box\\Box p$.\n\n### Without transitivity\n\nWe check that G3K alone does not derive the sequent.\n\n9. Take the frame with worlds $a, b, c$ and $a R b$, $b R c$ only. It is not transitive.\n10. Let $p$ be true at $b$ only. Then $\\Box p$ holds at $a$, because $b$ is the only world that $a$ reaches.\n11. $\\Box p$ fails at $b$, because $b R c$ and $p$ fails at $c$. So $\\Box\\Box p$ fails at $a$.\n12. So $\\Box p \\to \\Box\\Box p$ fails at $a$, and the sound calculus G3K does not derive it.\n\n## Remarks\n\nThe rule Trans is the only step that uses transitivity.\nIn the backward reading it adds $x R z$ from $x R y$ and $y R z$, so that ${\\Box}$L can send $x : \\Box p$ two steps along $R$.\nIn the countermodel of steps 9 to 12, $a R c$ fails, and that is the missing atom.\n\nThe two ${\\Box}$R steps need different fresh labels.\nThe label $y$ occurs in the conclusion of step 4, so step 4 cannot reuse $y$ as its eigenvariable, and it takes $z$.\n\nCombining Ref and Trans gives G3S4, which derives both T and 4.\n\n## Explanations\n\n### L1 human\n\nThe axiom 4 says: if $p$ is necessary, then \"$p$ is necessary\" is itself necessary.\nRead with worlds: if $p$ holds at every world one step away, then it holds at every world two steps away.\nThat is true when every world two steps away is also one step away, which is what transitivity says.\nThe proof uses the rule Trans at the point where a two-step path must be turned into a one-step path.\n\n### L2 human\n\nWe read the derivation as a backward proof search.\nBackward ${\\to}$R reduces the goal to $x : \\Box p \\Rightarrow x : \\Box\\Box p$.\nBackward ${\\Box}$R with a new world $y$ gives $x : \\Box p, x R y \\Rightarrow y : \\Box p$.\nBackward ${\\Box}$R with a new world $z$ gives $x : \\Box p, x R y, y R z \\Rightarrow z : p$.\nThen Trans adds $x R z$, and ${\\Box}$L adds $z : p$, which closes the branch.\nThe typical use of this pattern is in proofs for S4 and its extensions.\nWatch out: ${\\Box}$L cannot use the atom $y R z$ here, because the principal formula is $x : \\Box p$, and the rule needs an atom that starts at $x$.\n",
  "commit": "35d5da104f2b90e930cd762570f4d67e50027674",
  "front": {
    "audience": "grad",
    "instance_of": [
      "F46GV42XCE"
    ],
    "kind": "example",
    "msc": [
      "03F05",
      "03B45"
    ],
    "name": "Labeled derivation of the axiom 4",
    "sources": [
      {
        "locator": "Common modal axiom schemata",
        "url": "https://en.wikipedia.org/wiki/Kripke_semantics"
      }
    ],
    "tag": "2N9E5E8HRX",
    "topics": [
      "R10RMQCJQX"
    ],
    "uses": [
      "VW8XP95XCB",
      "0GJZW9JFZQ",
      "FDFQFWPM4X"
    ]
  },
  "kind": "example",
  "link": "https://math2.tamnd.com/node/2N9E5E8HRX/",
  "links": [
    {
      "field": "instance_of",
      "target": "F46GV42XCE"
    },
    {
      "field": "topics",
      "target": "R10RMQCJQX"
    },
    {
      "field": "uses",
      "target": "VW8XP95XCB"
    },
    {
      "field": "uses",
      "target": "0GJZW9JFZQ"
    },
    {
      "field": "uses",
      "target": "FDFQFWPM4X"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/2N9E5E8HRX.md",
  "msc": [
    "03F05",
    "03B45"
  ],
  "name": "Labeled derivation of the axiom 4",
  "prov": {
    "log": "https://github.com/tamnd/math2/blob/main/prov/2N9/2N9E5E8HRX.jsonl",
    "quarantine": null,
    "unchecked": null
  },
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/2N9/2N9E5E8HRX.md",
  "status": null,
  "tag": "2N9E5E8HRX",
  "uri": "m2://2N9E5E8HRX",
  "url": "https://math2.tamnd.com/wiki/labeled-derivation-of-the-axiom-4/",
  "writing": {
    "tag": "2N9E5E8HRX",
    "kind": "example",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
