Nonclassical logics (Nichtklassische Logiken)

Similar documents
185.A09 Advanced Mathematical Logic

Classical Propositional Logic

CHAPTER 11. Introduction to Intuitionistic Logic

Non-classical Logics: Theory, Applications and Tools

Propositional Logic Language

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

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

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

Introduction to Logic

Modal logics: an introduction

Learning Goals of CS245 Logic and Computation

On Urquhart s C Logic

Introduction to Intuitionistic Logic

Logic for Computer Science - Week 4 Natural Deduction

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models

Modal Logic XX. Yanjing Wang

Chapter 11: Automated Proof Systems (1)

Chapter 11: Automated Proof Systems

Marie Duží

Natural Deduction for Propositional Logic

Advanced Topics in LP and FP

PROPOSITIONAL LOGIC. VL Logik: WS 2018/19

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

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

Logic: Propositional Logic (Part I)

Propositional logic (revision) & semantic entailment. p. 1/34

Basic Algebraic Logic

Propositional Logic: Models and Proofs

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

Outline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation

CHAPTER 7. Introduction to Intuitionistic and Modal Logics. 1 Introduction to Intuitionictic Logic

Some consequences of compactness in Lukasiewicz Predicate Logic

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic


Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Vague and Uncertain Entailment: Some Conceptual Clarifications

Propositional and Predicate Logic - V

Propositional Logic: Syntax

Contents Propositional Logic: Proofs from Axioms and Inference Rules

Lecture Notes on Classical Modal Logic

Inference in Propositional Logic

Classical First-Order Logic

Propositional Logics and their Algebraic Equivalents

Propositional natural deduction

cse541 LOGIC FOR COMPUTER SCIENCE

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

Propositional Logic: Logical Agents (Part I)

Display calculi in non-classical logics

Chapter 2: Introduction to Propositional Logic

Mathematical Logic 1

General methods in proof theory for modal logic - Lecture 1

Logic: The Big Picture

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

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

Notation for Logical Operators:

Towards A Multi-Agent Subset Space Logic

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

First-Order Logic. Chapter Overview Syntax

On Axiomatic Rejection for the Description Logic ALC

Propositional Logic: Deductive Proof & Natural Deduction Part 1

Incompleteness of a First-order Gödel Logic and some Temporal Logics of Programs

Logic. Propositional Logic: Syntax. Wffs

Positive provability logic

Principles of Knowledge Representation and Reasoning

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

Foundations of Artificial Intelligence

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Foundations of Artificial Intelligence

Logic. Propositional Logic: Syntax

6. Logical Inference

Lecture 1: Logical Foundations

3 Propositional Logic

First-Degree Entailment

Overview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof.

Lecture 11: Measuring the Complexity of Proofs

2.2 Lowenheim-Skolem-Tarski theorems

Foundations of Artificial Intelligence

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

First Order Logic (FOL) 1 znj/dm2017

An Introduction to Modal Logic III

Categories, Proofs and Programs

Hypersequent calculi for non classical logics

First-Order Intuitionistic Logic with Decidable Propositional Atoms

Semantical study of intuitionistic modal logics

An analysis of the constructive content of Henkin s proof of Gödel s completeness theorem DRAFT

Part 1: Propositional Logic

Classical First-Order Logic

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

On Hájek s Fuzzy Quantifiers Probably and Many

Preface to the First Edition. xxvii 0.1 Set-theoretic Notation xxvii 0.2 Proof by Induction xxix 0.3 Equivalence Relations and Equivalence Classes xxx

Uniform Schemata for Proof Rules

First Order Logic: Syntax and Semantics

Gödel Logics a short survey

Tecniche di Verifica. Introduction to Propositional Logic

A Journey through the Possible Worlds of Modal Logic Lecture 1: Introduction to modal logics

Logic. Knowledge Representation & Reasoning Mechanisms. Logic. Propositional Logic Predicate Logic (predicate Calculus) Automated Reasoning

Transcription:

Nonclassical logics (Nichtklassische Logiken) VU 185.249 (lecture + exercises) http://www.logic.at/lvas/ncl/ Chris Fermüller Technische Universität Wien www.logic.at/people/chrisf/ chrisf@logic.at Winter term 2016/17 Lecture 1

Tentative overview: 0 What is meant by nonclassical logics? What are these logics good for? 1 A (possible) classification Relations between various logics 2 A reminder on classical logic 3 Modal logics What are modal logics? General theory: syntax, semantics, proof systems, expressibility, relations between important modal logics, correspondence theory, multi-modal logics,... Epistemic logic(s) (for modelling multi-agent systems) Hints at other families of modal logics: temporal logic, deontic logic, dynamic logic, provability logic,...

Tentative overview (ctd.): 4 Intuitionistic logic (constructive logic) general motivation: From Brouwer to program extraction different semantics: Kripke/Beth style semantics, Brouwer-Heyting-Kolmogorov interpretation, topological semantics different proof systems: Hilbert type, sequent system(s), natural deduction,... dialogue games characterizing constructive (and other) logics 5 Many-valued logics, fuzzy logics: finite valued logics: syntax, semantics, important examples of 3- and 4-valued logics (Kleene, Belnap) and families of logics (Gödel, Lukasiewicz,... ) internal and external proof systems short appetizer t-norm based fuzzy logics (specialized course Fuzzy Logic by P. Cintula ony 2017/18) 6 Overview of further topics: e.g., substructural logics, logic in games and games in logic, logical dynamics, paraconsistent logics, relevance logics,... Let me know your own interests!

Do we need nonclassical logics? Why? A possible reason for inadequateness of classical logic (CL) as a model for correct formal reasoning: CL-semantics is too coarse: e.g., lacking truth value gaps or degrees of truth; concerns about constructivity ; concerns about paradoxes of material implication Exercise 1: Explain (in your own words!) the paradoxes of material implication. Make your sources explicit! Exercise 2: Consider the following statement S, that we will assume to be true: If god doesn t exist then it is not the case that if I pray to god she will answer my prayers. This has the logical form G (P A). I don t pray to god means that P is false. But if P is false then P A is true and therefore (P A) is false. Since we assume S to be true, G has also to be false and thus G ( God exists ) is true. Explain what exactly is wrong here?

Do we need nonclassical logics? Why? (ctd.) Another possible reason: insufficient expressibility: e.g., concerning temporal dependencies or the knowledge/belief/truth distinction An important remark: First-order classical logics can be considered universal. But it is often computationally & conceptionally more adequate to use, e.g., propositional modal logic instead of a classical first-order theory.

Note: All nonclassical logics refer in some specific way to classical logic: (Not necessarily exclusively) either to propose a fundamental alternative to it, or to extend/augment it in a specific way, or to generalize some fundamental feature of it, or to refine it from a certain perspective. [ picture developed on blackboard handout ] As a consequence, we need to have a clear understanding of the main concepts of classical logic and of logics in general: Syntax ( classical connectives and quantifiers ) Semantics ( Tarski-style ) Proof systems / algorithms ( Gentzen-style, Frege-Hilbert-style, tableaux, resolution, etc.)

Basic concepts of CL A quick reminder Note: Logic not only classical logic! comes in levels/orders: propositional logic first-order logic second-order logic... (higher orders) Main characteristics of CL at the different levels: propositional logic: decidable (validity conp-complete) first-order logic: undecidable, but still axiomatizable ( r.e. / c.e., validity Π 0 1-complete = semi-decidable ) second and higher orders: not (recursively) axiomatizable (validity not arithmetical, Π 1 1 -complete)

Classical propositional logics the logic of bivalence Syntax: inductive definition of formulas FORM 0 : A, B,..., F, G,... propositional variables (atoms) PV : p, q, r,... logical connectives (operators): (implication), (disjunction), (conjunction), (negation), ( falsum ) additional symbols: parenthesis Note: We make liberal use of usual priority rules, associativity and commutativity of and etc. Semantics: truth tables e.g., for implication A B B : 1 B : 0 A : 1 1 0 A : 0 1 1 where 1, 0 are the truth values true, false

Semantics (ctd): An interpretation I is an assignment: PV {1, 0}. Every interpretation I induces via the truth tables an evaluation function v I : FORM 0 {1, 0}. F is satisfiable... F evaluates to 1 ( is true ) under some interpretation F is valid... F evaluates to 1 ( is true ) under all interpretations Exercise 3: Clarify the following notions for propositional CL: tautology, model, interpretation, (un)satisfiability, consequence. Exercise 4 : Show that the satisfiability problem for the fragment of propositional CL without and ( positive fragment ) is trivial, whereas the validity problem is still conp-complete.

Classical predicate logic (first-order CL) Syntax: (set of formulas FORM 1 ) Atomic formulas (atoms) are analyzed as structured predicate symbols PS n of arity n (P, Q, R,... ) ( 0-ary predicate symbol = propositional variable) (object) terms (s, t, t i,...) are inductively built up from (object) variables V (x, y, z, u,... ) constant symbols KS (a, b, c,... ) function symbols FSn (f, g, h,... ) of arity n resulting in atoms P(f (a, x), g(f (x, y)), c) etc. general formulas (A, B,..., F, G,... ) build up from connectives as well as quantifiers, Exercise 5: Present a formal definition of free(f ) (set of free variables occurring in the formula F ), based on a formal definition of FORM 1.

First-order CL (ctd.) Semantics: An interpretation is a tuple I = (D, Φ, d) (1) D is a non-empty set the domain of I (2) Φ is a signature mapping: (2.1) Φ(c) D for all c KS. (2.2) Φ(f ) is a function of type D n D for f FS n. (2.3) Φ(P) is a relation, represented as function of type D n {0, 1} for P PS n. (3) d is a variable assignment, i.e., a function of type V D Note: Sometimes all such structures I are called models. (As in: model theory ).

First-order CL semantics (ctd.) Given an interpretation I = (D, Φ, d) the value v I (t) of a term t in I is defined inductively as follows: if t V then v I (t) = d(t) if t KS then v I (t) = Φ(t) otherwise t is of the form f (t 1,..., t n ) and v I (t) = Φ(f )(v I (t 1 ),..., v I (t n )) Exercise 6: Present a formal definition of the evaluation function v I, that assigns a truth value in I to every formula F. Exercise 7: Let G = (P(x) P(f (x, y))). Find models and counter-models for the following formulas: x y G, x y G, x y G, y x G. Note: Proof systems don t refer to models, but are purely syntactical.

Syntax vs. semantics Semantics F is valid (true in every interpretation) F is unsatisfiable (false in every interpretation) F follows from/is a consequence of set Γ {G 1,..., G n } F and G are logically equivalent F and G are true/false in the same interpretations Syntax F is provable (in a calculus, i.e.) is a theorem F is refutable ( F is a theorem) F is derivable from G 1,..., G n (F G) (G F ) is provable (abbrev.: F G or F G) Exercise 8: Explain how soundness and completeness relates syntax and semantics (in particular in case of follows vs. derivable ).

Types of calculi (proof systems) (Frege-)Hilbert type: following the scheme of axiomatic theories: few, simple derivation rules (e.g. only modus ponens) + well suited for presenting/comparing a wide range of logics bad for proof search Gentzen type: rule-oriented, analytic, close to semantics sequent calculi (e.g., LK) (analytic) tableaux matrix systems, connection graphs hypersequent calculi display calculi,... Exercise 9: Describe at least one more type of proof systems. Explain what soundness and completeness means for each system. What could the distinction between strong and weak/ordinary completeness refer to?