Propositional Logic 2 Flashcards

1
Q

Logical equivalence means…

A

compund propositions have the same truth value.

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

What are the 4 related implications?

A
  1. Direct
  2. Contrapositive
  3. Inverse
  4. Converse
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

If pvq (direct), what is its contrapositive?

A

~qv~p.

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

If pvq (direct), what is its inverse?

A

~pv~q.

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

If pvq (direct), what is its converse?

A

qvp.

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

What is a contrapositive’s relationship to the direct proposition?

A

It is equivalent to the direct.

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

What is an inverse’s relationship to the direct proposition?

A

It is not equivalent to the direct.

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

What is a converse’s relationship to the inverse proposition?

A

It is equivalent to the inverse.

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

What is De Morgan’s Negation of Conjunction?

A

~pv~q ≡ ~(p^q).

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

What is De Morgan’s Negation of Disjunction?

A

~p^~q ≡ ~(pvq).

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

What are the 3 basic laws and 3 properties of logical equivalence?

A
  1. Identity Law
  2. Domination Rule
  3. Idempotent Law
  4. Double Negation
  5. Commutative
  6. Associative
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the 4 advanced laws of logical equivalence?

A
  1. Distributive
  2. De Morgan’s
  3. Absorption
  4. Negation/Complement
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Identity Law states that…

A

combining a proposition with the logical identity element (T or F) doesn’t change the value of the proposition when F is used with (v) and T for (^).

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

Write the Identity Law in symbols.

A

pvF ≡ p;
p^T ≡ p.

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

Domination Rule states that…

A

if you have a proposition and an identity element (T or F) combined with either logical (v) or logical (^), the result is always true for (v) and false for (^).

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

The combinations in Domination Rule can either be a…

A

tautology or contradiction.

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

Write the Domination Rule in symbols.

A

pvT ≡ T;
p^F ≡ F.

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

Idempotent Law refers to a property of…

A

certain operations or functions where applying the operation multiple times doesn’t change the result after the first application.

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

Write the Idempotent Law in symbols.

A

pvp ≡ p;
p^p ≡ p.

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

The property of Double Negation states that…

A

not not p and p have the same truth value.

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

Write the property of Double Negation in symbols.

A

~(~p) ≡ p.

22
Q

Write the Commutative property in symbols.

A

pvq ≡ qvp;
p^q ≡ q^p.

23
Q

Write the Associative property in symbols.

A

(pvq) v r ≡ p v (qvr);
(p^q) ^ r ≡ p ^ (q^r).

24
Q

Associativity applies only when…

A

the connectives involved are exclusively ^ or exclusively v.

25
Write the Distributive Law in symbols.
p v (q^r) ≡ (pvq) ^ (pvr).
26
De Morgan's Law describes how mathematical statements are...
related through their opposites.
27
De Morgan's Laws relate conjunctions and disjunctions through...
negation.
28
Write De Morgan's Law in symbols.
~(pvq) ≡ ~p^~q; ~(p^q) ≡ ~pv~q.
29
Absorption Law states that if we combine a statement P by...
∨ with the same statement P and one other statement Q, joined with ∧, then the resultant statement will be the first statement P.
30
Write the Absorption Law in symbols.
p v (p^q) ≡ p; p ^ (pvq) ≡ p.
31
Write the Negation/Complement Law in symbols.
pv~p ≡ T; p^~p ≡ F.
32
Negation/Complement laws state that a variable...
AND its negation will produce FALSE, while a variable OR its negation will produce TRUE.
33
Tips in Proving: Change all _ to _ and _.
implications, or's, and's
34
Tips in Proving: When encountering a negation for a _ proposition, use _ _ _.
compound, De Morgan's Law
35
Tips in Proving: Change the operators to the same level of _ to apply laws such as _ , _ ,or _.
precedence, Identity, Idempotence, Complement
36
Tips in Proving: Always follow the _ of _.
level, precedence
37
What are the 4 more advanced logical equivalences?
1. Material Implication 2. Contrapositive/Transposition 3. Material Equivalence (biconditionality) 4. Others
38
Material Implication is a valid rule of replacement that allows for a...
conditional statement to be replaced by a disjunction in which the antecedent is negated.
39
Write Material Implication in symbols.
p→q ≡ ~pvq.
40
Write Contrapositive/Transposition in symbols.
p→q ≡ ~q→~p.
41
Conditionals = _ ; Inverse = _.
Contrapositive; Converse
42
Material Equivalence means a biconditional statement can be formed if...
both the direct and converse are both true or false.
43
Write Material Equivalence in symbols.
p↔q ≡ (p→q) ^ (q→p).
44
Other logical equivalences involve the operators...
EXOR, and biconditionals.
45
Write the logical equivalence of EXOR in symbols.
(p⊕q) ≡ (p^~q) v (~p^q).
46
Write the other logical equivalence of biconditionals in symbols.
p↔q ≡ (~pvq) ^ (~qvp).
47
A limitation of propositional logic is it does not _.
generalize.
48
A limitation of propositional logic is it needs to _ each _.
propositionalise, situation
49
A limitation of propositional logic is it cannot easily _ _ between objects.
express similarities
50
What is an application of logic in data science in terms of programming languages?
Programming languages uses variables to associate a value that can be used for Boolean operators (e.g., if, else if, while, for, etc. ).
51
What is the application of logic in data science in terms of learning models?
Making proofs verifies that a method will hold for any particular value or assumption.