Math 160A: Soundness and Completeness for Sentential Logic
|
|
- Phebe Jones
- 5 years ago
- Views:
Transcription
1 Math 160A: Soundness and Completeness for Sentential Logic Proof system for Sentential Logic. Definition (Ex p. 66). For Σ a set of wffs, define a deduction from Σ to be a finite sequence xα 0,...,α n y of wffs such that for each k n, either (a) α k is a tautology, or (b) α k P Σ, or (c) for some i and j less than k, α i is pα j Ñ α k q Modus ponens. This sequence is a deduction for α if α n α. If there is a deduction for α from Σ, we say α is provable from Σ and we write Σ $ α. Example. If Σ tψa 2,A 1 _ A 2 u then Σ $ A 1. To prove this, we exhibit the deduction: (α 0 ) pa 1 _ A 2 qñpψa 2 Ñ A 1 q (α 1 ) pa 1 _ A 2 q (α 2 ) ψa 2 Ñ A 1 (α 3 ) ψa 2 (α 4 ) A 1 where α 1,α 3 P S so allowed by (b), α 2 is the result of modus ponens, and α 0 is a tautology, as demonstrated by the truth table A 1 A 2 pa 1 _ A 2 qñpψa 2 Ñ A 1 q F F T F T T T F T T T T Note: this proof system allows all tautologies as axioms. There are other systems that try to be more modest about the axioms assumed and thus model natural deduction more closely. See Wikipedia for examples. Lemma (Finiteness of proofs). For any finite nonempty set of wffs Σ 0 tϕ 1,...,ϕ n u and wff α, ifσ 0 ( α then let σ ϕ n Ñpϕ n 1 ÑpΞΞΞpϕ 1 Ñ αqξξξqq and claim ( σ and Σ 0 $ α. Example. In example above, ϕ 1 ψa 2, ϕ 2 A 1 _ A 2 and σ pa 1 _ A 2 qñpψa 2 Ñ αq. Proof of Lemma. First we prove ( σ: we proceed by induction on the size of Σ 0. fl (Base case) If Σ 0 1thenΣ 0 tϕu and σ ϕ Ñ α. Suppose Σ 0 ( α, thatis,ϕ ( α. Let v be any truth assignment. Then vpσq vpϕ Ñ αq T
2 v. January 27, because if vpϕq T then by ϕ ( α, it must be that vpαq T ;andif vpϕq F then vacuously true. Since this argument holds for all truth assignments, ( σ. fl (Inductive step) Suppose true for all nonempty sets of size n and let Σ 0 be such that Σ 0 tϕ 1,...,ϕ n 1 u. Define σ i ϕ i Ñ pϕ i 1 Ñ pξξξpϕ 1 Ñ αqξξξqq for i 1...n 1. Then σ ϕ n 1 Ñ σ n. Either tϕ 1,...,ϕ n u(α or not. (Yes) Then by the inductive hypothesis ( σ n. For v any truth assignment, vpσ n q T so vpσq vpϕ n 1 Ñ σ n q T.Thus,( σ. (No) Suppose (for a contradiction) that v is a truth assignment with vpϕ n 1 q T and vpσ n q F. By definition of σ n, vpϕ 1 q ΞΞΞ vpϕ n q T and vpαq F. Then this v satisfies all formulas in Σ 0 but not α, contradicting Σ 0 ( α. Consider the deduction xσ, ϕ 1,...,ϕ n,σ n 1,σ n 2,...,σ 1,αy. This is a deduction because its first formula is a tautology (by first part of Lemma), the next n formulas are in Σ, and the next n formulas (including the last, α) are the result of modus ponens. Thus, Σ 0 $ α. Soundness and Completeness of Sentential Logic. Theorem (Soundness of sentential logic). If Σ $ α then Σ ( α. (Only prove wffs that tautologically follow from Σ.) Theorem (Completeness of sentential logic). If Σ ( α then Σ $ α. (All tautological consequences of Σ are provable from Σ.) Proof of soundness. Fix Σ. If Σ $ α, there is a deduction witnessing this. Therefore, we will prove soundness by induction on the length of deductions. Namely we prove: For all n, if xα 0,...,α n y is a deduction from Σ of α n then Σ ( α n. fl (Base case) If n 0 then the hypothesis is that xα 0 y is a deduction from Σ of α 0. By definition of a deduction, this means that either α 0 is a tautology. In this case, Σ ( α 0 because every truth assignment satisfies α 0. Otherwise, α 0 P Σ. In this case, Σ ( α 0 because every truth assignment that satisfies each wff in Σ must (by definition) satisfy α 0. fl (Inductive step) The inductive hypothesis is that for all m n, ifxα 0,...,α m y is a deduction from Σ of α m then Σ ( α m. Suppose xα 0,...,α n 1 y is a deduction from Σ of α n 1. Then, α n 1 is either a tautology, in Σ, or obtainable from earlier α i,α j by modus ponens. In the first two cases Σ ( α n 1 as in the base case. So, let i, j n be such that α i α j Ñ α n 1.Noticethatxα 0,...,α i y, xα 0,...,α j y are each deductions and have length less than or equal to n. By the induction hypothesis, Σ ( α i and Σ ( α j.thatis, Σ ( α j Ñ α n 1 and Σ ( α j. To prove that Σ ( α n 1,letv be a truth assignment that satisfies all wffs in Σ. Then, vpα j Ñ α n 1 q T and vpα j q T. This implies that vpα n 1 q T and we have shown that Σ ( α n 1.
3 v. January 27, Definition (p. 59). A set Σ of wffs is satisfiable if there is a truth assignment that satisfies every member of Σ. Definition. AsetΣofwffsisconsistent if there is no wff ϕ such that Σ $ ϕ and Σ $ψϕ. Fact ((a) on p. 60). (a) Σ ( τ Σ Ytψτu is unsatisfiable. (b) Σ $ τ Σ Ytψτu is inconsistent. Proof. (a) Suppose Σ ( τ: every assignment that satisfies Σ satisfies τ. Thus, every assignment that satisfies Σ does not satisfy ψτ. Hence, no assignment can satisfy Σ Ytψτu. Conversely, suppose ΣYtψτu is unsatisfiable and let v be a truth assignment that satisfies Σ. By assumption, vpψτq οt so vpτq T. Thus, Σ ( τ. (b) Suppose Σ $ τ. Since adding hypotheses doesn t impact provability, Σ Ytψτu $τ. But also (by definition), Σ Ytψτu $ψτ. Therefore, Σ Ytψτu is not consistent. For the converse, we will use the following lemma: for a set of wffs Γ and wffs ϕ, ψ, if Γ Ytϕu $ψ then Γ $ ϕ Ñ ψ. We prove this by the length of the deduction witnessing Γ Ytϕu $ ψ. In the base case, the deduction is simply xψy and ψ P Γ Ytϕu or ( ψ. If ϕ ψ then ( ϕ Ñ ψ so Γ proves it. Otherwise, ψ P Γor( ψ and (either way) xψ, pψ Ñ pϕ Ñ ψqq,ϕ Ñ ψy is a deduction from Γ since ( pψ Ñ pϕ Ñ ψqq. The induction hypothesis is that ψ is obtainable from α, β by modus ponens and Γ $ ϕ Ñ α; Γ $ ϕ Ñ β. I.e., β α Ñ ψ. Notice that (pϕ Ñ αq Ñppϕ Ñpα Ñ ψqq Ñ pϕ Ñ ψqq. Concatenating the deductions from the inductive hypothesis with this tautology and applying modus ponens twice gives Γ $ ϕ Ñ ψ, as required. Back to proof: suppose ΣYtψτu is inconsistent. Then there is some wff γ such that ΣYtψτu $γ and ΣYtψτu $ ψγ. By Lemma, Σ $ pψτ Ñ γq and Σ $ pψτ Ñ ψγq. Truth tables confirm that (pψτ Ñ γq Ñ ppψτ Ñψγq Ñτq (the intuition is that if ψτ implies both a wff and its negation then it can t be true). Hence concatenating the deductions for Σ $ pψτ Ñ γq and Σ $ pψτ Ñ ψγq with this tautology and applying modus ponens twice gives a deduction witnessing Σ $ τ. Theorem. Soundness is equivalent to every satisfiable set of formulas is consistent and completeness is equivalent to every consistent set of formulas is satisfiable. Proof. Homework 3. Proof of completeness. We will prove the equivalent statement: every consistent set of formulas is satisfiable. Let Σ be a consistent set of wffs. We will extend Σ to a negation-complete and consistent set of wffs, Θ (that is, Θ is consistent and for every ϕ either ϕ P Θorψϕ P Θ). Then, we define a truth assignment that satisfies all wffs in Θ (and hence also all in Σ). Let α 0,α 1,... be an enumeration of all wffs. Define Θ 0 Σ Θ n Ytα n u if Θ n Ytα n u is consistent Θ n 1 Θ n Ytψα n u otherwise Θ n Θ n It is immediate that Θ is negation-complete.
4 v. January 27, Why is Θ consistent? First note that each Θ n is consistent: fl Θ 0 Σ is assumed consistent. fl Consistency is preserved at each step: Suppose Θ n is consistent. If Θ n Ytα n u is consistent then Θ n 1 Θ n Ytα n u and we re done. Otherwise, we defined Θ n 1 Θ n Ytψα n u.by Fact (b), in this case, Θ n $ψα n. Thus, for any ϕ that Θ n 1 $ ϕ, itisalsothecasethat Θ n $ ϕ. Hence, since Θ n is consistent, so is Θ n 1. Suppose, for a contradiction, that Θ is not consistent. Then there is some ϕ such that Θ $ ϕ and Θ $ψϕ. Each of these is witnessed by a finite derivation so the union of these two derivations is finite as well. Let k be smallest such that all these (finitely many) formulas appear in Θ k.then Θ k $ ϕ and Θ k $ψϕ. But, this contradicts the consistency of Θ k. By consistency and negation-completeness, for each wff α, exactly one of Θ $ α and Θ $ ψα holds. Why? At most one holds by consistency. And, if Θ & α then by Fact (b), Θ Ytψαu is consistent. Since ψα appears on list of wffs, say α k ψα, thenθ k Ytψαu is consistent and hence ψα P Θ k Θ. In this case, Θ $ψα. Similarly, if Θ &ψα then Θ $ α. The above argument holds, in particular, for sentence symbols so the following definition is total and non-contradictory: let v be the truth assignment vpa i q T if Θ $ A i F if Θ $ψa i. We will prove by induction that for each wff ϕ, vpϕq T if and only if Θ $ ϕ. Thisisan induction on the structure of formulas, and since we have proved that every wff is tautologically equivalent to one built up from sentence connectives using only ψ and ^ (because tψ, ^u is a complete sets of connectives), it is sufficient to consider just these wffs. fl (Base case) Consider ϕ A i.then vpa i q vpa i q T if and only if Θ $ A i by definition. fl (Inductive step) Let α, β be wffs such that vpαq T if and only if Θ $ α and vpβq T if and only if Θ $ β. Let ϕ ψα. Then by consistency and negation completeness, Θ $ ϕ Θ & α vpαq F vpϕq T. Let ϕ α ^ β. Since ( ϕ Ñ α, ( ϕ Ñ β if Θ $ ϕ then Θ $ α and Θ $ β. Conversely, if Θ $ α and Θ $ β then Θ $ ϕ because ( α Ñpβ Ñpα^βqq. Θ $ ϕ Θ $ α Θ $ β and vpαq T vpβq T and vpϕq T. For each α P Σ, Σ $ α and hence (since Σ Θ) Θ $ α. Therefore, vpαq T and v satisfies Σ. Theorem (Compactness of sentential logic, p. 24 and 59). Let Σ be an infinite set of wffs such that every finite subset is satisfiable. Then Σ itself is satisfiable. Proof. One direction is immediate: if Σ satisfiable then there is v which satisfies every member of Σ and therefore which satisfies every member of every finite subset.
5 v. January 27, For the converse, we can do a construction analogous to the proof of completeness. For details: see proof in book (page and 1.71,2) and practice questions for exam 1. An alternate proof assumes soundness and completeness. Suppose every consistent set of formulas is satisfiable. Let Σ be an infinite set of wffs such that every finite subset is satisfiable. By soundness, this implies every finite subset is consistent. Suppose (for a contradiction) that Σ is not satisfiable and hence (by completeness) not consistent. Then there is ϕ such that Σ $ ϕ and Σ $ ψϕ. Let Σ ϕ be the set of all formulas that appear in either of the deductions witnessing these two facts. Then Σ ϕ Σ is finite (because deductions are finite) and Σ ϕ $ ϕ and Σ ϕ $ψϕ. That is, Σ ϕ is a finite inconsistent subset, a contradiction. Corollary (17A on p. 60). Compactness is equivalent to If Σ ( τ then there is a finite Σ 0 Σ such that Σ 0 ( τ. Proof. Suppose every finitely satisfiable Σ is satisfiable and Σ ( τ. ThenΣYtψτu is unsatisfiable (by Fact (a)) and therefore there is a finite subset Σ 0 Σ Ytψτu that is unsatisfiable. Then Σ 0 Ytψτu (which may equal Σ 0 ) is unsatisfiable and hence (by Fact (a)) Σ 0 ( τ. Conversely, suppose that if Σ ( τ there is a finite Σ 0 Σ such that Σ 0 ( τ. Towards a contradiction, let Σ be an infinite set of wffs such that each finite subset is satisfiable but Σ is not satisfiable. Since Σ is nonempty, let ϕ be some wff in Σ and denote Σztϕu by Σ 1.ThenΣ 1 Ytϕu is not satisfiable so by Fact (a), Σ 1 (ψϕ. By the assumption, there is a finite Σ 0 Σ 1 Σsuch that Σ 0 (ψϕ. Applying Fact (a) again, we conclude that Σ 0 Ytϕu is unsatisfiable. But, this is a finite subset of Σ, contradicting our assumption that Σ is finitely satisfiable.
Gödel s Completeness Theorem
A.Miller M571 Spring 2002 Gödel s Completeness Theorem We only consider countable languages L for first order logic with equality which have only predicate symbols and constant symbols. We regard the symbols
More informationFirst-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 informationHandout: Proof of the completeness theorem
MATH 457 Introduction to Mathematical Logic Spring 2016 Dr. Jason Rute Handout: Proof of the completeness theorem Gödel s Compactness Theorem 1930. For a set Γ of wffs and a wff ϕ, we have the following.
More informationSection 1.2: Propositional Logic
Section 1.2: Propositional Logic January 17, 2017 Abstract Now we re going to use the tools of formal logic to reach logical conclusions ( prove theorems ) based on wffs formed by some given statements.
More informationThe Language. Elementary Logic. Outline. Well-Formed Formulae (wff s)
The Language Elementary Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan July 1, 2009 The following symbols are used in sentential logic Symbol Name Remark ( left parenthesis
More information1. 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 informationChapter 3: Propositional Calculus: Deductive Systems. September 19, 2008
Chapter 3: Propositional Calculus: Deductive Systems September 19, 2008 Outline 1 3.1 Deductive (Proof) System 2 3.2 Gentzen System G 3 3.3 Hilbert System H 4 3.4 Soundness and Completeness; Consistency
More informationDeductive Systems. Lecture - 3
Deductive Systems Lecture - 3 Axiomatic System Axiomatic System (AS) for PL AS is based on the set of only three axioms and one rule of deduction. It is minimal in structure but as powerful as the truth
More informationMath 267a - Propositional Proof Complexity. Lecture #1: 14 January 2002
Math 267a - Propositional Proof Complexity Lecture #1: 14 January 2002 Lecturer: Sam Buss Scribe Notes by: Robert Ellis 1 Introduction to Propositional Logic 1.1 Symbols and Definitions The language of
More informationApplied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw
Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018
More information1. 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 informationPropositional 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 informationPropositional Logic: Part II - Syntax & Proofs 0-0
Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems
More informationCHAPTER 2. FIRST ORDER LOGIC
CHAPTER 2. FIRST ORDER LOGIC 1. Introduction First order logic is a much richer system than sentential logic. Its interpretations include the usual structures of mathematics, and its sentences enable us
More information2. 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 informationPropositional 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 informationIntroduction 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 informationGÖ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 informationPropositional Logic: Syntax
4 Propositional Logic: Syntax Reading: Metalogic Part II, 22-26 Contents 4.1 The System PS: Syntax....................... 49 4.1.1 Axioms and Rules of Inference................ 49 4.1.2 Definitions.................................
More informationFirst Order Logic: Syntax and Semantics
CS1081 First Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Problems Propositional logic isn t very expressive As an example, consider p = Scotland won on Saturday
More information127: Lecture notes HT18. Week 3. D.I. Semantic and proof-theoretic approaches to consequence (LfP 1.5)
D. Axiomatic Proofs D.I. Semantic and proof-theoretic approaches to consequence (LfP 1.5) Question. When is a conclusion φ a logical consequence of a set of premisses Γ? Two reductive answers have been
More informationMathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy
Reasoning in First Order Logic FBK-IRST, Trento, Italy April 12, 2013 Reasoning tasks in FOL Model checking Question: Is φ true in the interpretation I with the assignment a? Answer: Yes if I = φ[a]. No
More informationMathematical Logic. Introduction to Reasoning and Automated Reasoning. Hilbert-style Propositional Reasoning. Chiara Ghidini. FBK-IRST, Trento, Italy
Introduction to Reasoning and Automated Reasoning. Hilbert-style Propositional Reasoning. FBK-IRST, Trento, Italy Deciding logical consequence Problem Is there an algorithm to determine whether a formula
More informationMathematics 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 informationPř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 informationNotes for Math 601, Fall based on Introduction to Mathematical Logic by Elliott Mendelson Fifth edition, 2010, Chapman & Hall
Notes for Math 601, Fall 2010 based on Introduction to Mathematical Logic by Elliott Mendelson Fifth edition, 2010, Chapman & Hall All first-order languages contain the variables: v 0, v 1, v 2,... the
More informationLanguage of Propositional Logic
Logic A logic has: 1. An alphabet that contains all the symbols of the language of the logic. 2. A syntax giving the rules that define the well formed expressions of the language of the logic (often called
More informationMarie 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 informationClassical 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 informationMATH 13 SAMPLE FINAL EXAM SOLUTIONS
MATH 13 SAMPLE FINAL EXAM SOLUTIONS WINTER 2014 Problem 1 (15 points). For each statement below, circle T or F according to whether the statement is true or false. You do NOT need to justify your answers.
More informationLogic Part II: Intuitionistic Logic and Natural Deduction
Yesterday Remember yesterday? classical logic: reasoning about truth of formulas propositional logic: atomic sentences, composed by connectives validity and satisability can be decided by truth tables
More informationInformal 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 informationCompleteness 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 informationPropositional Logics and their Algebraic Equivalents
Propositional Logics and their Algebraic Equivalents Kyle Brooks April 18, 2012 Contents 1 Introduction 1 2 Formal Logic Systems 1 2.1 Consequence Relations......................... 2 3 Propositional Logic
More information02 Propositional Logic
SE 2F03 Fall 2005 02 Propositional Logic Instructor: W. M. Farmer Revised: 25 September 2005 1 What is Propositional Logic? Propositional logic is the study of the truth or falsehood of propositions or
More informationModal Logic: Exercises
Modal Logic: Exercises KRDB FUB stream course www.inf.unibz.it/ gennari/index.php?page=nl Lecturer: R. Gennari gennari@inf.unibz.it June 6, 2010 Ex. 36 Prove the following claim. Claim 1. Uniform substitution
More informationNatural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson
Natural Deduction Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. An example 1. Validity by truth table 2. Validity by proof 2. What s a proof 1. Proof checker 3. Rules of
More informationLogic and Proofs 1. 1 Overview. 2 Sentential Connectives. John Nachbar Washington University December 26, 2014
John Nachbar Washington University December 26, 2014 Logic and Proofs 1 1 Overview. These notes provide an informal introduction to some basic concepts in logic. For a careful exposition, see, for example,
More informationAN EXTENSION OF THE PROBABILITY LOGIC LP P 2. Tatjana Stojanović 1, Ana Kaplarević-Mališić 1 and Zoran Ognjanović 2
45 Kragujevac J. Math. 33 (2010) 45 62. AN EXTENSION OF THE PROBABILITY LOGIC LP P 2 Tatjana Stojanović 1, Ana Kaplarević-Mališić 1 and Zoran Ognjanović 2 1 University of Kragujevac, Faculty of Science,
More informationExamples: 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 informationCONTENTS. Appendix C: Gothic Alphabet 109
Contents 1 Sentential Logic 1 1.1 Introduction............................ 1 1.2 Sentences of Sentential Logic................... 2 1.3 Truth Assignments........................ 7 1.4 Logical Consequence.......................
More informationNatural Deduction for Propositional Logic
Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic
More informationCompleteness for FOL
Completeness for FOL Completeness Theorem for F Theorem. Let T be a set of sentences of a firstorder language L and let S be a sentence of the same language. If S is a first-order consequence of T, then
More information10 Propositional logic
10 The study of how the truth value of compound statements depends on those of simple statements. A reminder of truth-tables. and A B A B F T F F F F or A B A B T F T F T T F F F not A A T F F T material
More information2.4.5 Metatheorems about Deductions
96 CHAPTER 2. FIRST-ORDER LOGIC 2.4.5 Metatheorems about Deductions We have been using the word theorem in two di erent ways. When ` we say that is a theorem of. We have also stated and proven theorems
More informationMath 114L. Homework 2 Solutions. Spring 2011
Math 114L Homework 2 Solutions Spring 2011 1.5.1 1.5.1a p A 1^ A 2^ A 3 q_p A 1^ A 2^A 3 q_p A 1^A 2^ A 3 q_pa 1^ A 2^ A 3 q 1.5.1a 1.5.3 pa 1 _ A 2 q Ñ pa 3 _ pa 1 ^ A 2 qq We will prove by induction
More informationcis32-ai lecture # 18 mon-3-apr-2006
cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem
More information6c Lecture 14: May 14, 2014
6c Lecture 14: May 14, 2014 11 Compactness We begin with a consequence of the completeness theorem. Suppose T is a theory. Recall that T is satisfiable if there is a model M T of T. Recall that T is consistent
More informationPropositional and Predicate Logic - VII
Propositional and Predicate Logic - VII Petr Gregor KTIML MFF UK WS 2015/2016 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 1 / 11 Theory Validity in a theory A theory
More information1. 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 informationDiscrete Mathematics (VI) Yijia Chen Fudan University
Discrete Mathematics (VI) Yijia Chen Fudan University Review Truth Assignments Definition A truth assignment A is a function that assigns to each propositional letter A a unique truth value A(A) {T, F}.
More informationLecture 2: Syntax. January 24, 2018
Lecture 2: Syntax January 24, 2018 We now review the basic definitions of first-order logic in more detail. Recall that a language consists of a collection of symbols {P i }, each of which has some specified
More informationCMPSCI 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 informationCOMP 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 informationPropositional 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 informationCS 486: Applied Logic Lecture 7, February 11, Compactness. 7.1 Compactness why?
CS 486: Applied Logic Lecture 7, February 11, 2003 7 Compactness 7.1 Compactness why? So far, we have applied the tableau method to propositional formulas and proved that this method is sufficient and
More informationThe 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 informationSKETCHY NOTES FOR WEEKS 7 AND 8
SKETCHY NOTES FOR WEEKS 7 AND 8 We are now ready to start work on the proof of the Completeness Theorem for first order logic. Before we start a couple of remarks are in order (1) When we studied propositional
More informationGödel s Incompleteness Theorem. Overview. Computability and Logic
Gödel s Incompleteness Theorem Overview Computability and Logic Recap Remember what we set out to do in this course: Trying to find a systematic method (algorithm, procedure) which we can use to decide,
More informationOverview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof.
Overview I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof. Propositional formulas Grammar: ::= p j (:) j ( ^ )
More information5. Peano arithmetic and Gödel s incompleteness theorem
5. Peano arithmetic and Gödel s incompleteness theorem In this chapter we give the proof of Gödel s incompleteness theorem, modulo technical details treated in subsequent chapters. The incompleteness theorem
More informationIntroduction to Intuitionistic Logic
Introduction to Intuitionistic Logic August 31, 2016 We deal exclusively with propositional intuitionistic logic. The language is defined as follows. φ := p φ ψ φ ψ φ ψ φ := φ and φ ψ := (φ ψ) (ψ φ). A
More informationCSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/33
CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter 4.1-4.8 p. 1/33 CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer
More informationLogic via Algebra. Sam Chong Tay. A Senior Exercise in Mathematics Kenyon College November 29, 2012
Logic via Algebra Sam Chong Tay A Senior Exercise in Mathematics Kenyon College November 29, 2012 Abstract The purpose of this paper is to gain insight to mathematical logic through an algebraic perspective.
More informationCOMP219: Artificial Intelligence. Lecture 19: Logic for KR
COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof
More informationTemporal Logic - Soundness and Completeness of L
Temporal Logic - Soundness and Completeness of L CS402, Spring 2018 Soundness Theorem 1 (14.12) Let A be an LTL formula. If L A, then A. Proof. We need to prove the axioms and two inference rules to be
More informationLecture 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 information1 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 informationTodays programme: Propositional Logic. Program Fac. Program Specification
Todays programme: Propositional Logic Familiarity with basic terminology of logics Syntax, logical connectives Semantics: models, truth, validity, logical consequence Proof systems: deductions, deductive
More informationSyntactic Characterisations in Model Theory
Department of Mathematics Bachelor Thesis (7.5 ECTS) Syntactic Characterisations in Model Theory Author: Dionijs van Tuijl Supervisor: Dr. Jaap van Oosten June 15, 2016 Contents 1 Introduction 2 2 Preliminaries
More informationNotes on Quantum Logic
Notes on Quantum Logic Version 1.0 David B. Malament Department of Logic and Philosophy of Science University of California, Irvine dmalamen@uci.edu Contents 1 Formal (sentential) quantum logic 2 2 The
More informationReview 1. Andreas Klappenecker
Review 1 Andreas Klappenecker Summary Propositional Logic, Chapter 1 Predicate Logic, Chapter 1 Proofs, Chapter 1 Sets, Chapter 2 Functions, Chapter 2 Sequences and Sums, Chapter 2 Asymptotic Notations,
More informationReview CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2.
CHAPTER 2 Review 2.1 Definitions in Chapter 2 2.1 Set; Element; Member; Universal Set 2.2 Subset 2.3 Proper Subset 2.4 The Empty Set, 2.5 Set Equality 2.6 Cardinality; Infinite Set 2.7 Complement 2.8 Intersection
More informationLogic for Computer Science - Week 5 Natural Deduction
Logic for Computer Science - Week 5 Natural Deduction Ștefan Ciobâcă November 30, 2017 1 An Alternative View of Implication and Double Implication So far, we have understood as a shorthand of However,
More informationCompleteness 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 information03 Propositional Logic II
Martin Henz February 12, 2014 Generated on Wednesday 12 th February, 2014, 09:49 1 Review: Syntax and Semantics of Propositional Logic 2 3 Propositional Atoms and Propositions Semantics of Formulas Validity,
More informationLogic for Computer Science - Week 4 Natural Deduction
Logic for Computer Science - Week 4 Natural Deduction 1 Introduction In the previous lecture we have discussed some important notions about the semantics of propositional logic. 1. the truth value of a
More informationLogic Michælmas 2003
Logic Michælmas 2003 ii Contents 1 Introduction 1 2 Propositional logic 3 3 Syntactic implication 5 3.0.1 Two consequences of completeness.............. 7 4 Posets and Zorn s lemma 9 5 Predicate logic
More informationMATH 2001 MIDTERM EXAM 1 SOLUTION
MATH 2001 MIDTERM EXAM 1 SOLUTION FALL 2015 - MOON Do not abbreviate your answer. Write everything in full sentences. Except calculators, any electronic devices including laptops and cell phones are not
More informationThe Countable Henkin Principle
The Countable Henkin Principle Robert Goldblatt Abstract. This is a revised and extended version of an article which encapsulates a key aspect of the Henkin method in a general result about the existence
More informationA lower bound for X is an element z F such that
Math 316, Intro to Analysis Completeness. Definition 1 (Upper bounds). Let F be an ordered field. For a subset X F an upper bound for X is an element y F such that A lower bound for X is an element z F
More informationCHAPTER 1 - LOGIC OF COMPOUND STATEMENTS
CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS 1.1 - Logical Form and Logical Equivalence Definition. A statement or proposition is a sentence that is either true or false, but not both. ex. 1 + 2 = 3 IS a statement
More informationProseminar 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 informationInference in Propositional Logic
Inference in Propositional Logic Deepak Kumar November 2017 Propositional Logic A language for symbolic reasoning Proposition a statement that is either True or False. E.g. Bryn Mawr College is located
More informationHomework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4
Do the following exercises from the text: Chapter (Section 3):, 1, 17(a)-(b), 3 Prove that 1 3 + 3 + + n 3 n (n + 1) for all n N Proof The proof is by induction on n For n N, let S(n) be the statement
More informationLecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)
Lecture 2 Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits Reading (Epp s textbook) 2.1-2.4 1 Logic Logic is a system based on statements. A statement (or
More informationRelational Reasoning in Natural Language
1/67 Relational Reasoning in Natural Language Larry Moss ESSLLI 10 Course on Logics for Natural Language Inference August, 2010 Adding transitive verbs the work on R, R, and other systems is joint with
More informationGödel s Incompleteness Theorem. Overview. Computability and Logic
Gödel s Incompleteness Theorem Overview Computability and Logic Recap Remember what we set out to do in this course: Trying to find a systematic method (algorithm, procedure) which we can use to decide,
More informationA Weak Post s Theorem and the Deduction Theorem Retold
Chapter I A Weak Post s Theorem and the Deduction Theorem Retold This note retells (1) A weak form of Post s theorem: If Γ is finite and Γ = taut A, then Γ A and derives as a corollary the Deduction Theorem:
More informationGö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 informationChapter 1: The Logic of Compound Statements. January 7, 2008
Chapter 1: The Logic of Compound Statements January 7, 2008 Outline 1 1.1 Logical Form and Logical Equivalence 2 1.2 Conditional Statements 3 1.3 Valid and Invalid Arguments Central notion of deductive
More informationCHAPTER 11. Introduction to Intuitionistic Logic
CHAPTER 11 Introduction to Intuitionistic Logic Intuitionistic logic has developed as a result of certain philosophical views on the foundation of mathematics, known as intuitionism. Intuitionism was originated
More informationLogic, 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 informationReasoning with Probabilities. Eric Pacuit Joshua Sack. Outline. Basic probability logic. Probabilistic Epistemic Logic.
Reasoning with July 28, 2009 Plan for the Course Day 1: Introduction and Background Day 2: s Day 3: Dynamic s Day 4: Reasoning with Day 5: Conclusions and General Issues Probability language Let Φ be a
More informationLogic: Propositional Logic Truth Tables
Logic: Propositional Logic Truth Tables Raffaella Bernardi bernardi@inf.unibz.it P.zza Domenicani 3, Room 2.28 Faculty of Computer Science, Free University of Bolzano-Bozen http://www.inf.unibz.it/~bernardi/courses/logic06
More informationBasic Algebraic Logic
ELTE 2013. September Today Past 1 Universal Algebra 1 Algebra 2 Transforming Algebras... Past 1 Homomorphism 2 Subalgebras 3 Direct products 3 Varieties 1 Algebraic Model Theory 1 Term Algebras 2 Meanings
More informationMATH 770 : Foundations of Mathematics. Fall Itay Ben-Yaacov
MATH 770 : Foundations of Mathematics Fall 2005 Itay Ben-Yaacov Itay Ben-Yaacov, University of Wisconsin Madison, Department of Mathematics, 480 Lincoln Drive, Madison, WI 53706-1388, USA URL: http://www.math.wisc.edu/~pezz
More informationThe Importance of Being Formal. Martin Henz. February 5, Propositional Logic
The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets
More informationarxiv: v1 [cs.lo] 21 Jan 2019
A FIRST-ORDER LOGIC FOR REASONING ABOUT KNOWLEDGE AND PROBABILITY arxiv:1901.06886v1 [cs.lo] 21 Jan 2019 Abstract. We present a first-order probabilistic epistemic logic, which allows combining operators
More informationTechnische Universität München Department of Computer Science. Joint Advanced Students School 2009 Propositional Proof Complexity.
Technische Universität München Department of Computer Science Joint Advanced Students School 2009 Propositional Proof Complexity May 2009 Frege Systems Michael Herrmann Contents Contents ii 1 Introduction
More information