121 Week 4 - Propositional Logic Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Proposition

A

A claim about something that is either true or false

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

Atomic proposition

A

A proposition where the outcome only depends on the proposition itself

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

Compound proposition

A

A proposition constructed from atomic propositions by combining them with fundamental connectives

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

Truth table

A

A table representing the value of a compound proposition for all possible values of its atomic propositions and their combinations.
It has 1 column for each atomic proposition and 1 column for the compound proposition

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

Fundamental connectives (6)

A

AND, OR, XOR, NOT, Conditional, Biconditional

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

AND

A

Takes 2 propositions (P and Q) to form a third proposition called a conjunction
Conjunction is true when both P and Q are true
Written as P ∧ Q
Can connect many propositions. To be true, all connected propositions must be true

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

OR

A

Takes 2 propositions (P and Q) to form a third proposition called a disjunction or inclusive disjunction
Disjunction is true when P or Q or both are true or both are true.
Written as P ∨ Q
Can connect many propositions. To be true, 1 or more connected propositions must be true

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

XOR

A

Takes 2 propositions (P and Q) to form a third proposition called an exclusive disjunction
Exclusive disjunction is only true when only P is true or only Q is true.
Written as P ⊕ Q or P ⊻ Q
Can connect many propositions. To be true, an odd number of connected propositions must be true. If an odd number of propositions are true, the exclusive disjunction is false

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

NOT

A

Takes a single proposition (P) to form a second proposition called negation
Negation is true when P is false
Written as ~P

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

Conditional

A

Consists of the antecedent (P) and consequent (Q)
IF antecedent THEN consequent
Conditional is only false if the antecedent is true but the consequent is false
Written as P → Q

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

Biconditional

A

Combines 2 propositions P and Q to form a third proposition called biconditional
Antecedant if and only if consequent OR consequent if and only if antecedant
Biconditional is true when both P and Q have the same value.
Written as P ↔ Q
Equivalent to (P → Q) ∧ (Q → P)

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

Order of precedence for connecting multiple different connectives

A

NOT, AND, OR, Conditional, Biconditional

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

Tautologies

A

Propositions which are always true, regardless of the truth values of its atomic propositions

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

Contradictions

A

Propositions which are always false, regardless of the truth values of its atomic propositions

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

Contingencies

A

Propositions that are neither tautologies nor contradictions

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

Equivalence

A

Propositions that have exactly the same truth value under all circumstances

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

Argument

A

A sequence of propositions (called premises) that end with a conclusion.
Arguments are valid if given that the premises are true, then the conclusion is also true.

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

Premises

A

The basis on which we try to establish the conclusion

19
Q

Conclusion

A

The claim that we are trying to establish as true

20
Q

Rules

A

Functions which take some propositions as premises and returns others as conclusions

21
Q

Inference rules

A

Logical rules that allow us to derive new propositions (conclusions) from a set of premises. They serve as the building blocks of logical reasoning.

22
Q

What are the different inference rules (7)

A

modus ponens, modus tollens, addition, simplification, hypothetical syllogism, disjunctive syllogism, absorption.

23
Q

Modus ponens

A

If a conditional statement is true, and its antecedent is true, then its consequent must also be true.
If p → q and p, then q.

24
Q

Modus tollens

A

If a conditional statement is true, and its consequent is false, then its antecedent must also be false.
If p → q and ¬q, then ¬p.

25
Q

Addition

A

If a statement is true, then the disjunction of that statement with any other statement is also true.
If p, then p ∨ q

26
Q

Simplification

A

If a conjunction is true, then each of its conjuncts is also true.
If p ∧ q, then p
If p ∧ q, then q

27
Q

Hypothetical syllogism

A

If two conditional statements are true, where the consequent of the first is the antecedent of the second, then a third conditional statement combining the antecedent of the first and the consequent of the second is also true.
Form: If p → q and q → r, then p → r.

28
Q

Disjunctive syllogism

A

If a disjunction or exclusive disjunction is true, and one of the disjuncts (the parts of the or statement) is false, then the other disjunct must be true.
If p ∨ q and ¬p, then q.

29
Q

Absorption

A

If a conditional statement is true then if the antecedent is true then both the antecedent and consequent must be true.
if p → q then p → (p ∧ q)

30
Q

Replacement rules

A

Rules for replacing parts of propositions with logically equivalent expressions

31
Q

What are the replacement rules? (12)

A

Commutative law,
Associative law,
Distributive law,
De Morgan’s laws,
Absorption law,
Identity law,
Idempotence law,
Negation law,
Double negation law,
Implication law,
Contraposition law,
Equivalence law.

32
Q

Commutative law

A

The propositions does not affect the result of the conjunction or disjunction
P ∧ Q = Q ∧ P
P v Q = Q v P

33
Q

Associative law

A

The grouping of the propositions does not affect the result of the conjunction or disjunction
(P v Q) v R = P v (Q v R)
(P ∧ Q) ∧ R = P ∧ (Q ∧ R)

34
Q

Distributive law

A

Distribution (or separate application) of conjunction over disjunction; or distribution of disjunction over conjunction.
P ∧ (Q v R) = (P ∧ Q) v (P ∧ R)
P v (Q ∧ R) = (P v Q) ∧ (P ∧ R)

35
Q

De Morgan’s laws

A

The conjunction of negations is the negation of a disjunction
~P ∧ ~Q = ~(P v Q)
The disjunction of negations is the negation of a conjunction
~P v ~Q = ~(P ∧ Q)

36
Q

Absorption law

A

The disjunction of any proposition P with (P ∧ Q) has the same truth value as P
P ∨ (P ∧ Q) = P
The conjunction of any proposition P with (P ∨ Q) has the same truth value as P
P ∧ (P ∨ Q) = P

37
Q

Identity law

A

the conjunction of any proposition P with an arbitrary tautology T (proposition which is always true) has the same truth value as P
P ∧ T = P
the disjunction of any proposition P with an arbitrary contradiction F (proposition which is always false) has the same truth value as P
P ∨ F = P

38
Q

Idempotence law

A

the property of a conjunction or disjunction to be applied multiple times on a proposition without changing the proposition
P ∧ P is equivalent to P
P ∨ P is equivalent to P

39
Q

Negation law

A

the disjunction of any proposition P and its negation is a tautology
P ∨ ~P is a tautology
the conjunction of any proposition P and its negation is a contradiction
P ∧ ~P is a contradiction

40
Q

Double negation law

A

Any proposition with 2 NOTs is the same as just the proposition.
~~P = P

41
Q

Implication law

A

Implication can be expressed by disjunction and negation
P → Q = ~P ∨ Q

42
Q

Contraposition law

A

A conditional P → Q is equivalent to its contrapositive (implication of negations): ~Q → ~P
P → Q = ~Q → ~P

43
Q

Equivalence law

A

A biconditional P <-> Q is equivalent to the conjunction of two conditionals: (P → Q) ∧ (Q → P)
P <-> Q = (P → Q) ∧ (Q → P)