Non-classical Logics: Theory, Applications and Tools

Similar documents
(Algebraic) Proof Theory for Substructural Logics and Applications

FROM AXIOMS TO STRUCTURAL RULES, THEN ADD QUANTIFIERS.

Automated Support for the Investigation of Paraconsistent and Other Logics

Display calculi in non-classical logics

On Urquhart s C Logic

Hypersequent calculi for non classical logics

Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models

Structural extensions of display calculi: a general recipe

A Schütte-Tait style cut-elimination proof for first-order Gödel logic

Nonclassical logics (Nichtklassische Logiken)

185.A09 Advanced Mathematical Logic

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

Fuzzy Logics Interpreted as Logics of Resources

How and when axioms can be transformed into good structural rules

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

Propositional Logic Language

Proof Theoretical Reasoning Lecture 3 Modal Logic S5 and Hypersequents

Uninorm Based Logic As An Extension of Substructural Logics FL e

Fuzzy Logics and Substructural Logics without Exchange

Expanding the realm of systematic proof theory

Embedding formalisms: hypersequents and two-level systems of rules

The quest for the basic fuzzy logic

Logics preserving degrees of truth and the hierarchies of abstract algebraic logic

Gödel Logics a short survey

Bounded Lukasiewicz Logics

Some consequences of compactness in Lukasiewicz Predicate Logic

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

Substructural Logics and Residuated Lattices an Introduction

Uniform Rules and Dialogue Games for Fuzzy Logics

From Frame Properties to Hypersequent Rules in Modal Logics

From Axioms to Rules A Coalition of Fuzzy, Linear and Substructural Logics

CHAPTER 11. Introduction to Intuitionistic Logic

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

A Cut-Free Calculus for Second-Order Gödel Logic

Omitting Types in Fuzzy Predicate Logics

General methods in proof theory for modal logic - Lecture 1

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

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

Hypersequent and Labelled Calculi for Intermediate Logics

Classical Propositional Logic

NON-DETERMINISTIC SEMANTICS FOR LOGICAL SYSTEMS

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018

Cut-Elimination and Quantification in Canonical Systems

Fleas and fuzzy logic a survey

Proof Theoretical Studies on Semilattice Relevant Logics

Inducing syntactic cut-elimination for indexed nested sequents

Propositional Logics and their Algebraic Equivalents

Marie Duží

Interpolation via translations

From Residuated Lattices to Boolean Algebras with Operators

Semantical study of intuitionistic modal logics

BL-Functions and Free BL-Algebra

On interpolation in existence logics

Implicational F -Structures and Implicational Relevance. Logics. A. Avron. Sackler Faculty of Exact Sciences. School of Mathematical Sciences

Proof Search and Co-NP Completeness for Many-Valued Logics

Algebraic Logic. Hiroakira Ono Research Center for Integrated Science Japan Advanced Institute of Science and Technology

Proof-Theoretic Methods in Nonclassical Logic an Introduction

Fuzzy Logic. 1. Motivation, history and two new logics. Petr Cintula. Institute of Computer Science, Czech Academy of Sciences, Prague, Czech Republic

Kamila BENDOVÁ INTERPOLATION AND THREE-VALUED LOGICS

On the filter theory of residuated lattices

Chapter 11: Automated Proof Systems (1)

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

SLANEY S LOGIC F IS CONSTRUCTIVE LOGIC WITH STRONG NEGATION

On varieties generated by Weak Nilpotent Minimum t-norms

Fuzzy Logic in Narrow Sense with Hedges

Distributive residuated frames and generalized bunched implication algebras

RESIDUATED FRAMES WITH APPLICATIONS TO DECIDABILITY

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008

Fundamentals of Fuzzy Logics

Paraconsistent Semantics for Pavelka Style Fuzzy Sentential Logic

A GENTZEN SYSTEM EQUIVALENT TO THE BCK-LOGIC

Label-free Modular Systems for Classical and Intuitionistic Modal Logics

On the set of intermediate logics between the truth and degree preserving Lukasiewicz logics

Positive provability logic

A CUT-FREE SIMPLE SEQUENT CALCULUS FOR MODAL LOGIC S5

Extending the Monoidal T-norm Based Logic with an Independent Involutive Negation

Applied Logics - A Review and Some New Results

CUT ELIMINATION AND STRONG SEPARATION FOR SUBSTRUCTURAL LOGICS: AN ALGEBRAIC APPROACH.

Labelled Calculi for Łukasiewicz Logics

Computing Spectra via Dualities in the MTL hierarchy

Multiplicative Conjunction and an Algebraic. Meaning of Contraction and Weakening. A. Avron. School of Mathematical Sciences

Extensions of Analytic Pure Sequent Calculi with Modal Operators

A Lambda Calculus for Gödel Dummett Logic Capturing Waitfreedom

Fuzzy logics among substructural logics

Paraconsistent Semantics for Pavelka Style Fuzzy Sentential Logic

Using Gentzen system techniques with existing automated theorem provers and rewriting tools

Modal systems based on many-valued logics

Natural Deduction for Propositional Logic

Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018

Paraconsistency properties in degree-preserving fuzzy logics

Relational semantics for a fragment of linear logic

Structuring Logic with Sequent Calculus

An overview of Structural Proof Theory and Computing

Uniform Schemata for Proof Rules

First-order t-norm based fuzzy logics with truth-constants: distinguished semantics and completeness properties

22c:145 Artificial Intelligence

02 Propositional Logic

Taming Implications in Dummett Logic

The Skolemization of existential quantifiers in intuitionistic logic

Dynamic Epistemic Logic Displayed

Transcription:

Non-classical Logics: Theory, Applications and Tools Agata Ciabattoni Vienna University of Technology (TUV) Joint work with (TUV): M. Baaz, P. Baldi, B. Lellmann, R. Ramanayake,... N. Galatos (US), G. Metcalfe (CH), K. Terui (Japan), A. Zamansky (Israel),...

Non-classical logics are logics different from classical logic provide adequate languages for reasoning, e.g., about computer programs, dynamic data structures, resources, algebraic varieties, natural language, vague or inconsistent information,...

E.g. logics for reasoning with inconsistencies Within classical logic, inconsistency leads to the trivialization of the knowledge base, as everything becomes derivable: A, A B Paraconsistent logics are logics which allow contradictory but non-trivial theories. Definition A propositional logic L is paraconsistent (with respect to ) if there are L-formulas A, B, such that A, A B.

How many interesting and useful logics?

Describing Logics Non-classical logics are often described/introduced by adding suitable properties to known systems: Hilbert axioms Semantic conditions

Describing Logics Non-classical logics are often described/introduced by adding suitable properties to known systems: Hilbert axioms Semantic conditions Example: Gödel logic is obtained from intuitionistic logic by adding the Hilbert axiom (φ ψ) (ψ φ), or by adding the algebraic equation 1 (x y) (y x) to Heyting algebras

Why Proof Theory? The applicability/usefulness of non-classical logics strongly depends on the availability of analytic calculi. A logic without an analytic calculus is like a car without an engine (J.Y. Girard)

Why Proof Theory? II Analytic calculi are key for developing automated reasoning methods are useful for establishing various properties of logics (if uniform) also facilitate the switch from one logic to another, deepening the understanding of the relations between them.

Sequent Calculus Sequents (Gentzen 1934) A 1,..., A n B 1,..., B m

Sequent Calculus Sequents (Gentzen 1934) A 1,..., A n B 1,..., B m Axioms: E.g., A A, A Rules (left and right): Structural E.g. Γ, A, A Π Γ, A Π (c, l) Γ, A Π Γ, A, B Π (w, l) Γ, B, A Π Γ, A, B Π Logical Cut (e, l)

Sequent Calculus the cut rule Γ A A Π Γ, Σ Π Cut key to prove completeness w.r.t. Hilbert systems modus ponens A A B B corresponds to transitivity in algebra: from x a and a y follows x y bad for proof search Cut-elimination theorem Each proof using Cut can be transformed into a proof without Cut.

Sequent Calculus state of the art Cut-free sequent calculi have been successfully used to prove consistency, decidability, interpolation,... as bases for automated theorem proving to give syntactic proofs of algebraic properties for which (in particular cases) semantic methods are not known Many useful and interesting logics have no cut-free sequent calculus

Sequent Calculus state of the art Cut-free sequent calculi have been successfully used to prove consistency, decidability, interpolation,... as bases for automated theorem proving to give syntactic proofs of algebraic properties for which (in particular cases) semantic methods are not known Many useful and interesting logics have no cut-free sequent calculus A large range of generalizations of sequent calculus have been introduced

State of the art The definition of analytic calculi is usually logic-tailored. Steps: (i) choosing a framework (ii) looking for the right inference rule(s) (iii) proving cut-elimination

State of the art The definition of analytic calculi is usually logic-tailored. Steps: (i) choosing a framework (ii) looking for the right inference rule(s) (iii) proving cut-elimination Our Dream Uniform procedures and automated support to define analytic calculi for non-classical logics use the introduced calculi for proving interesting properties about the formalized logics in a uniform and systematic way

This talk General method to define analytic calculi and their exploitation Case Studies: Substructural logics analytic calculi : sequent and hypersequent applications : order-theoretic completions, standard completeness Paraconsistent logics analytic calculi : sequent applications : non-deterministic matrices, decidability

The idea

The idea

Case study: Substructural Logics encompass e.g., intuitionistic logic, linear logic, fuzzy logics, the logic of Bunched Implications... defined by adding Hilbert axioms to Full Lambek calculus FL or algebraic equations to residuated lattices

Case study: Substructural Logics encompass e.g., intuitionistic logic, linear logic, fuzzy logics, the logic of Bunched Implications... defined by adding Hilbert axioms to Full Lambek calculus FL or algebraic equations to residuated lattices Algebraic semantics for FLe = FL + exchange (bounded pointed) commutative residuated lattice P = P,,,,,, 0, 1, 1 P,,,, 0 is a lattice with greatest and least 2 P,, 1 is a commutative monoid. 3 For any x, y, z P, x y z y x z 4 0 P.

The sequent calculus for FLe A, B, Γ Π A B, Γ Π l Γ A B Γ, A B r Γ A B, Π Γ, A B, Π l A, Γ B Γ A B r A, Γ Π B, Γ Π A B, Γ Π l Γ A i Γ A 1 A 2 A i, Γ Π A 1 A 2, Γ Π l Γ A Γ B Γ A B r r 0 0l Γ r Γ Γ 0 0r 1 1r, Γ Π l Γ Π 1, Γ Π 1l Π contains at most one formula

Case study: Substructural Logics They lack the properties expressed by sequent calculus structural rules A, A, Γ Π Contraction: α α α A, Γ Π (c) Γ, B, A, Π Exchange: α β β α Γ, A, B, Π (e) Γ Π Weakening: α β α Γ, A Π (w)

Case study: Substructural Logics They lack the properties expressed by sequent calculus structural rules A, A, Γ Π Contraction: α α α A, Γ Π (c) Γ, B, A, Π Exchange: α β β α Γ, A, B, Π (e) Γ Π Weakening: α β α Γ, A Π (w) FLe+axiom = FLe+rule

Classification substructural logics Definition (Classification; AC, Galatos and Terui, LICS 2008) The classes P n, N n of positive and negative axioms/equations are: P 0 ::= N 0 ::= atomic formulas P n+1 ::= N n P n+1 P n+1 P n+1 P n+1 1 N n+1 ::= P n P n+1 N n+1 N n+1 N n+1 0

Examples Class Axiom Name N 2 α 1, α weakening α α α contraction α α α expansion α n α m knotted axioms (α α) weak contraction P 2 α α excluded middle (α β) (β α) prelinearity P 3 α α weak excluded middle (α β) (α β α β) (wnm) N 3 ((α β) β) ((β α) α) Lukasiewicz axiom (α β) α (α β) divisibility

Transformation Given a base cut-free calculus C. The algorithm is based on: Ingredient 1 The use of the invertible logical rules of C Ingredient 2: Ackermann Lemma An algebraic equation t u is equivalent to a quasiequation u x t x, and also to x t x u, where x is a fresh variable not occurring in t, u. Example: the sequent A B is equivalent to Γ A Γ B Γ, B Γ, A (Γ, fresh metavariables for multisets of formulas)

From axioms to sequent rules: an example Axiom ( A A) Equivalent to ( A A) Invertibility Ackermann Lemma Invertibility Invertibility Equivalent rule A A Γ A A Γ Γ A Γ A Γ Γ, A Γ A Γ Γ, Γ Γ

Preliminary results Algorithm to transform: axioms/equations up to the class N 2 into good structural rules in sequent calculus

Preliminary results Algorithm to transform: axioms/equations up to the class N 2 into good structural rules in sequent calculus An application to universal algebra Analytic sequent calculi iff Dedekind-MacNeille completion (AC, N. Galatos and K. Terui. LICS 2008 and APAL 2012)

Preliminary results Algorithm to transform: axioms/equations up to the class N 2 into good structural rules in sequent calculus An application to universal algebra Analytic sequent calculi iff Dedekind-MacNeille completion (AC, N. Galatos and K. Terui. LICS 2008 and APAL 2012) Behond N 2? Ex. (α β) (β α)

Hypersequent calculus It is obtained embedding sequents into hypersequents Γ 1 Π 1... Γ n Π n where for all i = 1,... n, Γ i Π i is a sequent.

Hypersequent calculus It is obtained embedding sequents into hypersequents Γ 1 Π 1... Γ n Π n where for all i = 1,... n, Γ i Π i is a sequent. Axioms within the class P 3 have the form N 2 N 2 N 2

Hypersequent calculus It is obtained embedding sequents into hypersequents Γ 1 Π 1... Γ n Π n where for all i = 1,... n, Γ i Π i is a sequent. G Γ A G A, Π G Γ, Π Cut G A A Identity G Γ A G B, Π G Γ, A B, Π l G A, Γ B G Γ A B r

Hypersequent calculus It is obtained embedding sequents into hypersequents Γ 1 Π 1... Γ n Π n where for all i = 1,... n, Γ i Π i is a sequent. G Γ A G A, Π G Γ, Π Cut G A A Identity G Γ A G B, Π G Γ, A B, Π l G A, Γ B G Γ A B r and adding suitable rules to manipulate the additional layer of structure. G G Γ A (ew) G Γ A Γ A G Γ A (ec)

Structural hypersequent rules: an example Gödel logic = Intuitionistic logic + (α β) (β α) G Γ, Σ G Γ, Σ G Γ, Σ Γ, Σ (com) (Avron, Annals of Math and art. Intell. 1991) β β α α α β β α α β β α (com) (,r),(,r) ( i,r),( i,r) (α β) (β α) (α β) (β α) (α β) (β α) (EC)

Climbing up the hierarchy Algorithm to transform: axioms/equations up to the class P 3 into good structural rules in hypersequent calculus An application to universal algebra Analytic calculi iff hyperdedekind-macneille completion (AC, N. Galatos and K. Terui. Algebra Universalis 2011 and APAL 2016)

From axioms to rules our tool http://www.logic.at/people/lara/axiomcalc.html Input: Hilbert axioms

An application to standard completeness Completeness of axiomatic systems with respect to algebras whose lattice reduct is the real unit interval [0, 1]. (Hajek 1998) Formalizations of Fuzzy Logic

Some standard complete logics T-norm based logics Example: Gödel logic v : Propositions [0, 1] v(a B) = min{v(a), v(b)} v( ) = 0 v(a B) = max{v(a), v(b)} v(a B) = 1 if v(a) v(b), and v(b) otherwise Monoidal T-norm based logic MTL (Godo, Esteva, FSS 2001) MTL = FLew + (α β) (β α)) v(a B) = v(a) v(b), left continous t-norm v(a B) = max{v(a), v(b)} v(a B) = v(a) v(b) v( ) = 0

Standard Completeness? Question Given a logic L obtained by extending MTL with A A (excluded middle)? A n 1 A n (n-contraction)? (A B) (A B A B) (weak nilpotent minimum)?... Is L standard complete? (is it a formalization of Fuzzy Logic?) Case-by-case answer

A uniform proof of standard completeness Theorem (Baldi and AC, TCS 2014, ISMVL 2015) Given any set Ax of Hilbert axioms satisfying suitable conditions MTL + Ax is standard complete. Proof Define an analytic hypersequent calculus Elimination of the density rule (p eigenvariable): G Γ p Σ, p G Γ, Σ (density) Dedekind-MacNeille style completion

Substructural logics summary automated introduction of sequent and hypersequent calculi for large classes of logics preservation of various order-theoretic completions of the corresponding algebras uniform proofs of standard completeness for many (well known or new) logics

Case study: Paraconsistent logics E.g. Da Costa s axioms defining the C-systems: (n 1 ) α α (n 2 ) α ( α β) (c) α α (e) α α (n l ) (α β) ( α β) (n r ) ( α β) (α β) (n l ) (α β) ( α β) (n r ) ( α β) (α β) (n l ) (α β) (α β) (n r ) (α β) (α β) (b) α ( α ( α β)) (r ) (α β) ( α β) (k) α (α α) (k 2 ) α α (o 1 ) α (α β) (o 2 ) β (α β) (a ) ( α β) (α β) (a ) α α... Divide propositions into consistent and inconsistent ones. Reflect this classification within the language. Employ a special (primitive or defined) connective with intuitive meaning α: α is consistent.

Case study: Paraconsistent logics We identified a formal grammar generating (infinitely many) axioms in the language of CL + with new unary connectives. For any set of axioms generated by this grammar we provided algorithms (and a PROLOG program): (Step 1) to extract a corresponding sequent calculus (Step 2) exploit the calculus to define suitable semantics for the logic, which is used: to show the decidability of the logic (AC, O. Lahav, L. Spendier, A. Zamansky. LFCS 2013 and TOCL 2014)

Useful semantics Definition A partial non-deterministic matrix (PNmatrix) M consists of: (i) a set V M of truth values, (ii) a subset of V M of designated truth values, and (iii) a truth-table M : VM n P(V M) for every n-ary connective. PNmatrices generalise the notion of non-deterministic matrices (A. Avron, 2001) by allowing empty sets in the truth tables.

Why non-determinism? Standard rules for classical negation and conjunction: Γ, ψ Γ, ψ Γ, ψ, ϕ Γ, ψ ϕ Γ, ψ Γ, ψ Γ, ψ Γ, ϕ Γ, ψ ϕ 1 0 0 1 1 1 1 1 0 0 0 1 0 0 0 0

Why non-determinism? Standard rules for classical negation and conjunction: Γ, ψ Γ, ψ Γ, ψ, ϕ Γ, ψ ϕ Γ, ψ Γ, ψ Γ, ψ Γ, ϕ Γ, ψ ϕ 1 0 0??? 1 1??? 1 0 0 0 1 0 0 0 0

Why non-determinism? Standard rules for classical negation and conjunction: Γ, ψ Γ, ψ Γ, ψ, ϕ Γ, ψ ϕ 1 {0} 0 {1,0} Γ, ψ Γ, ψ Γ, ψ Γ, ϕ Γ, ψ ϕ 1 1 {1, 0} 1 0 {0} 0 1 {0} 0 0 {0}

Step 2: Extracting PNmatrices Truth values V M : tuples of size = # of unary connectives +1 New rules reduce the level of non-determinism Type 3: Type 2: Type 1: P Γ, ψ P Γ, i j ψ Q Γ, (ψ ϕ) reduce the set of truth values V M determine truth tables for j determine truth tables for

Our Tool : Paralyzer (PARAconsistent logic analyzer) Input: Set of axioms A according to our grammar. Output: Proof Theory: sequent calculus for CL + with A Semantics: truth tables (using PNmatrices) Encoding of the calculus into ISABELLE http://www.logic.at/staff/lara/tinc/webparalyzer/paralyzer.html

Open problems and work in progress Systematic introduction of analytic calculi enlarge the set of axioms we can capture first-order logics, modal logics, deontic logics... Their exploitation automated deduction methods algebraic completions Curry Howard hysomorphism... Applications: e.g. analysis of the Indian sacred texts (Vedas)

Open problems and work in progress Systematic introduction of analytic calculi enlarge the set of axioms we can capture first-order logics, modal logics, deontic logics... Their exploitation automated deduction methods algebraic completions Curry Howard hysomorphism... Applications: e.g. analysis of the Indian sacred texts (Vedas) Non-classical Proofs: Theory, Applications and Tools, research project 2012-2017 (START prize Austrian Research Fund)