A1 Logic (25 points) Using resolution or another proof technique of your stated choice, establish each of the following.

Similar documents
Herbrand Theorem, Equality, and Compactness

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

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

Predicate Logic - Introduction

Final Exam (100 points)

PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2

2.2 Lowenheim-Skolem-Tarski theorems

Denote John by j and Smith by s, is a bachelor by predicate letter B. The statements (1) and (2) may be written as B(j) and B(s).

Lecture 13: Soundness, Completeness and Compactness

CS 514, Mathematics for Computer Science Mid-semester Exam, Autumn 2017 Department of Computer Science and Engineering IIT Guwahati

Model Theory MARIA MANZANO. University of Salamanca, Spain. Translated by RUY J. G. B. DE QUEIROZ

Logic for Computer Scientists

Introduction to Metalogic

Gödel s Incompleteness Theorem. Overview. Computability and Logic

Part II Logic and Set Theory

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Propositional and Predicate Logic - XIII

Foundations of Mathematics Worksheet 2

CMPS 217 Logic in Computer Science. Lecture #17

1 Completeness Theorem for Classical Predicate

Introduction to Model Theory

Basics of Model Theory

Logic for Computer Scientists

Propositional Logic: Syntax

The Syntax of First-Order Logic. Marc Hoyois

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

What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos

Characterizing First Order Logic

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

CHAPTER 2. FIRST ORDER LOGIC

Introduction to Logic and Axiomatic Set Theory

Handout: Proof of the completeness theorem

Classical Propositional Logic

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

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

October 12, Complexity and Absoluteness in L ω1,ω. John T. Baldwin. Measuring complexity. Complexity of. concepts. to first order.

Logic Michælmas 2003

Lecture 2: Syntax. January 24, 2018

S ) is wf as well. (Exercise) The main example for a wf Relation is the membership Relation = {( x, y) : x y}

Gödel s Incompleteness Theorem. Overview. Computability and Logic

On some Metatheorems about FOL

Predicate Logic: Sematics Part 1

Contents 1. Examples of structures A. Graphs B. Partial and linear orderings C. Fields D. The natural numbers...

Victoria Gitman and Thomas Johnstone. New York City College of Technology, CUNY

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

Introduction to first-order logic:

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

Informal Statement Calculus

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

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

Properties of Relational Logic

TECHNISCHE UNIVERSITEIT EINDHOVEN Faculteit Wiskunde en Informatica. Final exam Logic & Set Theory (2IT61) (correction model)

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction)

Notes on Mathematical Logic. David W. Kueker

Notes for Math 601, Fall based on Introduction to Mathematical Logic by Elliott Mendelson Fifth edition, 2010, Chapman & Hall

Automated Reasoning Lecture 5: First-Order Logic

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:

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

First Order Logic (FOL) 1 znj/dm2017

Marie Duží

CS156: The Calculus of Computation

Logic for Computer Scientists

Notes on Satisfiability-Based Problem Solving. First Order Logic. David Mitchell October 23, 2013

Chapter 1. Logic and Proof

Arithmetic and Incompleteness. Will Gunther. Goals. Coding with Naturals. Logic and Incompleteness. Will Gunther. February 6, 2013

Constructions of Models in Fuzzy Logic with Evaluated Syntax

Infinite Truth-Functional Logic

Special Topics on Applied Mathematical Logic

03 Review of First-Order Logic

Introduction to Model Theory

Logic: The Big Picture

First-Order Logic (FOL)

Predicate Logic - Undecidability

Introduction to Metalogic

Arithmetical classification of the set of all provably recursive functions

This is logically equivalent to the conjunction of the positive assertion Minimal Arithmetic and Representability

Handbook of Logic and Proof Techniques for Computer Science

Lecture 1: Overview. January 24, 2018

CS156: The Calculus of Computation Zohar Manna Winter 2010

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

Computational Logic. Recall of First-Order Logic. Damiano Zanardini

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


Equational Logic. Chapter Syntax Terms and Term Algebras

arxiv: v1 [math.lo] 7 Dec 2017

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

Proof Theory and Subsystems of Second-Order Arithmetic

VAUGHT S THEOREM: THE FINITE SPECTRUM OF COMPLETE THEORIES IN ℵ 0. Contents

MAGIC Set theory. lecture 2

LGIC 310/MATH 570/PHIL 006 Fall, 2010 Scott Weinstein 9

4 The semantics of full first-order logic

Gödel s Incompleteness Theorems

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

LINDSTRÖM S THEOREM SALMAN SIDDIQI

Part II. Logic and Set Theory. Year

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages)

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

Logic. Propositional Logic: Syntax. Wffs

185.A09 Advanced Mathematical Logic

Transcription:

A1 Logic (25 points) Using resolution or another proof technique of your stated choice, establish each of the following. = ( x)( y)p (x, y, f(x, y)) ( x)( y)( z)p (x, y, z)). b. (6.25 points) Γ = ( x)p (x, x), where Γcontainsthesentences ( x)( y)p (x, y), ( x)( y)( z)[p (x, y) [P (y, z) P (x, z)]], ( x)( y)[p (x, y) P (y, x)]. c. (6.25 points) {[ P (x), P (f(a)),q(y)], [P (y)], [ P (g(b, x)), Q(b)]} is unsatisfiable. d. (6.25 points) Any set containing the following clauses is unsatisfiable: [ P (x),q(x),r(x, f(x))], [T (a)], [P (a)], [ R(a, z),t(z)], [ T (x), Q(x)], [ T (y), S(y)], [ P (x),q(x),s(f(x))].

A2 Logic (25 points) Consider the following interpretation (U, ϕ)ofafolanguagel with 1-ary predicate symbols F, S, N and 2-ary predicate symbol O, where we do not care about the initial interpretation of the variables. Let U =thesetofpast,present,andfutureanimals,includinghumans. Let ϕ(f )={u U u is a goldfish}. Let ϕ(s) ={u U u is sad}. Let ϕ(o) ={(u, v) U 2 u owns v}. Let ϕ(n) ={u U u has no fishfood}. Employing the fo language l above and its interpretation also above, provide a translation of the following English sentence into a cwff of l. Some goldfish is sad if all its owners have no fishfood. (1) Hint: You may want to translate (1) above clause by clause and then put the clauses together appropriately. This may also help with obtaining partial credit. Pronouns, like its in (1) above, nicely translate as variables. b. (18.75 points @ 6.25 points/argument) Express each of the following arguments in predicate logic using the notation = for logical consequence. N.B. Be sure to specify clearly the meaning of all your predicate symbols, constant symbols, etc. E.g., Frank and Mary just below should each be named by a distinct constant symbol. b1. (6.25 points) Frank is a boy who does not own a car. Mary dates only boys who own cars. Therefore, Mary does not date Frank. b2. (6.25 points) Every member of the policy committee is either a Democrat or a Republican. Some members of the policy committee are wealthy. Mary is not a Democrat, but she is wealthy. Therefore, if Mary is a member of the policy committee, she is a Republican. b3. (6.25 points) Some scientific subjects are not interesting, but all scientific subjects are edifying. Therefore, some edifying things are not interesting.

A3 Logic (25 points) For each of the following cwffs, provide an explicit interpretation witnessing it to be invalid. ( x)( y)r(x, y) ( z)r(z, z). b. (6.25 points) ( x)( y)r(x, y) ( y)( x)r(x, y). c. (6.25 points) ( x)[r(x) S(x)] [( x)r(x) ( x)s(x)]. d. (6.25 points) [( x)r(x) ( x)s(x)] [( x)[r(x) S(x)].

A4 Logic (25 points) For this problem, A4, we provide considerable information, much of which is to motivate the problem (which is to prove a surprising result). Then, near the end and on the next page, we state what is to be done for this problem and subsequently give a hint making it not so difficult. (.. ) Definition PA (called: the f.o. theory of Peano arithmetic) hasbinarypredicatesymbol=, binary function symbols +,, constantsymbols0, 1, 2,...,andtheequalityaxiomstogetherwiththeinfinite, algorithmically decidable set of the following axioms (in infix notation): for each positive n N, ( v 1 )v 1 +0=v 1 ; (2) ( v 1 )( v 2 )v 1 +(v 2 +1)=(v 1 + v 2 )+1; (3) ( v 1 )v 1 0=0; (4) ( v 1 )( v 2 )v 1 (v 2 +1)=(v 1 v 2 )+v 1 ; (5) 0+1=1; (6) 1+...+1= n, (7) }{{} n 1 s where the n on the right-hand side of (7) is understood to be the constant symbol for representing n and where it is again understood that the expression 1+...+1 is parenthesized with association to the left; ( v 1 )( v 2 )[v 1 +1=v 2 +1 v 1 = v 2 ]; (8) ( v 1 )0 v 1 +1; (9) and all cwffs (closed well formed formulas) of the the underlying language of the form closure([[{a}[x/0] (x)[a {A}[x/(x +1)]] (x)a]), (10) where A is an arbitrary wff (well formed formula) of PA, where closure(b) is ( x 1 ) ( x m )B for the distinct free variables x 1,...,x m of wff B, and, where {A}[x/t] is the result of simultaneously substituting for each free occurrence of x in the wff A, the term t. PA has a decidable language. The first four axioms constitute the recursive definitions of + and. The axioms of the form (10) all together constitute a statement of the principle of mathematical induction. PA suffices to prove all the theorems in elementary number theory books! It has as its standard normal model the obvious one for the arithmetic of non-negative integers. 1 It was originally intended to be complete 2 (but, thanks to Gödel s First Incompleteness Theorem from 1931, we now know it is not proof omitted). PA is not decidable (proof omitted), but its theorems can be algorithmically listed. (Problem A4 continues onto the next page.) 1 A normal model is (by definition) one in which the interpretation of the equality symbol is equality on the model s universe/domain of discourse. In PA s standard normal model, the universe/domain of discourse is the (countable) set of non-negative integers, each constant symbol n is interpreted as the non-negative integer n, +isinterpretedasadditionofthenon-negativeintegers,.... 2 This is since it is and was supposed to be an (algorithmically decidable) axiomatization of a fixed standard normal model. By contrast the first order theory of groups (not detailed here) was intended to axiomatize a whole giant, interesting collection of rather disparate normal models.

(This page is the continuation of Problem A4.) Definition T PA (called: the f.o. theory of arithmetical truth) hasthesamelanguageaspa above and its axioms are the entire set of cwffs true in the standard normal model of PA. Trivially, T PA is complete. However, it is not decidable and has no (algorithmically decidable) axiomatization (proofs omitted). What is to be done for this problem: Follow the hint just below to employ the Compactness Theorem as well as a suitable form of the Skolem-Löwenheim Theorem to prove informally that T PA also has a countable non-standard normal model, i.e., a countable one not isomorphic to its countable standard normal model. Hint: Form an extension T PA of T PA by adding a new constant symbol i and the additional infinite set of axioms I = {i > 0, i > 1, i > 2,...}, (11) where, fortermst 1,t 2 of T PA, t 1 >t 2 (12) is an abbreviation for the wff, also of T PA, ( v 1 )[t 1 = t 2 +(v 1 +1)]. (13) Show informally that each finite subset of the axioms of T PA has a normal model. Explain how to conclude from Compactness that T PA itself has a normal model. Explain how to conclude from a suitable form of the Skolem-Löwenheim Theorem that T PA has a countable normal model. Show informally this new, countable normal model restricted to the language of just T PA cannot be isomorphic to the (countable) standard normal model of T PA.Todothis,showthat,inthenew normal model itself, the constant symbol i has a interpretation very unlike the standard meaning of any of the constant symbols of PA. N.B. The restricted version of the new normal model still has the same universe/domain of discourse; therefore, the object which is the interpretation of i from the unrestricted version is still in there.