SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
Logic
Propositions and Logical Operations
Definition: A statement or proposition is a declarative
sentence that is either true (T) or false (F), but not both.
Example: Which of the following are statements?
a. It is raining.
b. 2 + 3 = 5
c. Do you speak English?
d. 3 − 𝑥𝑥 = 5
e. Take two aspirins.
© S. Turaev, CSC 1700 Discrete Mathematics 2
Propositions and Logical Operations
 The letters 𝑝𝑝, 𝑞𝑞, 𝑟𝑟 are denote propositional variables
• 𝑝𝑝: I am teaching.
• 𝑞𝑞: 3 × 23 = 70
 Compound statements: propositional variables
combined by logical connectives (and, or, if … then, …):
• 𝑝𝑝 and 𝑞𝑞.
• 𝑝𝑝 or 𝑞𝑞.
• If 𝑝𝑝 then 𝑞𝑞.
3© S. Turaev, CSC 1700 Discrete Mathematics
Propositions and Logical Operations
Definition: If 𝑝𝑝 is a statement, the negation of 𝑝𝑝 is the
statement not 𝑝𝑝, denoted by ~𝑝𝑝 (sometimes, ¬𝑝𝑝, ̅𝑝𝑝).
~𝑝𝑝: “It is not the case that 𝑝𝑝”.
Example:
 𝑝𝑝: 2 + 3 > 1 ~𝑝𝑝:
 𝑞𝑞: It is cold. ~𝑝𝑝:
4© S. Turaev, CSC 1700 Discrete Mathematics
𝑝𝑝 ~𝑝𝑝
T F
F T
Propositions and Logical Operations
Definition: If 𝑝𝑝 and 𝑞𝑞 are statements, the conjunction of 𝑝𝑝
and 𝑞𝑞 is the compound statement 𝑝𝑝 and 𝑞𝑞, denoted by
𝑝𝑝 ∧ 𝑞𝑞.
Example:
 𝑝𝑝: It is raining. 𝑞𝑞: It is cold.
 𝑝𝑝: 2 < 3. 𝑞𝑞: −3 < −2.
 𝑝𝑝 ∧ 𝑞𝑞:
5© S. Turaev, CSC 1700 Discrete Mathematics
𝑝𝑝 𝑞𝑞 𝑝𝑝 ∧ 𝑞𝑞
T T T
T F F
F T F
F F F
Propositions and Logical Operations
Definition: If 𝑝𝑝 and 𝑞𝑞 are statements, the disjunction of 𝑝𝑝
and 𝑞𝑞 is the compound statement 𝑝𝑝 or 𝑞𝑞, denoted by 𝑝𝑝 ∨
𝑞𝑞.
Example:
 𝑝𝑝: It is raining. 𝑞𝑞: It is cold.
 𝑝𝑝: 2 < 3. 𝑞𝑞: −3 < −2.
 𝑝𝑝 ∨ 𝑞𝑞:
6© S. Turaev, CSC 1700 Discrete Mathematics
𝑝𝑝 𝑞𝑞 𝑝𝑝 ∧ 𝑞𝑞
T T T
T F T
F T T
F F F
Propositions and Logical Operations
A compound statement may have many components:
𝑝𝑝 ∨ (𝑞𝑞 ∧ (~ 𝑝𝑝 ∧ 𝑟𝑟 ))
Example: Make a truth table for 𝑝𝑝 ∧ 𝑞𝑞 ∨ ~𝑝𝑝.
7© S. Turaev, CSC 1700 Discrete Mathematics
𝑝𝑝 𝑞𝑞 𝑝𝑝 ∧ 𝑞𝑞 ~𝑝𝑝 ∨
T T
T F
F T
F F
Propositions and Logical Operations
Definition: If 𝑝𝑝 and 𝑞𝑞 are statements, the compound
statement “if 𝑝𝑝 then 𝑞𝑞”, denoted 𝑝𝑝 ⇒ 𝑞𝑞, is called a
conditional statement or implication.
The statement 𝑝𝑝 is called antecedent or hypothesis and 𝑞𝑞
is called the consequent or conclusion.
Example:
 𝑝𝑝: I am hungry. 𝑞𝑞: I will eat.
 𝑝𝑝: It is snowing. 𝑞𝑞: 3 + 2 = 5.
 𝑝𝑝 ⇒ 𝑞𝑞:
8© S. Turaev, CSC 1700 Discrete Mathematics
𝑝𝑝 𝑞𝑞 𝑝𝑝 ⇒ 𝑞𝑞
T T T
T F F
F T T
F F T
Propositions and Logical Operations
Definition: If 𝑝𝑝 ⇒ 𝑞𝑞 is an implication, then
 the converse of 𝑝𝑝 ⇒ 𝑞𝑞 is the implication 𝑞𝑞 ⇒ 𝑝𝑝
 the inverse of 𝑝𝑝 ⇒ 𝑞𝑞 is the implication ~𝑝𝑝 ⇒ ~𝑞𝑞
 the contrapositive of 𝑝𝑝 ⇒ 𝑞𝑞 is the implication ~𝑞𝑞 ⇒
~𝑝𝑝
Example: 𝑝𝑝 ⇒ 𝑞𝑞: “If it is raining then I get wet” then
𝑞𝑞 ⇒ 𝑝𝑝, ~𝑝𝑝 ⇒ ~𝑞𝑞, ~𝑞𝑞 ⇒ ~𝑝𝑝?
9© S. Turaev, CSC 1700 Discrete Mathematics
Propositions and Logical Operations
Definition: If 𝑝𝑝 and 𝑞𝑞 are statements, the compound
statement “𝑝𝑝 if and only if 𝑞𝑞”, denoted 𝑝𝑝 ⇔ 𝑞𝑞, is called
an equivalence or biconditional.
Example:
 𝑝𝑝: 3 > 2. 𝑞𝑞: 0 < 3 − 2.
 𝑝𝑝: It is snowing. 𝑞𝑞: 3 + 2 = 5.
 𝑝𝑝 ⇔ 𝑞𝑞:
10© S. Turaev, CSC 1700 Discrete Mathematics
𝑝𝑝 𝑞𝑞 𝑝𝑝 ⇒ 𝑞𝑞
T T T
T F F
F T F
F F T
Propositions and Logical Operations
Example: Compute the truth table of the statement
𝑝𝑝 ⇒ 𝑞𝑞 ⇔ (~𝑞𝑞 ⇒ ~𝑝𝑝)
11© S. Turaev, CSC 1700 Discrete Mathematics
𝑝𝑝 𝑞𝑞 𝑝𝑝 ⇒ 𝑞𝑞 ~𝑞𝑞 ~𝑝𝑝 ~𝑞𝑞 ⇒ ~𝑝𝑝 ⇔
T T
T F
F T
F F
Propositions and Logical Operations
Definition: A statement that is true for all possible values
of its propositional variables is called a tautology.
Definition: A statement that is false for all possible values
of its propositional variables is called a contradiction or
an absurdity.
Definition: A statement that can be either true or false
for all possible values of its propositional variables is
called contingency.
12© S. Turaev, CSC 1700 Discrete Mathematics
Propositions and Logical Operations
Example:
 The statement 𝑝𝑝 ∨ ~𝑝𝑝:
 The statement 𝑝𝑝 ∧ ~𝑝𝑝:
 The statement 𝑝𝑝 ⇒ 𝑞𝑞 ∧ (𝑝𝑝 ∨ 𝑞𝑞):
13© S. Turaev, CSC 1700 Discrete Mathematics
Propositions and Logical Operations
Definition: We say that the statements 𝑝𝑝 and 𝑞𝑞 are
logically equivalent (or simply equivalent), denoted by
𝑝𝑝 ≡ 𝑞𝑞, if 𝑝𝑝 ⇔ 𝑞𝑞 is tautology.
Example: Show that
 𝑝𝑝 ∨ 𝑞𝑞 ≡ 𝑞𝑞 ∨ 𝑝𝑝
 𝑝𝑝 ⇒ 𝑞𝑞 ≡ ~𝑝𝑝 ∨ 𝑞𝑞
14© S. Turaev, CSC 1700 Discrete Mathematics
Propositions and Logical Operations
Definition: A predicate or a propositional function is a
noun/verb phrase template that describes a property of
objects, or a relationship among objects represented by
the variables:
Example: 𝑃𝑃 𝑥𝑥 : “𝑥𝑥 is integer less than 8.”
 𝑃𝑃 1 =
 𝑃𝑃 10 =
 𝑃𝑃 −11 =
15© S. Turaev, CSC 1700 Discrete Mathematics
Propositions and Logical Operations
Definition: The universal quantification of a predicate
𝑃𝑃 𝑥𝑥 is the statement “For all values of 𝑥𝑥 (for every 𝑥𝑥, for
each 𝑥𝑥, for any 𝑥𝑥), 𝑃𝑃 𝑥𝑥 is true” and is denoted by
∀𝑥𝑥𝑥𝑥 𝑥𝑥 .
Example: 𝑃𝑃 𝑥𝑥 : “− −𝑥𝑥 = 𝑥𝑥” is a predicate that is true
for all real numbers.
∀𝑥𝑥𝑥𝑥 𝑥𝑥 =
Example: 𝑄𝑄 𝑥𝑥 : “𝑥𝑥 + 1 < 4”.
∀𝑥𝑥𝑥𝑥 𝑥𝑥 =
16© S. Turaev, CSC 1700 Discrete Mathematics
Propositions and Logical Operations
A predicate may contain several variables.
Example: 𝑄𝑄 𝑥𝑥, 𝑦𝑦 : 𝑥𝑥 + 𝑦𝑦 = 𝑦𝑦 + 𝑥𝑥
∀𝑥𝑥∀𝑦𝑦𝑦𝑦 𝑥𝑥, 𝑦𝑦 =
Example: Write the following statement in the form of a
predicate and quantifier:
“The sum of any two integers is even number.”
17© S. Turaev, CSC 1700 Discrete Mathematics
Propositions and Logical Operations
Definition: The existential quantification of a predicate
𝑃𝑃 𝑥𝑥 is the statement “There exists a value of 𝑥𝑥, for
which 𝑃𝑃 𝑥𝑥 is true” and is denoted by ∃𝑥𝑥𝑥𝑥 𝑥𝑥 .
Example: 𝑃𝑃 𝑥𝑥 : “−𝑥𝑥 = 𝑥𝑥”.
∃𝑥𝑥𝑥𝑥 𝑥𝑥 =
Example: 𝑄𝑄 𝑥𝑥 : “𝑥𝑥 + 1 < 4”.
∃𝑥𝑥𝑥𝑥 𝑥𝑥 =
18© S. Turaev, CSC 1700 Discrete Mathematics
Algebraic Properties
Commutative properties:
 𝑝𝑝 ∨ 𝑞𝑞 ≡ 𝑞𝑞 ∨ 𝑝𝑝
 𝑝𝑝 ∧ 𝑞𝑞 ≡ 𝑞𝑞 ∧ 𝑝𝑝
Associative properties:
 𝑝𝑝 ∨ 𝑞𝑞 ∨ 𝑟𝑟 ≡ 𝑝𝑝 ∨ 𝑞𝑞 ∨ 𝑟𝑟
 𝑝𝑝 ∧ 𝑞𝑞 ∧ 𝑟𝑟 ≡ 𝑝𝑝 ∧ 𝑞𝑞 ∧ 𝑟𝑟
Distributive properties:
 𝑝𝑝 ∨ 𝑞𝑞 ∧ 𝑟𝑟 ≡ 𝑝𝑝 ∨ 𝑞𝑞 ∧ 𝑝𝑝 ∨ 𝑟𝑟
 𝑝𝑝 ∧ 𝑞𝑞 ∨ 𝑟𝑟 ≡ 𝑝𝑝 ∧ 𝑞𝑞 ∨ 𝑝𝑝 ∧ 𝑟𝑟
19© S. Turaev, CSC 1700 Discrete Mathematics
Algebraic Properties
Idempotent properties:
 𝑝𝑝 ∨ 𝑝𝑝 ≡ 𝑝𝑝
 𝑝𝑝 ∧ 𝑝𝑝 ≡ 𝑝𝑝
Properties of negation:
 ~(~𝑝𝑝) ≡ 𝑝𝑝
 ~ 𝑝𝑝 ∨ 𝑞𝑞 ≡ ~𝑝𝑝 ∧ ~𝑞𝑞
 ~ 𝑝𝑝 ∧ 𝑞𝑞 ≡ ~𝑝𝑝 ∨ ~𝑞𝑞
20© S. Turaev, CSC 1700 Discrete Mathematics
Algebraic Properties
Properties of implication:
 𝑝𝑝 ⇒ 𝑞𝑞 ≡ ~𝑝𝑝 ∨ 𝑞𝑞
 𝑝𝑝 ⇒ 𝑞𝑞 ≡ ~𝑞𝑞 ⇒ ~𝑝𝑝
 𝑝𝑝 ⇔ 𝑞𝑞 ≡ 𝑝𝑝 ⇒ 𝑞𝑞 ∧ 𝑞𝑞 ⇒ 𝑝𝑝
 ~ 𝑝𝑝 ⇒ 𝑞𝑞 ≡ 𝑝𝑝 ⇒ ~𝑞𝑞
 ~ 𝑝𝑝 ⇔ 𝑞𝑞 ≡ 𝑝𝑝 ∧ ~𝑞𝑞 ∨ 𝑞𝑞 ∧ ~𝑝𝑝
21© S. Turaev, CSC 1700 Discrete Mathematics
Algebraic Properties
Properties of quantifiers:
 ~ ∀𝑥𝑥𝑥𝑥 𝑥𝑥 ≡ ∃𝑥𝑥~𝑃𝑃 𝑥𝑥
 ~ ∃𝑥𝑥𝑥𝑥 𝑥𝑥 ≡ ∀𝑥𝑥~𝑃𝑃 𝑥𝑥
 ∃𝑥𝑥 𝑃𝑃 𝑥𝑥 ⇒ 𝑄𝑄 𝑥𝑥 ≡ ∀𝑥𝑥𝑥𝑥 𝑥𝑥 ⇒ ∃𝑥𝑥𝑥𝑥 𝑥𝑥
 ∃𝑥𝑥 𝑃𝑃 𝑥𝑥 ∨ 𝑄𝑄 𝑥𝑥 ≡ ∃𝑥𝑥𝑥𝑥 𝑥𝑥 ∨ ∃𝑥𝑥𝑥𝑥 𝑥𝑥
 ∀𝑥𝑥 𝑃𝑃 𝑥𝑥 ∧ 𝑄𝑄 𝑥𝑥 ≡ ∀𝑥𝑥𝑥𝑥 𝑥𝑥 ∧ ∀𝑥𝑥𝑥𝑥 𝑥𝑥
 ∀𝑥𝑥𝑥𝑥 𝑥𝑥 ∨ ∀𝑥𝑥𝑥𝑥 𝑥𝑥 ⇒ ∀𝑥𝑥 𝑃𝑃 𝑥𝑥 ∨ 𝑄𝑄 𝑥𝑥
 ∃𝑥𝑥 𝑃𝑃 𝑥𝑥 ∧ 𝑄𝑄 𝑥𝑥 ⇒ ∃𝑥𝑥𝑥𝑥 𝑥𝑥 ∨ ∃𝑥𝑥𝑥𝑥 𝑥𝑥
22© S. Turaev, CSC 1700 Discrete Mathematics
Algebraic Properties
Tautologies:
 𝑝𝑝 ⇒ 𝑞𝑞 ∧ 𝑞𝑞 ⇒ 𝑟𝑟 ⇒ (𝑝𝑝 ⇒ 𝑟𝑟)
23© S. Turaev, CSC 1700 Discrete Mathematics
 𝑝𝑝 ∧ 𝑞𝑞 ⇒ 𝑝𝑝
 𝑝𝑝 ⇒ 𝑝𝑝 ∨ 𝑞𝑞
 ~𝑝𝑝 ⇒ 𝑝𝑝 ⇒ 𝑞𝑞
 𝑝𝑝 ∧ 𝑝𝑝 ⇒ 𝑞𝑞 ⇒ 𝑞𝑞
 ~𝑞𝑞 ∧ 𝑝𝑝 ⇒ 𝑞𝑞 ⇒ ~𝑝𝑝
 𝑝𝑝 ∧ 𝑞𝑞 ⇒ 𝑞𝑞
 𝑞𝑞 ⇒ 𝑝𝑝 ∧ 𝑞𝑞
 ~ 𝑝𝑝 ⇒ 𝑞𝑞 ⇒ 𝑝𝑝
 ~𝑝𝑝 ∧ 𝑝𝑝 ∨ 𝑞𝑞 ⇒ 𝑞𝑞

Contenu connexe

Tendances

The Fundamental Counting Principle
The Fundamental Counting PrincipleThe Fundamental Counting Principle
The Fundamental Counting Principle
Ron Eick
 

Tendances (20)

Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proof
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
 
introduction to division algorithm
introduction to division algorithmintroduction to division algorithm
introduction to division algorithm
 
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and ContingencyFormal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
 
Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)
 
1.3.1 Inductive and Deductive Reasoning
1.3.1 Inductive and Deductive Reasoning1.3.1 Inductive and Deductive Reasoning
1.3.1 Inductive and Deductive Reasoning
 
Discrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of ProofDiscrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of Proof
 
CMSC 56 | Lecture 8: Growth of Functions
CMSC 56 | Lecture 8: Growth of FunctionsCMSC 56 | Lecture 8: Growth of Functions
CMSC 56 | Lecture 8: Growth of Functions
 
Set in discrete mathematics
Set in discrete mathematicsSet in discrete mathematics
Set in discrete mathematics
 
Formal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical EquivalenceFormal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical Equivalence
 
CMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and StrategyCMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and Strategy
 
The Fundamental Counting Principle
The Fundamental Counting PrincipleThe Fundamental Counting Principle
The Fundamental Counting Principle
 
Ppt on polynomial
Ppt on polynomial Ppt on polynomial
Ppt on polynomial
 
Propositional Logic (Descreate Mathematics)
Propositional Logic (Descreate Mathematics)Propositional Logic (Descreate Mathematics)
Propositional Logic (Descreate Mathematics)
 
Rules of inference
Rules of inferenceRules of inference
Rules of inference
 
Recurrence relations
Recurrence relationsRecurrence relations
Recurrence relations
 
Lesson 3: Limit Laws
Lesson 3: Limit LawsLesson 3: Limit Laws
Lesson 3: Limit Laws
 
Predicates and Quantifiers
Predicates and Quantifiers Predicates and Quantifiers
Predicates and Quantifiers
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 

En vedette

Want to know about java
Want to know about javaWant to know about java
Want to know about java
adityamadgula
 
Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2
Ali Usman
 
Introduction to parliamentary debate
Introduction to parliamentary debateIntroduction to parliamentary debate
Introduction to parliamentary debate
Abhinandan Ray
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
guestd166eb5
 

En vedette (16)

MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDiscrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
 
Want to know about java
Want to know about javaWant to know about java
Want to know about java
 
Truth table
Truth tableTruth table
Truth table
 
Discrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional LogicDiscrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional Logic
 
Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2
 
Lec 02 logical eq (Discrete Mathematics)
Lec 02   logical eq (Discrete Mathematics)Lec 02   logical eq (Discrete Mathematics)
Lec 02 logical eq (Discrete Mathematics)
 
The logic
The logicThe logic
The logic
 
Truth tables complete and p1 of short method
Truth tables complete and p1 of short methodTruth tables complete and p1 of short method
Truth tables complete and p1 of short method
 
Introduction to parliamentary debate
Introduction to parliamentary debateIntroduction to parliamentary debate
Introduction to parliamentary debate
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
 
Propositions - Discrete Structures
Propositions - Discrete Structures Propositions - Discrete Structures
Propositions - Discrete Structures
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 

Similaire à Logic (slides)

Integers and matrices (slides)
Integers and matrices (slides)Integers and matrices (slides)
Integers and matrices (slides)
IIUM
 
Math induction principle (slides)
Math induction principle (slides)Math induction principle (slides)
Math induction principle (slides)
IIUM
 
Discrete Mathematics - All chapters
Discrete Mathematics - All chapters Discrete Mathematics - All chapters
Discrete Mathematics - All chapters
Omnia A. Abdullah
 

Similaire à Logic (slides) (20)

Relations digraphs
Relations  digraphsRelations  digraphs
Relations digraphs
 
Integers and matrices (slides)
Integers and matrices (slides)Integers and matrices (slides)
Integers and matrices (slides)
 
Math induction principle (slides)
Math induction principle (slides)Math induction principle (slides)
Math induction principle (slides)
 
Counting i (slides)
Counting i (slides)Counting i (slides)
Counting i (slides)
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Generalised Statistical Convergence For Double Sequences
Generalised Statistical Convergence For Double SequencesGeneralised Statistical Convergence For Double Sequences
Generalised Statistical Convergence For Double Sequences
 
UNDETERMINED COEFFICIENT
UNDETERMINED COEFFICIENTUNDETERMINED COEFFICIENT
UNDETERMINED COEFFICIENT
 
Discrete Mathematics - All chapters
Discrete Mathematics - All chapters Discrete Mathematics - All chapters
Discrete Mathematics - All chapters
 
Lecture Notes: EEEC4340318 Instrumentation and Control Systems - Stability a...
Lecture Notes:  EEEC4340318 Instrumentation and Control Systems - Stability a...Lecture Notes:  EEEC4340318 Instrumentation and Control Systems - Stability a...
Lecture Notes: EEEC4340318 Instrumentation and Control Systems - Stability a...
 
Matrix Transformations on Paranormed Sequence Spaces Related To De La Vallée-...
Matrix Transformations on Paranormed Sequence Spaces Related To De La Vallée-...Matrix Transformations on Paranormed Sequence Spaces Related To De La Vallée-...
Matrix Transformations on Paranormed Sequence Spaces Related To De La Vallée-...
 
L2.pdf
L2.pdfL2.pdf
L2.pdf
 
Module 1 (Part 1)-Sets and Number Systems.pdf
Module 1 (Part 1)-Sets and Number Systems.pdfModule 1 (Part 1)-Sets and Number Systems.pdf
Module 1 (Part 1)-Sets and Number Systems.pdf
 
Electrical circuit analysis
Electrical circuit analysisElectrical circuit analysis
Electrical circuit analysis
 
Uniformity of the Local Convergence of Chord Method for Generalized Equations
Uniformity of the Local Convergence of Chord Method for Generalized EquationsUniformity of the Local Convergence of Chord Method for Generalized Equations
Uniformity of the Local Convergence of Chord Method for Generalized Equations
 
ANALTICAL SOLUTIONS TO THE HEAT EQUATION USING THE INTEGRAL METHODS.pdf
ANALTICAL SOLUTIONS TO THE HEAT EQUATION USING THE INTEGRAL METHODS.pdfANALTICAL SOLUTIONS TO THE HEAT EQUATION USING THE INTEGRAL METHODS.pdf
ANALTICAL SOLUTIONS TO THE HEAT EQUATION USING THE INTEGRAL METHODS.pdf
 
Integral methods for the analytic solutions to the heat equation.pdf
Integral methods for the analytic solutions to the heat equation.pdfIntegral methods for the analytic solutions to the heat equation.pdf
Integral methods for the analytic solutions to the heat equation.pdf
 
HEAT CONDUCTION DEMYSTIFIED.pdf
HEAT CONDUCTION DEMYSTIFIED.pdfHEAT CONDUCTION DEMYSTIFIED.pdf
HEAT CONDUCTION DEMYSTIFIED.pdf
 
FUNDAMENTALS OF HEAT TRANSFER .pdf
FUNDAMENTALS OF HEAT TRANSFER .pdfFUNDAMENTALS OF HEAT TRANSFER .pdf
FUNDAMENTALS OF HEAT TRANSFER .pdf
 
Schwarzchild solution derivation
Schwarzchild solution derivationSchwarzchild solution derivation
Schwarzchild solution derivation
 
Integral dalam Bahasa Inggris
Integral dalam Bahasa InggrisIntegral dalam Bahasa Inggris
Integral dalam Bahasa Inggris
 

Plus de IIUM (20)

How to use_000webhost
How to use_000webhostHow to use_000webhost
How to use_000webhost
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Kreydle internship-multimedia
Kreydle internship-multimediaKreydle internship-multimedia
Kreydle internship-multimedia
 
03phpbldgblock
03phpbldgblock03phpbldgblock
03phpbldgblock
 
Chap2 practice key
Chap2 practice keyChap2 practice key
Chap2 practice key
 
Group p1
Group p1Group p1
Group p1
 
Tutorial import n auto pilot blogspot friendly seo
Tutorial import n auto pilot blogspot friendly seoTutorial import n auto pilot blogspot friendly seo
Tutorial import n auto pilot blogspot friendly seo
 
Visual sceneperception encycloperception-sage-oliva2009
Visual sceneperception encycloperception-sage-oliva2009Visual sceneperception encycloperception-sage-oliva2009
Visual sceneperception encycloperception-sage-oliva2009
 
03 the htm_lforms
03 the htm_lforms03 the htm_lforms
03 the htm_lforms
 
Exercise on algo analysis answer
Exercise on algo analysis   answerExercise on algo analysis   answer
Exercise on algo analysis answer
 
Redo midterm
Redo midtermRedo midterm
Redo midterm
 
Heaps
HeapsHeaps
Heaps
 
Report format
Report formatReport format
Report format
 
Edpuzzle guidelines
Edpuzzle guidelinesEdpuzzle guidelines
Edpuzzle guidelines
 
Final Exam Paper
Final Exam PaperFinal Exam Paper
Final Exam Paper
 
Final Exam Paper
Final Exam PaperFinal Exam Paper
Final Exam Paper
 
Group assignment 1 s21516
Group assignment 1 s21516Group assignment 1 s21516
Group assignment 1 s21516
 
Avl tree-rotations
Avl tree-rotationsAvl tree-rotations
Avl tree-rotations
 
Week12 graph
Week12   graph Week12   graph
Week12 graph
 

Dernier

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Dernier (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 

Logic (slides)

  • 2. Propositions and Logical Operations Definition: A statement or proposition is a declarative sentence that is either true (T) or false (F), but not both. Example: Which of the following are statements? a. It is raining. b. 2 + 3 = 5 c. Do you speak English? d. 3 − 𝑥𝑥 = 5 e. Take two aspirins. © S. Turaev, CSC 1700 Discrete Mathematics 2
  • 3. Propositions and Logical Operations  The letters 𝑝𝑝, 𝑞𝑞, 𝑟𝑟 are denote propositional variables • 𝑝𝑝: I am teaching. • 𝑞𝑞: 3 × 23 = 70  Compound statements: propositional variables combined by logical connectives (and, or, if … then, …): • 𝑝𝑝 and 𝑞𝑞. • 𝑝𝑝 or 𝑞𝑞. • If 𝑝𝑝 then 𝑞𝑞. 3© S. Turaev, CSC 1700 Discrete Mathematics
  • 4. Propositions and Logical Operations Definition: If 𝑝𝑝 is a statement, the negation of 𝑝𝑝 is the statement not 𝑝𝑝, denoted by ~𝑝𝑝 (sometimes, ¬𝑝𝑝, ̅𝑝𝑝). ~𝑝𝑝: “It is not the case that 𝑝𝑝”. Example:  𝑝𝑝: 2 + 3 > 1 ~𝑝𝑝:  𝑞𝑞: It is cold. ~𝑝𝑝: 4© S. Turaev, CSC 1700 Discrete Mathematics 𝑝𝑝 ~𝑝𝑝 T F F T
  • 5. Propositions and Logical Operations Definition: If 𝑝𝑝 and 𝑞𝑞 are statements, the conjunction of 𝑝𝑝 and 𝑞𝑞 is the compound statement 𝑝𝑝 and 𝑞𝑞, denoted by 𝑝𝑝 ∧ 𝑞𝑞. Example:  𝑝𝑝: It is raining. 𝑞𝑞: It is cold.  𝑝𝑝: 2 < 3. 𝑞𝑞: −3 < −2.  𝑝𝑝 ∧ 𝑞𝑞: 5© S. Turaev, CSC 1700 Discrete Mathematics 𝑝𝑝 𝑞𝑞 𝑝𝑝 ∧ 𝑞𝑞 T T T T F F F T F F F F
  • 6. Propositions and Logical Operations Definition: If 𝑝𝑝 and 𝑞𝑞 are statements, the disjunction of 𝑝𝑝 and 𝑞𝑞 is the compound statement 𝑝𝑝 or 𝑞𝑞, denoted by 𝑝𝑝 ∨ 𝑞𝑞. Example:  𝑝𝑝: It is raining. 𝑞𝑞: It is cold.  𝑝𝑝: 2 < 3. 𝑞𝑞: −3 < −2.  𝑝𝑝 ∨ 𝑞𝑞: 6© S. Turaev, CSC 1700 Discrete Mathematics 𝑝𝑝 𝑞𝑞 𝑝𝑝 ∧ 𝑞𝑞 T T T T F T F T T F F F
  • 7. Propositions and Logical Operations A compound statement may have many components: 𝑝𝑝 ∨ (𝑞𝑞 ∧ (~ 𝑝𝑝 ∧ 𝑟𝑟 )) Example: Make a truth table for 𝑝𝑝 ∧ 𝑞𝑞 ∨ ~𝑝𝑝. 7© S. Turaev, CSC 1700 Discrete Mathematics 𝑝𝑝 𝑞𝑞 𝑝𝑝 ∧ 𝑞𝑞 ~𝑝𝑝 ∨ T T T F F T F F
  • 8. Propositions and Logical Operations Definition: If 𝑝𝑝 and 𝑞𝑞 are statements, the compound statement “if 𝑝𝑝 then 𝑞𝑞”, denoted 𝑝𝑝 ⇒ 𝑞𝑞, is called a conditional statement or implication. The statement 𝑝𝑝 is called antecedent or hypothesis and 𝑞𝑞 is called the consequent or conclusion. Example:  𝑝𝑝: I am hungry. 𝑞𝑞: I will eat.  𝑝𝑝: It is snowing. 𝑞𝑞: 3 + 2 = 5.  𝑝𝑝 ⇒ 𝑞𝑞: 8© S. Turaev, CSC 1700 Discrete Mathematics 𝑝𝑝 𝑞𝑞 𝑝𝑝 ⇒ 𝑞𝑞 T T T T F F F T T F F T
  • 9. Propositions and Logical Operations Definition: If 𝑝𝑝 ⇒ 𝑞𝑞 is an implication, then  the converse of 𝑝𝑝 ⇒ 𝑞𝑞 is the implication 𝑞𝑞 ⇒ 𝑝𝑝  the inverse of 𝑝𝑝 ⇒ 𝑞𝑞 is the implication ~𝑝𝑝 ⇒ ~𝑞𝑞  the contrapositive of 𝑝𝑝 ⇒ 𝑞𝑞 is the implication ~𝑞𝑞 ⇒ ~𝑝𝑝 Example: 𝑝𝑝 ⇒ 𝑞𝑞: “If it is raining then I get wet” then 𝑞𝑞 ⇒ 𝑝𝑝, ~𝑝𝑝 ⇒ ~𝑞𝑞, ~𝑞𝑞 ⇒ ~𝑝𝑝? 9© S. Turaev, CSC 1700 Discrete Mathematics
  • 10. Propositions and Logical Operations Definition: If 𝑝𝑝 and 𝑞𝑞 are statements, the compound statement “𝑝𝑝 if and only if 𝑞𝑞”, denoted 𝑝𝑝 ⇔ 𝑞𝑞, is called an equivalence or biconditional. Example:  𝑝𝑝: 3 > 2. 𝑞𝑞: 0 < 3 − 2.  𝑝𝑝: It is snowing. 𝑞𝑞: 3 + 2 = 5.  𝑝𝑝 ⇔ 𝑞𝑞: 10© S. Turaev, CSC 1700 Discrete Mathematics 𝑝𝑝 𝑞𝑞 𝑝𝑝 ⇒ 𝑞𝑞 T T T T F F F T F F F T
  • 11. Propositions and Logical Operations Example: Compute the truth table of the statement 𝑝𝑝 ⇒ 𝑞𝑞 ⇔ (~𝑞𝑞 ⇒ ~𝑝𝑝) 11© S. Turaev, CSC 1700 Discrete Mathematics 𝑝𝑝 𝑞𝑞 𝑝𝑝 ⇒ 𝑞𝑞 ~𝑞𝑞 ~𝑝𝑝 ~𝑞𝑞 ⇒ ~𝑝𝑝 ⇔ T T T F F T F F
  • 12. Propositions and Logical Operations Definition: A statement that is true for all possible values of its propositional variables is called a tautology. Definition: A statement that is false for all possible values of its propositional variables is called a contradiction or an absurdity. Definition: A statement that can be either true or false for all possible values of its propositional variables is called contingency. 12© S. Turaev, CSC 1700 Discrete Mathematics
  • 13. Propositions and Logical Operations Example:  The statement 𝑝𝑝 ∨ ~𝑝𝑝:  The statement 𝑝𝑝 ∧ ~𝑝𝑝:  The statement 𝑝𝑝 ⇒ 𝑞𝑞 ∧ (𝑝𝑝 ∨ 𝑞𝑞): 13© S. Turaev, CSC 1700 Discrete Mathematics
  • 14. Propositions and Logical Operations Definition: We say that the statements 𝑝𝑝 and 𝑞𝑞 are logically equivalent (or simply equivalent), denoted by 𝑝𝑝 ≡ 𝑞𝑞, if 𝑝𝑝 ⇔ 𝑞𝑞 is tautology. Example: Show that  𝑝𝑝 ∨ 𝑞𝑞 ≡ 𝑞𝑞 ∨ 𝑝𝑝  𝑝𝑝 ⇒ 𝑞𝑞 ≡ ~𝑝𝑝 ∨ 𝑞𝑞 14© S. Turaev, CSC 1700 Discrete Mathematics
  • 15. Propositions and Logical Operations Definition: A predicate or a propositional function is a noun/verb phrase template that describes a property of objects, or a relationship among objects represented by the variables: Example: 𝑃𝑃 𝑥𝑥 : “𝑥𝑥 is integer less than 8.”  𝑃𝑃 1 =  𝑃𝑃 10 =  𝑃𝑃 −11 = 15© S. Turaev, CSC 1700 Discrete Mathematics
  • 16. Propositions and Logical Operations Definition: The universal quantification of a predicate 𝑃𝑃 𝑥𝑥 is the statement “For all values of 𝑥𝑥 (for every 𝑥𝑥, for each 𝑥𝑥, for any 𝑥𝑥), 𝑃𝑃 𝑥𝑥 is true” and is denoted by ∀𝑥𝑥𝑥𝑥 𝑥𝑥 . Example: 𝑃𝑃 𝑥𝑥 : “− −𝑥𝑥 = 𝑥𝑥” is a predicate that is true for all real numbers. ∀𝑥𝑥𝑥𝑥 𝑥𝑥 = Example: 𝑄𝑄 𝑥𝑥 : “𝑥𝑥 + 1 < 4”. ∀𝑥𝑥𝑥𝑥 𝑥𝑥 = 16© S. Turaev, CSC 1700 Discrete Mathematics
  • 17. Propositions and Logical Operations A predicate may contain several variables. Example: 𝑄𝑄 𝑥𝑥, 𝑦𝑦 : 𝑥𝑥 + 𝑦𝑦 = 𝑦𝑦 + 𝑥𝑥 ∀𝑥𝑥∀𝑦𝑦𝑦𝑦 𝑥𝑥, 𝑦𝑦 = Example: Write the following statement in the form of a predicate and quantifier: “The sum of any two integers is even number.” 17© S. Turaev, CSC 1700 Discrete Mathematics
  • 18. Propositions and Logical Operations Definition: The existential quantification of a predicate 𝑃𝑃 𝑥𝑥 is the statement “There exists a value of 𝑥𝑥, for which 𝑃𝑃 𝑥𝑥 is true” and is denoted by ∃𝑥𝑥𝑥𝑥 𝑥𝑥 . Example: 𝑃𝑃 𝑥𝑥 : “−𝑥𝑥 = 𝑥𝑥”. ∃𝑥𝑥𝑥𝑥 𝑥𝑥 = Example: 𝑄𝑄 𝑥𝑥 : “𝑥𝑥 + 1 < 4”. ∃𝑥𝑥𝑥𝑥 𝑥𝑥 = 18© S. Turaev, CSC 1700 Discrete Mathematics
  • 19. Algebraic Properties Commutative properties:  𝑝𝑝 ∨ 𝑞𝑞 ≡ 𝑞𝑞 ∨ 𝑝𝑝  𝑝𝑝 ∧ 𝑞𝑞 ≡ 𝑞𝑞 ∧ 𝑝𝑝 Associative properties:  𝑝𝑝 ∨ 𝑞𝑞 ∨ 𝑟𝑟 ≡ 𝑝𝑝 ∨ 𝑞𝑞 ∨ 𝑟𝑟  𝑝𝑝 ∧ 𝑞𝑞 ∧ 𝑟𝑟 ≡ 𝑝𝑝 ∧ 𝑞𝑞 ∧ 𝑟𝑟 Distributive properties:  𝑝𝑝 ∨ 𝑞𝑞 ∧ 𝑟𝑟 ≡ 𝑝𝑝 ∨ 𝑞𝑞 ∧ 𝑝𝑝 ∨ 𝑟𝑟  𝑝𝑝 ∧ 𝑞𝑞 ∨ 𝑟𝑟 ≡ 𝑝𝑝 ∧ 𝑞𝑞 ∨ 𝑝𝑝 ∧ 𝑟𝑟 19© S. Turaev, CSC 1700 Discrete Mathematics
  • 20. Algebraic Properties Idempotent properties:  𝑝𝑝 ∨ 𝑝𝑝 ≡ 𝑝𝑝  𝑝𝑝 ∧ 𝑝𝑝 ≡ 𝑝𝑝 Properties of negation:  ~(~𝑝𝑝) ≡ 𝑝𝑝  ~ 𝑝𝑝 ∨ 𝑞𝑞 ≡ ~𝑝𝑝 ∧ ~𝑞𝑞  ~ 𝑝𝑝 ∧ 𝑞𝑞 ≡ ~𝑝𝑝 ∨ ~𝑞𝑞 20© S. Turaev, CSC 1700 Discrete Mathematics
  • 21. Algebraic Properties Properties of implication:  𝑝𝑝 ⇒ 𝑞𝑞 ≡ ~𝑝𝑝 ∨ 𝑞𝑞  𝑝𝑝 ⇒ 𝑞𝑞 ≡ ~𝑞𝑞 ⇒ ~𝑝𝑝  𝑝𝑝 ⇔ 𝑞𝑞 ≡ 𝑝𝑝 ⇒ 𝑞𝑞 ∧ 𝑞𝑞 ⇒ 𝑝𝑝  ~ 𝑝𝑝 ⇒ 𝑞𝑞 ≡ 𝑝𝑝 ⇒ ~𝑞𝑞  ~ 𝑝𝑝 ⇔ 𝑞𝑞 ≡ 𝑝𝑝 ∧ ~𝑞𝑞 ∨ 𝑞𝑞 ∧ ~𝑝𝑝 21© S. Turaev, CSC 1700 Discrete Mathematics
  • 22. Algebraic Properties Properties of quantifiers:  ~ ∀𝑥𝑥𝑥𝑥 𝑥𝑥 ≡ ∃𝑥𝑥~𝑃𝑃 𝑥𝑥  ~ ∃𝑥𝑥𝑥𝑥 𝑥𝑥 ≡ ∀𝑥𝑥~𝑃𝑃 𝑥𝑥  ∃𝑥𝑥 𝑃𝑃 𝑥𝑥 ⇒ 𝑄𝑄 𝑥𝑥 ≡ ∀𝑥𝑥𝑥𝑥 𝑥𝑥 ⇒ ∃𝑥𝑥𝑥𝑥 𝑥𝑥  ∃𝑥𝑥 𝑃𝑃 𝑥𝑥 ∨ 𝑄𝑄 𝑥𝑥 ≡ ∃𝑥𝑥𝑥𝑥 𝑥𝑥 ∨ ∃𝑥𝑥𝑥𝑥 𝑥𝑥  ∀𝑥𝑥 𝑃𝑃 𝑥𝑥 ∧ 𝑄𝑄 𝑥𝑥 ≡ ∀𝑥𝑥𝑥𝑥 𝑥𝑥 ∧ ∀𝑥𝑥𝑥𝑥 𝑥𝑥  ∀𝑥𝑥𝑥𝑥 𝑥𝑥 ∨ ∀𝑥𝑥𝑥𝑥 𝑥𝑥 ⇒ ∀𝑥𝑥 𝑃𝑃 𝑥𝑥 ∨ 𝑄𝑄 𝑥𝑥  ∃𝑥𝑥 𝑃𝑃 𝑥𝑥 ∧ 𝑄𝑄 𝑥𝑥 ⇒ ∃𝑥𝑥𝑥𝑥 𝑥𝑥 ∨ ∃𝑥𝑥𝑥𝑥 𝑥𝑥 22© S. Turaev, CSC 1700 Discrete Mathematics
  • 23. Algebraic Properties Tautologies:  𝑝𝑝 ⇒ 𝑞𝑞 ∧ 𝑞𝑞 ⇒ 𝑟𝑟 ⇒ (𝑝𝑝 ⇒ 𝑟𝑟) 23© S. Turaev, CSC 1700 Discrete Mathematics  𝑝𝑝 ∧ 𝑞𝑞 ⇒ 𝑝𝑝  𝑝𝑝 ⇒ 𝑝𝑝 ∨ 𝑞𝑞  ~𝑝𝑝 ⇒ 𝑝𝑝 ⇒ 𝑞𝑞  𝑝𝑝 ∧ 𝑝𝑝 ⇒ 𝑞𝑞 ⇒ 𝑞𝑞  ~𝑞𝑞 ∧ 𝑝𝑝 ⇒ 𝑞𝑞 ⇒ ~𝑝𝑝  𝑝𝑝 ∧ 𝑞𝑞 ⇒ 𝑞𝑞  𝑞𝑞 ⇒ 𝑝𝑝 ∧ 𝑞𝑞  ~ 𝑝𝑝 ⇒ 𝑞𝑞 ⇒ 𝑝𝑝  ~𝑝𝑝 ∧ 𝑝𝑝 ∨ 𝑞𝑞 ⇒ 𝑞𝑞