Craig Interpolation Theorem for L!1! (or L!! )

Size: px
Start display at page:

Download "Craig Interpolation Theorem for L!1! (or L!! )"

Transcription

1 Craig Interpolation Theorem for L!1! (or L!! ) Theorem We assume that L 1 and L 2 are vocabularies. Suppose =!, where is an L 1 -sentence and is an L 2 -sentence of L!!. Then there is an L 1 \ L 2 -sentence of L!! such that 1 =! 2 =! Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

2 Proposition Suppose depends only on R in the sense that M = () N = whenever M and N have the same domain and the same interpretation of R. Then = $ where no non-logical symbols except R occurs in. Proof. Let S 1,...,S n be the non-logical symbols in or in addition to R. Let 0 be the result of replacing each S i in by a new symbol Si 0. Now =! 0. By the Interpolation Theorem there is containing only R such that =! and =! 0. Hence = $. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

3 Theorem (Beth Definability Theorem) Suppose the predicate S depends only on R in the sense that (R, S) ^ (R, S 0 ) = 8x(S(x) $ S 0 (x)). Then there is (R, x) where S does not occur such that (R, S) = 8x(S(x) $ (R, x)). Proof. By assumption Let (R, c) be such that = ( (R, S) ^ S(c))! ( (R, S 0 )! S 0 (c)). = ( (R, S) ^ S(c))! (R, c) and = (R, c)! ( (R, S 0 )! S 0 (c)). Then (R, S) = 8x(S(x) $ (R, x)). Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

4 Interpolation in second order logic Remark Single sorted logic second order logic satisfies trivially the Interpolation Theorem: Suppose =!, where is an L 1 -sentence and is an L 2 -sentence of second order logic. Then there is an L 1 \ L 2 -sentence of second order logic such that =! and =!, obtained as follows. Let L 1 \ L 2 consist (only) of the relation symbols R 1,...,R n, a(r i )=m i. We can write as (R 1,...,R n ). Let : 9X m 1...9X mn (X m 1,...,X mn ). Many sorted second order logic does not satisfy Interpolation Theorem (see later). Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

5 Towards many sorted interpolation Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

6 Let Un( ) be all sorts s such that a variable of sort s occurs universally quantified in. Similarly Un(S) for a set S of formulas. Let Ex( ) be all sorts s such that a variable of sort s occurs existentially quantified in. Similarly Ex(S) for a set S of formulas. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

7 Many Sorted Interpolation Theorem for L!1! (or L!! ) Theorem We assume that L 1 and L 2 are relational. Suppose =!, where is an L 1 -sentence and is an L 2 -sentence of L!1!. Then there is an L 1 \ L 2 -sentence of L!1! such that 1 =! 2 =! 3 Un( ) Un( ) 4 Ex( ) Ex( ). If and are strict, then so is. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

8 Proof: Let us assume that the claim of the theorem is false and derive a contradiction. Since =!, the set {, } has no models. We construct a consistency property for {, }. Let L = L 1 \ L 2. Suppose C s = {c s n : n 2 N} is a set of new constant symbols for each sort s of L 1 [ L 2. Let C = S s Cs. Given a set S of sentences, let S 1 consists of all L 1 [ C -sentences in S with only finitely many constant from C, and let S 2 consists of all L 2 [ C -sentences in S with only finitely many constant from C. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

9 Definition Let us say that separates S 0 and S 00 if 1 S 0 =, 2 S 00 =, 3 Un 0 ( ) Un(S 0 ), 4 Ex 0 ( ) Un(S 00 ), where Un 0 ( ) consists of sorts s 2 Un( ) and sorts of constants c 2 C occurring in, and Ex 0 ( ) consists of sorts s 2 Ex( ) and sorts of constants c 2 C occurring in. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

10 Definition Let consist of finite sets S of sentences of L!1! such that S = S 1 [ S 2 and : (?) There is no L [ C -sentence that separates S 1 and S 2. In the strict case we demand that all the sentences are strict. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

11 is a consistency property Case 0. {, } 2. True by assumption. (We may assume that is consistent and that is not valid.) Case 1. Suppose S 2 and consider c = c, where, for example, c 2 L 1 [ C. We let S1 0 = S 1 [ {c = c} and S2 0 = S 2 [ {c = c}. Suppose (c 0,...,c m 1 ) separates S1 0 and S0 2. Then clearly also (c 0,...,c m 1 ) separates S 1 and S 2, a contradiction. Case 2. Suppose (c) 2 S 2, (c) atomic, and c = c 0 2 S. Clearly S [ { (c 0 )} 2. Case 3. Negation: trivial. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

12 Case 4. Consider W i2i ' i, where for example W i2i ' i 2 S 1. We claim that for some i 2 I the sets S 1 [ {' i } and S 2 satisfy (?). Otherwise there is for each i 2 I some i that separates S 1 [ {' i } and S 2. Let = W i2i i. Then separates S 1 and S 2 contrary to assumption. Case 5. Consider ' i where for example V i2i ' i 2 S 1. Let S1 0 = S 1 [ {' i } and S2 0 = S 2. If separates S1 0 and S0 2, then clearly also separates S 1 and S 2. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

13 Case 6. Consider S 2 and 9x s (x s ) 2 S 1. Let c 0 2 C s be such that c does not occur in S. We claim that the sets S 1 [ { (c 0 )} and S 2 satisfy (?). Otherwise there is some (c 0,...,c m 1 ) that separates S 1 [ { (c 0 )} and S 2. Let 1 0 (c 1,...,c m 1 )=9x s (x s, c 1,...,c m 1 ). We show that 0 (c 1,...,c m 1 ) separates S 1 and S 2, a contradiction. Checking this: S 1 = 0 (c 1,...,c m 1 ): S 1 [ { (c 0 )} = (c 0,...,c m 1 ) by assumption S 1 = (c 0 )! (c 0,...,c m 1 ) S 1 = 8x s ( (x s )! (x s, c 1,...,c m 1 )) S 1 = 9x s (x s )!9x s (x s, c 1,...,c m 1 ) S 1 = 9x s (x s, c 1,...,c m 1 ) as S 1 = 9x s (x s ) S 1 = 0 (c 1,...,c m 1 ) 1 If c 0 does not occur in, then we take 0 =. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

14 Case 6. (Contd.) S 2 = 0 (c 0,...,c m 1 ): S 2 = (c 0,...,c m 1 ) S 2 = 8x s (x s, c 1,...,c m 1 ) S 2 = 9x s (x s, c 1,...,c m 1 ) S 2 = 0 (c 1,...,c m 1 ) Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

15 Case 6. (Contd.) Un 0 ( 0 (c 1,...,c m 1 )) Un(S 1 ): s 0 2 Un 0 ( 0 (c 1,...,c m 1 )) s 0 2 Un 0 ( (c 0,...,c m 1 )) s 0 2 Un(S 1 [ { (c 0 )}). If s 0 2 Un( (c 0 )), then s 0 2 Un(9x s (x s )), whence s 0 2 Un(S 1 ). Ex 0 ( 0 (c 1,...,c m 1 )) Un(S 2 ): s 0 2 Ex 0 ( 0 (c 1,...,c m 1 )) s 0 2 Ex 0 ( (c 0,...,c m 1 )) [ {s} s 0 2 Un(S 2 ) [ {s} = Un(S 2 ), since c 0 occurs in (c 0,...,c m 1 ), and hence c 0 2 Un(S 2 ) by the choice of. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

16 Case 6. (Contd.) Consider S 2 and 9x s (x s ) 2 S 2. Let c 0 2 C s be such that c 0 does not occur in S. We claim that the sets S 1 and S 2 [ { (c 0 )} satisfy (?). Otherwise there is some (c 0,...,c m 1 ) that separates S 1 and S 2 [ { (c 0 )}. Let 2 0 (c 1,...,c m 1 )=8x s (x s, c 1,...,c m 1 ). We show that 0 (c 1,...,c m 1 ) separates S 1 and S 2, a contradiction. Checking this: S 1 = 0 (c 1,...,c m 1 ): S 1 = (c 0,...,c m 1 ) S 1 = 8x s (x s, c 1,...,c m 1 ) S 1 = 0 (c 1,...,c m 1 ) 2 If c 0 does not occur in, we choose 0 =. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

17 S 2 = 0 (c 1,...,c m 1 ): S 2 [ { (c 0 )} = (c 0,...,c m 1 ) S 2 = (c 0 )! (c 0,...,c m 1 ) S 2 = 8x s ( (x s )! (x s, c 1,...,c m 1 )) S 2 = 9x s (x s )!9x s (x s, c 1,...,c m 1 ) S 2 = 9x s (x s, c 1,...,c m 1 ) S 2 = 0 (c 1,...,c m 1 ) Un 0 ( 0 (c 1,...,c m 1 )) Un(S 1 ): s 0 2 Un 0 ( 0 (c 1,...,c m 1 )) s 0 2 Un 0 ( (c 0,...,c m 1 )) 3 s 0 2 Un(S 1 ) by the choice of. 3 Remember that c 0 occurs in. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

18 Ex 0 ( 0 (c 1,...,c m 1 )) Un(S 2 ): Suppose s 0 2 Ex 0 ( 0 (c 1,...,c m 1 )). Then s 0 2 Ex 0 ( (c 0,...,c m 1 )) because the universal quantifier in front of 0 adds no new existentially quantified variables. By our assumption about, s 0 2 Un(S 2 [ { (c 0 )}). If s 0 2 Un( (c 0 )), then s 0 2 Un(S 2 ). So in any case s 0 2 Un(S 2 ). Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

19 Case 7. Consider S 2, (c 0 ), where c 0 2 C s and 8x s (x s ) 2 S 1. Exercise! Case 7. (Contd.) Consider (c 0 ), where c 0 2 C s and 8x s (x s ) 2 S 2. Exercise! Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

20 Appications of interpolation Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

21 Single sorted interpolation follows a fortiori. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

22 Many sorted interpolation gives preservation results. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

23 Theorem (Łoś-Tarski-Malitz) A formula is preserved by submodels if and only if it is logically equivalent to a universal formula. Even in L!1!. Definition Let EXT be the conjunction of 8x 1 9x 0 (x 0 = x 1 ) 8x 1 8y 1 (R 0 (x 1, y 1 ) $ R(x 1, y 1 )) This is true in ({M 0, M 1 }, R, R 0 ) iff (M 1, R 0 ) (M 0, R). Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

24 Theorem (Łoś-Tarski-Malitz) A formula is preserved by submodels if and only if it is logically equivalent to a universal formula. Even in L!1!. Definition Let EXT be the conjunction of 8x 1 9x 0 (x 0 = x 1 ) 8x 1 8y 1 (R 0 (x 1, y 1 ) $ R(x 1, y 1 )) This is true in ({M 0, M 1 }, R, R 0 ) iff (M 1, R 0 ) (M 0, R). Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

25 Proof. Let us assume the single sorted is written in sort 0 variables. Let 0 be the same written in sort 1 variables and with R replaced by R 0. Then EXT ^ 0 = EXT ^ 0 =, = The only common sort is 0, so has only sort 0 symbols. To see that is existential we note that if a sort 0 variable was universally quantified in, then it is universally quantified in EXT ^ 0, but there is no universally quantified sort 0 variable in EXT ^ 0. Thus is existential. Moreover, = $. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

26 Definition A flow formula is a formula of the vocabulary of Chu spaces made of atomic formulas and their negations in the lax 2-sorted logic of Chu spaces by means of ^, _, 9x 0, 8x 1. Definition A Chu transform is simple if its mappings g and h are identities. Lemma Flow formulas are preserved by simple Chu transforms. Proof. Easy induction on formulas. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

27 Theorem (van Benthem) A formula of 2-sorted first order logic of Chu spaces is preserved by simple Chu transforms if and only if it is equivalent to a flow-formula. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

28 Suppose, written in 0 and 1 is preserved by Chu transforms. Then is existential in 0: Let 0 be but in 2 and 3, and R 0 instead of R. Let EXT 1 : 8x 0 9x 2 x 0 = x 2 EXT 2 : 8x 0 8y 0 (R(x 0, y 0 ) $ R 0 (x 0, y 0 )) EXT 3 : 8x 3 9x 1 x 3 = x 1 This is true in ({M 0, M 1, M 2, M 3 }, R, R 0 ) iff id is a Chu transform M 0, M 1, R)! (M 2, M 3, R 0 ). We need 0 in 2 and 3. We want 2 to by existential only in 0, so on the left hand side we can have no universal 2. So we want ^ EXT 1 ^ EXT 2 ^ EXT 3 = ^ EXT 1 ^ EXT 2 ^ EXT 3 = 0, 0 = 0 Now 0 is in 2 and 3 and existential in 2. Clearly = from 0 by switching back to 0 and 1. $ if we get Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

29 So we have, existential in x 0 which is preserved by Chu transforms. We show that is universal in x 1. Let 0 be but R 0 instead of R. Let EXT 1 : 8x 0 9x 2 x 0 = x 2 EXT 2 : 8x 0 8y 0 (R(x 0, y 0 ) $ R 0 (x 0, y 0 )) EXT 3 : 8x 3 9x 1 x 3 = x 1 This is true in ({M 0, M 1, M 2, M 3 }, R, R 0 ) iff id is a Chu transform M 0, M 1, R)! (M 2, M 3, R 0 ). We need 0 in 0 and 1. We want 1 to by universal only in 0, so on the right hand side we can have no existential 1. So we want = (EXT 1 ^ EXT 2 ^ EXT 3 )! 0 = 0, 0 =(EXT 1 ^ EXT 2 ^ EXT 3 )! 0 Now 0 is in 0 and 1 and universal in 1. Moreover it is existential in 0, because is. Clearly = $ if we get from 0 by switching back to R. Jouko Väänänen (Helsinki and Amsterdam) Many-sorted logic January / 114

Introduction to Sets and Logic (MATH 1190)

Introduction to Sets and Logic (MATH 1190) Introduction to Sets Logic () Instructor: Email: shenlili@yorku.ca Department of Mathematics Statistics York University Sept 18, 2014 Outline 1 2 Tautologies Definition A tautology is a compound proposition

More information

Discrete Mathematics. Instructor: Sourav Chakraborty. Lecture 4: Propositional Logic and Predicate Lo

Discrete Mathematics. Instructor: Sourav Chakraborty. Lecture 4: Propositional Logic and Predicate Lo gic Instructor: Sourav Chakraborty Propositional logic and Predicate Logic Propositional logic and Predicate Logic Every statement (or proposition) is either TRUE or FALSE. Propositional logic and Predicate

More information

Finite information logic

Finite information logic Finite information logic Rohit Parikh and Jouko Väänänen January 1, 2003 Abstract: we introduce a generalization of Independence Friendly (IF) logic in which Eloise is restricted to a nite amount of information

More information

FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS

FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS ARTEM CHERNIKOV 1. Intro Motivated by connections with computational complexity (mostly a part of computer scientice today).

More information

Recall that the expression x > 3 is not a proposition. Why?

Recall that the expression x > 3 is not a proposition. Why? Predicates and Quantifiers Predicates and Quantifiers 1 Recall that the expression x > 3 is not a proposition. Why? Notation: We will use the propositional function notation to denote the expression "

More information

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017 3. The Logic of Quantified Statements Summary Aaron Tan 28 31 August 2017 1 3. The Logic of Quantified Statements 3.1 Predicates and Quantified Statements I Predicate; domain; truth set Universal quantifier,

More information

Incomplete version for students of easllc2012 only. 6.6 The Model Existence Game 99

Incomplete version for students of easllc2012 only. 6.6 The Model Existence Game 99 98 First-Order Logic 6.6 The Model Existence Game In this section we learn a new game associated with trying to construct a model for a sentence or a set of sentences. This is of fundamental importance

More information

Modal Dependence Logic

Modal Dependence Logic Modal Dependence Logic Jouko Väänänen Institute for Logic, Language and Computation Universiteit van Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam, The Netherlands J.A.Vaananen@uva.nl Abstract We

More information

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION KRIPKE S THEORY OF TRUTH RICHARD G HECK, JR 1. INTRODUCTION The purpose of this note is to give a simple, easily accessible proof of the existence of the minimal fixed point, and of various maximal fixed

More information

Predicate Logic: Sematics Part 1

Predicate Logic: Sematics Part 1 Predicate Logic: Sematics Part 1 CS402, Spring 2018 Shin Yoo Predicate Calculus Propositional logic is also called sentential logic, i.e. a logical system that deals with whole sentences connected with

More information

COMP 409: Logic Homework 5

COMP 409: Logic Homework 5 COMP 409: Logic Homework 5 Note: The pages below refer to the text from the book by Enderton. 1. Exercises 1-6 on p. 78. 1. Translate into this language the English sentences listed below. If the English

More information

Proofs. Joe Patten August 10, 2018

Proofs. Joe Patten August 10, 2018 Proofs Joe Patten August 10, 2018 1 Statements and Open Sentences 1.1 Statements A statement is a declarative sentence or assertion that is either true or false. They are often labelled with a capital

More information

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

CMPSCI 601: Tarski s Truth Definition Lecture 15. where @ CMPSCI 601: Tarski s Truth Definition Lecture 15! "$#&%(') *+,-!".#/%0'!12 43 5 6 7 8:9 4; 9 9 < = 9 = or 5 6?>A@B!9 2 D for all C @B 9 CFE where ) CGE @B-HI LJKK MKK )HG if H ; C if H @ 1 > > > Fitch

More information

Completeness in the Monadic Predicate Calculus. We have a system of eight rules of proof. Let's list them:

Completeness in the Monadic Predicate Calculus. We have a system of eight rules of proof. Let's list them: Completeness in the Monadic Predicate Calculus We have a system of eight rules of proof. Let's list them: PI At any stage of a derivation, you may write down a sentence φ with {φ} as its premiss set. TC

More information

2-4: The Use of Quantifiers

2-4: The Use of Quantifiers 2-4: The Use of Quantifiers The number x + 2 is an even integer is not a statement. When x is replaced by 1, 3 or 5 the resulting statement is false. However, when x is replaced by 2, 4 or 6 the resulting

More information

The predicate calculus is complete

The predicate calculus is complete The predicate calculus is complete Hans Halvorson The first thing we need to do is to precisify the inference rules UI and EE. To this end, we will use A(c) to denote a sentence containing the name c,

More information

Harmonious Logic: Craig s Interpolation Theorem and its Descendants. Solomon Feferman Stanford University

Harmonious Logic: Craig s Interpolation Theorem and its Descendants. Solomon Feferman Stanford University Harmonious Logic: Craig s Interpolation Theorem and its Descendants Solomon Feferman Stanford University http://math.stanford.edu/~feferman Interpolations Conference in Honor of William Craig 13 May 2007

More information

Conjunction: p q is true if both p, q are true, and false if at least one of p, q is false. The truth table for conjunction is as follows.

Conjunction: p q is true if both p, q are true, and false if at least one of p, q is false. The truth table for conjunction is as follows. Chapter 1 Logic 1.1 Introduction and Definitions Definitions. A sentence (statement, proposition) is an utterance (that is, a string of characters) which is either true (T) or false (F). A predicate is

More information

Finite information logic

Finite information logic Finite information logic Rohit Parikh and Jouko Väänänen April 5, 2002 Work in progress. Please do not circulate! Partial information logic is a generalization of both rst order logic and Hintikka-Sandu

More information

1.1 Language and Logic

1.1 Language and Logic c Oksana Shatalov, Fall 2017 1 1.1 Language and Logic Mathematical Statements DEFINITION 1. A proposition is any declarative sentence (i.e. it has both a subject and a verb) that is either true or false,

More information

A. Propositional Logic

A. Propositional Logic CmSc 175 Discrete Mathematics A. Propositional Logic 1. Statements (Propositions ): Statements are sentences that claim certain things. Can be either true or false, but not both. Propositional logic deals

More information

1. Propositions: Contrapositives and Converses

1. Propositions: Contrapositives and Converses Preliminaries 1 1. Propositions: Contrapositives and Converses Given two propositions P and Q, the statement If P, then Q is interpreted as the statement that if the proposition P is true, then the statement

More information

Bisimulation for Neighbourhood Structures

Bisimulation for Neighbourhood Structures Bisimulation for Neighbourhood Structures Helle Hvid Hansen 1,2 Clemens Kupke 2 Eric Pacuit 3 1 Vrije Universiteit Amsterdam (VUA) 2 Centrum voor Wiskunde en Informatica (CWI) 3 Universiteit van Amsterdam

More information

Introduction to Model Theory

Introduction to Model Theory Introduction to Model Theory Jouko Väänänen 1,2 1 Department of Mathematics and Statistics, University of Helsinki 2 Institute for Logic, Language and Computation, University of Amsterdam Beijing, June

More information

Finite Model Theory: First-Order Logic on the Class of Finite Models

Finite Model Theory: First-Order Logic on the Class of Finite Models 1 Finite Model Theory: First-Order Logic on the Class of Finite Models Anuj Dawar University of Cambridge Modnet Tutorial, La Roche, 21 April 2008 2 Finite Model Theory In the 1980s, the term finite model

More information

Predicate Logic. Predicates. Math 173 February 9, 2010

Predicate Logic. Predicates. Math 173 February 9, 2010 Math 173 February 9, 2010 Predicate Logic We have now seen two ways to translate English sentences into mathematical symbols. We can capture the logical form of a sentence using propositional logic: variables

More information

1. Model existence theorem.

1. Model existence theorem. We fix a first order logic F such that 1. Model existence theorem. C. We let S be the set of statements of F and we suppose Γ S. We let VFT be the set of variable free terms. For each s VFT we let [s]

More information

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

More information

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional Logical Operators Conjunction Disjunction Negation Exclusive Or Implication Biconditional 1 Statement meaning p q p implies q if p, then q if p, q when p, q whenever p, q q if p q when p q whenever p p

More information

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof Ch. 1.6 Introduction to Proofs The following techniques for methods of proofs are discussed in our text - Vacuous proof - Trivial proof - Direct proof - Indirect proof (our book calls this by contraposition)

More information

CSC165 Mathematical Expression and Reasoning for Computer Science

CSC165 Mathematical Expression and Reasoning for Computer Science CSC165 Mathematical Expression and Reasoning for Computer Science Lisa Yan Department of Computer Science University of Toronto January 21, 2015 Lisa Yan (University of Toronto) Mathematical Expression

More information

MAT 243 Test 1 SOLUTIONS, FORM A

MAT 243 Test 1 SOLUTIONS, FORM A t MAT 243 Test 1 SOLUTIONS, FORM A 1. [10 points] Rewrite the statement below in positive form (i.e., so that all negation symbols immediately precede a predicate). ( x IR)( y IR)((T (x, y) Q(x, y)) R(x,

More information

Propositional Logic: Models and Proofs

Propositional Logic: Models and Proofs Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505

More information

1.1 Language and Logic

1.1 Language and Logic c Oksana Shatalov, Spring 2018 1 1.1 Language and Logic Mathematical Statements DEFINITION 1. A proposition is any declarative sentence (i.e. it has both a subject and a verb) that is either true or false,

More information

Cambridge University Press Dependence Logic. A New Approach to Independence Friendly Logic

Cambridge University Press Dependence Logic. A New Approach to Independence Friendly Logic Jouko Väänänen Dependence Logic A New Approach to Independence Friendly Logic Chapter 1 Dependence Logic Dependence logic introduces the concept of dependence into first order logic by adding a new kind

More information

Pseudo-finite model theory

Pseudo-finite model theory Mat. Contemp. 24 (2003), 169-183. Pseudo-finite model theory Jouko Väänänen Department of Mathematics University of Helsinki Helsinki, Finland jouko.vaananen@helsinki.fi September 24, 2002 Abstract We

More information

Predicate Calculus - Syntax

Predicate Calculus - Syntax Predicate Calculus - Syntax Lila Kari University of Waterloo Predicate Calculus - Syntax CS245, Logic and Computation 1 / 26 The language L pred of Predicate Calculus - Syntax L pred, the formal language

More information

Introduction to Logic in Computer Science: Autumn 2006

Introduction to Logic in Computer Science: Autumn 2006 Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today Today s class will be an introduction

More information

Finite Model Theory Tutorial. Lecture 1

Finite Model Theory Tutorial. Lecture 1 1 Finite Model Theory Tutorial Lecture 1 Anuj Dawar University of Cambridge Modnet Summer School, Manchester, 14-18 July 2008 2 Finite Model Theory In the 1980s, the term finite model theory came to be

More information

Overview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang

Overview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang Overview of Topics Finite Model Theory Part 1: Introduction 1 What is finite model theory? 2 Connections to some areas in CS Qing Wang qing.wang@anu.edu.au Database theory Complexity theory 3 Basic definitions

More information

Propositional Logic Not Enough

Propositional Logic Not Enough Section 1.4 Propositional Logic Not Enough If we have: All men are mortal. Socrates is a man. Does it follow that Socrates is mortal? Can t be represented in propositional logic. Need a language that talks

More information

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

More information

Some consequences of compactness in Lukasiewicz Predicate Logic

Some consequences of compactness in Lukasiewicz Predicate Logic Some consequences of compactness in Lukasiewicz Predicate Logic Luca Spada Department of Mathematics and Computer Science University of Salerno www.logica.dmi.unisa.it/lucaspada 7 th Panhellenic Logic

More information

What is Logic? Introduction to Logic. Simple Statements. Which one is statement?

What is Logic? Introduction to Logic. Simple Statements. Which one is statement? What is Logic? Introduction to Logic Peter Lo Logic is the study of reasoning It is specifically concerned with whether reasoning is correct Logic is also known as Propositional Calculus CS218 Peter Lo

More information

Department of Computer Science & Software Engineering Comp232 Mathematics for Computer Science

Department of Computer Science & Software Engineering Comp232 Mathematics for Computer Science Department of Computer Science & Software Engineering Comp232 Mathematics for Computer Science Fall 2018 Assignment 1. Solutions 1. For each of the following statements use a truth table to determine whether

More information

2 Truth Tables, Equivalences and the Contrapositive

2 Truth Tables, Equivalences and the Contrapositive 2 Truth Tables, Equivalences and the Contrapositive 12 2 Truth Tables, Equivalences and the Contrapositive 2.1 Truth Tables In a mathematical system, true and false statements are the statements of the

More information

1 FUNDAMENTALS OF LOGIC NO.10 HERBRAND THEOREM Tatsuya Hagino hagino@sfc.keio.ac.jp lecture URL https://vu5.sfc.keio.ac.jp/slide/ 2 So Far Propositional Logic Logical connectives (,,, ) Truth table Tautology

More information

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

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1 Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of

More information

Artificial Intelligence. Propositional logic

Artificial Intelligence. Propositional logic Artificial Intelligence Propositional logic Propositional Logic: Syntax Syntax of propositional logic defines allowable sentences Atomic sentences consists of a single proposition symbol Each symbol stands

More information

Mat 243 Exam 1 Review

Mat 243 Exam 1 Review OBJECTIVES (Review problems: on next page) 1.1 Distinguish between propositions and non-propositions. Know the truth tables (i.e., the definitions) of the logical operators,,,, and Write truth tables for

More information

Completeness for FOL

Completeness for FOL Completeness for FOL Overview Adding Witnessing Constants The Henkin Theory The Elimination Theorem The Henkin Construction Lemma 12 This lemma assures us that our construction of M h works for the atomic

More information

Predicate Logic. CSE 191, Class Note 02: Predicate Logic Computer Sci & Eng Dept SUNY Buffalo

Predicate Logic. CSE 191, Class Note 02: Predicate Logic Computer Sci & Eng Dept SUNY Buffalo Predicate Logic CSE 191, Class Note 02: Predicate Logic Computer Sci & Eng Dept SUNY Buffalo c Xin He (University at Buffalo) CSE 191 Discrete Structures 1 / 22 Outline 1 From Proposition to Predicate

More information

Proofs: A General How To II. Rules of Inference. Rules of Inference Modus Ponens. Rules of Inference Addition. Rules of Inference Conjunction

Proofs: A General How To II. Rules of Inference. Rules of Inference Modus Ponens. Rules of Inference Addition. Rules of Inference Conjunction Introduction I Proofs Computer Science & Engineering 235 Discrete Mathematics Christopher M. Bourke cbourke@cse.unl.edu A proof is a proof. What kind of a proof? It s a proof. A proof is a proof. And when

More information

Introduction to Model Theory

Introduction to Model Theory Introduction to Model Theory Charles Steinhorn, Vassar College Katrin Tent, University of Münster CIRM, January 8, 2018 The three lectures Introduction to basic model theory Focus on Definability More

More information

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

More information

AN INTRODUCTION TO MATHEMATICAL PROOFS NOTES FOR MATH Jimmy T. Arnold

AN INTRODUCTION TO MATHEMATICAL PROOFS NOTES FOR MATH Jimmy T. Arnold AN INTRODUCTION TO MATHEMATICAL PROOFS NOTES FOR MATH 3034 Jimmy T. Arnold i TABLE OF CONTENTS CHAPTER 1: The Structure of Mathematical Statements.............................1 1.1. Statements..................................................................

More information

Incomplete version for students of easllc2012 only. 94 First-Order Logic. Incomplete version for students of easllc2012 only. 6.5 The Semantic Game 93

Incomplete version for students of easllc2012 only. 94 First-Order Logic. Incomplete version for students of easllc2012 only. 6.5 The Semantic Game 93 65 The Semantic Game 93 In particular, for every countable X M there is a countable submodel N of M such that X N and N = T Proof Let T = {' 0, ' 1,} By Proposition 622 player II has a winning strategy

More information

Example. Logic. Logical Statements. Outline of logic topics. Logical Connectives. Logical Connectives

Example. Logic. Logical Statements. Outline of logic topics. Logical Connectives. Logical Connectives Logic Logic is study of abstract reasoning, specifically, concerned with whether reasoning is correct. Logic focuses on relationship among statements as opposed to the content of any particular statement.

More information

Predicate Calculus lecture 1

Predicate Calculus lecture 1 Predicate Calculus lecture 1 Section 1.3 Limitation of Propositional Logic Consider the following reasoning All cats have tails Gouchi is a cat Therefore, Gouchi has tail. MSU/CSE 260 Fall 2009 1 MSU/CSE

More information

Logic, Sets, and Proofs

Logic, Sets, and Proofs Logic, Sets, and Proofs David A. Cox and Catherine C. McGeoch Amherst College 1 Logic Logical Operators. A logical statement is a mathematical statement that can be assigned a value either true or false.

More information

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

Propositional logic (revision) & semantic entailment. p. 1/34 Propositional logic (revision) & semantic entailment p. 1/34 Reading The background reading for propositional logic is Chapter 1 of Huth/Ryan. (This will cover approximately the first three lectures.)

More information

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies Valentin Stockholm University September 2016 Propositions Proposition:

More information

1 Predicates and Quantifiers

1 Predicates and Quantifiers 1 Predicates and Quantifiers We have seen how to represent properties of objects. For example, B(x) may represent that x is a student at Bryn Mawr College. Here B stands for is a student at Bryn Mawr College

More information

HANDOUT AND SET THEORY. Ariyadi Wijaya

HANDOUT AND SET THEORY. Ariyadi Wijaya HANDOUT LOGIC AND SET THEORY Ariyadi Wijaya Mathematics Education Department Faculty of Mathematics and Natural Science Yogyakarta State University 2009 1 Mathematics Education Department Faculty of Mathematics

More information

A consistent theory of truth for languages which conform to classical logic

A consistent theory of truth for languages which conform to classical logic Nonlinear Studies - www. nonlinearstudies.com MESA - www.journalmesa.com Preprint submitted to Nonlinear Studies / MESA A consistent theory of truth for languages which conform to classical logic S. Heikkilä

More information

Pseudo-finite model theory

Pseudo-finite model theory Pseudo-finite model theory Jouko Väänänen Department of Mathematics University of Helsinki Helsinki, Finland jouko.vaananen@helsinki.fi August 1, 2016 Abstract We consider the restriction of first order

More information

Chapter 4: Classical Propositional Semantics

Chapter 4: Classical Propositional Semantics Chapter 4: Classical Propositional Semantics Language : L {,,, }. Classical Semantics assumptions: TWO VALUES: there are only two logical values: truth (T) and false (F), and EXTENSIONALITY: the logical

More information

Logic and Proofs. (A brief summary)

Logic and Proofs. (A brief summary) Logic and Proofs (A brief summary) Why Study Logic: To learn to prove claims/statements rigorously To be able to judge better the soundness and consistency of (others ) arguments To gain the foundations

More information

15414/614 Optional Lecture 3: Predicate Logic

15414/614 Optional Lecture 3: Predicate Logic 15414/614 Optional Lecture 3: Predicate Logic Anvesh Komuravelli 1 Why Predicate Logic? Consider the following statements. 1. Every student is younger than some instructor. 2. Not all birds can fly. Propositional

More information

Propositional Logic, Predicates, and Equivalence

Propositional Logic, Predicates, and Equivalence Chapter 1 Propositional Logic, Predicates, and Equivalence A statement or a proposition is a sentence that is true (T) or false (F) but not both. The symbol denotes not, denotes and, and denotes or. If

More information

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional)

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional) Discrete Math Review Discrete Math Review (Rosen, Chapter 1.1 1.6) TOPICS Propositional Logic Logical Operators Truth Tables Implication Logical Equivalence Inference Rules What you should know about propositional

More information

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques Colin Stirling Informatics Some slides based on ones by Myrto Arapinis Colin Stirling (Informatics) Discrete Mathematics

More information

A non-classical refinement of the interpolation property for classical propositional logic

A non-classical refinement of the interpolation property for classical propositional logic Accepted for publication in Logique & Analyse A non-classical refinement of the interpolation property for classical propositional logic Peter Milne Abstract We refine the interpolation property of the

More information

A MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ

A MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ A MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ NICOLAS FORD Abstract. The goal of this paper is to present a proof of the Nullstellensatz using tools from a branch of logic called model theory. In

More information

Exercises 1 - Solutions

Exercises 1 - Solutions Exercises 1 - Solutions SAV 2013 1 PL validity For each of the following propositional logic formulae determine whether it is valid or not. If it is valid prove it, otherwise give a counterexample. Note

More information

TRUTH-THEORIES FOR FRAGMENTS OF PA

TRUTH-THEORIES FOR FRAGMENTS OF PA TRUTH-THEORIES FOR FRAGMENTS OF PA RICHARD G. HECK, JR. The discussion here follows Petr Hájek and Pavel Pudlák, Metamathematics of First-order Arithmetic (Berlin: Springer-Verlag, 1993). See especially

More information

Classical Propositional Logic

Classical Propositional Logic The Language of A Henkin-style Proof for Natural Deduction January 16, 2013 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information,

More information

Homomorphism Preservation Theorem. Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain

Homomorphism Preservation Theorem. Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain Homomorphism Preservation Theorem Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain Structure of the talk 1. Classical preservation theorems 2. Preservation theorems in finite model

More information

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

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now CSC 438F/2404F Notes (S. Cook) Fall, 2008 Peano Arithmetic Goals Now 1) We will introduce a standard set of axioms for the language L A. The theory generated by these axioms is denoted PA and called Peano

More information

1. Propositional Calculus

1. Propositional Calculus 1. Propositional Calculus Some notes for Math 601, Fall 2010 based on Elliott Mendelson, Introduction to Mathematical Logic, Fifth edition, 2010, Chapman & Hall. 2. Syntax ( grammar ). 1.1, p. 1. Given:

More information

RANK HIERARCHIES FOR GENERALIZED QUANTIFIERS

RANK HIERARCHIES FOR GENERALIZED QUANTIFIERS RANK HIERARCHIES FOR GENERALIZED QUANTIFIERS H. JEROME KEISLER AND WAFIK BOULOS LOTFALLAH Abstract. We show that for each n and m, there is an existential first order sentence which is NOT logically equivalent

More information

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic CS 103 Discrete Structures Chapter 1 Propositional Logic Chapter 1.1 Propositional Logic 1 1.1 Propositional Logic Definition: A proposition :is a declarative sentence (that is, a sentence that declares

More information

Predicates and Quantifiers

Predicates and Quantifiers Predicates and Quantifiers Lecture 9 Section 3.1 Robb T. Koether Hampden-Sydney College Wed, Jan 29, 2014 Robb T. Koether (Hampden-Sydney College) Predicates and Quantifiers Wed, Jan 29, 2014 1 / 32 1

More information

TRUTH TABLES LOGIC (CONTINUED) Philosophical Methods

TRUTH TABLES LOGIC (CONTINUED) Philosophical Methods TRUTH TABLES LOGIC (CONTINUED) Philosophical Methods Here s some Vocabulary we will be talking about in this PowerPoint. Atomic Sentences: Statements which express one proposition Connectives: These are

More information

Characterizing First Order Logic

Characterizing First Order Logic Characterizing First Order Logic Jared Holshouser, Originally by Lindstrom September 16, 2014 We are following the presentation of Chang and Keisler. 1 A Brief Review of First Order Logic Definition 1.

More information

MAT2345 Discrete Math

MAT2345 Discrete Math Fall 2013 General Syllabus Schedule (note exam dates) Homework, Worksheets, Quizzes, and possibly Programs & Reports Academic Integrity Do Your Own Work Course Web Site: www.eiu.edu/~mathcs Course Overview

More information

Review. Propositional Logic. Propositions atomic and compound. Operators: negation, and, or, xor, implies, biconditional.

Review. Propositional Logic. Propositions atomic and compound. Operators: negation, and, or, xor, implies, biconditional. Review Propositional Logic Propositions atomic and compound Operators: negation, and, or, xor, implies, biconditional Truth tables A closer look at implies Translating from/ to English Converse, inverse,

More information

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University COMP 182 Algorithmic Thinking Proofs Luay Nakhleh Computer Science Rice University 1 Reading Material Chapter 1, Section 3, 6, 7, 8 Propositional Equivalences The compound propositions p and q are called

More information

A Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers

A Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers mlq header will be provided by the publisher Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers H. Jerome Keisler 1 and Wafik Boulos Lotfallah 2 1 Department of Mathematics University

More information

LECTURE 1. Logic and Proofs

LECTURE 1. Logic and Proofs LECTURE 1 Logic and Proofs The primary purpose of this course is to introduce you, most of whom are mathematics majors, to the most fundamental skills of a mathematician; the ability to read, write, and

More information

Semantic Metatheory of SL: Mathematical Induction

Semantic Metatheory of SL: Mathematical Induction Semantic Metatheory of SL: Mathematical Induction Preliminary matters: why and when do we need Mathematical Induction? We need it when we want prove that a certain claim (n) holds for all n N (0, 1, 2,

More information

Propositional Logic: Review

Propositional Logic: Review Propositional Logic: Review Propositional logic Logical constants: true, false Propositional symbols: P, Q, S,... (atomic sentences) Wrapping parentheses: ( ) Sentences are combined by connectives:...and...or

More information

Database Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler

Database Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 7. Ehrenfeucht-Fraïssé Games Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Pichler 15

More information

The Arithmetical Hierarchy

The Arithmetical Hierarchy Chapter 11 The Arithmetical Hierarchy Think of K as posing the problem of induction for computational devices, for it is impossible to tell for sure whether a given computation will never halt. Thus, K

More information

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

2. The Logic of Compound Statements Summary. Aaron Tan August 2017 2. The Logic of Compound Statements Summary Aaron Tan 21 25 August 2017 1 2. The Logic of Compound Statements 2.1 Logical Form and Logical Equivalence Statements; Compound Statements; Statement Form (Propositional

More information

A generalization of modal definability

A generalization of modal definability A generalization of modal definability Tin Perkov Polytechnic of Zagreb Abstract. Known results on global definability in basic modal logic are generalized in the following sense. A class of Kripke models

More information

Quantifiers and Statements

Quantifiers and Statements Daniel Aguilar, Jessica Mean, and Marcus Hughes Math 170 Project (Part 1) Quantifiers and Statements There is basic knowledge that you will need to know before you read the project. Such as: A statement

More information

Today we will probably finish Course Notes 2.3: Predicates and Quantifiers.

Today we will probably finish Course Notes 2.3: Predicates and Quantifiers. Friday, Sept 14 Today we will probably finish Course Notes 2.3: Predicates and Quantifiers. After that, we might begin Course Notes 1.1: Definitions in Set Mathematics. EXAMPLE Let P(x): 'x is a JRR Tolkien

More information

Announcements CompSci 102 Discrete Math for Computer Science

Announcements CompSci 102 Discrete Math for Computer Science Announcements CompSci 102 Discrete Math for Computer Science Read for next time Chap. 1.4-1.6 Recitation 1 is tomorrow Homework will be posted by Friday January 19, 2012 Today more logic Prof. Rodger Most

More information

University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura. March 1, :00 pm Duration: 1:15 hs

University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura. March 1, :00 pm Duration: 1:15 hs University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura March 1, 2012 1:00 pm Duration: 1:15 hs Closed book, no calculators THIS MIDTERM AND ITS SOLUTION IS SUBJECT TO COPYRIGHT; NO PARTS OF

More information