Logic And Reasoning

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

1/37

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.

38 Terms

1
New cards

Tautology

when a compound proposition is always true in its truth table

2
New cards

Contradiction

when a compound proposition is always false in its truth table

3
New cards

Contingency

when a compound proposition is neither a tautology or a contradiction

4
New cards

Logically Equivalent (Condition for something to be qualified as such)

Two compound propositions, P and Q, are said to be logically equivalent if and only if the proposition PQ is a tautology

Example: ‘P ≡ Q’.  For example,(p→q) ≡ (¬p∨q), and p⊕q ≡(p∨q)∧¬(p∧q)

5
New cards

Principle of Explosion

If the premises of a proposition includes a contradiction, any statement can be proven from it

6
New cards

Conditional Statement

If, then. Implication of something. Implication, conditional.

p→q. p is the hypothesis or antecedent, q is the conclusion or consequent.

If p→q is true, then p is sufficient for q.

logically equivalent to ¬p∨q

7
New cards

Converse

q→p is the converse of p→q

8
New cards

Contrapositive

¬q→¬p is called the contrapositive of p→q

9
New cards

Inverse

¬p→¬q is the inverse of p→q

10
New cards

Biconditional Statement

If and only if.

could also be expressed as ‘if p then q, and conversely’ which translates to pq is logically equivalent to (p→q)∧(q→p)

can be expressed as (¬p∨q)∧(¬q∨p)

11
New cards

Exclusive Or

Symbol: ⊕

stands for “p or q, but not both”

12
New cards

Order Of Operations (5 symbols)

knowt flashcard image
13
New cards

Boolean Algebra Laws (9)

knowt flashcard image
14
New cards

Duality

given any tautology that uses only the operators ∧,∨, and ¬, another tautology can be obtained from it by interchanging ∧ with ∨ and T with F. (The reason why the boolean algebra laws come in pairs)
example: p ∨ ¬p≡ T

becomes: p ¬p≡ F

15
New cards

Simple Term

either a propositional variable or the negation of a propositional variable Example: p, ¬q

16
New cards

Compound Proposition

A proposition made up of smaller propositions

Example: (¬p∨q)∧(¬q∨p)

17
New cards

Disjunctive Normal Form (DNF)

When a compound proposition is organized in a way that it is a disjunction of conjunctions of simple terms. Each propositional variable occurs at most once in each conjunction and each conjunction occurs at most once in the disjunction.

<p>When a compound proposition is organized in a way that it is <span>a disjunction of conjunctions of simple terms. Each propositional variable occurs at most once in each conjunction and each conjunction occurs at most once in the disjunction.</span></p>
18
New cards

Disjunction

Or statement. ∨ symbol

19
New cards

Conjunction

And statement. ∧ symbol

20
New cards

Karnaugh Map + Rules

A method to simplify propositions into a minimal sum of products (which is a fancy way of saying DNF form)

<p>A method to simplify propositions into a minimal sum of products (which is a fancy way of saying DNF form)</p>
21
New cards

Predicate

a kind of incomplete proposition, which becomes a proposition when it is applied to some entity.

example: In the proposition “the rose is red”, the predicate is “is red”. By itself,‘is red’ is not a proposition

22
New cards

Entity

some specific, identifiable thing to which a predicate can be applied

example: if P means “is red” and a is “the rose”, P is the predicate while a is the entity

23
New cards

One-Place predicate

A predicate that can have one collection of entities assigned to it. (assign one entity to it, but has to be a part of a domain of discourse that works for the predicate)

Example: In the proposition “John loves Mary”, “loves” is a two-place predicate. Besides John and Mary, it could be applied to other pairs of entities (any other 2 people)

24
New cards

Domain of discourse

The set of entities that that can fit in a description.

Example: owns(a,b). domain of discourse of “a” can be humans, and domain of discourse of “b” can be any object.

25
New cards

Propositions

When a predicate is applied to an entity

26
New cards

Quantifiers

Words like all, no, some, and every

27
New cards

Universal Quantifier

∀ symbol means, “for all” of something

28
New cards

Existential Quantifier

∃ symbol means there exists an entity for which…

29
New cards

Open statement

An expression that contains one or more entity variables, which becomes a proposition when entities are substituted for the variables. It has “slots” that need to be filled in.

Example: x owns y (we dont know what x and y are at this point)

30
New cards

Free variables

The variables in an open statement that will have to be substituted by an entity. In ∃x(P(x)), x is bound to the ∃ of P. in P(x), it is free as it is not bound to a quantity.

31
New cards

Tarski’s world

knowt flashcard image
32
New cards

DeMorgan’s Predicate Logic Laws (4)

knowt flashcard image
33
New cards

Premise

A proposition that is known to be true or that has been accepted to be true for the sake of the argument

34
New cards

Argument

A claim that a certain conclusion follows from a given set of premises. An argument is valid if the conclusion follows logically from the premises. To disprove it, give a counterexample.

Example: If today is Tuesday, then this is Belgium. Today is Tuesday. Therefore this is Belgium.

35
New cards

Symbol for P→Q is a tautology and that P logically implies Q.

P⇒Q

36
New cards

Laws of Deduction. (3)

Modus Ponens: Statement is: If p is true, then q is true. We know that p is true, so q must be true.

Modus Tollens: Statement is: If p is true, then q is true. We know that q is not true, so p can not be true.

Law of Syllogism: Statement is: If p is true, then q is true. We know that if q is true, r is true. So, if p is true then r is also true.

37
New cards

How to specify there is only one of something in predicate logic. (There is only one detective that is not trustworthy)

knowt flashcard image
38
New cards
<p>2.1 Hard Questions</p>

2.1 Hard Questions

8.a: 1 card (ten of hearts), 8.b: 16 cards, 8.c: Only 3 cards that dont satisfy so 49 do, 8.d: 37 cards (12 hearts that are not a 10, 3 cards that are 10s but not a heart do not satisfy), 10: (2²)^n (n=#atoms)

<p>8.a: 1 card (ten of hearts), 8.b: 16 cards, 8.c: Only 3 cards that dont satisfy so 49 do, 8.d: 37 cards (12 hearts that are not a 10, 3 cards that are 10s but not a heart do not satisfy), 10: (2²)^n (n=#atoms)</p>