Inducing syntactic cut-elimination for indexed nested sequents

Similar documents
Display calculi in non-classical logics

General methods in proof theory for modal logic - Lecture 1

General methods in proof theory for modal logic - Lecture 1

Proof Theoretical Reasoning Lecture 3 Modal Logic S5 and Hypersequents

Labelled Tree Sequents, Tree Hypersequents and Nested (Deep) Sequents

A CUT-FREE SIMPLE SEQUENT CALCULUS FOR MODAL LOGIC S5

Deep Sequent Systems for Modal Logic

Modal and temporal logic

Natural Deduction for Propositional Logic

Modal Logic XX. Yanjing Wang

Prefixed Tableaus and Nested Sequents

Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models

Embedding formalisms: hypersequents and two-level systems of rules

Evaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic

Proof theory for indexed nested sequents

Linear Nested Sequents, 2-Sequents and Hypersequents

Proving Completeness for Nested Sequent Calculi 1

To every formula scheme there corresponds a property of R. This relationship helps one to understand the logic being studied.

FROM AXIOMS TO STRUCTURAL RULES, THEN ADD QUANTIFIERS.

TR : Binding Modalities

Justification logic for constructive modal logic

Structural extensions of display calculi: a general recipe

AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC

An Introduction to Proof Theory

From Frame Properties to Hypersequent Rules in Modal Logics

Modal Logic. UIT2206: The Importance of Being Formal. Martin Henz. March 19, 2014

overview overview proof system for basic modal logic proof systems advanced logic lecture 8 temporal logic using temporal frames

On the Complexity of the Reflected Logic of Proofs

Extensions of Analytic Pure Sequent Calculi with Modal Operators

Non-classical Logics: Theory, Applications and Tools

An Introduction to Modal Logic III

Valentini s cut-elimination for provability logic resolved

Introduction to Intuitionistic Logic

Outline. Overview. Syntax Semantics. Introduction Hilbert Calculus Natural Deduction. 1 Introduction. 2 Language: Syntax and Semantics

Grammatical resources: logic, structure and control

Cut-elimination for Provability Logic GL

Graph Theory and Modal Logic

A Deep Inference System for the Modal Logic S5

The Many Faces of Modal Logic Day 4: Structural Proof Theory

Kleene realizability and negative translations

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1

Proof Theoretical Studies on Semilattice Relevant Logics

Filtrations and Basic Proof Theory Notes for Lecture 5

Notation for Logical Operators:

Madhavan Mukund Chennai Mathematical Institute

Overview of Today s Lecture

Systems of modal logic

Label-free Modular Systems for Classical and Intuitionistic Modal Logics

First-Order Logic. Chapter Overview Syntax

On Axiomatic Rejection for the Description Logic ALC

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

Bounded Lukasiewicz Logics

A refined calculus for Intuitionistic Propositional Logic

Propositional Logic Language

Abstract model theory for extensions of modal logic

Extended Abstract: Reconsidering Intuitionistic Duality

Dynamic Epistemic Logic Displayed

Nonclassical logics (Nichtklassische Logiken)

On the Correspondence between Display Postulates and Deep Inference in Nested Sequent Calculi for Tense Logics

Propositional Logic: Part II - Syntax & Proofs 0-0

Recent Developments in and Around Coaglgebraic Logics

Canonical Calculi: Invertibility, Axiom expansion and (Non)-determinism

arxiv: v2 [cs.lo] 10 Aug 2015

Abstract In this paper, we introduce the logic of a control action S4F and the logic of a continuous control action S4C on the state space of a dynami

5-valued Non-deterministic Semantics for The Basic Paraconsistent Logic mci

Towards A Multi-Agent Subset Space Logic

Basic Algebraic Logic

Modal Logic: Exercises

On sequent calculi vs natural deductions in logic and computer science

First Order Logic: Syntax and Semantics

Nested Sequent Calculi for Normal Conditional Logics

Modal logics: an introduction

Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST

On the Construction of Analytic Sequent Calculi for Sub-classical Logics

Linear Nested Sequents, 2-Sequents and Hypersequents

Propositional Logic: Deductive Proof & Natural Deduction Part 1

Lecture Notes on Sequent Calculus

Proof-Theoretic Analysis of the Quantified Argument Calculus

Chapter 11: Automated Proof Systems

Logics in Access Control: A Conditional Approach

Chapter 11: Automated Proof Systems (1)

Logic: The Big Picture

Propositional Dynamic Logic

(Algebraic) Proof Theory for Substructural Logics and Applications

Partially commutative linear logic: sequent calculus and phase semantics

The Method of Socratic Proofs for Normal Modal Propositional Logics

Uniform Schemata for Proof Rules

On a computational interpretation of sequent calculus for modal logic S4

Proof Theory and Proof Search of Bi-Intuitionistic and Tense Logic Linda Postniece

The Skolemization of existential quantifiers in intuitionistic logic

Counterfactual Logic: Labelled and Internal Calculi, Two Sides of the Same Coin?

The Realization Theorem for S5 A Simple, Constructive Proof

TR : Tableaux for the Logic of Proofs

An Introduction to Modal Logic V

The Logic of Proofs, Semantically

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic

Logic for Computer Science - Week 4 Natural Deduction

Labelled Superposition for PLTL. Martin Suda and Christoph Weidenbach

Marie Duží

Transcription:

Inducing syntactic cut-elimination for indexed nested sequents Revantha Ramanayake Technische Universität Wien (Austria) IJCAR 2016 June 28, 2016 Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 1 / 19

Preliminaries. Modal logics. Proof calculi. Let Cp denote classical propositional logic. Finitely axiomatisable with modus ponens. Choose your favourite connectives. Normal modal logic K obtained by the addition of the normality axiom and necessitation rule. A B B B mp (p q) ( p q) A A (Gentzen 1934) introduced the sequent calculus for classical logic. Subsequently extended to many other logics including K. The sequent calculus is a proof calculus where the basic objects are sequents X Y where X and Y are lists/multisets of formulae. A 1,..., A n B 1,..., B m interpreted as formula A 1... A n B 1... B m What s wrong with the previous proof calculus? It breaks the subformula property. The sequent calculus framework (i.e. use of sequents) permits a proof calculus with the subformula property. ( ) Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 2 / 19

The subformula property is key A proof calculus with the subformula property is key to using the proof calculus for metalogical argument (e.g. decidability, interpolation, consistency, density elimination). because we get a good handle on the formulae that can appear in the proof. Unfortunately for many logics, the sequent calculus framework seems not to yield a proof calculus with the subformula property. E.g. there are sequent calculi for modal logic KT = K + p p and S4 = K + p p + p p but not when we add p p to S4! Solution: extend the framework just enough that you can get a proof calculus with subformula property for your logic. Typically, addition of new proof rules requires significant reworking of cut-elimination proof (assuming it works at all). Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 3 / 19

Nested Sequent Formalism (Kashima 1994, Brünnler 2006): Extend Gentzen framework via nesting Rather than a calculus where each premise/conclusion is a sequent, use a tree of sequents. Here X, Y, P, Q,... multisets. X Y, [P Q, [U V ], [L M]], [S T ] X Y, [U V, [L M], [S T ]] Let s draw each nested sequent as a tree (just notation): U V L M L M S T P Q S T U V X Y X Y Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 4 / 19

Nested sequents calculi: proof rules and intuition In the end we want to derive a sequent X Y. We extended the framework to a tree to obtain cut-elimination. Viewing the nested sequent as a tree, propositional connectives at a node behave just like in the sequent calculus. Notation: in Γ{ } let { } denote a hole. Γ{X Y, A, B, } Γ{X Y, A B, } ( r) How about the rules introducing? Γ{ A, X Y,, [A, U V, Σ]} Γ{ A, X Y,, [U V, Σ]} ( l) Γ{X, A, B Y, } Γ{X, A B Y, } ( l) Γ{X Y,, [ A]} Γ{X Y,, A} How to understand the construction of these rules? To follow. ( r) Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 5 / 19

Nested sequents: some results and limitations Cut-free calculi for intuitionistic logic, conditional logics, logics in the classical and intuitionistic modal cube and path axiom extensions of classical modal logic. So we have a natural generalisation of the sequent calculus which captures lots of logics! But.. the proof of cut-elimination is complicated each and every time... (some of the above results are for classes of logics, but still... ) The difficulty is that each extension of K is a distinct rule extension and requires a distinct proof of cut-elimination Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 6 / 19

A proof framework motivated by frame semantics Actually lots of different proof frameworks have been proposed e.g. labelled sequent calculi, hypersequent calculi, display calculi. The other relevant framework for the talk today: calculus built from labelled sequents R, X Y where R is a multiset of Rxy terms, X and Y are multisets of formulae x : A. Frame semantics for modal logics. Directed graphs where the edge x y is denoted Rxy. So that s where the R comes from. A K iff A is valid on all frames. Validity on a frame means evaluating to true at all worlds under all valuations (assign a subset of the propositional variables to each node in the frame). A is true at a world u of a frame F under a given valuation if A is true at every v such that Ruv. A is there exists a world v.... A KT iff A is valid on all reflexive frames. A S4 iff A is valid on all reflexive transitive frames. Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 7 / 19

Labelled sequent calculus (Fitting 1983, Mints 1997) Calculus built from labelled sequents R, X Y where R is a multiset of Rxy terms, X and Y are multisets of labelled formulae x : A. Implicitly quantify over all the state variables x and y such that Rxy. Then a labelled sequent can be interpreted as a statement that holds on all frames. So we can understand x : p p and Rxy, Ryz, x : p z : p. (Negri 2005) has shown that modal logics whose frames are characterised by geometric first-order formulae have a cut-free labelled sequent calculus (uniform proof). Rxx, X Y X Y (refl) Rxy, Ryz, Ryz, X Y Rxy, Ryz, X Y (trans) *variable restriction: y does not appear in the conclusion. Rxy, X Y, y : A ( r)* X Y, x : A Side comment. The key to such uniform proofs of cut-elimination is the use of structural rules. Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 8 / 19

Relating nested sequents and labelled sequents (Goré and R. 2012) consider how to relate the nested sequent with the labelled sequent with the aim of porting results from former to latter. A labelled sequent R, X Y whose relation multiset defines a tree (draw the graph defined by R) is a nested sequent Call such a labelled sequent a labelled tree sequent LTS In a concrete calculus, if we can prove cut-elimination on labelled sequents always restricted to trees, then this is immediately cut-elimination for the corresponding nested sequent calculus. Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 9 / 19

Relating nested sequents and labelled sequents (cont.) Compare the NS and LS rules ( r) Γ{X Y,, [ A]} Γ{X Y,, A} ( r) Rxy, X Y, y : A ( r)* X Y, x : A Think of the underlying trees and see past the notation [ A] corresponds to variable restriction This correspondence was used to answer a question about the relationship between two calculi for modal provability logic GL In general however how much we can import from LS to NS is limited due to the restriction that R is a tree In particular, we don t get a general cut-elimination theorem for NS calculi from the general result for LS calculi LS proof relies on more general structures than trees (substitution lemma breaks tree property) Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 10 / 19

Indexed nested sequents (Fitting 2015) How can we extend the nested sequent framework to present cut-free calculi for more logics? What is the natural extension? Indexed nested sequents INS are nested sequents where each sequent is assigned a (not necessarily unique) index. X 0 Y, [P 1 Q, [U 2 V ], [L 3 M]], [S 3 T ] X 0 Y, [P 1 Q, [U 0 V ], [L 1 M]], [S 2 T ] Draw the trees, identify the nodes with the same index U 2 V L 3 M U 0 V L 1 M U 2 V P 1 Q S 3 T P 1 Q S 2 T P 1 Q S, L 3 T, M P, L 1 Q, M S 2 T X 0 Y X 0 Y X 0 Y X, U 0 Y, V Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 11 / 19

Indexed nested sequent calculi for Geach (Lemmon-Scott) modal logics Geach logics extend normal modal logic K by Geach axioms: G(h, i, j, k) := h i p j k p (h, i, j, k 0) E.g. p p; p p; p p Fitting s Geach scheme yields an INS rule corresponding to G(h, i, j, k) when i, j > 0. Rule for p p. a, b, c are distinct indices. c not in conclusion. Γ{[X a Y,, [ c ]], [U b V, Σ, [ c ]]} Γ{[X a Y, ], [U b V, Σ]} Fitting does not prove syntactic cut-elimination. Calculus minus the cut-rule is shown complete with respect to the semantics of the logic Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 12 / 19

How can we prove syntactic cut-elimination for INS reusing the proof for labelled sequents? Existing nested sequent calculi cut-elimination proofs are specialised, technical, intricate The labelled sequent calculus proof is generic (a single extension of Gentzen s proof works in all cases) Why create framework-specific proofs if we can reuse existing proofs? Recall: to adapt the LS proof we need to restrict all labelled sequents to trees where some nodes may be identified. Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 13 / 19

Inducing syntactic cut-elimination for indexed nested sequents Consider those labelled sequents where the relation multiset defines a tree: {R, X Y R is a tree} This is what was used to relate NS and labelled tree sequents (LTS). To relate INS, let us add equality terms e.g. {x = y, u = z} to the formal language. Call this a labelled tree sequent with equality (LTSE). {R, E, X Y R is a tree} (Negri 2005) shows that cut-elimination holds if R is not forced to be a tree. Notice that E can be compiled away if the LS are not restricted to trees. Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 14 / 19

Some details of the cut-elimination for LTSE calculi R, Rxy, Rxz, E 1, Γ 1 1, y : A R, Rxz, E ( r) 2, x : A, z : A Γ 2 2 ( l) R, Rxz, E 1, Γ 1 1, x : A R, Rxz, E 2, x : A, Γ 2 2 cut R, Rxz, E 1, E 2, Γ 1, Γ 2 1, 2 Then proceed: R, Rxy, Rxz, E 1, Γ 1 1, y : A weak R, Rxy, Rxz, y = z, E 1, Γ 1 1, y : A subs. R, Rxz, E 1, Γ 1 1, z : A { R, Rxz, E 1, Γ 1 1, x : A cut R, Rxz, E 2, x : A, z : A Γ 2 2 R, Rxz, E 1, E 2, z : A Γ 1, Γ 2 1, 2 c R, Rxz, E 1, E 1, E 2, Γ 1, Γ 1, Γ 2 1, 1, 2 ctr R, Rxz, E 1, E 2, Γ 1, Γ 2 1, 2 The premises of (cut) must have identical relation multiset R, Rxz (to preserve LTSE derivations) The dashed lines indicate proof transformations (see paper for details) Proof runs just as for LS (with specialised substitution lemma, resulting derivation is an LTSE-derivation by inspection) Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 15 / 19

Some details of the cut-elimination for LTSE calculi (cont.) R, Rxy, Rxz, E 1, Γ 1 1, y : A R, Rxz, E ( r) 2, x : A, z : A Γ 2 2 ( l) R, Rxz, E 1, Γ 1 1, x : A R, Rxz, E 2, x : A, Γ 2 2 cut R, Rxz, E 1, E 2, Γ 1, Γ 2 1, 2 Then proceed: R, Rxy, Rxz, E 1, Γ 1 1, y : A weak R, Rxy, Rxz, y = z, E 1, Γ 1 1, y : A subs. R, Rxz, E 1, Γ 1 1, z : A { R, Rxz, E 1, Γ 1 1, x : A cut R, Rxz, E 2, x : A, z : A Γ 2 2 R, Rxz, E 1, E 2, z : A Γ 1, Γ 2 1, 2 c R, Rxz, E 1, E 1, E 2, Γ 1, Γ 1, Γ 2 1, 1, 2 ctr R, Rxz, E 1, E 2, Γ 1, Γ 2 1, 2 NOTE: subs. is a special instance of general substitution lemma for labelled sequent calculi. The general substitution lemma does not preserve LTSE-sequents The version here does preserve LTSE-sequents and is strong enough to obtain cut-elimination (LTS calculi did not permit such a substitution lemma!) Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 16 / 19

LTSE-calculi have cut-elimination. Soundness and completeness? Every rule of the LTSE-calculus can be viewed as a rule instance of the usual labelled sequent calculus. So soundness is immediate. Completeness: need to verify that all the axioms and rules of K + Geach axiom(s) is derivable. Actually, only the Geach axiom(s) require a (little) work. Here is the LTSE derivation of p p using ρ(1, 1, 1, 1): Rxy, Rxz, Ryu, Rzu, u = u, y : p,..., u : p, u : p z : p,..., u : p Repl Rxy, Rxz, Ryu, Rzu, u = u, y : p,..., u : p z : p,..., u : p r Rxy, Rxz, Ryu, Rzu, u = u, y : p,..., u : p z : p l Rxy, Rxz, Ryu, Rzu, u = u, y : p z : p ρ(1, 1, 1, 1) Rxy, Rxz, y : p z : p r Rxy, y : p x : p l x : p x : p x : p p By inspection: this is a LTSE-derivation. Generalises to all Geach axioms. Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 17 / 19

Some conclusions Don t reinvent the wheel. Syntactic cut-elimination is technical enough. See if it can be induced from existing work. Embedding a framework sheds light on the relative expressiveness of frameworks (with respect to presenting cut-free calculi for logics) To prove meta-theoretic results e.g. interpolation, decidability it helps to use the most economical framework for the logic of interest Are (indexed) nested sequents more syntactic than labelled sequents? No. The results here show that a subclass of the LS corresponds to the identical data structure as INS. The LTSE corresponds to a modal formula iff the INS corresponds to a formula It is not clear how to interpret an arbitrary LS as a formula. This is due to to the expressiveness of the framework. This is not to suggest that one framework should be thrown away in favour of the other. NS to INS is a bottom-up approach. LS to LTSE is a top-down approach. Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 18 / 19

Some more conclusions Can we use these insights to obtain new proof calculi? Yes! Previously, no (indexed) nested sequent calculi presented for logics between intuitionistic and classical logic However there are labelled sequent calculi for intermediate logics (Negri 2012). As before: suitable frame conditions can be translated into structural rules yielding cut-free calculi. Cut-elimination for LTSE-sequents is exactly as before Need to check that the intermediate axiom has an LTSE-derivation. E.g. (p ) ((p ) ) is derivable. So we obtain an indexed nested sequent calculus for Ip + (p ) ((p ) ). Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination for indexed nested sequents 19 / 19