DOC PREVIEW
Berkeley COMPSCI 70 - Lecture Notes

This preview shows page 1-2-3-4-5-6-7-47-48-49-50-51-52-94-95-96-97-98-99-100 out of 100 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 100 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Midterm 1 is early.IBefore drop date.IBefore most other midterms in CS.CS70: Lecture 2. Outline.1. Propositions.2. Propositional Forms.3. Implication Again.4. Wason’s Experiment5. Truth Tables6. QuantifiersPropositions: Statements that are true or false.√2 is irrational Proposition2+2 = 4Proposition2+2 = 3Proposition826th digit of pi is 4PropositionJohny Depp is a good actorNot a PropositionEvery even number > 2 is sum of 2 primesPropositionx + xNot a Proposition.4 + 5Not a Proposition.Propositions: Statements that are true or false.√2 is irrational Proposition2+2 = 4 Proposition2+2 = 3Proposition826th digit of pi is 4PropositionJohny Depp is a good actorNot a PropositionEvery even number > 2 is sum of 2 primesPropositionx + xNot a Proposition.4 + 5Not a Proposition.Propositions: Statements that are true or false.√2 is irrational Proposition2+2 = 4 Proposition2+2 = 3 Proposition826th digit of pi is 4PropositionJohny Depp is a good actorNot a PropositionEvery even number > 2 is sum of 2 primesPropositionx + xNot a Proposition.4 + 5Not a Proposition.Propositions: Statements that are true or false.√2 is irrational Proposition2+2 = 4 Proposition2+2 = 3 Proposition826th digit of pi is 4 PropositionJohny Depp is a good actorNot a PropositionEvery even number > 2 is sum of 2 primesPropositionx + xNot a Proposition.4 + 5Not a Proposition.Propositions: Statements that are true or false.√2 is irrational Proposition2+2 = 4 Proposition2+2 = 3 Proposition826th digit of pi is 4 PropositionJohny Depp is a good actor Not a PropositionEvery even number > 2 is sum of 2 primesPropositionx + xNot a Proposition.4 + 5Not a Proposition.Propositions: Statements that are true or false.√2 is irrational Proposition2+2 = 4 Proposition2+2 = 3 Proposition826th digit of pi is 4 PropositionJohny Depp is a good actor Not a PropositionEvery even number > 2 is sum of 2 primes Propositionx + x Not a Proposition.4 + 5Not a Proposition.Propositions: Statements that are true or false.√2 is irrational Proposition2+2 = 4 Proposition2+2 = 3 Proposition826th digit of pi is 4 PropositionJohny Depp is a good actor Not a PropositionEvery even number > 2 is sum of 2 primes Propositionx + x Not a Proposition.4 + 5 Not a Proposition.Propositional Forms.Conjunction: P ∧ QDisjunction: P ∨ QImplication: P =⇒ Q or ¬P ∨ Q“not (2 + 2 = 4)” – a new statement that is false...2 + 2 = 3 and 2 + 2 = 4 – a new statement that is falsePropositional Forms....IYou will do the homework or you will regret it.P ∨ QP = “You will do the homework.”Q = “You will regret it.”IMy name is Satish and I love math.P ∧ QP = “My name is Satish.”Q = “I love math.”Propositional Forms....IYou will do the homework or you will regret it.P ∨ QP = “You will do the homework.”Q = “You will regret it.”IMy name is Satish and I love math.P ∧ QP = “My name is Satish.”Q = “I love math.”Propositional Forms....IYou will do the homework or you will regret it.P ∨ QP = “You will do the homework.”Q = “You will regret it.”IMy name is Satish and I love math.P ∧ QP = “My name is Satish.”Q = “I love math.”Propositional Forms....IYou will do the homework or you will regret it.P ∨ QP = “You will do the homework.”Q = “You will regret it.”IMy name is Satish and I love math.P ∧ QP = “My name is Satish.”Q = “I love math.”Implication.P =⇒ Q interpreted as If P, then Q.If you stand in the rain, then you’ll get wet.P = “you stand in the rain”Q = “you will get wet”Only false if P is true and Q is false.Consequences:False implies anything. Anything implies true.If plant pollutes river, fish die.If fish die, plant p olluted river?Not necessarily.P =⇒ Q and Q = T does not mean P = TImplication.P =⇒ Q interpreted as If P, then Q.If you stand in the rain, then you’ll get wet.P = “you stand in the rain”Q = “you will get wet”Only false if P is true and Q is false.Consequences:False implies anything. Anything implies true.If plant pollutes river, fish die.If fish die, plant p olluted river?Not necessarily.P =⇒ Q and Q = T does not mean P = TImplication.P =⇒ Q interpreted as If P, then Q.If you stand in the rain, then you’ll get wet.P = “you stand in the rain”Q = “you will get wet”Only false if P is true and Q is false.Consequences:False implies anything. Anything implies true.If plant pollutes river, fish die.If fish die, plant p olluted river?Not necessarily.P =⇒ Q and Q = T does not mean P = TImplication.P =⇒ Q interpreted as If P, then Q.If you stand in the rain, then you’ll get wet.P = “you stand in the rain”Q = “you will get wet”Only false if P is true and Q is false.Consequences:False implies anything. Anything implies true.If plant pollutes river, fish die.If fish die, plant p olluted river?Not necessarily.P =⇒ Q and Q = T does not mean P = TImplication.P =⇒ Q interpreted as If P, then Q.If you stand in the rain, then you’ll get wet.P = “you stand in the rain”Q = “you will get wet”Only false if P is true and Q is false.Consequences:False implies anything. Anything implies true.If plant pollutes river, fish die.If fish die, plant p olluted river?Not necessarily.P =⇒ Q and Q = T does not mean P = TImplication.P =⇒ Q interpreted as If P, then Q.If you stand in the rain, then you’ll get wet.P = “you stand in the rain”Q = “you will get wet”Only false if P is true and Q is false.Consequences:False implies anything. Anything implies true.If plant pollutes river, fish die.If fish die, plant p olluted river?Not necessarily.P =⇒ Q and Q = T does not mean P = TImplication.P =⇒ Q interpreted as If P, then Q.If you stand in the rain, then you’ll get wet.P = “you stand in the rain”Q = “you will get wet”Only false if P is true and Q is false.Consequences:False implies anything. Anything implies true.If plant pollutes river, fish die.If fish die, plant p olluted river?Not necessarily.P =⇒ Q and Q = T does not mean P = TImplication and English.P =⇒ QIIf P, then Q.IQ if P.IP only if Q.IP is sufficient for Q.IQ is necessary for P.Implication and English.P =⇒ QIIf P, then Q.IQ if P.IP only if Q.IP is sufficient for Q.IQ is necessary for P.Implication and English.P =⇒ QIIf P, then Q.IQ if P.IP only if Q.IP is sufficient for Q.IQ is necessary for P.Wason’s experiment:1Suppose we have four cards on a table:I1st about Alice, 2nd about Bob, 3rd Charlie, 4th Donna.IOn side of each card is the


View Full Document

Berkeley COMPSCI 70 - Lecture Notes

Documents in this Course
Notes 1

Notes 1

12 pages

Note 2

Note 2

6 pages

Notes

Notes

6 pages

Notes

Notes

7 pages

Note 10

Note 10

8 pages

n20

n20

10 pages

n19

n19

10 pages

n18

n18

10 pages

n17

n17

6 pages

n16

n16

9 pages

n15

n15

10 pages

n14

n14

9 pages

n13

n13

6 pages

n12

n12

7 pages

n11

n11

6 pages

n10

n10

8 pages

n9

n9

5 pages

n8

n8

7 pages

n7

n7

8 pages

n6

n6

5 pages

n5

n5

8 pages

n4

n4

7 pages

n3

n3

10 pages

n2

n2

7 pages

n1

n1

5 pages

Load more
Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?