The Foundations: Logic and Proofs

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/47

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

48 Terms

1
New cards

Proposition

A declarative sentence that is either true or false.

2
New cards

Propositional Variable

A symbol such as p, q, r, used to represent a proposition.

3
New cards

T

The proposition that is always true.

4
New cards

F

The proposition that is always false.

5
New cards

Compound Proposition

A statement constructed from logical connectives and other propositions.

6
New cards

Negation Symbol

¬ denotes the operation that reverses the truth value of a proposition.

7
New cards

Negation

The operation that takes a proposition p and forms ¬p, which is true when p is false and false when p is true.

8
New cards

Conjunction Symbol

∧ denotes the logical 'and' operation.

9
New cards

Conjunction

The operation that forms p ∧ q, which is true when both p and q are true, and false otherwise.

10
New cards

Disjunction Symbol

∨ denotes the logical 'or' operation.

11
New cards

Disjunction

The operation that forms p ∨ q, which is true if at least one of p or q is true, and false only if both are false.

12
New cards

Inclusive Or

A disjunction that is true if either or both propositions are true.

13
New cards

Exclusive Or Symbol

⊕ denotes the 'xor' operation.

14
New cards

Exclusive Or

An operation where p ⊕ q is true when exactly one of p or q is true, and false when both are true or both are false.

15
New cards

Implication Symbol

→ denotes the conditional 'if…then…' operation.

16
New cards

Implication

The conditional statement p → q is false only when p is true and q is false; true otherwise.

17
New cards

Hypothesis (Implication)

The antecedent or premise of a conditional statement p → q.

18
New cards

Conclusion (Implication)

The consequent or result in a conditional statement p → q.

19
New cards

Converse

The proposition q → p formed from p → q by interchanging antecedent and consequent.

20
New cards

Contrapositive

The proposition ¬q → ¬p formed from p → q by negating and swapping antecedent and consequent.

21
New cards

Inverse

The proposition ¬p → ¬q formed from p → q by negating both antecedent and consequent.

22
New cards

Biconditional Symbol

↔ denotes the 'if and only if' operation.

23
New cards

Biconditional

The statement p ↔ q is true when p and q share the same truth value, true or false.

24
New cards

Truth Table

A tabular method of representing truth values of propositions for all possible combinations of truth values of atomic propositions.

25
New cards

Logically Equivalent

Two compound propositions are logically equivalent if they always have the same truth value.

26
New cards

Equivalence Symbol

⇔ or ≡ expresses that two propositions are logically equivalent.

27
New cards

Precedence of Logical Operators

Ordering of logical operations: 1) ¬, 2) ∧, 3) ∨, 4) →, 5) ↔.

28
New cards

System Specification

A list of propositions describing system requirements using logic.

29
New cards

Consistent Specifications

A set of propositions is consistent if truth values can be assigned to make all true.

30
New cards

Knight (Logic Puzzle)

An inhabitant who always tells the truth.

31
New cards

Knave (Logic Puzzle)

An inhabitant who always lies.

32
New cards

Logic Circuit

An electronic circuit where signals correspond to truth values; 0 stands for false and 1 stands for true.

33
New cards

Inverter (NOT Gate)

A gate that outputs the negation of its input bit.

34
New cards

OR Gate

A gate that outputs true if at least one input bit is true.

35
New cards

AND Gate

A gate that outputs true only if both input bits are true.

36
New cards

Tautology

A proposition that is always true, regardless of the truth values of its components.

37
New cards

Contradiction

A proposition that is always false, regardless of the truth values of its components.

38
New cards

Contingency

A proposition that is sometimes true and sometimes false, depending on the truth values of its components.

39
New cards

De Morgan's Laws

Rules relating conjunctions and disjunctions through negation: ¬(p ∨ q) ≡ (¬p ∧ ¬q), ¬(p ∧ q) ≡ (¬p ∨ ¬q).

40
New cards

Identity Laws

Logical laws stating p ∧ T ≡ p and p ∨ F ≡ p.

41
New cards

Domination Laws

Logical laws stating p ∨ T ≡ T and p ∧ F ≡ F.

42
New cards

Idempotent Laws

Logical laws stating p ∨ p ≡ p and p ∧ p ≡ p.

43
New cards

Double Negation Law

Logical law stating ¬(¬p) ≡ p.

44
New cards

Negation Laws

Logical laws such as p ∨ ¬p ≡ T and p ∧ ¬p ≡ F.

45
New cards

Commutative Laws

Logical laws such as p ∨ q ≡ q ∨ p and p ∧ q ≡ q ∧ p.

46
New cards

Associative Laws

Logical laws such as (p ∨ q) ∨ r ≡ p ∨ (q ∨ r) and (p ∧ q) ∧ r ≡ p ∧ (q ∧ r).

47
New cards

Distributive Laws

Logical laws such as p ∧ (q ∨ r) ≡ (p ∧ q) ∨ (p ∧ r).

48
New cards

Absorption Laws

Logical laws expressing relationships like p ∨ (p ∧ q) ≡ p and p ∧ (p ∨ q) ≡ p.