LING 501, Fall 2004: Laws of logic and the definitions of the connectives
|
|
- Mervin Roberts
- 5 years ago
- Views:
Transcription
1 LING 501, Fall 2004: Laws of logic and the definitions of the connectives Modified October 24, adding a test yourself section at the end. Modified October 21, correcting errors noted in class on October 20. Modified October 18, adding a new introduction, and making various other changes. Modified October 17, changing title, adding material on logical laws and their relation to the definition of connectives. Laws of logic Logic is the theory of entailment over a set of objects, for example the members of the set PL of well-formed formulas of the propositional logic PL. The entailment relation can be defined in terms of the form of those objects, i.e. syntactically, or in terms of their meaning, i.e. semantically. Syntactic entailment for propositional logic is generally represented in the form (A), called a syntactic sequent, where P = {p 1,, p n } PL is a set of premises, - (called the syntactic turnstile) is the syntactic entailment relation, and q is the conclusion. Semantic entailment is represented in the form (B), called a semantic sequent, where each p i P is an equivalence class of members of PL, = (called the semantic turnstile) is the semantic entailment relation, and q is an equivalence class of members of PL. Since the syntactic and semantic forms of entailment for PL are equivalent, I will use the = symbol for both relations. 1 (A) (B) P - q P = q Certain correct sequent schemata have achieved a special status as laws of logic, including the following. 2 Simplification For all p, q S: [p & q] = p and [p & q] = q Addition For all p, q S: p = [p q] Generalization For all p, q, r S: If p = r and q = r, then [p q] = r Modus ponens For all p, q S: p, [p q] = q Contradiction For all p, q S: p, ~p = Each of these laws is expressed using a particular truth functor: Simplification uses conjunction, Addition and Generalization disjunction, Modus ponens, conditionality, and Contradiction negation. These laws can help identify the truth functors in a natural language. For example, we 1 If the conclusion is omitted, the resulting sequent P = is equivalent to for any q: P = q. Similarly if the premises are omitted, the resulting sequent = q is equivalent to = q. 2 I will generally omit the brackets around the premises.
2 identify and as [p & q] in the sentence Ann was sick yesterday and Bea stayed home yesterday because of the correctness of the sequents Ann was sick yesterday and Bea stayed home yesterday = Ann was sick yesterday, and Ann was sick yesterday and Bea stayed home yesterday = Bea stayed home yesterday. Similarly, we identify if then as [p q] in the sentence If Ann was sick yesterday, then Bea stayed home yesterday, because of the correctness of the sequent Ann was sick yesterday, If Ann was sick yesterday, then Bea stayed home yesterday = Bea stayed home yesterday. Note that Addition allows any proposition at all, including a seemingly irrelevant one, to be disjoined to another in a correct sequent, for example Ann was sick yesterday = Ann was sick yesterday or Bea s cat eats alfalfa sprouts. Similarly, Contradiction allows any proposition at all, including irrelevant and false ones, to follow from a proposition together with its negation, for example Ann was sick yesterday, Ann was not sick yesterday = Mahatma Gandhi was Jawaharlal Nehru. Entailment structure as a model of consistency of belief Let S be a set of strings in PL, and = an entailment relation satisfying the axioms of entailment. A valuation V of S is an assignment of truth or falsity to each atomic proposition in PL, and assignment of truth or falsity to complex propositions in accordance with the structure of those propositions as in the Semantics of propositional logic handout. Each such valuation partitions S into two subsets: Φ, which contains all and only all the false propositions, and Θ, which contains all and only all the true ones. Consistency of belief requires for all valuations, that Θ be closed under entailment, namely that for all sequents p 1, p n = q, if p 1, p n Θ, then q Θ. 3 The valuation of complex propositions in PL can be determined recursively from bottom up, using the equivalences in 1 through 4 below, provided also that Φ is closed under = -1, the dual of =. 4 Just as = is truth preserving, so = -1 is falsity preserving; that is for all sequents p 1, p n = -1 q, if p 1, p n Φ, then q Φ. As the notation suggests, = -1 is the inverse of =: if p = -1 q, then q = p; and if p 1, p n = -1 q, then for every r S, if p 1 = r, and p n = r, then q = r. 1. ~ p Θ if and only if p Φ. 2. [p & q] Θ if and only if p Θ and q Θ. 3. [p q] Φ if and only if p Φ and q Φ. 4. [p q] Φ if and only if p Θ and q Φ. Axiomatization of entailment In this section, I state certain axioms for the entailment relation that do not depend on the specific syntax (e.g. conditions governing the occurrence of specific symbols) or semantics (e.g. truth preservation) of the domain of entailment. Using this method, I define the truth functors not by their truth tables, but by their role in entailment, and also rename them logical operators. I then determine which of their truth theoretic properties can be proved. 2 3 Saying that Θ is closed under entailment is the same as saying that entailment is truth preserving. 4 Demonstration of how the truth tables can be constructed from the requirements of truth and falsity preservation will not be covered in this course. See me if you're interested.
3 3 An entailment structure <S, => consists of a set S and an entailment relation = over S which satisfies the following axiom schemata. Projection For all p 1,, p n, S, and for any k = 1,, n: p 1, p n = p k Permutation For all p 1,, p n, q (n > 1): if p 1, p n = q, then for any permutation π of <1,, n>: p π (1), p π(n) = q Simplification For all p 1,, p n, q S (n > 0), if for some i = 1,, n: p 1, p i, p i, p n = q, then p 1, p i, p n = q Dilution (or Thinning, or Monotonicity) For all p 1,, p n, p n+1, q S (n 0): if p 1, p n = q, then p 1, p n, p n+1 = q Cut For all p 1,, p n, q, s 1,, s m, r S (m, n 0): if p 1, p n = q, and q, s 1, s m = r, then p 1, p n, s 1, s m = r From Projection, we see that = is reflexive, by setting n = 1. From Cut, we see that = is transitive, by setting n = 1 and s = 0. The antisymmetry of = follows if we consider every logically equivalent expression to be the same member of S. The Permutation and Simplification axioms are consequences of considering the premises of an entailment relation to be a subset of S, and so can be omitted. If the Dilution axiom is dropped, other versions of entailment can be defined, including defeasible reasoning. Using the laws of logic to define the logical operators Suppose we understand how a relation with the properties of entailment holds over a set S, but its syntax does not wear the logical operators on its sleeve, so to speak. Then we can use the relation to determine which members of S are the negations of others, which the conjunctions, which the disjunctions and so forth. The method was discovered by Gerhard Gentzen about 70 years ago, and was worked out in full detail by Arnold Koslow, A Structuralist Theory of Logic, Cambridge University Press, Each definition makes use of a logical law involving the connective. Negation 1. for all s, t S: s, ~s = t (law of contradiction: "de contradictione, quodlibet") 2. ~s is the weakest member of S to satisfy 1. That is, for all K such that for all s, t S, if s, K = t, then K = ~s. Conjunction 1. For all s, t S: s & t = s; (law of simplification) 2. For all s, t S: s & t = t; ( )
4 3. s & t is the weakest member of S to satisfy 1 and 2. That is, for all K such that for all s, t S, if K = s, and K = t, then K = s & t. Disjunction 1. For all s, t, u S, if s = u and t = u, then s t = u; (law of generalization) 2. s t is the weakest member of S to satisfy 1. That is, for all K such that if for all s, t, u S, if s = u and t = u then K = u, then K = s t. Conditional 1. For all s, t S, s, s t = t; (modus ponens) 2. s t is the weakest member of S to satisfy 1. That is, for all K such that for all s, t S, if s, K = t, then K = s t. The superset relation is an entailment relation The definition of the logical operators in terms of logical laws allows us to identify them with respect to other entailment relations. For example, let S be a set, and S the powerset of S. Then = S is an entailment relation defined as follows. For every set Γ S and s S, Γ = S s if and only if s is a superset of the intersection of the members of Γ. For example, let S 3 = {a, b, c}. Then S3 = {{a, b, c}, {a, b}, {a, c}, {b, c}, {a}, {b}, {c}, }. Using the general definitions of the connectives given above, we establish the following specific definitions, where s, t S3. Negation: ~ s is the complement of s with respect to S 3. For example, ~ {a, b} = c; ~ {a} = {b, c}; ~ {a, b, c} = ; ~ = {a, b, c}. Conjunction: s & t is the intersection of s with t. For example, {a, b} & {a, c} = {a}; {b} & {c} = ; {a, b, c} & {a, c} = {a, c}. Disjunction: s t is the union of s with t. For example, {a, b} {a, c} = {a, b, c}; {b} {c} = {b, c}; {a, b, c} {a, c} = {a, b, c}. Conditional: s t is the union of t with the complement of s with respect to S 3. For example, {a, b} {a, c} = {a, c}; {b} {c} = {a, c}; {a, b, c} {a, c} = {a, c}. The Hasse diagram for = S 3 is shown in Figure 1. 4
5 5 {a, b, c} {a, b} {a, c} {b, c} {a} {b} {c} Figure 1 The subset relation is also an entailment relation Let S be a set, and S the powerset of S. Then = S is another entailment relation defined as follows. For every set Γ S and s S, Γ = S s if and only if s is a subset of the union of the members of Γ. For example, let S 3 = {a, b, c} as in the preceding section. Then S3 = {{a, b, c}, {a, b}, {a, c}, {b, c}, {a}, {b}, {c}, } as in the preceding section. Using the general definitions of the connectives, we establish the following specific definitions, where s, t S3. Negation: ~ s is the complement of s with respect to S 3. For example, ~ {a, b} = c; ~ {a} = {b, c}; ~ {a, b, c} = ; ~ = {a, b, c}. Conjunction: s & t is the union of s with t. For example, {a, b} & {a, c} = {a, b, c}; {b} & {c} = {b, c}; {a, b, c} & {a, c} = {a, b, c}. Disjunction: s t is the intersection of s with t. For example, {a, b} {a, c} = {a}; {b} {c} = ; {a, b, c} {a, c} = {a, c}. Conditional: s t is the intersection of t with the complement of s with respect to S 3. For example, {a, b} {a, c} = {c}; {b} {c} = {c}; {a, b, c} {a, c} =. The entailment relation = S 3 is the dual of = S 3. In the dual of an entailment relation such as = S 3, conjunction and disjunction change places, but negation is unaffected. The Hasse diagram for = S 3 is shown in Figure 2.
6 6 {a} {b} {c} {a, b} {a, c} {b, c} {a, b, c} Figure 2 Classical entailment relations Any entailment relation on a set S for which the laws of double negation and excluded middle hold, and for which the connectives are everywhere defined, is a classical entailment relation. For example, logical consequence in propositional logic is a classical entailment relation, as are = S 3 and = S 3. Double negation For all p S: ~~p p Excluded middle For all p S: = [p ~ p] A nonclassical entailment relation Let S 3 be the set of three atomic individuals {a, b, c}, and let a+b, a+c, b+c, and a+b+c be mereological sums of those individuals. Form the set S 7 = {a, b, c, a+b, a+c, b+c, a+b+c} of all these individuals. Finally, let = S 7 be the mereological whole part entailment relation defined as follows. 5 For every set Γ S 7 and i S 7, Γ = S 7 i if and only if i is part of the mereological sum of the members of Γ. For this entailment relation, every member i of S 7 except a+b+c has a negation, namely that individual j which is disjoint from i. However, a+b+c has no negation, since there is no individual in S 7 which is disjoint from a+b+c. Also observe that a+b+c is also not the negation of any individual in S 7. That is, negation is a function from S 6 to S 6, where S 6 = S 7 {a+b+c}, namely {a, b, c, a+b, a+c, b+c}, but not from S 7 to S 7. 5 This consequence relation is the basis of the calculus of individuals originally defined in Henry Leonard and Nelson Goodman, The calculus of individuals and its uses. Journal of Symbolic Logic 5: 45-55, 1940.
7 7 Similarly, disjunction is the mereological product (overlap) of those individuals which have a part in common, for example a+b a+c = (a+b) (a+c) = a, but is undefined for those which do not, for example a+b and c. On the other hand conjunction is defined for every pair of individuals, namely their mereological sum. For example a&c = a+c, and a+b&b+c = a+b+c. Note that English and expresses mereological sum, e.g. Veronica and Archie denotes the mereological sum of Veronica and Archie. Entailment relations such as = S 7 are nonclassical, since certain classical laws such as the law of Double negation and the law of the Excluded middle fail. For example, ~ ~ a+b+c is undefined, not a+b+c, as required by the law of Double negation. Similarly, the disjunction of a with the negation of a = a b+c, which is undefined, not a tautology. There are no tautologies in = S 7. The Hasse diagram for = S 7 is given in Figure 3. Notice that it has a bottom but no top. a b c a+b a+c b+c a+b+c Figure 3
8 8 Test yourself section. Click here for answers. Let L = a*b*, and let L n be the largest sublanguage of L containing strings of length n or less. Let = s be the substring entailment relation defined as follows. s = s t if and only if s is a substring of t; s 1,... s k = s t if and only if the maximal substring that s 1,... s k have in common is a substring of t. 1. Draw the Hasse diagrams using = s for the following languages: a. L 1 b. L 2 c. L 3 2. What is the conjunction of a with b in each of the systems in 1? 3. In which of the systems in 1 is the conjunction of ab with bb defined? What is it for each system in which it is defined? 4. Is the conjunction of every pair of members of every L n defined? Why or why not? 5. In which of the systems in 1 is the disjunction of a with b defined? What is it for each system in which it is defined? 6. Is the disjunction of every pair of members of L defined? Why or why not? 7. What is the negation of a in each of the systems in 1? 8. In L 2 and L 3 the double negation of a is distinct from a. What is it in each case? Let M = (a b)* and let and let M n be the largest sublanguage of M containing strings of length n or less. Let = s be the substring entailment relation as defined above. 9. Draw the Hasse diagrams using = s for the following languages: a. M 1 b. M What is the conjunction of a with b in each of the systems in 9? 11. What is the conjunction of ab with bb in M 2? 12. Why is the conjunction of ab with ba in M 2 not defined? 13. Why is the disjunction of a with b in M 2 not defined? 14. What is the negation of a in each of the systems in 9?
Propositional logic (revision) & semantic entailment. p. 1/34
Propositional logic (revision) & semantic entailment p. 1/34 Reading The background reading for propositional logic is Chapter 1 of Huth/Ryan. (This will cover approximately the first three lectures.)
More informationPacket #1: Logic & Proofs. Applied Discrete Mathematics
Packet #1: Logic & Proofs Applied Discrete Mathematics Table of Contents Course Objectives Page 2 Propositional Calculus Information Pages 3-13 Course Objectives At the conclusion of this course, you should
More informationLearning Goals of CS245 Logic and Computation
Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction
More informationKnowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):
Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building
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 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 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 informationCSE 20: Discrete Mathematics
Spring 2018 Summary Last time: Today: Logical connectives: not, and, or, implies Using Turth Tables to define logical connectives Logical equivalences, tautologies Some applications Proofs in propositional
More informationPropositional Logic: Review
Propositional Logic: Review Propositional logic Logical constants: true, false Propositional symbols: P, Q, S,... (atomic sentences) Wrapping parentheses: ( ) Sentences are combined by connectives:...and...or
More informationCS 2740 Knowledge Representation. Lecture 4. Propositional logic. CS 2740 Knowledge Representation. Administration
Lecture 4 Propositional logic Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square dministration Homework assignment 1 is out Due next week on Wednesday, September 17 Problems: LISP programming a PL
More informationPropositional Logic Language
Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite
More informationHANDOUT 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 informationComputation and Logic Definitions
Computation and Logic Definitions True and False Also called Boolean truth values, True and False represent the two values or states an atom can assume. We can use any two distinct objects to represent
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 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 information2.2: Logical Equivalence: The Laws of Logic
Example (2.7) For primitive statement p and q, construct a truth table for each of the following compound statements. a) p q b) p q Here we see that the corresponding truth tables for two statement p q
More informationFrom Bi-facial Truth to Bi-facial Proofs
S. Wintein R. A. Muskens From Bi-facial Truth to Bi-facial Proofs Abstract. In their recent paper Bi-facial truth: a case for generalized truth values Zaitsev and Shramko [7] distinguish between an ontological
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 informationKLEENE LOGIC AND INFERENCE
Bulletin of the Section of Logic Volume 4:1/2 (2014), pp. 4 2 Grzegorz Malinowski KLEENE LOGIC AND INFERENCE Abstract In the paper a distinguished three-valued construction by Kleene [2] is analyzed. The
More informationAdvanced Topics in LP and FP
Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection
More informationMotivation. From Propositions To Fuzzy Logic and Rules. Propositional Logic What is a proposition anyway? Outline
Harvard-MIT Division of Health Sciences and Technology HST.951J: Medical Decision Support, Fall 2005 Instructors: Professor Lucila Ohno-Machado and Professor Staal Vinterbo Motivation From Propositions
More informationArtificial Intelligence. Propositional logic
Artificial Intelligence Propositional logic Propositional Logic: Syntax Syntax of propositional logic defines allowable sentences Atomic sentences consists of a single proposition symbol Each symbol stands
More informationPropositional Logic Arguments (5A) Young W. Lim 10/11/16
Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version
More informationPROPOSITIONAL CALCULUS
PROPOSITIONAL CALCULUS A proposition is a complete declarative sentence that is either TRUE (truth value T or 1) or FALSE (truth value F or 0), but not both. These are not propositions! Connectives and
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 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 information15414/614 Optional Lecture 1: Propositional Logic
15414/614 Optional Lecture 1: Propositional Logic Qinsi Wang Logic is the study of information encoded in the form of logical sentences. We use the language of Logic to state observations, to define concepts,
More informationMathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 15 Propositional Calculus (PC)
Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras Lecture - 15 Propositional Calculus (PC) So, now if you look back, you can see that there are three
More informationFuzzy and Rough Sets Part I
Fuzzy and Rough Sets Part I Decision Systems Group Brigham and Women s Hospital, Harvard Medical School Harvard-MIT Division of Health Sciences and Technology Aim Present aspects of fuzzy and rough sets.
More informationQuantification and Modality
Quantification and Modality Terry Langendoen Professor Emeritus of Linguistics University of Arizona Linguistics Colloquium University of Arizona 13 Mar 2009 Appearance The modal operators are like disguised
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 informationINTRODUCTION TO LOGIC. Propositional Logic. Examples of syntactic claims
Introduction INTRODUCTION TO LOGIC 2 Syntax and Semantics of Propositional Logic Volker Halbach In what follows I look at some formal languages that are much simpler than English and define validity of
More information3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.
1 Chapter 1 Propositional Logic Mathematical logic studies correct thinking, correct deductions of statements from other statements. Let us make it more precise. A fundamental property of a statement is
More informationLogic and Proof. On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes!
Logic and Proof On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes! 26-Aug-2011 MA 341 001 2 Requirements for Proof 1. Mutual understanding
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 informationOn my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes! 26-Aug-2011 MA
Logic and Proof On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes! 26-Aug-2011 MA 341 001 2 Requirements for Proof 1. Mutual understanding
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 informationCSC Discrete Math I, Spring Propositional Logic
CSC 125 - Discrete Math I, Spring 2017 Propositional Logic Propositions A proposition is a declarative sentence that is either true or false Propositional Variables A propositional variable (p, q, r, s,...)
More information1 Alphabets and Languages
1 Alphabets and Languages Look at handout 1 (inference rules for sets) and use the rules on some examples like {a} {{a}} {a} {a, b}, {a} {{a}}, {a} {{a}}, {a} {a, b}, a {{a}}, a {a, b}, a {{a}}, a {a,
More informationWarm-Up Problem. Write a Resolution Proof for. Res 1/32
Warm-Up Problem Write a Resolution Proof for Res 1/32 A second Rule Sometimes throughout we need to also make simplifications: You can do this in line without explicitly mentioning it (just pretend you
More informationSample Problems for all sections of CMSC250, Midterm 1 Fall 2014
Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014 1. Translate each of the following English sentences into formal statements using the logical operators (,,,,, and ). You may also use mathematical
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 informationPropositional Logic. Yimei Xiang 11 February format strictly follow the laws and never skip any step.
Propositional Logic Yimei Xiang yxiang@fas.harvard.edu 11 February 2014 1 Review Recursive definition Set up the basis Generate new members with rules Exclude the rest Subsets vs. proper subsets Sets of
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 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 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 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 informationcse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018
cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018 Chapter 7 Introduction to Intuitionistic and Modal Logics CHAPTER 7 SLIDES Slides Set 1 Chapter 7 Introduction to Intuitionistic and Modal Logics
More informationa. ~p : if p is T, then ~p is F, and vice versa
Lecture 10: Propositional Logic II Philosophy 130 3 & 8 November 2016 O Rourke & Gibson I. Administrative A. Group papers back to you on November 3. B. Questions? II. The Meaning of the Conditional III.
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 informationUNIT-I: Propositional Logic
1. Introduction to Logic: UNIT-I: Propositional Logic Logic: logic comprises a (formal) language for making statements about objects and reasoning about properties of these objects. Statements in a logical
More informationDiscrete Mathematical Structures: Theory and Applications
Chapter 1: Foundations: Sets, Logic, and Algorithms Discrete Mathematical Structures: Theory and Applications Learning Objectives Learn about sets Explore various operations on sets Become familiar with
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 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 informationEquational Logic: Part 2. Roland Backhouse March 6, 2001
1 Equational Logic: Part 2 Roland Backhouse March 6, 2001 Outline 2 We continue the axiomatisation of the propositional connectives. The axioms for disjunction (the logical or of two statements) are added
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 informationIntroduction Logic Inference. Discrete Mathematics Andrei Bulatov
Introduction Logic Inference Discrete Mathematics Andrei Bulatov Discrete Mathematics - Logic Inference 6-2 Previous Lecture Laws of logic Expressions for implication, biconditional, exclusive or Valid
More information10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference
Logic? Propositional Logic (Rosen, Chapter 1.1 1.3) TOPICS Propositional Logic Truth Tables Implication Logical Proofs 10/1/12 CS160 Fall Semester 2012 2 What is logic? Logic is a truth-preserving system
More informationLogic and Discrete Mathematics. Section 3.5 Propositional logical equivalence Negation of propositional formulae
Logic and Discrete Mathematics Section 3.5 Propositional logical equivalence Negation of propositional formulae Slides version: January 2015 Logical equivalence of propositional formulae Propositional
More informationDiscrete Structures of Computer Science Propositional Logic III Rules of Inference
Discrete Structures of Computer Science Propositional Logic III Rules of Inference Gazihan Alankuş (Based on original slides by Brahim Hnich) July 30, 2012 1 Previous Lecture 2 Summary of Laws of Logic
More information7 LOGICAL AGENTS. OHJ-2556 Artificial Intelligence, Spring OHJ-2556 Artificial Intelligence, Spring
109 7 LOGICAL AGENS We now turn to knowledge-based agents that have a knowledge base KB at their disposal With the help of the KB the agent aims at maintaining knowledge of its partially-observable environment
More informationMAI0203 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 information3 The Semantics of the Propositional Calculus
3 The Semantics of the Propositional Calculus 1. Interpretations Formulas of the propositional calculus express statement forms. In chapter two, we gave informal descriptions of the meanings of the logical
More informationFoundations of Mathematics
Foundations of Mathematics L. Pedro Poitevin 1. Preliminaries 1.1. Sets We will naively think of a set as a collection of mathematical objects, called its elements or members. To indicate that an object
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 informationA 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 informationPL: Truth Trees. Handout Truth Trees: The Setup
Handout 4 PL: Truth Trees Truth tables provide a mechanical method for determining whether a proposition, set of propositions, or argument has a particular logical property. For example, we can show that
More informationLING 106. Knowledge of Meaning Lecture 3-1 Yimei Xiang Feb 6, Propositional logic
LING 106. Knowledge of Meaning Lecture 3-1 Yimei Xiang Feb 6, 2016 Propositional logic 1 Vocabulary of propositional logic Vocabulary (1) a. Propositional letters: p, q, r, s, t, p 1, q 1,..., p 2, q 2,...
More informationNatural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.
Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. The method consists of using sets of Rules of Inference (valid argument forms)
More informationCHAPTER 10. Gentzen Style Proof Systems for Classical Logic
CHAPTER 10 Gentzen Style Proof Systems for Classical Logic Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. By humans, not mentioning
More informationIt is not the case that ϕ. p = It is not the case that it is snowing = It is not. r = It is not the case that Mary will go to the party =
Introduction to Propositional Logic Propositional Logic (PL) is a logical system that is built around the two values TRUE and FALSE, called the TRUTH VALUES. true = 1; false = 0 1. Syntax of Propositional
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 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 informationFirst-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 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 informationPropositional Logic Arguments (5A) Young W. Lim 11/8/16
Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version
More informationA Structuralist Account of Logic
Croatian Journal of Philosophy Vol. VIII, No. 23, 2008 Majda Trobok, Department of Philosophy University of Rijeka A Structuralist Account of Logic The lynch-pin of the structuralist account of logic endorsed
More informationDescription Logics. Deduction in Propositional Logic. franconi. Enrico Franconi
(1/20) Description Logics Deduction in Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/20) Decision
More informationWUCT121. Discrete Mathematics. Logic. Tutorial Exercises
WUCT11 Discrete Mathematics Logic Tutorial Exercises 1 Logic Predicate Logic 3 Proofs 4 Set Theory 5 Relations and Functions WUCT11 Logic Tutorial Exercises 1 Section 1: Logic Question1 For each of the
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 informationAdding Modal Operators to the Action Language A
Adding Modal Operators to the Action Language A Aaron Hunter Simon Fraser University Burnaby, B.C. Canada V5A 1S6 amhunter@cs.sfu.ca Abstract The action language A is a simple high-level language for describing
More informationDescription 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 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 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 informationCSE 1400 Applied Discrete Mathematics Definitions
CSE 1400 Applied Discrete Mathematics Definitions Department of Computer Sciences College of Engineering Florida Tech Fall 2011 Arithmetic 1 Alphabets, Strings, Languages, & Words 2 Number Systems 3 Machine
More informationKnowledge based Agents
Knowledge based Agents Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University Slides prepared from Artificial Intelligence A Modern approach by Russell & Norvig Knowledge Based Agents
More informationLogical Agent & Propositional Logic
Logical Agent & Propositional Logic Berlin Chen 2005 References: 1. S. Russell and P. Norvig. Artificial Intelligence: A Modern Approach. Chapter 7 2. S. Russell s teaching materials Introduction The representation
More informationLogic. Readings: Coppock and Champollion textbook draft, Ch
Logic Readings: Coppock and Champollion textbook draft, Ch. 3.1 3 1. Propositional logic Propositional logic (a.k.a propositional calculus) is concerned with complex propositions built from simple propositions
More informationFoundations of Mathematics MATH 220 FALL 2017 Lecture Notes
Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes These notes form a brief summary of what has been covered during the lectures. All the definitions must be memorized and understood. Statements
More informationTHE LOGIC OF COMPOUND STATEMENTS
CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS Copyright Cengage Learning. All rights reserved. SECTION 2.1 Logical Form and Logical Equivalence Copyright Cengage Learning. All rights reserved. Logical Form
More informationLogic, Human Logic, and Propositional Logic. Human Logic. Fragments of Information. Conclusions. Foundations of Semantics LING 130 James Pustejovsky
Logic, Human Logic, and Propositional Logic Foundations of Semantics LING 3 James Pustejovsky Human Logic Thanks to Michael Genesereth of Stanford for use of some slides Fragments of Information Conclusions
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 informationPropositional and Predicate Logic - II
Propositional and Predicate Logic - II Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - II WS 2016/2017 1 / 16 Basic syntax Language Propositional logic
More informationPropositional Logic Sequent Calculus
1 / 16 Propositional Logic Sequent Calculus Mario Alviano University of Calabria, Italy A.Y. 2017/2018 Outline 2 / 16 1 Intuition 2 The LK system 3 Derivation 4 Summary 5 Exercises Outline 3 / 16 1 Intuition
More informationIntelligent 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 informationESSLLI 2007 COURSE READER. ESSLLI is the Annual Summer School of FoLLI, The Association for Logic, Language and Information
ESSLLI 2007 19th European Summer School in Logic, Language and Information August 6-17, 2007 http://www.cs.tcd.ie/esslli2007 Trinity College Dublin Ireland COURSE READER ESSLLI is the Annual Summer School
More informationIntroduction to Model Theory
Introduction to Model Theory Charles Steinhorn, Vassar College Katrin Tent, University of Münster CIRM, January 8, 2018 The three lectures Introduction to basic model theory Focus on Definability More
More 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 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 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 information