Chapter1p2(1) - The Foundations Logic and Proofs Chapter 1 Part II Predicate Logic Predicates and Quantifiers Section 1.4 Propositional Logic Not

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: The Foundations: Logic and Proofs Chapter 1, Part II: Predicate Logic Predicates and Quantifiers Section 1.4 Propositional Logic Not Enough If we have: “All men are mortal.” “Socrates is a man.” Does it follow that “Socrates is mortal?” Can’t be represented in propositional logic. Need a language that talks about objects, their properties, and their relations for logic reasoning. Predicate Logic: The Socrates Example Introduce the propositional functions Man(x) denoting “ x is a man” and Mortal(x) denoting “ x is mortal.” Specify the domain as all people. The two premises are: Try to reach the conclusion is: Introducing Predicate Logic Predicate logic uses the following new features: Variables: x , y , z Predicates ( Propositional functions ): Man ( x ),… Quantifiers : (for every), (there exists) Propositional functions are a generalization of propositions. They contain variables and a predicate, e.g., Man ( x ) Variables can be replaced by elements from their domain . Propositional Functions Propositional functions become propositions and have truth values when their variables are each (i) replaced by a value from the domain or (ii) bound by a quantifier. The statement P(x) is said to be the value of the propositional function P at x . For example, let P(x) denote “ x > ” and the domain be the integers. Then: P(- 3 ) is false. P( ) is false. P( 3 ) is true. Examples of Propositional Functions Let “ x + y = z” be denoted by R ( x, y, z ) and U (for all three variables) be the integers. Find these truth values: R( ,- 2 1 , 5 ) Solution: F R( , , 3 4 7 ) Solution: T R( x , 3 , z ) Solution: Not a Proposition Now let “ x- y = z” be denoted by Q ( x , y , z ), with U as the integers. Find these truth values: Compound Expressions Connectives from propositional logic carry over to predicate logic. If P(x) denotes “ x > ,” find these truth values: P( 3 ) ∨ (- ) P 1 Solution : T P( 3 ) ∧ (- ) P 1 Solution : F P( 3 ) → (- ) P 1 Solution : F Expressions with variables are not propositions and therefore do not have truth values. For example, P( 3 ) ∧ ( P y ) Quantifiers We need quantifiers to express the meaning of English words including all and some : “All men are Mortal.” “Some cats do not have fur.” The two most important quantifiers are: Universal Quantifier , “ For all,” symbol: Existential Quantifier , “There exists,” symbol: We write as in x P ( x ) and x P ( x ). x P ( x ) asserts P ( x ) is true for every x in the domain . Charles Peirce (1839-1914) Universal Quantifier x P ( x ) is read as “ For all x , P( x )” or “For every x , P( x )” Examples : 1) If P(x) denotes “ x > ” 0 and the domain U for x is , the integers then x P ( x ) is false....
View Full Document

This note was uploaded on 04/03/2012 for the course PHYSICS AN 101 taught by Professor N.a during the Spring '12 term at Clark College.

Page1 / 52

Chapter1p2(1) - The Foundations Logic and Proofs Chapter 1 Part II Predicate Logic Predicates and Quantifiers Section 1.4 Propositional Logic Not

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online