Foundations Of Logic Flashcards

1
Q

p ∧ q

A

CONJUNCTION “AND” The conjunction p ∧ q is true when both p and q are true and is false otherwise. (Swift: &&)

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

p ∨ q

A

DISJUNCTION “OR” The disjunction of p and q, denoted by p ∨ q, is the proposition “p or q.” The disjunction p ∨ q is false when both p and q are false and is true otherwise. (Swift: ||)

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

p⊕q

A

EXCLUSIVE OR “XOR” The exclusive or of p and q, denoted by p ⊕ q, is the proposition that is true when exactly one of p and q is true and is false otherwise.

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

p → q

A

CONDITIONAL STATEMENT or IMPLICATION The conditional statement p → q is the proposition “if p, then q.” The conditional statement p → q is false when p is true and q is false, and true otherwise. In the conditional statement p → q, p is called the hypothesis (or antecedent or premise) and q is called the conclusion (or consequence).

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

q → p

A

CONVERSE The proposition q → p is called the converse of p → q. One of the most common logical errors is to assume that the converse or the inverse of a conditional statement is equivalent to this conditional statement.

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

¬q → ¬p

A

CONTRAPOSITIVE The contrapositive of p → q is the proposition ¬q → ¬p. Only the contrapositive always has the same truth value as p → q.

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

¬p → ¬q

A

INVERSE The proposition ¬p → ¬q is called the inverse of p → q. One of the most common logical errors is to assume that the converse or the inverse of a conditional statement is equivalent to this conditional statement.

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

p ↔ q

A

BI-CONDITIONAL or BI-IMPLICATION p ↔ q is the proposition “p if and only if q.” The biconditional statement p ↔ q is true when p and q have the same truth values, and is false otherwise. Biconditional statements are also called bi-implications. “p is necessary and sufficient for q” “if p then q, and conversely” “p iff q.” The last way of expressing the biconditional statement p ↔ q uses the abbreviation “iff” for “if and only if.” Note that p ↔ q has exactly the same truth value as (p → q) ∧ (q → p).

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

What is the order of precedence of the following logical operators? → ∨ ↔ ¬ ∧

A

¬ 1 ∧ 2 ∨ 3 → 4 ↔ 5

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

Fuzzy Logic

A

Fuzzy logic is used in artificial intelligence. In fuzzy logic, a proposition has a truth value that is a number between 0 and 1, inclusive. A proposition with a truth value of 0 is false and one with a truth value of 1 is true. Truth values that are between 0 and 1 indicate varying degrees of truth. For instance, the truth value 0.8 can be assigned to the statement “Fred is happy,” because Fred is happy most of the time, and the truth value 0.4 can be assigned to the statement “John is happy,” because John is happy slightly less than half the time.

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

Identity Laws

A

p∧T≡p

p∨F≡p

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

Domination Laws

A

p∨TT

p∧FF

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

Idempotent Laws

A

p∨p≡p

p∧p≡p

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

Double Negation Law

A

¬(¬p) ≡ p

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

Commutative Laws

A

p∨q≡q∨p

p∧q≡q∧p

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

Associative Laws

A

(p∨q)∨r ≡p∨(q∨r)

(p∧q)∧r ≡p∧(q∧r)

17
Q

Distributive Laws

A

p ∨ (q ∧ r) ≡ (p ∨ q) ∧ (p ∨ r)

p ∧ (q ∨ r) ≡ (p ∧ q) ∨ (p ∧ r)

18
Q

De Morgan’s Laws

A

¬(p ∧ q) ≡ ¬p ∨ ¬q

¬(p ∨ q) ≡ ¬p ∧ ¬q

When using De Morgan’s laws, remember to change the logical connective after you negate.

19
Q

Absorption Laws

A

p ∨ (p ∧ q) ≡ p

p ∧ (p ∨ q) ≡ p

20
Q

Negation Laws

A

p ∨ ¬p ≡ T

p ∧ ¬p ≡ F

21
Q

Tautology

A

A compound proposition that is always true, no matter what the truth values of the proposi- tional variables that occur in it, is called a tautology.

22
Q
A

A compound proposition that is always false is called a contradiction.

23
Q
A