Mathematical Logic Part Three

Size: px
Start display at page:

Download "Mathematical Logic Part Three"

Transcription

1 Mathematical Logic Part Three

2 Recap from Last Time

3 What is First-Order Logic? First-order logic is a logical system for reasoning about properties of objects. Augments the logical connectives from propositional logic with predicates that describe properties of objects, and functions that map objects to one another, quantifiers that allow us to reason about multiple objects simultaneously.

4 For any natural number n, n is even iff n2 is even n. (n ℕ (Even(n) Even(n2))) isis the the universal universalquantifier quantifier and and says says for for any any choice choice of of n, n, the the following following isis true. true.

5 Some muggles are intelligent. m. (Muggle(m) Intelligent(m)) isis the the existential existentialquantifier quantifier and and says says for for some some choice choice of of m, m, the the following following isis true. true.

6 All P's are Q's translates as x. (P(x) Q(x))

7 Useful Intuition: Universally-quantified statements are true unless there's a counterexample. x. (P(x) Q(x)) If If xx isis aa counterexample, counterexample, itit must must have have property property PP but but not not have have property property Q. Q.

8 Some P is a Q translates as x. (P(x) Q(x))

9 Useful Intuition: Existentially-quantified statements are false unless there's a positive example. x. (P(x) Q(x)) If If xx isis an an example, example, itit must must have have property property PP on on top top of of property property Q. Q.

10 Good Pairings The quantifier usually is paired with. The quantifier usually is paired with. In the case of, the connective prevents the statement from being false when speaking about some object you don't care about. In the case of, the connective prevents the statement from being true when speaking about some object you don't care about.

11 The Art of Translation

12 Using the predicates - Person(p), which states that p is a person, and - Loves(x, y), which states that x loves y, write a sentence in first-order logic that means everybody loves someone else.

13 Everybody loves someone else

14 Every person loves some other person

15 Every person p loves some other person

16 p. (Person(p) p loves some other person )

17 p. (Person(p) there is some other person that p loves )

18 p. (Person(p) there is a person other than p that p loves )

19 p. (Person(p) there is a person q, other than p, where p loves q )

20 p. (Person(p) there is a person q, other than p, where p loves q )

21 p. (Person(p) q. (Person(q), other than p, where p loves q ) )

22 p. (Person(p) q. (Person(q) p q p loves q ) )

23 p. (Person(p) q. (Person(q) p q Loves(p, q) ) )

24 Using the predicates - Person(p), which states that p is a person, and - Loves(x, y), which states that x loves y, write a sentence in first-order logic that means there is a person that everyone else loves.

25 There is a person that everyone else loves

26 There is a person p where everyone else loves p

27 p. (Person(p) everyone else loves p )

28 p. (Person(p) every other person q loves p )

29 p. (Person(p) every person q, other than p, loves p )

30 p. (Person(p) q. (Person(q) p q q loves p )

31 p. (Person(p) q. (Person(q) p q Loves(q, p) ) )

32 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: Everyone loves someone else.

33 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: Everyone loves someone else. p. (Person(p) q. (Person(q) p q Loves(p, q)))

34 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: Everyone loves someone else. p. (Person(p) q. (Person(q) p q Loves(p, q))) For every person,

35 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: Everyone loves someone else. p. (Person(p) q. (Person(q) p q Loves(p, q))) For every person, there is some person

36 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: Everyone loves someone else. p. (Person(p) q. (Person(q) p q Loves(p, q))) For every person, there is some person who isn't them

37 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: Everyone loves someone else. p. (Person(p) q. (Person(q) p q Loves(p, q))) For every person, there is some person who isn't them that they love.

38 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: There is someone everyone else loves.

39 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: There is someone everyone else loves. p. (Person(p) q. (Person(q) p q Loves(q, p)))

40 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: There is someone everyone else loves. p. (Person(p) q. (Person(q) p q Loves(q, p))) There is some person

41 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: There is someone everyone else loves. p. (Person(p) q. (Person(q) p q Loves(q, p))) There is some person who everyone

42 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: There is someone everyone else loves. p. (Person(p) q. (Person(q) p q Loves(q, p))) There is some person who everyone who isn't them

43 Combining Quantifiers Most interesting statements in first-order logic require a combination of quantifiers. Example: There is someone everyone else loves. p. (Person(p) q. (Person(q) p q Loves(q, p))) There is some person who everyone who isn't them loves.

44 For Comparison p. (Person(p) q. (Person(q) p q Loves(p, q))) For every person, there is some person who isn't them that they love. p. (Person(p) q. (Person(q) p q Loves(q, p))) There is some person who everyone who isn't them loves.

45 Everyone Loves Someone Else

46 Everyone Loves Someone Else No No one one here here isis universally universally loved. loved.

47 There is Someone Everyone Else Loves

48 There is Someone Everyone Else Loves This This person person does does not not love love anyone anyone else. else.

49 Everyone Loves Someone Else and There is Someone Everyone Else Loves

50 p. (Person(p) q. (Person(q) p q Loves(p, q))) For every person, there is some person who isn't them that they love. p. (Person(p) q. (Person(q) p q Loves(q, p))) There is some person who everyone who isn't them loves.

51 Quantifier Ordering The statement x. y. P(x, y) means for any choice x, there's some y where P(x, y) is true. The choice of y can be different every time and can depend on x.

52 Quantifier Ordering The statement x. y. P(x, y) means there is some x where for any choice of y, we get that P(x, y) is true. Since the inner part has to work for any choice of y, this places a lot of constraints on what x can be.

53 Order matters when mixing existential and universal quantifiers!

54 Time-Out for Announcements!

55 Problem Set Two Problem Set One was due at 3:00PM today. You can submit late up until Monday at 3:00PM. Problem Set Two goes out now. Checkpoint due Monday. Remaining problems due next Friday. Play around with propositional logic, firstorder logic, and their applications! As always, feel free to ask us questions!

56 Global Engineering Programs Fair Stanford's Global Engineer Programs office (GEP) is holding a Global Engineering Programs Fair. Representatives will be there from Bing Overseas Studies, the Global Studies Department, and the Overseas Resource Center. October 13 from 4PM 6PM in Huang Amphitheater. Questions? ming@stanford.edu.

57 WiCS Industry Mentorship Stanford WiCS (Women in Computer Science) runs an industry mentorship program pairing Stanford students with industry professionals. Interested? Apply online by October 15:

58 RSVP Here

59 Picking Up Solution Sets

60

61

62 This is the CS103 drawer This is the CS103A drawer

63 Your Questions

64 What was your first career fair and internship like? Oh man, I made myself look like an idiot on many Oh man, I made myself look like an idiot on many occasions at that career fair. No one told me how to occasions at that career fair. No one told me how to prepare or how to write a good resume, which is one of prepare or how to write a good resume, which is one of the reasons I'm happy we offer CS9. the reasons I'm happy we offer CS9. My first internship was interesting. I was working at My first internship was interesting. I was working at Mozilla, so I could show everyone my code. I don't think Mozilla, so I could show everyone my code. I don't think it was the best fit for me, but I only figured that out it was the best fit for me, but I only figured that out afterwards. Still, it was a fun experience! afterwards. Still, it was a fun experience!

65 Why do some PhDs do research in industry over academia? Replace some with most. Replace some with most. People tend to go where the interesting problems are. Many People tend to go where the interesting problems are. Many companies work on problems that are at a large scale or that have a companies work on problems that are at a large scale or that have a huge impact. Companies also often pay much better and don't have huge impact. Companies also often pay much better and don't have a demanding tenure process. a demanding tenure process. That said, academia has its advantages. You get to mentor new That said, academia has its advantages. You get to mentor new students, work on fundamental research or highly theoretical topics, students, work on fundamental research or highly theoretical topics, and (post-tenure) have incredible job security. and (post-tenure) have incredible job security.

66 How did you and your girlfriend meet? Thanks for asking, but this Thanks for asking, but this one's a bit personal and one's a bit personal and I'd prefer not to share. I'd prefer not to share.

67 What private Silicon Valley tech companies do you find most promising or fascinating? Tesla and SpaceX are doing some amazing work, though I've Tesla and SpaceX are doing some amazing work, though I've heard that the work is super demanding. Some of the ML heard that the work is super demanding. Some of the ML work that Google is doing is truly amazing. Khan Academy has work that Google is doing is truly amazing. Khan Academy has huge impact and is a great place to work (or intern!). huge impact and is a great place to work (or intern!). Palantir makes some really neat technology as well, though Palantir makes some really neat technology as well, though make sure you're okay with what they do with it. make sure you're okay with what they do with it.

68 Back to CS103!

69 Set Translations

70 Using the predicates - Set(S), which states that S is a set, and - x y, which states that x is an element of y, write a sentence in first-order logic that means the empty set exists.

71 Using the predicates - Set(S), which states that S is a set, and - x y, which states that x is an element of y, write a sentence in first-order logic that means the empty set exists. First-order First-order logic logic doesn't doesn't have have set set operators operators or or symbols symbols built built in. in. If If we we only only have have the the predicates predicates given given above, above, how how might might we we describe describe this? this?

72 The empty set exists.( ( (

73 There is some set S that is empty.( ( (

74 S. (Set(S) S is empty. )

75 S. (Set(S) there are no elements in S )

76 S. (Set(S) there is an element in S )

77 S. (Set(S) there is an element x in S )

78 S. (Set(S) x. x S )

79 S. (Set(S) x. x S)

80 S. (Set(S) x. x S) S. (Set(S) there are no elements in S( )

81 S. (Set(S) x. x S) S. (Set(S) every object does not belong to S( )

82 S. (Set(S) x. x S) S. (Set(S) every object x does not belong to S( )

83 S. (Set(S) x. x S) S. (Set(S) x. (x S) )

84 S. (Set(S) x. x S) S. (Set(S) x. (x S))

85 S. (Set(S) x. x S) S. (Set(S) x. (x S)) Both Both of of these these translations translations are are correct. correct. Just Just like like inin propositional propositional logic, logic, there there are are many many different different equivalent equivalent ways ways of of expressing expressing the the same same statement statement inin firstfirstorder order logic. logic.

86 Using the predicates - Set(S), which states that S is a set, and - x y, which states that x is an element of y, write a sentence in first-order logic that means two sets are equal if and only if they contain the same elements.

87 Using the predicates - Set(S), which states that S is a set, and - x y, which states that x is an element of y, write a sentence in first-order logic that means two sets are equal if and only if they contain the same elements. This This isis called called the the axiom axiom of of extensionality, extensionality, by by the the way. way.

88 Two sets are equal if and only if they have the same elements. ) ) ) ) )

89 Any two sets are equal if and only if they have the same elements.) ) ) ) )

90 Any two sets S and T are equal if and only if they have the same elements.) ) ) ) )

91 S. (Set(S) T. (Set(T) ) S and T are equal if and only if they have the same ) elements.) ) )

92 S. (Set(S) T. (Set(T) (S = T if and only if they have the same elements.)) ) )

93 S. (Set(S) T. (Set(T) (S = T they have the same elements.)) ) )

94 S. (Set(S) T. (Set(T) (S = T S and T have the same elements.)) ) )

95 S. (Set(S) T. (Set(T) (S = T every element of S is an element of T and vice-versa) ) )

96 S. (Set(S) T. (Set(T) (S = T x is an element of T if and only if x is an element of S) ) )

97 S. (Set(S) T. (Set(T) (S = T x. (x S x T)) ) )

98 S. (Set(S) T. (Set(T) (S = T x. (x S x T)) ) )

99 S. (Set(S) T. (Set(T) (S = T x. (x S x T)) ) ) You You sometimes sometimes see see the the universal universal quantifier quantifier pair pair with with the the connective. connective. This This isis especially especially common common when when talking talking about about sets sets because because two two sets sets are are equal equal when when they they have have precisely precisely the the same same elements. elements.

100 Mechanics: Negating Statements

101 Negating Quantifiers We spent much of Monday's lecture discussing how to negate propositional constructs. How do we negate statements with quantifiers in them?

102 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) For some choice of x, P(x) x. P(x) For some choice of x, P(x) For any choice of x, P(x) For any choice of x, P(x) For some choice of x, P(x) For some choice of x, P(x) For any choice of x, P(x) x. P(x) x. P(x)

103 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) For some choice of x, P(x) x. P(x) For some choice of x, P(x) For any choice of x, P(x) For any choice of x, P(x) For some choice of x, P(x) For some choice of x, P(x) For any choice of x, P(x) x. P(x) x. P(x)

104 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) x. P(x) x. P(x) For some choice of x, P(x) For any choice of x, P(x) For any choice of x, P(x) For some choice of x, P(x) For some choice of x, P(x) For any choice of x, P(x) x. P(x) x. P(x)

105 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) x. P(x) x. P(x) For some choice of x, P(x) For any choice of x, P(x) For any choice of x, P(x) For some choice of x, P(x) For some choice of x, P(x) For any choice of x, P(x) x. P(x) x. P(x)

106 An Extremely Important Table x. P(x) When is this true? When is this false? For any choice of x, P(x) x. P(x) x. P(x) For some choice of x, For any choice of x, P(x) P(x) x. P(x) For any choice of x, For some choice of x, P(x) P(x) x. P(x) For some choice of x, P(x) For any choice of x, P(x)

107 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) x. P(x) x. P(x) For some choice of x, P(x) x. P(x) x. P(x) x. P(x) For any choice of x, For some choice of x, P(x) P(x) For some choice of x, P(x) For any choice of x, P(x)

108 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) x. P(x) x. P(x) For some choice of x, P(x) x. P(x) For any choice of x, P(x) For some choice of x, P(x) For some choice of x, P(x) For any choice of x, P(x) x. P(x) x. P(x)

109 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) x. P(x) x. P(x) For some choice of x, P(x) x. P(x) For any choice of x, P(x) For some choice of x, P(x) For some choice of x, P(x) For any choice of x, P(x) x. P(x) x. P(x)

110 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) x. P(x) x. P(x) For some choice of x, P(x) x. P(x) For any choice of x, P(x) x. P(x) For some choice of x, P(x) For any choice of x, P(x) x. P(x) x. P(x)

111 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) x. P(x) x. P(x) For some choice of x, P(x) x. P(x) For any choice of x, P(x) x. P(x) For some choice of x, P(x) For any choice of x, P(x) x. P(x) x. P(x)

112 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) x. P(x) x. P(x) For some choice of x, P(x) x. P(x) For any choice of x, P(x) x. P(x) x. P(x) x. P(x) For some choice of x, For any choice of x, P(x) P(x)

113 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) x. P(x) x. P(x) For some choice of x, P(x) x. P(x) For any choice of x, P(x) x. P(x) For some choice of x, P(x) x. P(x) x. P(x) x. P(x)

114 An Extremely Important Table When is this true? When is this false? x. P(x) For any choice of x, P(x) x. P(x) x. P(x) For some choice of x, P(x) x. P(x) For any choice of x, P(x) x. P(x) For some choice of x, P(x) x. P(x) x. P(x) x. P(x)

115 Negating First-Order Statements Use the equivalences x. φ x. φ x. φ x. φ to negate quantifiers. Mechanically: Push the negation across the quantifier. Change the quantifier from to or vice-versa. Use techniques from propositional logic to negate connectives.

116 Taking a Negation x. y. Loves(x, y) ( Everyone loves someone. ) x. y. Loves(x, y) x. y. Loves(x, y) x. y. Loves(x, y) ( There's someone who doesn't love anyone. )

117 Two Useful Equivalences The following equivalences are useful when negating statements in first-order logic: (p q) p q (p q) p q These identities are useful when negating statements involving quantifiers. is used in existentially-quantified statements. is used in universally-quantified statements. When pushing negations across quantifiers, we strongly recommend using the above equivalences to keep with and with.

118 Negating Quantifiers What is the negation of the following statement, which says there is a cute puppy? x. (Puppy(x) Cute(x)) We can obtain it as follows: x. (Puppy(x) Cute(x)) x. (Puppy(x) Cute(x)) x. (Puppy(x) Cute(x)) This says every puppy is not cute. Do you see why this is the negation of the original statement from both an intuitive and formal perspective?

119 S. (Set(S) x. (x S)) ( There is a set that doesn't contain anything ) S. (Set(S) x. (x S)) S. (Set(S) x. (x S)) S. (Set(S) x. (x S)) S. (Set(S) x. (x S)) S. (Set(S) x. x S) ( Every set contains at least one element )

120 These two statements are not negations of one another. Can you explain why? S. (Set(S) x. (x S)) ( There is a set that doesn't contain anything ) S. (Set(S) x. (x S)) ( Everything is a set that contains something ) Remember: Remember: usually usually goes goes with with,, not not

121 Restricted Quantifiers

122 Quantifying Over Sets The notation x S. P(x) means for any element x of set S, P(x) holds. This is not technically a part of first-order logic; it is a shorthand for x. (x S P(x)) How might we encode this concept? x S. P(x) Answer: x. (x S P(x)). Note Note the the use use of of instead instead of of here. here.

123 Quantifying Over Sets The syntax x S. φ x S. φ is allowed for quantifying over sets. In CS103, feel free to use these restricted quantifiers, but please do not use variants of this syntax. For example, don't do things like this: x with P(x). Q(x) y such that P(y) Q(y). R(y).

124 Expressing Uniqueness

125 Using the predicate - Level(l), which states that l is a level, write a sentence in first-order logic that means there is only one level. AAfun fundiversion: diversion:

126 There is only one level.

127 Something is a level, and nothing else is.

128 Some thing l is a level, and nothing else is.

129 Some thing l is a level, and nothing besides l is a level

130 l. (Level(l) nothing besides l is a level. )

131 l. (Level(l) anything that isn't l isn't a level )

132 l. (Level(l) any thing x that isn't l isn't a level )

133 l. (Level(l) x. (x l x isn't a level) )

134 l. (Level(l) x. (x l Level(x)) )

135 Expressing Uniqueness To express the idea that there is exactly one object with some property, we write that there exists at least one object with that property, and that there are no other objects with that property. You sometimes see a special uniqueness quantifier used to express this:!x. φ For the purposes of CS103, please do not use this quantifier. We want to give you more practice using the regular and quantifiers.

136 Next Time Binary Relations First-Order Definitions Equivalence Relations Strict Orders

Mathematical Logic Part Three

Mathematical Logic Part Three Mathematical Logic Part Three Recap from Last Time What is First-Order Logic? First-order logic is a logical system for reasoning about properties of objects. Augments the logical connectives from propositional

More information

Mathematical Logic Part Three

Mathematical Logic Part Three Mathematical Logic Part Three Recap from Last Time What is First-Order Logic? First-order logic is a logical system for reasoning about properties of objects. Augments the logical connectives from propositional

More information

Mathematical Logic Part Three

Mathematical Logic Part Three Mathematical Logic Part Three The Aristotelian Forms All As are Bs x. (A(x B(x Some As are Bs x. (A(x B(x No As are Bs x. (A(x B(x Some As aren t Bs x. (A(x B(x It It is is worth worth committing committing

More information

Mathematical Logic Part Two

Mathematical Logic Part Two Mathematical Logic Part Two Outline for Today Recap from Last Time The Contrapositive Using Propositional Logic First-Order Logic First-Order Translations Recap from Last Time Recap So Far A propositional

More information

Mathematical Logic Part One

Mathematical Logic Part One Mathematical Logic Part One Question: How do we formalize the definitions and reasoning we use in our proofs? Where We're Going Propositional Logic (Today) Basic logical connectives. Truth tables. Logical

More information

Outline for Today. What is an Implication? Negations and their Applications. Proof by Contrapositive. Proof by Contradiction

Outline for Today. What is an Implication? Negations and their Applications. Proof by Contrapositive. Proof by Contradiction Indirect Proofs Outline for Today What is an Implication? Understanding a key type of mathematical statement. Negations and their Applications How do you show something is not true? Proof by Contrapositive

More information

Outline for Today. What is an Implication? Negations and their Applications. Proof by Contrapositive. Proof by Contradiction

Outline for Today. What is an Implication? Negations and their Applications. Proof by Contrapositive. Proof by Contradiction Indirect Proofs Outline for Today What is an Implication? Understanding a key type of mathematical statement. Negations and their Applications How do you show something is not true? Proof by Contrapositive

More information

CS103 Handout 09 Fall 2012 October 19, 2012 Problem Set 4

CS103 Handout 09 Fall 2012 October 19, 2012 Problem Set 4 CS103 Handout 09 Fall 2012 October 19, 2012 Problem Set 4 This fourth problem set explores propositional and first-order logic, along with its applications. Once you've completed it, you should have a

More information

Mathematical Logic Part One

Mathematical Logic Part One Mathematical Logic Part One Question: How do we formalize the definitions and reasoning we use in our proofs? Where We're Going Propositional Logic (Today) Basic logical connectives. Truth tables. Logical

More information

Math.3336: Discrete Mathematics. Nested Quantifiers

Math.3336: Discrete Mathematics. Nested Quantifiers Math.3336: Discrete Mathematics Nested Quantifiers Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu Fall 2018

More information

Guide to Negating Formulas

Guide to Negating Formulas Guide to Negating Formulas Hi everybody! We spent a little bit of time in class talking about how to negate formulas in propositional or frst-order logic. This is a really valuable skill! If you ever need

More information

Announcements. Problem Set 1 out. Checkpoint due Monday, September 30. Remaining problems due Friday, October 4.

Announcements. Problem Set 1 out. Checkpoint due Monday, September 30. Remaining problems due Friday, October 4. Indirect Proofs Announcements Problem Set 1 out. Checkpoint due Monday, September 30. Grade determined by attempt rather than accuracy. It's okay to make mistakes we want you to give it your best effort,

More information

Announcements. CS311H: Discrete Mathematics. Introduction to First-Order Logic. A Motivating Example. Why First-Order Logic?

Announcements. CS311H: Discrete Mathematics. Introduction to First-Order Logic. A Motivating Example. Why First-Order Logic? Announcements CS311H: Discrete Mathematics Introduction to First-Order Logic Instructor: Işıl Dillig Homework due at the beginning of next lecture Please bring a hard copy of solutions to class! Instructor:

More information

CS103 Handout 08 Spring 2012 April 20, 2012 Problem Set 3

CS103 Handout 08 Spring 2012 April 20, 2012 Problem Set 3 CS103 Handout 08 Spring 2012 April 20, 2012 Problem Set 3 This third problem set explores graphs, relations, functions, cardinalities, and the pigeonhole principle. This should be a great way to get a

More information

Mathematical Logic Part Three

Mathematical Logic Part Three Mathematical Logic Part hree riday our Square! oday at 4:15PM, Outside Gates Announcements Problem Set 3 due right now. Problem Set 4 goes out today. Checkpoint due Monday, October 22. Remainder due riday,

More information

THE LOGIC OF QUANTIFIED STATEMENTS. Statements with Multiple Quantifiers. Statements with Multiple Quantifiers CHAPTER 3 SECTION 3.

THE LOGIC OF QUANTIFIED STATEMENTS. Statements with Multiple Quantifiers. Statements with Multiple Quantifiers CHAPTER 3 SECTION 3. CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS SECTION 3.3 Statements with Multiple Quantifiers Copyright Cengage Learning. All rights reserved. Copyright Cengage Learning. All rights reserved. When a statement

More information

Mathematical Logic Part One

Mathematical Logic Part One Mathematical Logic Part One Question: How do we formalize the defnitions and reasoning we use in our proofs? Where We're Going Propositional Logic (Today) Basic logical connectives. Truth tables. Logical

More information

CS103 Handout 47 Spring 2018 Practice CS103 Final Exam V

CS103 Handout 47 Spring 2018 Practice CS103 Final Exam V CS103 Handout 47 Spring 2018 Practice CS103 Final Exam V We strongly recommend that you work through this exam under realistic conditions rather than just flipping through the problems and seeing what

More information

Mathematical Logic Part One

Mathematical Logic Part One Mathematical Logic Part One Announcements Problem Session tonight from 7:00 7:50 in 380-380X. Optional, but highly recommended! Problem Set 3 Checkpoint due right now. 2 Handouts Problem Set 3 Checkpoint

More information

Finite Automata Part One

Finite Automata Part One Finite Automata Part One Computability Theory What problems can we solve with a computer? What problems can we solve with a computer? What kind of computer? Computers are Messy http://www.intel.com/design/intarch/prodbref/27273.htm

More information

Recommended Reading. A Brief History of Infinity The Mystery of the Aleph Everything and More

Recommended Reading. A Brief History of Infinity The Mystery of the Aleph Everything and More Direct Proofs Recommended Reading A Brief History of Infinity The Mystery of the Aleph Everything and More Recommended Courses Math 161: Set Theory What is a Proof? Induction and Deduction In the sciences,

More information

The Pigeonhole Principle & Functions

The Pigeonhole Principle & Functions The Pigeonhole Principle & Functions Outline for Today Special Quantifiers The Pigeonhole Principle Proving results are true just by counting. Functions Quantifying over sets. Modeling transformations

More information

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011 Math 31 Lesson Plan Day 2: Sets; Binary Operations Elizabeth Gillaspy September 23, 2011 Supplies needed: 30 worksheets. Scratch paper? Sign in sheet Goals for myself: Tell them what you re going to tell

More information

Predicates, Quantifiers and Nested Quantifiers

Predicates, Quantifiers and Nested Quantifiers Predicates, Quantifiers and Nested Quantifiers Predicates Recall the example of a non-proposition in our first presentation: 2x=1. Let us call this expression P(x). P(x) is not a proposition because x

More information

Checkpoint Questions Due Monday, October 1 at 2:15 PM Remaining Questions Due Friday, October 5 at 2:15 PM

Checkpoint Questions Due Monday, October 1 at 2:15 PM Remaining Questions Due Friday, October 5 at 2:15 PM CS103 Handout 03 Fall 2012 September 28, 2012 Problem Set 1 This first problem set is designed to help you gain a familiarity with set theory and basic proof techniques. By the time you're done, you should

More information

Propositional Logic Not Enough

Propositional Logic Not Enough 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

More information

Recap from Last Time

Recap from Last Time P and NP Recap from Last Time The Limits of Decidability In computability theory, we ask the question What problems can be solved by a computer? In complexity theory, we ask the question What problems

More information

Mathematical Logic Part One

Mathematical Logic Part One Mathematical Logic Part One An Important Question How do we formalize the logic we've been using in our proofs? Where We're Going Propositional Logic (oday) Basic logical connectives. ruth tables. Logical

More information

Recap from Last Time

Recap from Last Time Cardinality Recap from Last Time Domains and Codomains Every function f has two sets associated with it: its domain and its codomain. A function f can only be applied to elements of its domain. For any

More information

Mathematical Logic Part One

Mathematical Logic Part One Mathematical Logic Part One Question: How do we formalize the definitions and reasoning we use in our proofs? Where We're Going Propositional Logic (oday) Basic logical connectives. ruth tables. Logical

More information

Section Summary. Section 1.5 9/9/2014

Section Summary. Section 1.5 9/9/2014 Section 1.5 Section Summary Nested Quantifiers Order of Quantifiers Translating from Nested Quantifiers into English Translating Mathematical Statements into Statements involving Nested Quantifiers Translated

More information

THE LOGIC OF QUANTIFIED STATEMENTS. Predicates and Quantified Statements I. Predicates and Quantified Statements I CHAPTER 3 SECTION 3.

THE LOGIC OF QUANTIFIED STATEMENTS. Predicates and Quantified Statements I. Predicates and Quantified Statements I CHAPTER 3 SECTION 3. CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS SECTION 3.1 Predicates and Quantified Statements I Copyright Cengage Learning. All rights reserved. Copyright Cengage Learning. All rights reserved. Predicates

More information

The Pigeonhole Principle & Functions

The Pigeonhole Principle & Functions The Pigeonhole Principle & Functions Outline for Today Special Quantifiers The Pigeonhole Principle Proving results are true just by counting. Functions Quantifying over sets. Modeling transformations

More information

Section Summary. Predicate logic Quantifiers. Negating Quantifiers. Translating English to Logic. Universal Quantifier Existential Quantifier

Section Summary. Predicate logic Quantifiers. Negating Quantifiers. Translating English to Logic. Universal Quantifier Existential Quantifier Section 1.4 Section Summary Predicate logic Quantifiers Universal Quantifier Existential Quantifier Negating Quantifiers De Morgan s Laws for Quantifiers Translating English to Logic Propositional Logic

More information

Formal Logic: Quantifiers, Predicates, and Validity. CS 130 Discrete Structures

Formal Logic: Quantifiers, Predicates, and Validity. CS 130 Discrete Structures Formal Logic: Quantifiers, Predicates, and Validity CS 130 Discrete Structures Variables and Statements Variables: A variable is a symbol that stands for an individual in a collection or set. For example,

More information

Introduction to Sets and Logic (MATH 1190)

Introduction to Sets and Logic (MATH 1190) Introduction to Sets Logic () Instructor: Email: shenlili@yorku.ca Department of Mathematics Statistics York University Sept 18, 2014 Outline 1 2 Tautologies Definition A tautology is a compound proposition

More information

NP-Completeness Part II

NP-Completeness Part II NP-Completeness Part II Outline for Today Recap from Last Time What is NP-completeness again, anyway? 3SAT A simple, canonical NP-complete problem. Independent Sets Discovering a new NP-complete problem.

More information

Section 2.1: Introduction to the Logic of Quantified Statements

Section 2.1: Introduction to the Logic of Quantified Statements Section 2.1: Introduction to the Logic of Quantified Statements In the previous chapter, we studied a branch of logic called propositional logic or propositional calculus. Loosely speaking, propositional

More information

CM10196 Topic 2: Sets, Predicates, Boolean algebras

CM10196 Topic 2: Sets, Predicates, Boolean algebras CM10196 Topic 2: Sets, Predicates, oolean algebras Guy McCusker 1W2.1 Sets Most of the things mathematicians talk about are built out of sets. The idea of a set is a simple one: a set is just a collection

More information

Mathematical Logic Part One

Mathematical Logic Part One Mathematical Logic Part One Announcements Problem Set 3 checkpoint due right now. Problem Set 2 due now with a late day. Solutions distributed at end of lecture. One inal Note on the Pigeonhole Principle

More information

Course Staff. Textbook

Course Staff. Textbook Course Staff CS311H: Discrete Mathematics Intro and Propositional Logic Instructor: Işıl Dillig Instructor: Prof. Işıl Dillig TAs: Jacob Van Geffen, Varun Adiga, Akshay Gupta Class meets every Monday,

More information

MITOCW ocw f99-lec09_300k

MITOCW ocw f99-lec09_300k MITOCW ocw-18.06-f99-lec09_300k OK, this is linear algebra lecture nine. And this is a key lecture, this is where we get these ideas of linear independence, when a bunch of vectors are independent -- or

More information

Recap from Last Time

Recap from Last Time Regular Expressions Recap from Last Time Regular Languages A language L is a regular language if there is a DFA D such that L( D) = L. Theorem: The following are equivalent: L is a regular language. There

More information

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011 Math 31 Lesson Plan Day 5: Intro to Groups Elizabeth Gillaspy September 28, 2011 Supplies needed: Sign in sheet Goals for students: Students will: Improve the clarity of their proof-writing. Gain confidence

More information

Discrete Mathematics and Its Applications

Discrete Mathematics and Its Applications Discrete Mathematics and Its Applications Lecture 1: The Foundations: Logic and Proofs (1.3-1.5) MING GAO DASE @ ECNU (for course related communications) mgao@dase.ecnu.edu.cn Sep. 19, 2017 Outline 1 Logical

More information

Chapter 1 Review of Equations and Inequalities

Chapter 1 Review of Equations and Inequalities Chapter 1 Review of Equations and Inequalities Part I Review of Basic Equations Recall that an equation is an expression with an equal sign in the middle. Also recall that, if a question asks you to solve

More information

Review: Potential stumbling blocks

Review: Potential stumbling blocks Review: Potential stumbling blocks Whether the negation sign is on the inside or the outside of a quantified statement makes a big difference! Example: Let T(x) x is tall. Consider the following: x T(x)

More information

Nonregular Languages

Nonregular Languages Nonregular Languages Recap from Last Time Theorem: The following are all equivalent: L is a regular language. There is a DFA D such that L( D) = L. There is an NFA N such that L( N) = L. There is a regular

More information

Quantifiers Here is a (true) statement about real numbers: Every real number is either rational or irrational.

Quantifiers Here is a (true) statement about real numbers: Every real number is either rational or irrational. Quantifiers 1-17-2008 Here is a (true) statement about real numbers: Every real number is either rational or irrational. I could try to translate the statement as follows: Let P = x is a real number Q

More information

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017 3. The Logic of Quantified Statements Summary Aaron Tan 28 31 August 2017 1 3. The Logic of Quantified Statements 3.1 Predicates and Quantified Statements I Predicate; domain; truth set Universal quantifier,

More information

Outline for Today. Revisiting our first lecture with our new techniques! How do we know when two sets have the same size?

Outline for Today. Revisiting our first lecture with our new techniques! How do we know when two sets have the same size? Cardinality Outline for Today Recap from Last Time Equal Cardinalities How do we know when two sets have the same size? Ranking Cardinalities Revisiting our first lecture with our new techniques! When

More information

MAT2345 Discrete Math

MAT2345 Discrete Math Fall 2013 General Syllabus Schedule (note exam dates) Homework, Worksheets, Quizzes, and possibly Programs & Reports Academic Integrity Do Your Own Work Course Web Site: www.eiu.edu/~mathcs Course Overview

More information

ICS141: Discrete Mathematics for Computer Science I

ICS141: Discrete Mathematics for Computer Science I ICS141: Discrete Mathematics for Computer Science I Dept. Information & Computer Sci., Originals slides by Dr. Baek and Dr. Still, adapted by J. Stelovsky Based on slides Dr. M. P. Frank and Dr. J.L. Gross

More information

CS103 Handout 22 Fall 2012 November 30, 2012 Problem Set 9

CS103 Handout 22 Fall 2012 November 30, 2012 Problem Set 9 CS103 Handout 22 Fall 2012 November 30, 2012 Problem Set 9 In this final problem set of the quarter, you will explore the limits of what can be computed efficiently. What problems do we believe are computationally

More information

Predicate Calculus lecture 1

Predicate Calculus lecture 1 Predicate Calculus lecture 1 Section 1.3 Limitation of Propositional Logic Consider the following reasoning All cats have tails Gouchi is a cat Therefore, Gouchi has tail. MSU/CSE 260 Fall 2009 1 MSU/CSE

More information

MATH 341, Section 001 FALL 2014 Introduction to the Language and Practice of Mathematics

MATH 341, Section 001 FALL 2014 Introduction to the Language and Practice of Mathematics MATH 341, Section 001 FALL 2014 Introduction to the Language and Practice of Mathematics Class Meetings: MW 9:30-10:45 am in EMS E424A, September 3 to December 10 [Thanksgiving break November 26 30; final

More information

Outline for Today. Modeling transformations between sets. Injections, surjections, and bijections.

Outline for Today. Modeling transformations between sets. Injections, surjections, and bijections. Functions Outline for Today Functions Special Classes of Functions Modeling transformations between sets. Injections, surjections, and bijections. Cardinality Revisiting our first lecture with our new

More information

CS Module 1. Ben Harsha Apr 12, 2017

CS Module 1. Ben Harsha Apr 12, 2017 CS 50010 Module 1 Ben Harsha Apr 12, 2017 Course details Course is split into 2 modules Module 1 (this one): Covers basic data structures and algorithms, along with math review. Module 2: Probability,

More information

Section Summary. Predicate logic Quantifiers. Negating Quantifiers. Translating English to Logic. Universal Quantifier Existential Quantifier

Section Summary. Predicate logic Quantifiers. Negating Quantifiers. Translating English to Logic. Universal Quantifier Existential Quantifier Section 1.4 Section Summary Predicate logic Quantifiers Universal Quantifier Existential Quantifier Negating Quantifiers De Morgan s Laws for Quantifiers Translating English to Logic Propositional Logic

More information

Binary Relations Part Two

Binary Relations Part Two Binary Relations Part Two Outline for Today Recap from Last Time Where are we, again? A Fundamental Theorem What do equivalence relations do? Strict Orders Representing prerequisites. Hasse Diagrams Drawing

More information

Negations of Quantifiers

Negations of Quantifiers Negations of Quantifiers Lecture 10 Section 3.2 Robb T. Koether Hampden-Sydney College Thu, Jan 31, 2013 Robb T. Koether (Hampden-Sydney College) Negations of Quantifiers Thu, Jan 31, 2013 1 / 20 1 Negations

More information

Predicate Logic. CSE 191, Class Note 02: Predicate Logic Computer Sci & Eng Dept SUNY Buffalo

Predicate Logic. CSE 191, Class Note 02: Predicate Logic Computer Sci & Eng Dept SUNY Buffalo Predicate Logic CSE 191, Class Note 02: Predicate Logic Computer Sci & Eng Dept SUNY Buffalo c Xin He (University at Buffalo) CSE 191 Discrete Structures 1 / 22 Outline 1 From Proposition to Predicate

More information

Finite Automata Part One

Finite Automata Part One Finite Automata Part One Computability Theory What problems can we solve with a computer? What kind of computer? Computers are Messy http://www.intel.com/design/intarch/prodbref/27273.htm We need a simpler

More information

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

More information

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations Logic Propositions and logical operations Main concepts: propositions truth values propositional variables logical operations 1 Propositions and logical operations A proposition is the most basic element

More information

6.041SC Probabilistic Systems Analysis and Applied Probability, Fall 2013 Transcript Tutorial:A Random Number of Coin Flips

6.041SC Probabilistic Systems Analysis and Applied Probability, Fall 2013 Transcript Tutorial:A Random Number of Coin Flips 6.041SC Probabilistic Systems Analysis and Applied Probability, Fall 2013 Transcript Tutorial:A Random Number of Coin Flips Hey, everyone. Welcome back. Today, we're going to do another fun problem that

More information

Instructor (Brad Osgood)

Instructor (Brad Osgood) TheFourierTransformAndItsApplications-Lecture26 Instructor (Brad Osgood): Relax, but no, no, no, the TV is on. It's time to hit the road. Time to rock and roll. We're going to now turn to our last topic

More information

MITOCW ocw f99-lec05_300k

MITOCW ocw f99-lec05_300k MITOCW ocw-18.06-f99-lec05_300k This is lecture five in linear algebra. And, it will complete this chapter of the book. So the last section of this chapter is two point seven that talks about permutations,

More information

For all For every For each For any There exists at least one There exists There is Some

For all For every For each For any There exists at least one There exists There is Some Section 1.3 Predicates and Quantifiers Assume universe of discourse is all the people who are participating in this course. Also let us assume that we know each person in the course. Consider the following

More information

3.1 Universal quantification and implication again. Claim 1: If an employee is male, then he makes less than 55,000.

3.1 Universal quantification and implication again. Claim 1: If an employee is male, then he makes less than 55,000. Chapter 3 Logical Connectives 3.1 Universal quantification and implication again So far we have considered an implication to be universal quantication in disguise: Claim 1: If an employee is male, then

More information

Introduction to Logic and Axiomatic Set Theory

Introduction to Logic and Axiomatic Set Theory Introduction to Logic and Axiomatic Set Theory 1 Introduction In mathematics, we seek absolute rigor in our arguments, and a solid foundation for all of the structures we consider. Here, we will see some

More information

Mat 243 Exam 1 Review

Mat 243 Exam 1 Review OBJECTIVES (Review problems: on next page) 1.1 Distinguish between propositions and non-propositions. Know the truth tables (i.e., the definitions) of the logical operators,,,, and Write truth tables for

More information

Section Summary. Predicates Variables Quantifiers. Negating Quantifiers. Translating English to Logic Logic Programming (optional)

Section Summary. Predicates Variables Quantifiers. Negating Quantifiers. Translating English to Logic Logic Programming (optional) Predicate Logic 1 Section Summary Predicates Variables Quantifiers Universal Quantifier Existential Quantifier Negating Quantifiers De Morgan s Laws for Quantifiers Translating English to Logic Logic Programming

More information

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning. 3: Logic Why logic? Logic about inference or argument Start from assumptions or axioms Make deductions according to rules of reasoning Logic 3-1 Why logic? (continued) If I don t buy a lottery ticket on

More information

A Little Deductive Logic

A Little Deductive Logic A Little Deductive Logic In propositional or sentential deductive logic, we begin by specifying that we will use capital letters (like A, B, C, D, and so on) to stand in for sentences, and we assume that

More information

Predicate Logic. Example. Statements in Predicate Logic. Some statements cannot be expressed in propositional logic, such as: Predicate Logic

Predicate Logic. Example. Statements in Predicate Logic. Some statements cannot be expressed in propositional logic, such as: Predicate Logic Predicate Logic Predicate Logic (Rosen, Chapter 1.4-1.6) TOPICS Predicate Logic Quantifiers Logical Equivalence Predicate Proofs Some statements cannot be expressed in propositional logic, such as: All

More information

Introduction to Predicate Logic Part 1. Professor Anita Wasilewska Lecture Notes (1)

Introduction to Predicate Logic Part 1. Professor Anita Wasilewska Lecture Notes (1) Introduction to Predicate Logic Part 1 Professor Anita Wasilewska Lecture Notes (1) Introduction Lecture Notes (1) and (2) provide an OVERVIEW of a standard intuitive formalization and introduction to

More information

Today s Lecture. ICS 6B Boolean Algebra & Logic. Predicates. Chapter 1: Section 1.3. Propositions. For Example. Socrates is Mortal

Today s Lecture. ICS 6B Boolean Algebra & Logic. Predicates. Chapter 1: Section 1.3. Propositions. For Example. Socrates is Mortal ICS 6B Boolean Algebra & Logic Today s Lecture Chapter 1 Sections 1.3 & 1.4 Predicates & Quantifiers 1.3 Nested Quantifiers 1.4 Lecture Notes for Summer Quarter, 2008 Michele Rousseau Set 2 Ch. 1.3, 1.4

More information

Functions, High-School Edition

Functions, High-School Edition Functions What is a function? Functions, High-School Edition f(x) = x 4 5x 2 + 4 source: https://saylordotorg.github.io/text_intermediate-algebra/section_07/6aaf3a5ab540885474d58855068b64ce.png source:

More information

NP-Completeness Part II

NP-Completeness Part II NP-Completeness Part II Please evaluate this course on Axess. Your comments really do make a difference. Announcements Problem Set 8 due tomorrow at 12:50PM sharp with one late day. Problem Set 9 out,

More information

CS 730/730W/830: Intro AI

CS 730/730W/830: Intro AI CS 730/730W/830: Intro AI 1 handout: slides 730W journal entries were due Wheeler Ruml (UNH) Lecture 9, CS 730 1 / 16 Logic First-Order Logic The Joy of Power Wheeler Ruml (UNH) Lecture 9, CS 730 2 / 16

More information

Chapter 2: The Logic of Quantified Statements

Chapter 2: The Logic of Quantified Statements Chapter 2: The Logic of Quantified Statements Topics include 2.1, 2.2 Predicates and Quantified Statements, 2.3 Statements with Multiple Quantifiers, and 2.4 Arguments with Quantified Statements. cs1231y

More information

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010) http://math.sun.ac.za/amsc/sam Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics 2009-2010 Lecture notes in progress (27 March 2010) Contents 2009 Semester I: Elements 5 1. Cartesian product

More information

COMP Intro to Logic for Computer Scientists. Lecture 11

COMP Intro to Logic for Computer Scientists. Lecture 11 COMP 1002 Intro to Logic for Computer Scientists Lecture 11 B 5 2 J Puzzle 10 The first formulation of the famous liar s paradox, attributed to a Cretan philosopher Epimenides, stated All Cretans are liars.

More information

Complexity Theory Part I

Complexity Theory Part I Complexity Theory Part I Outline for Today Recap from Last Time Reviewing Verifiers Nondeterministic Turing Machines What does nondeterminism mean in the context of TMs? And just how powerful are NTMs?

More information

Chapter 2: The Logic of Quantified Statements. January 22, 2010

Chapter 2: The Logic of Quantified Statements. January 22, 2010 Chapter 2: The Logic of Quantified Statements January 22, 2010 Outline 1 2.1- Introduction to Predicates and Quantified Statements I 2 2.2 - Introduction to Predicates and Quantified Statements II 3 2.3

More information

MATH 22 INFERENCE & QUANTIFICATION. Lecture F: 9/18/2003

MATH 22 INFERENCE & QUANTIFICATION. Lecture F: 9/18/2003 MATH 22 Lecture F: 9/18/2003 INFERENCE & QUANTIFICATION Sixty men can do a piece of work sixty times as quickly as one man. One man can dig a post-hole in sixty seconds. Therefore, sixty men can dig a

More information

Section 2.3: Statements Containing Multiple Quantifiers

Section 2.3: Statements Containing Multiple Quantifiers Section 2.3: Statements Containing Multiple Quantifiers In this section, we consider statements such as there is a person in this company who is in charge of all the paperwork where more than one quantifier

More information

MITOCW ocw f99-lec16_300k

MITOCW ocw f99-lec16_300k MITOCW ocw-18.06-f99-lec16_300k OK. Here's lecture sixteen and if you remember I ended up the last lecture with this formula for what I called a projection matrix. And maybe I could just recap for a minute

More information

Logic and Mathematics:

Logic and Mathematics: Logic and Mathematics: Mathematicians in Schools Program Lashi Bandara Mathematical Sciences Institute, Australian National University April 21, 2011 Contents 1 Russell s Paradox 1 2 Propositional Logic

More information

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic CS 103 Discrete Structures Chapter 1 Propositional Logic Chapter 1.1 Propositional Logic 1 1.1 Propositional Logic Definition: A proposition :is a declarative sentence (that is, a sentence that declares

More information

Dialog on Simple Derivatives

Dialog on Simple Derivatives Dialog on Simple Derivatives 1 Dialog on Simple Derivatives Excuse me, Prof, could Alf and I talk to you a few minutes? Oh Hi, Bette. Sure. What's the problem? We're having problems with these total and

More information

Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2014

Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2014 Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2014 Class #23 - Translation into Predicate Logic II ( 3.2) Only as a Quantifier P Only Ps are Qs is logically equivalent to all Qs are

More information

MITOCW watch?v=ed_xr1bzuqs

MITOCW watch?v=ed_xr1bzuqs MITOCW watch?v=ed_xr1bzuqs The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free. To

More information

LIN1032 Formal Foundations for Linguistics

LIN1032 Formal Foundations for Linguistics LIN1032 Formal Foundations for Lecture 5 Albert Gatt In this lecture We conclude our discussion of the logical connectives We begin our foray into predicate logic much more expressive than propositional

More information

Adam Blank Spring 2017 CSE 311. Foundations of Computing I

Adam Blank Spring 2017 CSE 311. Foundations of Computing I Adam Blank Spring 2017 CSE 311 Foundations of Computing I Pre-Lecture Problem Suppose that p, and p (q r) are true. Is q true? Can you prove it with equivalences? CSE 311: Foundations of Computing Lecture

More information

Intermediate Logic Spring. Second-Order Logic

Intermediate Logic Spring. Second-Order Logic Intermediate Logic Spring Lecture Five Second-Order Logic Rob Trueman rob.trueman@york.ac.uk University of York 1 / 47 Introduction Second-Order Logic Introduction The Language of SOL Introduction and

More information

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur Lecture 02 Groups: Subgroups and homomorphism (Refer Slide Time: 00:13) We looked

More information

Mathematical Logic Part One

Mathematical Logic Part One Mathematical Logic Part One Question: How do we formalize the defnitions and reasoning we use in our proofs? Where We're Going Propositional Logic (Today) Basic logical connectives. Truth tables. Logical

More information

Chapter 2. Logical Notation. Bahar Aameri. Department of Computer Science University of Toronto. Jan 09, Mathematical Expression and Reasoning 1

Chapter 2. Logical Notation. Bahar Aameri. Department of Computer Science University of Toronto. Jan 09, Mathematical Expression and Reasoning 1 Chapter 2 Logical Notation Bahar Aameri Department of Computer Science University of Toronto Jan 09, 2015 Mathematical Expression and Reasoning 1 Announcements Tutorials: Locations and times are posted

More information