Propositional Logic, Connectives, and Quantifiers in Logic

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

1/50

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

51 Terms

1
New cards

Propositions

The basic building blocks of logic.

2
New cards

Example of a Proposition

Washington, D.C., is the capital of the United States of America.

3
New cards

Propositional Variables

We use letters to denote propositional variables (statement variables).

4
New cards

Conventional Letters for Propositional Variables

The conventional letters used for propositional variables are p, q, r, s.

5
New cards

Truth Value of a Proposition

The truth value of a proposition is true, denoted by T, if it is a true proposition.

6
New cards

Propositional Logic

The area of logic that deals with propositions is called the propositional calculus or propositional logic.

7
New cards

Historical Development of Logic

Propositional logic was first developed systematically by the Greek philosopher Aristotle more than 2300 years ago.

8
New cards

Disjunction

The use of the connective or in a disjunction corresponds to one of the two ways the word or is used in English, namely, as an inclusive or.

9
New cards

Truth of a Disjunction

A disjunction is true when at least one of the two propositions is true.

10
New cards

Conditional Statements

Statements of the form 'if p, then q' or 'p implies q'.

11
New cards

Converse of a Conditional Statement

The converse of p → q is q → p.

12
New cards

Contrapositive of a Conditional Statement

The contrapositive of p → q is ¬q → ¬p.

13
New cards

Inverse of a Conditional Statement

The inverse of p → q is ¬p → ¬q.

14
New cards

Equivalent Propositions

When two compound propositions always have the same truth value we call them equivalent.

15
New cards

Biconditionals

Another way to combine propositions that expresses that two propositions have the same truth value.

16
New cards

Implicit Use of Biconditionals

Biconditionals are not always explicit in natural language.

17
New cards

Logical Connectives

Four important logical connectives are conjunctions, disjunctions, conditional statements, and biconditional statements.

18
New cards

Bit

A bit is a symbol with two possible values, namely, 0 (zero) and 1 (one).

19
New cards

Boolean Variable

A variable that can take on the values of true or false.

20
New cards

Bit String

A bit string is a sequence of zero or more bits.

21
New cards

Length of a Bit String

The length of this string is the number of bits in the string.

22
New cards

Boolean Searches

Searches of large collections of information that employ techniques from propositional logic.

23
New cards

Logic Puzzles

Puzzles that can be solved using logical reasoning.

24
New cards

Logic Circuit

A logic circuit receives input signals p1, p2,..., pn, each a bit, and produces output signals s1, s2,..., sn, each a bit.

25
New cards

Basic Circuits (Gates)

The three basic circuits are Inverter (NOT Gate), OR Gate, and AND Gate.

<p>The three basic circuits are Inverter (NOT Gate), OR Gate, and AND Gate.</p>
26
New cards

Tautology

A compound proposition that is always true, no matter what the truth values of the propositional variables that occur in it.

<p>A compound proposition that is always true, no matter what the truth values of the propositional variables that occur in it.</p>
27
New cards

Contradiction

A compound proposition that is always false.

28
New cards

Contingency

A compound proposition that is neither a tautology nor a contradiction.

29
New cards

Logically Equivalent

Compound propositions that have the same truth values in all possible cases.

30
New cards

De Morgan's Laws

The two logical equivalences known as De Morgan's laws are particularly important.

<p>The two logical equivalences known as De Morgan's laws are particularly important.</p>
31
New cards

Compound Proposition

A compound proposition is satisfiable if there is an assignment of truth values to its variables that makes it true.

32
New cards

Unsatisfiable Proposition

A compound proposition is unsatisfiable when it is false for all assignments of truth values to its variables.

33
New cards

Sudoku Puzzle

A Sudoku puzzle is represented by a 9×9 grid made up of nine 3×3 sub grids, known as blocks.

34
New cards

Givens

The 81 cells in a Sudoku puzzle are called givens.

35
New cards

Predicate

A statement involving variables, such as 'x>3', 'x=y+3', 'x+y=z', or 'computer x is under attack by an intruder'.

36
New cards

Propositional Function

The statement P(x) is the value of the propositional function P at x.

37
New cards

Truth Value

Once a value has been assigned to the variable x, the statement P(x) becomes a proposition and has a truth value.

38
New cards

Predicate Calculus

The area of logic that deals with predicates and quantifiers.

39
New cards

Universal Quantifier ( ∀ )

Symbol: ∀x P(x). Meaning: 'For all x, P(x) is true.' True if P(x) holds for every element in the domain.

<p>Symbol: ∀x P(x). Meaning: 'For all x, P(x) is true.' True if P(x) holds for every element in the domain.</p>
40
New cards

Counterexample

A universal quantifier statement is false if at least one counterexample exists.

41
New cards

Example of Universal Quantifier

'All humans are mortal' → ∀x (Human(x)→Mortal(x)).

42
New cards

Existential Quantifier ( ∃ )

Symbol: ∃x P(x). Meaning: 'There exists an x such that P(x) is true.' True if P(x) holds for at least one element in the domain.

43
New cards

Negating Universal Quantifier

¬(∀x P(x))≡∃x (¬P(x)).

44
New cards

Negating Existential Quantifier

¬(∃x P(x))≡∀x (¬P(x)).

45
New cards

Nested Quantifiers

Quantifiers can be combined, and the order matters (generally not interchangeable).

46
New cards

Example of Nested Quantifiers

∀x∃y P(x,y): For every x, there exists some y such that P(x,y).

47
New cards

Another Example of Nested Quantifiers

∃y∀x P(x,y): There exists a single y such that for every x, P(x,y).

48
New cards

Negating Quantifiers Rule

'It is not the case that all are ...' ↔ 'Some are not ...'.

49
New cards

Truth Dependence

Truth depends on the domain of discourse.

50
New cards

Example of Predicate

Example: P(x): x > 3.

51
New cards

Quantification

An important way to form propositions using predicates.