Syntax Semantics Tableau Completeness Free Logic The Adequacy of First-Order Logic. Predicate Logic. Daniel Bonevac.

Size: px
Start display at page:

Download "Syntax Semantics Tableau Completeness Free Logic The Adequacy of First-Order Logic. Predicate Logic. Daniel Bonevac."

Transcription

1 March 18, 2013

2 Aristotle s theory of syllogisms, the first real logical theory, took predicates expressions that are not true or false in themselves, but true or false of objects as its basic units of analysis. It thus examined a finer level of structure than propositional logic. It looked inside the structure of what propositional logic would call atomic sentences.

3 Conditionals The Stoics and medieval philosophers developed propositional logic, even while Aristotelian logic remained the central logical theory. These two schools of thought stood side-by-side for centuries, with only a few analogical connections between them. In the nineteenth century, however, George Boole and others tried to unify them by seeing them as reflecting a single underlying algebraic structure. In 1879, Gottlob Frege and Charles Sanders Peirce independently combined them to develop what has become known as classical first-order logic.

4 Vocabulary Classical first-order logic, also known as predicate logic or quantification theory, adds to propositional logic several new vocabulary items. We will add a set of constants, a set of variables, a set of n-ary predicate symbols, and the quantifiers.

5 Formulas We define formulas: 1. A constant or variable is a term. 2. If t 1...t n are terms, and P is an n-ary predicate symbol, then P(t 1,..., t n ) is a(n atomic) formula. 3. If A and B are formulas, so are A, B, (A B), (A B), (A B), and (A B). 4. If A is a formula and v a variable, va and va are formulas.

6 Variables A variable v is bound if it occurs in the scope of a quantifier on that variable; otherwise it is free. A formula with no free variables is closed. A v (c) is the formula obtained by substituting c for each free occurrence of v throughout A.

7 Models An interpretation or model is a structure M =< D, v >, where D is a nonempty set known as the domain, v a function from constants into D and from n-ary relation symbols to n-place relations on D. v(c) D v(r n ) D n.

8 Models v( Fred ) = Fred v( human ) = {x : Human(x)} v( loves ) = {< x, y >: Loves(x, y)}

9 Assignments There are various ways of writing truth conditions. A common one uses the concept of an assignment, a function that takes variables into objects of the domain. An assignment a is a v variant of assignment a iff a and a agree on all variables except perhaps the variable v. Then the truth conditions for quantified statements va and va talk about all or some v-variants.

10 Witnesses Priest does it differently. Extend the language L to L(M), so that every object in the domain has a name. Then, for every d D, there is a constant k d such that v(k d ) = d.

11 Truth Conditions Our truth definition uses the usual clauses for the connectives, plus: v(pa 1...a n ) = 1 < v(a 1 ),..., v(a n ) > v(p); otherwise it is 0. v( xa) = 1 for all d D, v(a x (k d )) = 1; otherwise it is 0. v( xa) = 1 for some d D, v(a x (k d )) = 1; otherwise it is 0.

12 Implication If, on model M, v(a) = 1, we can write M = A. Similarly, if on M v(b) = 1 for every B X, we can write M = X. We define implication as before: X = A every model of X is a model of A. That is, X = A for all M (M = X M = A).

13 Facts In every model, v( xa) = v( x A) v( xa) = v( x A) v( x(px A)) = v( x(px A)) v( x(px A)) = v( x(px A)) v( xa) = 1 for all c C, v(a x (c)) = 1 v( xa) = 1 for some c C, v(a x (c)) = 1

14 Substitutional Quantification The last two could have been taken as defining the truth conditions of quantified sentences. That approach is known as truth value semantics or substitutional quantification. When all objects in the domain have names, it agrees with objectual quantification. If there are objects without names, they can diverge. What if there are names without objects? That question leads to free logic.

15 Tableaux We can define tableau rules for quantifiers in the standard way. Where X is finite, X A means that there is a closed tableau with the initial list X, A. Open branches induce countermodels: for each constant b appearing on the branch, add an object δ(b) to D, and let v(p) be the set of n-tuples < δ b1,..., δ bn > such that Pb 1...b n appears on the branch. Note that some tableau may be infinite. (Consider one showing that x ysxy is not valid.)

16 Tableau Rules va A v (c) c new va A v (a) any a

17 Tableau Rules va A v (a) any a va A v (c) c new

18 Soundness Lemma Soundness Lemma: Suppose M makes every formula on the initial list of a tableau true. Applying a rule of inference to the branch b produces at least one extension b of the branch such that there is a model M of b.

19 Soundness We must consider each rule. This is trivial in the propositional and negated quantification cases, so the only interesting cases are those for and. Say we apply the rule that takes us from xa to A x (a) for each constant a on b. Since M = xa, M = A x (k d ) for each d D. Let d be such that v(a) = v(k d ). Then M = A x (a). So, we can take M = M.

20 Existential Instantiation Say we apply the rule taking us from xa to A x (c). This is the trickiest rule, since, considered all by itself, it does not appear to be sound; it allows us to move from xfx to Fc, and that is not a valid inference! But its presence in the system does no harm, because the constant c has to be new to the tableau. It cannot have appeared in any premise or in the conclusion. In the tableau, then, it acts to introduce an arbitrary name for an object assumed to exist.

21 Existential Instantiation The rule encodes the common mathematical practice of introducing a name in such contexts, e.g., in Brouwer s fixed-point theorem: Every continuous function f from a closed disk to itself has at least one fixed point. So, if f from closed disk d to d is continuous, there is a point call it x 0 at which f(x 0 ) = x 0. That does no harm as long as we make no other assumptions about x 0 as such.

22 Soundness Since M = xa, there is a d D such that M = A x (k d ). Let M = M except that v (c) = d. Since c does not occur in A x (k d ) (since it was new to the branch), M = A x (c). Since v (c) = d = v (k d ), M = A x (c). Also, since c was new, no other formula on the branch is affected by the switch from M to M ; they all still come out true.

23 Soundness Theorem Soundness Theorem: For finite X, X A X = A.

24 Soundness Theorem Suppose X =/ A. Then there is an M such that M = X and M =/ A. Consider a completed tableau with the initial list X, A. Whenever we apply a rule to an open branch, there is a model M that makes every formula on the extension true, including the initial list. So, we can find a model M for the entire branch. It follows that the branch must be open; if it were closed, there would be a formula B such that both B and B were on the branch, and no model could make both true. So, the tableau is open; X A.

25 Completeness It is quite easy to extend our proof of the completeness of our propositional system to cover full predicate logic.

26 Completeness Lemma Completeness Lemma: Induced interpretations are faithful. Let b be a completed open branch of a tableau and let M be induced by b. Then for any assignment v, if A is on b, v(a) = 1, and, if A is on b, v(a) = 0.

27 Completeness Proof. We proceed by induction on the complexity of A. The atomic case is obvious from the definition of being induced by a branch; the propositional cases are exactly as for the propositional lemma. So, the only interesting cases are quantificational.

28 Completeness Case 1: xa is on b. Since b is complete, the rule for universal formulas has been applied in every possible case, so, for every constant c on b, A x (c) is on b. By inductive hypothesis, then, v(a x (c)) = 1 for every constant c on b. Since D is just the set of objects named by those constants, however, v( xa) = 1.

29 Completeness Case 2: xa is on b. Since b is complete, the rule for existential formulas has been applied, so there is a constant c on b such that A x (c) is on b. By inductive hypothesis, then, v(a x (c)) = 1 for some constant c on b. Since D is just the set of objects named by the constants on the branch, however, v( xa) = 1.

30 Completeness Theorem Completeness Theorem: For finite X, X = A X A.

31 Completeness Proof: Say X A. Then the tableau with initial list X, A is open. There is then an interpretation induced by an open branch making X true and A false. So, X =/ A.

32 Completeness We can extend these theorems to arbitrary sets X by going through the premises of an infinite set in order.

33 Compactness Theorem As a quick corollary to the completeness theorem, we obtain: Compactness: X = A there is a finite X 0 X such that X 0 = A. In an alternate form, a set is satisfiable iff every finite subset of it is satisfiable. Proof: Set up a tableau with initial list X, A. Since X = A, it closes. Each branch closes after a finite number of steps; the whole tableau, therefore, closes after a finite number of steps. (This relies on König s Lemma: a tree with an infinite number of nodes has an infinite branch.)

34 Löwenheim-Skolem Theorem Löwenheim-Skolem Theorem: Every set of formulas with a model has a countable model. Proof: Set up a tableau for the set; it remains open. Choose an open branch; it induces a model. Construct the domain by adding any an object for any constant in the first formula, the second, and so on. Even if the branch is infinite, there can be at most countably many objects that are in the domain.

35 Löwenheim-Skolem Theorem If we have identity in the language, the proof of completeness is slightly more complicated; we build equivalence classes of constants, and correlate objects not with constants but with equivalence classes of constants. This affects the Lowenheim-Skolem theorem, for countably many variables might constitute only finitely many equivalences classes. Consider the set of formulas consisting solely of x y x = y. In a language with identity as a logical symbol, therefore, we must say only that any set of formulas with an infinite model has a countable model.

36 Skolem s Paradox This leads to Skolem s paradox: First-order theories of uncountable domains have countable models. A theory of the real numbers, for example, might allow us to prove Cantor s theorem that there are uncountably many reals. In ZF, we can prove the existence of an uncountable set. Nevertheless, these theories have countable models. There are uncountably many sets can be true even in a countable domain!

37 First-order logic commits us to the existence of something, for x x = x and x(fx Fx) are valid. This marks it as an exclusive logic; it excludes the null domain. It also commits us to the existence of everything: x x = c and Fc xfx are valid for every c. So, in classical first-oder logic, every singular term denotes something. Think of the way we constructed a model from an open branch; we let every constant (or, with identity, equivalence class of constants) stand for a distinct object in the domain.

38 Free logic is logic free of existential assumptions for its singular terms. That is, free logic allows for the possibility of nondenoting singular terms. This includes descriptions such as The present King of France as well as names such as Pegasus or function terms such as My BMW.

39 Free logic, first developed by Leonard in 1956, adds to classical first-order logic an existence predicate, usually written E!. An appealing approach, though far from the only one, is to employ a semantics of inner and outer domains, pioneered by Leblanc and Thomason in Let a model be a triple < D, E, v >, which differs from a classical model only in considering D its outer domain, which we might think of as subsisting objects, and thinking of E D as its inner domain, the domain of existing objects. In any model, v(e!) = E.

40 Truth Conditions Free logic alters the truth clauses for the quantifiers: v( xa) = 1 for all d E, v(a x (k d )) = 1; otherwise it is 0. v( xa) = 1 for some d E, v(a x (k d )) = 1; otherwise it is 0.

41 Truth Conditions Correspondingly, we have v( xa) = 1 for all c C such that v(e!c) = 1, v(a x (c)) = 1 v( xa) = 1 for some c C such that v(e!c) = 1, v(a x (c)) = 1

42 Tableaux Tableau rules for free logic split the tableau for universal quantification, allowing for the possibility that E!a, and yield E!c as well as A x (c) for the existential quantifier. Now x x = c and Fc xfx are no longer valid. Neither are x x = x or x(fx Fx). Free logic is thus inclusive. E may be empty.

43 Tableau Rules va va A v (c) E!c c new E!a A v (a) E!a any a

44 Tableau Rules va va E!a A v (a) E!a any a A v (c) E!c c new

45 Countermodels We can read countermodels off tableau just as for classical logic, with the addition that v(e!) = E. It is easy to show that these tableau rules are sound and complete with respect to the semantics for inner and outer domains.

46 Inner and Outer Domains There are at least two reasons why people have felt unsatisfied by the semantics of inner and outer domains. First, it seems to invoke an inner domain of subsisting objects that are somewhat mysterious. What are these objects? What are their identity conditions? How many possible fat men are in that doorway, to ask Quine s famous question? The enterprise seems Meinongian, and that has often been thought to be a bad thing.

47 Quin es Dictum Note that the semantics of inner and outer domains observes Quine s dictum that to be is to be a value of a variable. That has been a major methodological guidepost in the development of free logic. The quantifiers are tied to E, not to D; E appears in the truth clauses for the quantifiers, and we could even define E!a as x x = a. Most free logicians have wanted to observe Quine s dictum; they ve sought to preserve the intuition that the answer to What is there? is Everything.

48 Other That s not the only way to go. We could add quantifiers that range over all objects, existing and nonexisting, So, second, people (such as Routley) have sometimes felt that this semantics is actually too restrictive. They have wanted outer quantifiers ranging over outer objects as well as inner quantifiers ranging over existing objects.

49 Two Sets of Quantifiers? In such a logic, it is possible to introduce two sets of quantifiers, one ranging over D, the other over E. Actually, however, this becomes otiose. The inner pair are definable in terms of the outer pair: E xa x(a E!x), and E xa x(e!x A).

50 Existence as a Predicate But now the quantifiers seem to obey the classical rules; Fc xfx no longer seems to commit us to the existence of c. Neither does x x = c. So, presumably, we can use classical rules; we simply have a special predicate E! that represents existence.

51 Free Modal Logic Free logic remains something of an acquired taste, except in the context of quantified modal logic, where it seems essential (pun intended). For any c, it emerges there not only that = x x = c but also that = x x = c. That is, not only does everything exist: it necessarily exists! That goes too far. But if we have to adopt free logic once we combine quantifiers and modality, what s the argument for resisting it with quantifiers alone?

52 Adequacy How does classical or free first-order logic do as a theory of quantification? Once again, it depends on what we want it to accomplish. As an approach to reasoning in mathematics, it largely succeeds, though there is a serious argument to be made that mathematical reasoning is essentially higher-order. First-order arithmetic has nonstandard models; second-order arithmetic is categorical (meaning all its models are isomorphic).

53 Lindström s Theorem Lindström s theorem tells us that first-order logic is the strongest logic that is both compact and has the Löwenheim-Skolem property. It is also the strongest logic that is complete and has the Löwenheim-Skolem property. Both of these properties are strengths, but also arguably limitations.

54 Natural Language As a theory of natural language quantification, first-order logic has some serious drawbacks. It can define some quantifiers at least n, at most n, exactly n, etc. but there are many that lie beyond its grasp. Some could be added, but some most, for example could not even be added. Also, there are problems with formalization ranging from donkey sentences (Geach, Kamp, Heim) to intensional contexts (Montague) to Bach-Peters sentences to branching quantifiers (Hintikka, Barwise) to sentences requiring sets, pluralities, or higher-order representation (Boolos).

55 Generalized Quantifiers Most Finitely many Infinitely many Countably many Uncountably many More Fs than Gs

56 Donkey Sentences A farmer owns a donkey. A Farmer owns a donkey. He loves it. If a farmer owns a donkey, he loves it.

57 Intensional Contexts I think of a rose. I owe you a horse. I want a sloop. John is looking for a unicorn.

58 Bach-Peters sentences The pilot who aimed at it hit the MIG that chased him.

59 Branching Quantifiers A captain from every regiment and a chief from every tribe met at the conference table.

60 Pluralities Some critics admire only one another.

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

First-Degree Entailment

First-Degree Entailment March 5, 2013 Relevance Logics Relevance logics are non-classical logics that try to avoid the paradoxes of material and strict implication: p (q p) p (p q) (p q) (q r) (p p) q p (q q) p (q q) Counterintuitive?

More information

Introduction to Metalogic

Introduction to Metalogic Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)

More information

Lecture 13: Soundness, Completeness and Compactness

Lecture 13: Soundness, Completeness and Compactness Discrete Mathematics (II) Spring 2017 Lecture 13: Soundness, Completeness and Compactness Lecturer: Yi Li 1 Overview In this lecture, we will prvoe the soundness and completeness of tableau proof system,

More information

First-Order Logic. Chapter Overview Syntax

First-Order Logic. Chapter Overview Syntax Chapter 10 First-Order Logic 10.1 Overview First-Order Logic is the calculus one usually has in mind when using the word logic. It is expressive enough for all of mathematics, except for those concepts

More information

All psychiatrists are doctors All doctors are college graduates All psychiatrists are college graduates

All psychiatrists are doctors All doctors are college graduates All psychiatrists are college graduates Predicate Logic In what we ve discussed thus far, we haven t addressed other kinds of valid inferences: those involving quantification and predication. For example: All philosophers are wise Socrates is

More information

Propositional Logic Truth-functionality Definitions Soundness Completeness Inferences. Modal Logic. Daniel Bonevac.

Propositional Logic Truth-functionality Definitions Soundness Completeness Inferences. Modal Logic. Daniel Bonevac. January 22, 2013 Modal logic is, among other things, the logic of possibility and necessity. Its history goes back at least to Aristotle s discussion of modal syllogisms in the Prior Analytics. But modern

More information

Generalized Quantifiers Logical and Linguistic Aspects

Generalized Quantifiers Logical and Linguistic Aspects Generalized Quantifiers Logical and Linguistic Aspects Lecture 1: Formal Semantics and Generalized Quantifiers Dag Westerståhl University of Gothenburg SELLC 2010 Institute for Logic and Cognition, Sun

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

Existence and Predication in Free Logics. Secretaria de Estado de Educação do Distrito Federal, Brasil

Existence and Predication in Free Logics. Secretaria de Estado de Educação do Distrito Federal, Brasil Studia Humana Volume 6:4 (2017), pp. 3 9 DOI: 10.1515/sh-2017-0023 Guilherme Kubiszeski Existence and Predication in Free Logics Secretaria de Estado de Educação do Distrito Federal, Brasil email: guilhermefk4@gmail.com

More information

Russell s logicism. Jeff Speaks. September 26, 2007

Russell s logicism. Jeff Speaks. September 26, 2007 Russell s logicism Jeff Speaks September 26, 2007 1 Russell s definition of number............................ 2 2 The idea of reducing one theory to another.................... 4 2.1 Axioms and theories.............................

More information

Herbrand Theorem, Equality, and Compactness

Herbrand Theorem, Equality, and Compactness CSC 438F/2404F Notes (S. Cook and T. Pitassi) Fall, 2014 Herbrand Theorem, Equality, and Compactness The Herbrand Theorem We now consider a complete method for proving the unsatisfiability of sets of first-order

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

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

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

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO

More information

List of errors in and suggested modifications for First-Order Modal Logic Melvin Fitting and Richard L. Mendelsohn August 11, 2013

List of errors in and suggested modifications for First-Order Modal Logic Melvin Fitting and Richard L. Mendelsohn August 11, 2013 List of errors in and suggested modifications for First-Order Modal Logic Melvin Fitting and Richard L. Mendelsohn August 11, 2013 James W. Garson has answered a question we raised, in a paper that is

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

TR : Possible World Semantics for First Order LP

TR : Possible World Semantics for First Order LP City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2011 TR-2011010: Possible World Semantics for First Order LP Melvin Fitting Follow this and additional

More information

Informal Statement Calculus

Informal Statement Calculus FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example

More information

03 Review of First-Order Logic

03 Review of First-Order Logic CAS 734 Winter 2014 03 Review of First-Order Logic William M. Farmer Department of Computing and Software McMaster University 18 January 2014 What is First-Order Logic? First-order logic is the study of

More information

Relevant Logic. Daniel Bonevac. March 20, 2013

Relevant Logic. Daniel Bonevac. March 20, 2013 March 20, 2013 The earliest attempts to devise a relevance logic that avoided the problem of explosion centered on the conditional. FDE, however, has no conditional operator, or a very weak one. If we

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

Axiomatic set theory. Chapter Why axiomatic set theory?

Axiomatic set theory. Chapter Why axiomatic set theory? Chapter 1 Axiomatic set theory 1.1 Why axiomatic set theory? Essentially all mathematical theories deal with sets in one way or another. In most cases, however, the use of set theory is limited to its

More information

Discrete Mathematics

Discrete Mathematics Discrete Mathematics Yi Li Software School Fudan University March 13, 2017 Yi Li (Fudan University) Discrete Mathematics March 13, 2017 1 / 1 Review of Lattice Ideal Special Lattice Boolean Algebra Yi

More information

17.1 Correctness of First-Order Tableaux

17.1 Correctness of First-Order Tableaux Applied Logic Lecture 17: Correctness and Completeness of First-Order Tableaux CS 4860 Spring 2009 Tuesday, March 24, 2009 Now that we have introduced a proof calculus for first-order logic we have to

More information

Introduction to first-order logic:

Introduction to first-order logic: Introduction to first-order logic: First-order structures and languages. Terms and formulae in first-order logic. Interpretations, truth, validity, and satisfaction. Valentin Goranko DTU Informatics September

More information

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1 Propositional Logic: Syntax and Natural Deduction 1 The Plot That Will Unfold I want to provide some key historical and intellectual context to the model theoretic approach to natural language semantics,

More information

Introduction to Metalogic 1

Introduction to Metalogic 1 Philosophy 135 Spring 2012 Tony Martin Introduction to Metalogic 1 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: (i) sentence letters p 0, p 1, p 2,... (ii) connectives,

More information

KE/Tableaux. What is it for?

KE/Tableaux. What is it for? CS3UR: utomated Reasoning 2002 The term Tableaux refers to a family of deduction methods for different logics. We start by introducing one of them: non-free-variable KE for classical FOL What is it for?

More information

Gödel s Incompleteness Theorems

Gödel s Incompleteness Theorems Seminar Report Gödel s Incompleteness Theorems Ahmet Aspir Mark Nardi 28.02.2018 Supervisor: Dr. Georg Moser Abstract Gödel s incompleteness theorems are very fundamental for mathematics and computational

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

CS2742 midterm test 2 study sheet. Boolean circuits: Predicate logic:

CS2742 midterm test 2 study sheet. Boolean circuits: Predicate logic: x NOT ~x x y AND x /\ y x y OR x \/ y Figure 1: Types of gates in a digital circuit. CS2742 midterm test 2 study sheet Boolean circuits: Boolean circuits is a generalization of Boolean formulas in which

More information

Infinite Truth-Functional Logic

Infinite Truth-Functional Logic 28 Notre Dame Journal of Formal Logic Volume 29, Number 1, Winter 1988 Infinite Truth-Functional Logic THEODORE HAILPERIN What we cannot speak about [in K o or fewer propositions] we must pass over in

More information

Propositional and Predicate Logic - V

Propositional and Predicate Logic - V Propositional and Predicate Logic - V Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - V WS 2016/2017 1 / 21 Formal proof systems Hilbert s calculus

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

Supplementary Logic Notes CSE 321 Winter 2009

Supplementary Logic Notes CSE 321 Winter 2009 1 Propositional Logic Supplementary Logic Notes CSE 321 Winter 2009 1.1 More efficient truth table methods The method of using truth tables to prove facts about propositional formulas can be a very tedious

More information

AAA615: Formal Methods. Lecture 2 First-Order Logic

AAA615: Formal Methods. Lecture 2 First-Order Logic AAA615: Formal Methods Lecture 2 First-Order Logic Hakjoo Oh 2017 Fall Hakjoo Oh AAA615 2017 Fall, Lecture 2 September 24, 2017 1 / 29 First-Order Logic An extension of propositional logic with predicates,

More information

Interpretations of PL (Model Theory)

Interpretations of PL (Model Theory) Interpretations of PL (Model Theory) 1. Once again, observe that I ve presented topics in a slightly different order from how I presented them in sentential logic. With sentential logic I discussed syntax

More information

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)

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

Quantification in the predicate calculus

Quantification in the predicate calculus Quantification in the predicate calculus PHIL 43916 eptember 5, 2012 1. The problem posed by quantified sentences... 1 2. yntax of PC... 2 3. Bound and free iables... 3 4. Models and assignments... 4 5.

More information

Chapter 2: Introduction to Propositional Logic

Chapter 2: Introduction to Propositional Logic Chapter 2: Introduction to Propositional Logic PART ONE: History and Motivation Origins: Stoic school of philosophy (3rd century B.C.), with the most eminent representative was Chryssipus. Modern Origins:

More information

Propositional and Predicate Logic - IV

Propositional and Predicate Logic - IV Propositional and Predicate Logic - IV Petr Gregor KTIML MFF UK ZS 2015/2016 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - IV ZS 2015/2016 1 / 19 Tableau method (from the previous lecture)

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

Meta-logic derivation rules

Meta-logic derivation rules Meta-logic derivation rules Hans Halvorson February 19, 2013 Recall that the goal of this course is to learn how to prove things about (as opposed to by means of ) classical first-order logic. So, we will

More information

1 Completeness Theorem for Classical Predicate

1 Completeness Theorem for Classical Predicate 1 Completeness Theorem for Classical Predicate Logic The relationship between the first order models defined in terms of structures M = [M, I] and valuations s : V AR M and propositional models defined

More information

UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane Philosophy 142

UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane Philosophy 142 Plural Quantifiers UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane Philosophy 142 1 Expressive limitations of first-order logic First-order logic uses only quantifiers that bind variables in name

More information

MAI0203 Lecture 7: Inference and Predicate Calculus

MAI0203 Lecture 7: Inference and Predicate Calculus MAI0203 Lecture 7: Inference and Predicate Calculus Methods of Artificial Intelligence WS 2002/2003 Part II: Inference and Knowledge Representation II.7 Inference and Predicate Calculus MAI0203 Lecture

More information

CS156: The Calculus of Computation Zohar Manna Winter 2010

CS156: The Calculus of Computation Zohar Manna Winter 2010 Page 3 of 35 Page 4 of 35 quantifiers CS156: The Calculus of Computation Zohar Manna Winter 2010 Chapter 2: First-Order Logic (FOL) existential quantifier x. F [x] there exists an x such that F [x] Note:

More information

THE LANGUAGE OF FIRST-ORDER LOGIC (FOL) Sec2 Sec1(1-16)

THE LANGUAGE OF FIRST-ORDER LOGIC (FOL) Sec2 Sec1(1-16) THE LANGUAGE OF FIRST-ORDER LOGIC (FOL) Sec2 Sec1(1-16) FOL: A language to formulate knowledge Logic is the study of entailment relationslanguages, truth conditions and rules of inference. FOL or Predicate

More information

Intelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19.

Intelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19. Intelligent Agents First Order Logic Ute Schmid Cognitive Systems, Applied Computer Science, Bamberg University last change: 19. Mai 2015 U. Schmid (CogSys) Intelligent Agents last change: 19. Mai 2015

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

FIRST ORDER SENTENCES ON G(n, p), ZERO-ONE LAWS, ALMOST SURE AND COMPLETE THEORIES ON SPARSE RANDOM GRAPHS

FIRST ORDER SENTENCES ON G(n, p), ZERO-ONE LAWS, ALMOST SURE AND COMPLETE THEORIES ON SPARSE RANDOM GRAPHS FIRST ORDER SENTENCES ON G(n, p), ZERO-ONE LAWS, ALMOST SURE AND COMPLETE THEORIES ON SPARSE RANDOM GRAPHS MOUMANTI PODDER 1. First order theory on G(n, p) We start with a very simple property of G(n,

More information

Propositional Language - Semantics

Propositional Language - Semantics Propositional Language - Semantics Lila Kari University of Waterloo Propositional Language - Semantics CS245, Logic and Computation 1 / 41 Syntax and semantics Syntax Semantics analyzes Form analyzes Meaning

More information

Maximal Introspection of Agents

Maximal Introspection of Agents Electronic Notes in Theoretical Computer Science 70 No. 5 (2002) URL: http://www.elsevier.nl/locate/entcs/volume70.html 16 pages Maximal Introspection of Agents Thomas 1 Informatics and Mathematical Modelling

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

Predicate Calculus - Semantic Tableau (2/2) Moonzoo Kim CS Division of EECS Dept. KAIST

Predicate Calculus - Semantic Tableau (2/2) Moonzoo Kim CS Division of EECS Dept. KAIST Predicate Calculus - Semantic Tableau (2/2) Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Formal construction is explained in two steps

More information

Introduction to Logic

Introduction to Logic Introduction to Logic 1 What is Logic? The word logic comes from the Greek logos, which can be translated as reason. Logic as a discipline is about studying the fundamental principles of how to reason

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

GÖDEL S COMPLETENESS AND INCOMPLETENESS THEOREMS. Contents 1. Introduction Gödel s Completeness Theorem

GÖDEL S COMPLETENESS AND INCOMPLETENESS THEOREMS. Contents 1. Introduction Gödel s Completeness Theorem GÖDEL S COMPLETENESS AND INCOMPLETENESS THEOREMS BEN CHAIKEN Abstract. This paper will discuss the completeness and incompleteness theorems of Kurt Gödel. These theorems have a profound impact on the philosophical

More information

LINDSTRÖM S THEOREM SALMAN SIDDIQI

LINDSTRÖM S THEOREM SALMAN SIDDIQI LINDSTRÖM S THEOREM SALMAN SIDDIQI Abstract. This paper attempts to serve as an introduction to abstract model theory. We introduce the notion of abstract logics, explore first-order logic as an instance

More information

Chapter 11: Automated Proof Systems (1)

Chapter 11: Automated Proof Systems (1) Chapter 11: Automated Proof Systems (1) SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems

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

Logical Structures in Natural Language: First order Logic (FoL)

Logical Structures in Natural Language: First order Logic (FoL) Logical Structures in Natural Language: First order Logic (FoL) Raffaella Bernardi Università degli Studi di Trento e-mail: bernardi@disi.unitn.it Contents 1 How far can we go with PL?................................

More information

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC 1 Motivation and History The origins of the classical propositional logic, classical propositional calculus, as it was, and still often is called,

More information

Propositional logic. First order logic. Alexander Clark. Autumn 2014

Propositional logic. First order logic. Alexander Clark. Autumn 2014 Propositional logic First order logic Alexander Clark Autumn 2014 Formal Logic Logical arguments are valid because of their form. Formal languages are devised to express exactly that relevant form and

More information

Propositional Logic Review

Propositional Logic Review Propositional Logic Review UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane The task of describing a logical system comes in three parts: Grammar Describing what counts as a formula Semantics Defining

More information

Formal (natural) deduction in propositional logic

Formal (natural) deduction in propositional logic Formal (natural) deduction in propositional logic Lila Kari University of Waterloo Formal (natural) deduction in propositional logic CS245, Logic and Computation 1 / 67 I know what you re thinking about,

More information

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

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

Class 29 - November 3 Semantics for Predicate Logic

Class 29 - November 3 Semantics for Predicate Logic Philosophy 240: Symbolic Logic Fall 2010 Mondays, Wednesdays, Fridays: 9am - 9:50am Hamilton College Russell Marcus rmarcus1@hamilton.edu Class 29 - November 3 Semantics for Predicate Logic I. Proof Theory

More information

THE LOGIC OF COMPOUND STATEMENTS

THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS All dogs have four legs. All tables have four legs. Therefore, all dogs are tables LOGIC Logic is a science of the necessary laws of thought, without which no employment

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

First-Order Logic (FOL)

First-Order Logic (FOL) First-Order Logic (FOL) Also called Predicate Logic or Predicate Calculus 2. First-Order Logic (FOL) FOL Syntax variables x, y, z, constants a, b, c, functions f, g, h, terms variables, constants or n-ary

More information

Propositional Logic. Testing, Quality Assurance, and Maintenance Winter Prof. Arie Gurfinkel

Propositional Logic. Testing, Quality Assurance, and Maintenance Winter Prof. Arie Gurfinkel Propositional Logic Testing, Quality Assurance, and Maintenance Winter 2018 Prof. Arie Gurfinkel References Chpater 1 of Logic for Computer Scientists http://www.springerlink.com/content/978-0-8176-4762-9/

More information

Part II Logic and Set Theory

Part II Logic and Set Theory Part II Logic and Set Theory Theorems Based on lectures by I. B. Leader Notes taken by Dexter Chua Lent 2015 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

An Introduction to Modal Logic. Ordinary logic studies the partition of sentences1 into two categories, true and false.

An Introduction to Modal Logic. Ordinary logic studies the partition of sentences1 into two categories, true and false. An Introduction to Modal Logic Ordinary logic studies the partition of sentences1 into two categories, true and false. Modal logic investigates a finer classification. A sentence can be either necessary

More information

Marie Duží

Marie Duží Marie Duží marie.duzi@vsb.cz 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: 1. a language 2. a set of axioms 3. a set of deduction rules ad 1. The definition of a language

More information

Logics - Introduction

Logics - Introduction Logics 1 Logics - Introduction So far we have seen a variety of operational formalisms based on some some notion of state and event/transition model the evolution of the system Now instead we will analyze

More information

LP and Relatives. p p

LP and Relatives. p p LP and Relatives Graham Priest is certainly the philosopher most widely known as a champion of paraconsistent logic and dialetheism. He has written several books and quite many papers on almost all aspects

More information

Final Exam (100 points)

Final Exam (100 points) Final Exam (100 points) Honor Code: Each question is worth 10 points. There is one bonus question worth 5 points. In contrast to the homework assignments, you may not collaborate on this final exam. You

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

Peano Arithmetic. by replacing the schematic letter R with a formula, then prefixing universal quantifiers to bind

Peano Arithmetic. by replacing the schematic letter R with a formula, then prefixing universal quantifiers to bind Peano Arithmetic Peano Arithmetic 1 or PA is the system we get from Robinson s Arithmetic by adding the induction axiom schema: ((R(0) v (œx)(r(x) 6 R(sx))) 6 (œx)r(x)). What this means is that any sentence

More information

Introducing Proof 1. hsn.uk.net. Contents

Introducing Proof 1. hsn.uk.net. Contents Contents 1 1 Introduction 1 What is proof? 1 Statements, Definitions and Euler Diagrams 1 Statements 1 Definitions Our first proof Euler diagrams 4 3 Logical Connectives 5 Negation 6 Conjunction 7 Disjunction

More information

Predicate Logic - Semantic Tableau

Predicate Logic - Semantic Tableau CS402, Spring 2016 Informal Construction of a Valid Formula Example 1 A valid formula: x(p(x) q(x)) ( xp(x) xq(x)) ( x(p(x) q(x)) ( xp(x) xq(x))) x(p(x) q(x)), ( xp(x) xq(x)) x(p(x) q(x)), xp(x), xq(x)

More information

Well-behaved Principles Alternative to Bounded Induction

Well-behaved Principles Alternative to Bounded Induction Well-behaved Principles Alternative to Bounded Induction Zofia Adamowicz 1 Institute of Mathematics, Polish Academy of Sciences Śniadeckich 8, 00-956 Warszawa Leszek Aleksander Ko lodziejczyk Institute

More information

First order Logic ( Predicate Logic) and Methods of Proof

First order Logic ( Predicate Logic) and Methods of Proof First order Logic ( Predicate Logic) and Methods of Proof 1 Outline Introduction Terminology: Propositional functions; arguments; arity; universe of discourse Quantifiers Definition; using, mixing, negating

More information

About the relationship between formal logic and complexity classes

About the relationship between formal logic and complexity classes About the relationship between formal logic and complexity classes Working paper Comments welcome; my email: armandobcm@yahoo.com Armando B. Matos October 20, 2013 1 Introduction We analyze a particular

More information

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

Description Logics. Foundations of Propositional Logic.   franconi. Enrico Franconi (1/27) Description Logics Foundations of Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/27) Knowledge

More information

Lecture 4: Proposition, Connectives and Truth Tables

Lecture 4: Proposition, Connectives and Truth Tables Discrete Mathematics (II) Spring 2017 Lecture 4: Proposition, Connectives and Truth Tables Lecturer: Yi Li 1 Overview In last lecture, we give a brief introduction to mathematical logic and then redefine

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

MATHEMATICS: CONCEPTS, AND FOUNDATIONS Vol. II - Model Theory - H. Jerome Keisler

MATHEMATICS: CONCEPTS, AND FOUNDATIONS Vol. II - Model Theory - H. Jerome Keisler ATHEATCS: CONCEPTS, AND FOUNDATONS Vol. - odel Theory - H. Jerome Keisler ODEL THEORY H. Jerome Keisler Department of athematics, University of Wisconsin, adison Wisconsin U.S.A. Keywords: adapted probability

More information

Neale and the slingshot Fabrice Correia

Neale and the slingshot Fabrice Correia a Neale and the slingshot Fabrice Correia 'Slingshot arguments' is a label for a class of arguments which includes Church's argument to the effect that if sentences designate propositions, then there are

More information

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:

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: Logic: The Big Picture Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and

More information

Definite Logic Programs

Definite Logic Programs Chapter 2 Definite Logic Programs 2.1 Definite Clauses The idea of logic programming is to use a computer for drawing conclusions from declarative descriptions. Such descriptions called logic programs

More information

Propositional and Predicate Logic. jean/gbooks/logic.html

Propositional and Predicate Logic.   jean/gbooks/logic.html CMSC 630 February 10, 2009 1 Propositional and Predicate Logic Sources J. Gallier. Logic for Computer Science, John Wiley and Sons, Hoboken NJ, 1986. 2003 revised edition available on line at http://www.cis.upenn.edu/

More information

First Order Logic (FOL) 1 znj/dm2017

First Order Logic (FOL) 1   znj/dm2017 First Order Logic (FOL) 1 http://lcs.ios.ac.cn/ znj/dm2017 Naijun Zhan March 19, 2017 1 Special thanks to Profs Hanpin Wang (PKU) and Lijun Zhang (ISCAS) for their courtesy of the slides on this course.

More information

Restricted truth predicates in first-order logic

Restricted truth predicates in first-order logic Restricted truth predicates in first-order logic Thomas Bolander 1 Introduction It is well-known that there exist consistent first-order theories that become inconsistent when we add Tarski s schema T.

More information

More Model Theory Notes

More Model Theory Notes More Model Theory Notes Miscellaneous information, loosely organized. 1. Kinds of Models A countable homogeneous model M is one such that, for any partial elementary map f : A M with A M finite, and any

More information

Introduction to Logic in Computer Science: Autumn 2007

Introduction to Logic in Computer Science: Autumn 2007 Introduction to Logic in Computer Science: Autumn 2007 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Tableaux for First-order Logic The next part of

More information

Syntax of FOL. Introduction to Logic in Computer Science: Autumn Tableaux for First-order Logic. Syntax of FOL (2)

Syntax of FOL. Introduction to Logic in Computer Science: Autumn Tableaux for First-order Logic. Syntax of FOL (2) Syntax of FOL Introduction to Logic in Computer Science: Autumn 2007 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam The syntax of a language defines the way in which

More information