{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "2N9E5E8HRX"
    },
    {
      "field": "uses",
      "target": "HDWFDRR42X"
    },
    {
      "field": "uses",
      "target": "QKATP0KQH2"
    }
  ],
  "body": "\n## Definition\n\nA labeled sequent names the worlds of a Kripke model, as in $x : \\Box p, x R y \\Rightarrow y : p$.\nFormulas of the [[modal logic|C3RZY20ETK]] K are built from variables $p, q, \\dots$ and $\\bot$ with $\\wedge$, $\\vee$, $\\to$, $\\Box$ and $\\Diamond$.\nFix a countable set of *labels* $x, y, z, \\dots$.\nA *labeled formula* is an expression $x : A$, with a label $x$ and a formula $A$.\nA *relational atom* is an expression $x R y$, with labels $x$ and $y$.\nA *labeled sequent* is $\\Gamma \\Rightarrow \\Delta$, where $\\Gamma$ is a finite [[multiset|MYJ8Y050J0]] of labeled formulas and relational atoms, and $\\Delta$ is a finite multiset of labeled formulas.\n\nLet $\\rho$ map labels to worlds of a Kripke model with [[accessibility relation|XBCYFDPS2F]] $R$.\nThen $x R y$ is true if $\\rho(x) \\mathrel{R} \\rho(y)$, and $x : A$ is true if $A$ holds at $\\rho(x)$.\nThe sequent $\\Gamma \\Rightarrow \\Delta$ is *valid* in a class of frames if, for every model on such a frame and every $\\rho$, some member of $\\Gamma$ is false or some member of $\\Delta$ is true.\nA *labeled sequent calculus* is a set of rules on labeled sequents.\n\n### Negri's calculus G3K\n\nThe initial sequents and propositional rules of G3K are those of G3c, applied at a single label, and the modal rules are these.\n$$\\dfrac{y : A, x : \\Box A, x R y, \\Gamma \\Rightarrow \\Delta}{x : \\Box A, x R y, \\Gamma \\Rightarrow \\Delta} \\ ({\\Box}\\mathrm{L}) \\qquad \\dfrac{x R y, \\Gamma \\Rightarrow \\Delta, y : A}{\\Gamma \\Rightarrow \\Delta, x : \\Box A} \\ ({\\Box}\\mathrm{R})$$\n$$\\dfrac{x R y, y : A, \\Gamma \\Rightarrow \\Delta}{x : \\Diamond A, \\Gamma \\Rightarrow \\Delta} \\ ({\\Diamond}\\mathrm{L}) \\qquad \\dfrac{x R y, \\Gamma \\Rightarrow \\Delta, x : \\Diamond A, y : A}{x R y, \\Gamma \\Rightarrow \\Delta, x : \\Diamond A} \\ ({\\Diamond}\\mathrm{R})$$\nIn ${\\Box}$R and ${\\Diamond}$L the label $y$ must not occur in the conclusion.\nFor a set $S$ of geometric frame conditions, the calculus G3K$S$ adds their *geometric rules*, defined in the Remarks.\n\n## Notation\n\nNegri writes G3K for the basic calculus, and G3KT, G3S4, G3S5 and so on for the extensions.\nSome authors write $x \\Vdash A$ or $A^x$ instead of $x : A$, and $x \\le y$ or $R x y$ instead of $x R y$.\nOther labeled systems also allow relational atoms in the succedent, or use labeled natural deduction instead of sequents.\n\n## Remarks\n\n### The propositional rules of G3K\n\nThe initial sequents are $x : p, \\Gamma \\Rightarrow \\Delta, x : p$ for a variable $p$, and $x : \\bot, \\Gamma \\Rightarrow \\Delta$.\nEach propositional rule acts on formulas with one label $x$, as in G3c.\n\n- ${\\wedge}$L: from $x : A, x : B, \\Gamma \\Rightarrow \\Delta$ infer $x : A \\wedge B, \\Gamma \\Rightarrow \\Delta$.\n- ${\\wedge}$R: from $\\Gamma \\Rightarrow \\Delta, x : A$ and $\\Gamma \\Rightarrow \\Delta, x : B$ infer $\\Gamma \\Rightarrow \\Delta, x : A \\wedge B$.\n- ${\\vee}$L: from $x : A, \\Gamma \\Rightarrow \\Delta$ and $x : B, \\Gamma \\Rightarrow \\Delta$ infer $x : A \\vee B, \\Gamma \\Rightarrow \\Delta$.\n- ${\\vee}$R: from $\\Gamma \\Rightarrow \\Delta, x : A, x : B$ infer $\\Gamma \\Rightarrow \\Delta, x : A \\vee B$.\n- ${\\to}$L: from $\\Gamma \\Rightarrow \\Delta, x : A$ and $x : B, \\Gamma \\Rightarrow \\Delta$ infer $x : A \\to B, \\Gamma \\Rightarrow \\Delta$.\n- ${\\to}$R: from $x : A, \\Gamma \\Rightarrow \\Delta, x : B$ infer $\\Gamma \\Rightarrow \\Delta, x : A \\to B$.\n\n### Why each part is there\n\nThe labels let a single sequent talk about several worlds, which an ordinary modal sequent cannot do.\nThe relational atoms record which worlds reach which, so the rules for $\\Box$ and $\\Diamond$ can follow the truth clauses.\nThe label $y$ in ${\\Box}$R and ${\\Diamond}$L is the *eigenvariable* of the rule.\nIt must be fresh because ${\\Box}$R claims $A$ at an arbitrary reachable world, and a world already named might carry extra assumptions.\nThe rules ${\\Box}$L and ${\\Diamond}$R repeat their principal formula in the premise, so that it can be used again for other worlds.\nThat copy is what makes contraction admissible.\nRelational atoms stay in the antecedent, so only frame rules act on them, and frame rules never touch a labeled formula.\n\n### A small case and a failing case\n\nThe sequent $x : \\Box p, x R y \\Rightarrow y : p$ is derivable in G3K.\nBackward ${\\Box}$L adds $y : p$ to the antecedent, and $y : p, x : \\Box p, x R y \\Rightarrow y : p$ is initial.\n\nThe sequent $x : p \\Rightarrow x : \\Box p$ is not derivable, and it is not valid.\nBackward ${\\Box}$R must use a fresh label $y$, which gives the goal $x R y, x : p \\Rightarrow y : p$.\nNo rule closes it, and the model with worlds $x, y$, $x R y$, and $p$ true at $x$ only refutes it.\nIf ${\\Box}$R allowed $y = x$, the premise $x R x, x : p \\Rightarrow x : p$ would be initial and the invalid sequent would follow.\n\n### Geometric frame rules\n\nA *geometric implication* is a first-order sentence of the following form:\n$$\\forall \\bar{x}\\, \\bigl( P_1 \\wedge \\cdots \\wedge P_m \\to \\exists \\bar{y}_1 M_1 \\vee \\cdots \\vee \\exists \\bar{y}_n M_n \\bigr).$$\nEach $P_i$ is a relational atom, and each $M_j$ is a conjunction of relational atoms $Q_{j1}, \\dots, Q_{jk_j}$.\nIts *geometric rule* has the conclusion $P_1, \\dots, P_m, \\Gamma \\Rightarrow \\Delta$ and the $n$ premises below:\n$$\\bar{Q}_j[\\bar{z}_j / \\bar{y}_j], P_1, \\dots, P_m, \\Gamma \\Rightarrow \\Delta \\qquad (j = 1, \\dots, n).$$\nThe labels $\\bar{z}_j$ must not occur in the conclusion.\nA rule set satisfies the *closure condition* if, whenever a substitution of labels makes two atoms $P_i$ of a rule equal, the rule with one copy of that atom is also in the set.\nFor a set $S$ of geometric implications, G3K$S$ contains the rules of $S$ and their contracted instances.\n\n### Common frame rules\n\nThe frame rules for the most common conditions are as follows.\n\n- Ref, for reflexivity $\\forall x\\, x R x$: from $x R x, \\Gamma \\Rightarrow \\Delta$ infer $\\Gamma \\Rightarrow \\Delta$.\n- Trans, for transitivity: from $x R z, x R y, y R z, \\Gamma \\Rightarrow \\Delta$ infer $x R y, y R z, \\Gamma \\Rightarrow \\Delta$.\n- Sym, for symmetry: from $y R x, x R y, \\Gamma \\Rightarrow \\Delta$ infer $x R y, \\Gamma \\Rightarrow \\Delta$.\n- Eucl, for euclideanness: from $y R z, x R y, x R z, \\Gamma \\Rightarrow \\Delta$ infer $x R y, x R z, \\Gamma \\Rightarrow \\Delta$.\n- Ser, for seriality $\\forall x \\exists y\\, x R y$: from $x R y, \\Gamma \\Rightarrow \\Delta$ infer $\\Gamma \\Rightarrow \\Delta$, with $y$ not in the conclusion.\n\nFor Eucl the substitution $z := y$ makes the two atoms of the conclusion equal.\nThe closure condition then adds the contracted rule, which infers $x R y, \\Gamma \\Rightarrow \\Delta$ from $y R y, x R y, \\Gamma \\Rightarrow \\Delta$.\n\n### Soundness\n\nEach rule preserves validity in the frames that satisfy the conditions.\nFor ${\\Box}$R, suppose that the conclusion fails under $\\rho$, so $\\Box A$ fails at $\\rho(x)$.\nThen some world $w$ with $\\rho(x) \\mathrel{R} w$ refutes $A$.\nSince $y$ does not occur in the conclusion, we may set $\\rho(y) = w$, and the premise fails under the new map.\nFor Ref, a countermodel of the conclusion on a reflexive frame also makes $x R x$ true, so it refutes the premise.\nFor Ser, a countermodel on a serial frame gives $\\rho(x)$ a successor $w$, and setting $\\rho(y) = w$ refutes the premise.\n\n### Structural properties and cut\n\n**Theorem (Negri).** Let $S$ be a set of geometric implications, and let G3K$S$ satisfy the closure condition.\nThen the following hold.\n\n1. Every sequent $x : A, \\Gamma \\Rightarrow \\Delta, x : A$ is derivable, for every formula $A$.\n2. Substitution of labels is height-preserving admissible.\n3. Weakening is height-preserving admissible, and contraction of labeled formulas and of relational atoms is height-preserving admissible.\n4. Every rule is height-preserving invertible.\n5. The cut rule, from $\\Gamma \\Rightarrow \\Delta, x : A$ and $x : A, \\Gamma' \\Rightarrow \\Delta'$ infer $\\Gamma, \\Gamma' \\Rightarrow \\Delta, \\Delta'$, is admissible.\n\n### Structural properties and cut, continued\n\nThe proof of item 5 is an induction on the weight of the cut formula $A$, with a subinduction on the sum of the heights of the two premises.\nFrame rules have no principal labeled formula, so the cut formula is never principal in a frame rule, and the cut moves above it.\nTake the case $x : \\Box A$, with ${\\Box}$R on the left and ${\\Box}$L with the atom $x R z$ on the right.\nItem 2 renames the eigenvariable $y$ of the left premise to $z$.\nA cut on $x : \\Box A$ of smaller height removes the copy of $x : \\Box A$ in the right premise.\nA cut on $z : A$, of smaller weight, then joins the two, and item 3 removes the duplicated context.\nThe closure condition is needed for item 3, because contracting two equal atoms in the conclusion of a frame rule needs the contracted rule.\nThe full case analysis is in Negri's paper \"Proof analysis in modal logic\", and we cite it.\n\n### Derivable axioms\n\nThe Hilbert axiom K, $\\Box(A \\to B) \\to (\\Box A \\to \\Box B)$, is derivable in G3K.\nNecessitation is admissible: if $\\Rightarrow x : A$ is derivable, item 2 gives $\\Rightarrow y : A$, weakening gives $x R y \\Rightarrow y : A$, and ${\\Box}$R gives $\\Rightarrow x : \\Box A$.\nModus ponens is admissible too: invert ${\\to}$R on $\\Rightarrow x : A \\to B$ and cut with $\\Rightarrow x : A$.\nSo G3K derives all theorems of K, and G3K$S$ derives each axiom whose frame condition is in $S$.\nFor example, Ref gives the axiom T and Trans gives the axiom 4, as the [[example of the axiom T|HDWFDRR42X]] and the [[example of the axiom 4|2N9E5E8HRX]] show.\n\n## Explanations\n\n### L1 human\n\nA modal formula talks about many worlds at once: \"$\\Box A$\" says that $A$ holds in every world that we can reach.\nA labeled calculus writes the world next to each formula, as in \"$x : A$\", which reads \"$A$ holds at world $x$\".\nIt also writes facts such as \"$x R y$\", which reads \"world $y$ can be reached from $x$\".\nThe rules then follow the meaning of the symbols world by world.\nProperties of reachability, such as \"every world reaches itself\", become extra rules about these facts.\n\n### L2 human\n\nWe derive the axiom K in G3K, written $\\Rightarrow x : \\Box(p \\to q) \\to (\\Box p \\to \\Box q)$.\nLet $\\Sigma$ be the multiset $x : \\Box(p \\to q), x : \\Box p, x R y$.\nThe sequents $y : p, \\Sigma \\Rightarrow y : q, y : p$ and $y : q, y : p, \\Sigma \\Rightarrow y : q$ are initial.\nThe rule ${\\to}$L on these two sequents gives $y : p \\to q, y : p, \\Sigma \\Rightarrow y : q$.\n${\\Box}$L for $x : \\Box p$ removes $y : p$, and ${\\Box}$L for $x : \\Box(p \\to q)$ removes $y : p \\to q$, which leaves $\\Sigma \\Rightarrow y : q$.\n${\\Box}$R with eigenvariable $y$ gives $x : \\Box(p \\to q), x : \\Box p \\Rightarrow x : \\Box q$, and ${\\to}$R twice gives the goal.\nThe typical use of the calculus is backward proof search, with the rules read from the conclusion upward.\nWatch out for the eigenvariable condition: in the ${\\Box}$R step the label $y$ must not occur in the conclusion, and it does not.\n\n### L3 human\n\nLabeled calculi internalize the Kripke semantics: the sequent becomes a small piece of a model.\nAny logic whose frames are defined by geometric implications gets a cut-free calculus in a uniform way, which covers T, 4, B, 5, D and many others.\nThe price is extra syntax: a cut-free derivation has the subformula property for labeled formulas, but labels and relational atoms are not formulas of the logic.\nThe same method applies to intuitionistic logic and intermediate logics, and to provability logic with a changed rule.\nIt also connects proof search with countermodel construction.\nCompare with [[hypersequent calculi|73J7F0FN4A]], which encode some of the frame structure without names for worlds.\n",
  "commit": "35d5da104f2b90e930cd762570f4d67e50027674",
  "front": {
    "audience": "research",
    "defines": "F46GV42XCE",
    "kind": "definition",
    "msc": [
      "03F05",
      "03B45"
    ],
    "name": "Labeled sequent calculus",
    "sources": [
      {
        "locator": "Correspondence and completeness",
        "url": "https://en.wikipedia.org/wiki/Kripke_semantics"
      },
      {
        "locator": "Common modal axiom schemata",
        "url": "https://en.wikipedia.org/wiki/Kripke_semantics"
      }
    ],
    "tag": "VW8XP95XCB",
    "topics": [
      "R10RMQCJQX"
    ],
    "uses": [
      "W72CA3R9MP",
      "C3RZY20ETK",
      "NGHWZ9Y7ZV",
      "XBCYFDPS2F",
      "MYJ8Y050J0"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/VW8XP95XCB/",
  "links": [
    {
      "field": "defines",
      "target": "F46GV42XCE"
    },
    {
      "field": "topics",
      "target": "R10RMQCJQX"
    },
    {
      "field": "uses",
      "target": "W72CA3R9MP"
    },
    {
      "field": "uses",
      "target": "C3RZY20ETK"
    },
    {
      "field": "uses",
      "target": "NGHWZ9Y7ZV"
    },
    {
      "field": "uses",
      "target": "XBCYFDPS2F"
    },
    {
      "field": "uses",
      "target": "MYJ8Y050J0"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/VW8XP95XCB.md",
  "msc": [
    "03F05",
    "03B45"
  ],
  "name": "Labeled sequent calculus",
  "prov": {
    "log": "https://github.com/tamnd/math2/blob/main/prov/VW8/VW8XP95XCB.jsonl",
    "quarantine": null,
    "unchecked": null
  },
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/VW8/VW8XP95XCB.md",
  "status": null,
  "tag": "VW8XP95XCB",
  "uri": "m2://VW8XP95XCB",
  "url": "https://math2.tamnd.com/wiki/labeled-sequent-calculus-definition/",
  "writing": {
    "tag": "VW8XP95XCB",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
