W5: Elements of Logic

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/40

encourage image

There's no tags or description

Looks like no tags are added yet.

41 Terms

1
New cards

What is propositional logic?

The logic of a few “logical” words or expressions, called “propositional connectives”

2
New cards

What does a propositional argument consist of?

  1. Propositional variables (true or false statements)

  2. Logical connectors


3
New cards

What are the 5 connective formulas/operators?


<p></p>
4
New cards

What are the rules to constructing a well-formed formula (WFF)?

*Symbols:

  • ÎŚ Phi

  • Ψ = Psi


<p>*Symbols:</p><ul><li><p>Ό Phi</p></li><li><p>Ψ = Psi</p></li></ul><p></p>
5
New cards

What is the purpose of parenthesis? (brackets)

To group propositions together (like math)

6
New cards

How do we translate this sentence into propositional logic (PL): If Mary does not go to the party, then either Bob or Jasmine will go


<p></p>
7
New cards

What are the steps of PL translating?

  1. Find the main connective (this may require paraphrasing

  2. Replace the connective with the appropriate symbol

  3. Examine each of the sentences the main connective applies to


8
New cards

What is the job of semantics?

To assign meaning and truth values to formal symbols and formulas

9
New cards

What do we use to summarise the semantics of our logical connectives?

Using truth tables

10
New cards

How do truth tables work?

It takes some truth values as inputs and produces another truth value as outputs

11
New cards

What is the truth table like for conjunction (“&”)?

knowt flashcard image
12
New cards

What is the truth table like for negation (“~”)

knowt flashcard image
13
New cards

What does doubly-negated formulas have the same truth value as (~~ÎŚ)?

Equivalent to unnegated formula (ÎŚ)

14
New cards

What is the truth table like for disjunction (“V”)?

Ό V Ψ will be true if at least one of them is true, and false otherwise

<p>Ό V Ψ will be true if at least one of them is true, and false otherwise</p>
15
New cards

What is disjunction interdefinable with?

Combination of conjunction and negation

<p>Combination of conjunction and negation</p>
16
New cards

What are the notations for 'necessary and sufficient conditions?

  • X is sufficient for Y: X ⊃ Y. X guarantees Y.

  • X is necessary for Y: Y ⊃ X. You can’t have Y without X.


17
New cards

How do we interpret the truth table for horseshoe (“⊃")?

For Φ⊃Ψ, think of it as “did my prediction come true?”

18
New cards

What is the truth table like for horseshoe (“⊃")? (using the example “Bob studies ⊃ Bob passes the exam”)


<p></p>
19
New cards

Since “if…then…” is not a truth function, for the bottom two uncertainties (the case where Bob does not study), what can we interpret them to be?

We simplify it and treat the condition as true

<p>We simplify it and treat the condition as true</p>
20
New cards

What is the tip/rule of thumb?

Whenever the antecedent of ⊃ is false, the conditional (output) is true

21
New cards

What about: “Bob will pass the exam, if he studies”?

Saying the same thing, the antecedent is still “If Bob studies”


*Note the order of the sentence does not auto define the antecedent

22
New cards

What about: “Bob will pass the exam, only if he studies”?

Since studying is a necessary condition for him to pass, this swaps the configuration to: “Bob passes the exam ⊃ Bob studies” (= if Bob passed, that means he studied)

23
New cards

What is the truth table like for the triple bar (“≡”)?

Φ≡Ψ is true if and only if Φ and Ψ are either both true or both false

<p>Φ≡Ψ is true if and only if Φ and Ψ are either both true or both false</p>
24
New cards

What can the triple bar replace?

Both necessary and sufficient

25
New cards

What is the rule for the triple bar?

A ≡ B is the same as B ≡ A

26
New cards

What can you replace ‘unless’ with? (using the example “unless you water the flowers, they will die”)

“If you do not water the flowers (negation), then they will die (horseshoe)

aka Unless Φ, Ψ = (~Φ⊃Ψ)

27
New cards

How do we approach truth-tables for complex formulas?

  1. Decide on the number of columns and rows

  2. Create table with the all T/F possibilities for the propositional variables and the outcomes for the complex formula

  3. Work from the “inside out”, starting with the simplest sub-formulas, which is copying over the T/F values of the variables itself

  4. Apply the rules for connectives (everything within parenthesis > conjunction > negation > disjunction > horseshoe)


28
New cards

Step1: How do we decide on the no. of columns and rows?

  • Rows: 2n (n = number of variables)

  • Columns: total no. of variables & connectors


29
New cards

Given ~(~A V ~B), how would step 2 look like?



<p></p><p></p>
30
New cards

What would we deal with first in step 4?

Negation of A and B

<p>Negation of A and B</p>
31
New cards

What would we deal with second in step 4?

Disjunction of the two new columns we just formed

<p>Disjunction of the two new columns we just formed </p>
32
New cards

What do we deal with last in step 4?

Negation of the previous column we formed

<p>Negation of the previous column we formed</p>
33
New cards

How can multiple formulas be represented?

In a joint truth table

<p>In a joint truth table</p>
34
New cards

In the above example, what do you call two formulas that have the same truth values all the time?

They are logically equivalent

35
New cards

What is a tautology and the propositional representation for it?

A formula that is true in every row

(A V ~A)


E.g. “the blue is either made out of blue cheese, or it is not”

<p>A formula that is true in every row</p><p>(A V ~A) </p><p></p><p>E.g. “the blue is either made out of blue cheese, or it is not” </p>
36
New cards

If Φ and Ψ are logically equivalent, then what would Φ≡Ψ be?

A tautology

  • ÎŚ is T, Ψ is T → Φ≡Ψ is T

  • ÎŚ is F, Ψ is F → Φ≡Ψ is T


37
New cards

What is a contradiction and the propositional representation for it??

A formula that is false in every row

(A & ~A)


E.g. “the grass is green, and the grass is not green”

38
New cards

What is the requirement for a set of formulas to be consistent?

If and only if it is possible for all of them to be true together

i.e., if and only if there is at least one row in their joint truth-table where they are all true

39
New cards

How do we test for validity using truth tables?

Relate back to the definition: it is impossible for all its premises to be true while its conclusion false


E.g. modus ponens

<p>Relate back to the definition: it is impossible for all its premises to be true while its conclusion false</p><p></p><p>E.g. modus ponens</p>
40
New cards

What is a general rule/combination for a valid argument (using consistency)?

(premises + ~conclusion) is inconsistent.

41
New cards