Propositional Logic Flashcards

1
Q

A proposition is a

A

declaration of fact that is either true or false, but not both

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

¬

A

Negation

not

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A

Conjunction

and

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A

Disjunction

(inclusive) or

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A

Exclusive Disjunction

exclusive or, xor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A

Conditional

If .. then, ..implies..

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A

Biconditional

if and only if, iff

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

negation is defined by the following truth table:

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Objects cannot be negated, only statements

A

Incorrect negation:

¬JackistallerthanJoe ≡(¬Jackistallerthan¬Joe)

The correct negation is:

¬JackistallerthanJoe ≡JackisatmostastallasJoe.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Negation Rules for Inequalities

A

the negation of a strict inequality is non-strict inequality and vice versa.

¬𝑥>𝑦 ≡(𝑥≤𝑦)

¬𝑥≥𝑦 ≡(𝑥<𝑦)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

You must exercise special care when negating a double inequality.

A

The correct negation of 1 ≤ 𝑥 ≤ 2 is

𝑥<1∨𝑥>2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Conjunction

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Disjunction

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Exclusive Disjunction (aka Exclusive Or)

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Conditional

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Biconditional

A

𝑝 ↔ 𝑞 ≡ (𝑝 → 𝑞) ∧ (𝑞 → 𝑝)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Observe that 𝑝 ↔ 𝑞 is the negation of

A

𝑝⨁𝑞.

Also observe that the biconditional is true exactly when p and q have the same truth value, whether that is true or false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

It is not a very good idea to attempt to reduce the understanding of “necessary” and “sufficient” typestatements to the mindlessly symbolical level.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Just like “sufficient” type phrases in English defy simplistic word order analysis, so do “necessary” type statements.

A
20
Q

It is helpful to change “necessary” to

A

“precondition”.For example, we rephrase

“A cloudless sky is necessary to see the stars” as
“A cloudless sky is a precondition for seeing the stars.”

The word precondition makes it clear that the cloudless sky does not guarantee that we can see the stars

21
Q

“p only if q” means

A

𝑝 → 𝑞

If you find this hard to remember, just translate the conditional as if the word only was not there, and then switch premise and conclusion.

22
Q

“p unless q” means

A

¬𝑞 → 𝑝

This rule shows that unless means if not. “You will get sick unless you take the medicine” means “You will get sick if you don’t take the medicine.”

23
Q

𝑞 → 𝑝 is called the converse of

A

𝑝 → 𝑞

24
Q

¬𝑝 → ¬𝑞 is called the inverse of

A

𝑝 → 𝑞

25
Q

¬𝑞 → ¬𝑝 is called the contrapositive of

A

𝑝 → 𝑞

26
Q

Order of Operations

A
  1. negation
  2. conjunction
  3. disjunction
  4. conditional
  5. biconditional
27
Q

Logical Operators on Bitstrings

A
28
Q

tautology

A

A compound proposition that is always true, regardless of the truth values of the individual propositions involved

29
Q

contradiction

A

A compound proposition that is always false, regardless of the truth values of the individual propositions involved

30
Q

contingency

A

A compound statement that is neither a tautology nor a contradiction

31
Q

Logical equivalence

A

two compound statements 𝑝 and 𝑞 “equal” ifthey always share the same truth value

use the symbol ≡ to represent logical equivalence

Using the biconditional and the concept of a tautology that we just introduced, we can formally define logical equivalence as follows:

𝑝 ≡ 𝑞 means that 𝑝 ↔ 𝑞 is a tautology.

An alternative definition is that 𝑝 ≡ 𝑞 means that 𝑝 and 𝑞 share the same truth table.

32
Q

“Equivalent” vs “Equal”

A

Do not use the words “equivalent” and “equal” interchangeably . Equivalenceapplies to statements. Two quantities that are the same are equal. If you fail to keep this distinction in mind when dealing with statements that are about quantities, you are in danger of making wholly nonsensical statements.

33
Q

An important logical equivalence

𝑝 → 𝑞 ≡ ¬𝑝 ∨ 𝑞

A

Unlike other important logical equivalences, 𝑝 → 𝑞 ≡ ¬𝑝 ∨ 𝑞 does not have a commonly agreed upon name. Technically, we could consider this law the definition of the conditional, so we will refer to it by that name

34
Q

The Laws of De Morgan

A

The negation of a conjunction must be the disjunction of the negations. There is also a symmetric law of De Morgan which is obtained by switching the roles of conjunction and disjunction.

Both laws can be formally proved by truth table.

¬(𝑝 ∧ 𝑞) ≡ ¬𝑝 ∨ ¬𝑞

¬(𝑝 ∨ 𝑞) ≡ ¬𝑝 ∧ ¬𝑞

35
Q

Negation of Conditionals

A

To negate a conditional, we must rewrite it using disjunction and negation, and then carefully apply De Morgan.

¬𝑝→𝑞 ≡¬¬𝑝∨𝑞 ≡ 𝑝∧¬𝑞

36
Q

De Morgan and Double Inequalities

A

The correct negation of 1 ≤ 𝑥 ≤ 2 is

𝑥<1∨𝑥>2

To understand this, consider that the original double inequality is a conjunction of two inequalities:

1 ≤ 𝑥 ≤ 2 ≡ 1 ≤ 𝑥 ∧ 𝑥 ≤ 2.

Thereby, by De Morgan, the negation is the disjunction of the individual inequalities, which leads to 𝑥 < 1 ∨ 𝑥 > 2.

37
Q

Commutative laws

A

𝑝∨𝑞≡𝑞∨𝑝

𝑝∧𝑞≡𝑞∧𝑝

38
Q

Associate laws

A

𝑝 ∨ (𝑞 ∨ 𝑟) ≡ (𝑝 ∨ 𝑞) ∨ 𝑟

𝑝 ∧ (𝑞 ∧ 𝑟) ≡ (𝑝 ∧ 𝑞) ∧ 𝑟

39
Q

Distributive Laws

A

𝑝 ∨ (𝑞 ∧ 𝑟) ≡ (𝑝 ∨ 𝑞) ∧ (𝑝 ∨ 𝑟)

𝑝∧ (𝑞∨𝑟) ≡(𝑝∧𝑞)∨(𝑝∧𝑟)

40
Q

Identity Laws

A

𝑝∨𝐹≡𝑝

𝑝∧𝑇≡𝑝

41
Q

Domination Laws

A

𝑝∨𝑇≡𝑇

𝑝∧𝐹≡𝐹

42
Q

Idempotent Laws

A

𝑝∨𝑝≡𝑝

𝑝∧𝑝≡𝑝

43
Q

Double Negation Law

A

¬(¬𝑝) ≡ 𝑝

44
Q

Absorption Laws

A

𝑝∨ (𝑝∧𝑞) ≡𝑝

𝑝 ∧ (𝑝 ∨ 𝑞) ≡ 𝑝

45
Q

Logical Equivalence of Conditionals

A

It is an important fact that a conditional is logically equivalent to its contrapositive, but not to its inverse or converse.

𝑝 → 𝑞 ≡ ¬𝑞 → ¬𝑝

Since the inverse is the contrapositive of the converse, inverse and converse are logically equivalent to each other:

𝑞 → 𝑝 ≡ ¬𝑝 → ¬𝑞

46
Q

Logical Equivalence of Conditionals Diagram

A