SlideShare a Scribd company logo
Truth, Deduction,
Computation
Lecture 9
The Logic of Conditionals, and more
Vlad Patryshev
SCU
2013
Why do we need →
● they make proofs more meaningful
● e.g.
○
New Rules
● Modus Ponens (conditional elimination)
● Biconditional Elimination
● Contraposition
Modus Ponens

P
P → Q
Q
Biconditional Elimination

P
P ↔ Q
Q
Contraposition

P → Q
¬Q → ¬P
These are Tautologies

●
●
●
●
●

P→Q ⇔
P→Q ⇔
¬(P→Q)
P↔Q ⇔
P↔Q ⇔

¬Q→¬P
¬P∨Q
⇔ P∧¬Q
(P→Q)∧(Q→P)
(P∧Q)∨(¬P∧¬Q)
Conditional Proof
To prove P → Q, assume P and prove Q.
E.g., prove transitivity of →:
((P → Q)∧(Q → R)) → (P → R)
P

Q

P → Q

Q → R

Q

R
Conditional Proof
Or use contraposition (prove by contradiction):
To prove P → Q, assume ¬Q and prove ¬P.
E.g., prove that Even(n2) → Even(n):
1.
2.
3.
4.

Suppose n=2*m+1
then n2=4*...+1 - it is odd.
We got ¬Even(n2) → ¬Even(n)
Apply contraposition
Biconditional Proof
To prove P↔Q, prove P → Q and Q → P, then
use ∧-Intro, since P↔Q ⇔ (P→Q)∧(Q→P).
More, since → is transitive, and you have
Q1→Q2, Q2→Q3,..., Qn→Q1, you can prove
Qi→Qj for each i and j, and so have Qi↔Qj.
Examples (8.1) (not all are good)
●
●
●
●
●
●
●
●

Affirming the Consequent
From A → B and B, infer A.
Modus Tollens
From A → B and ¬B, infer ¬A.
Strengthening the Antecedent
From B → C, infer (A ∧ B) → C.
Weakening the Antecedent
From B → C, infer (A ∨ B) → C.
Strengthening the Consequent
From A → B, infer A → (B ∧ C).
Weakening the Consequent
From A → B, infer A → (B ∨ C).
Constructive Dilemma
From A∨B, A→C,and B→D,infer C∨D.
Transitivity of the Biconditional
From A ↔ B and B ↔ C, infer A ↔ C.
And now… Formal rules for → and ↔
●
●
●
●

→
→
↔
↔

Elim
Intro
Elim
Intro
Conditional Rules
→ Elim
P→Q
P
Q

→
Intro
P
Q
P→Q
Biconditional Rules
↔ Elim
P↔Q
P
Q

↔
Intro
P
Q
Q
P
P→Q
Soundness and Completeness
● Logical system is sound if any sentence that
can be deduced in this system, using sound
arguments, is true (in the world’s semantics)
● Logical system is complete if any sentence
that is true (in the world’s semantics) can be
deduced
Two More Symbols

●
●

P1..Pn ⊢ Q - a proof exists for Q from premises P1..Pn
P1..Pn ⊨ Q - P1..Pn, taken together, semantically entail Q

Examples
A → B ⊢ ¬B → ¬A
⊥, A ⊢ ¬B
Round(x) ⊨ ¬Cube(x)
Home(clara) && InTheLibrary(clara) ⊨ LivesInTheLibrary(clara)
Soundness of FT
●
●

FT - a subsystem of F that consists of intro/elim for ¬, ∨,
∧, →, ↔, and ⊥.
P1..Pn ⊢T Q - a proof exists for Q from premises P1..Pn

Soundness Theorem for FT.
If P1,...,Pn ⊢T S then S is a tautological consequence of P1,...,
P n.

(do we really need to prove it?)
Completeness of FT

Is FT complete, really?!
An Interesting Example
That’s it for today

More Related Content

PDF
NAND and NOR connectives
PDF
Formal Logic - Lesson 7 - Rules of Inference
PDF
Mit2 092 f09_lec12
PDF
Logic and proof
PDF
Formal Logic - Lesson 6 - Switching Circuits
PDF
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
PDF
Formal Logic - Lesson 5 - Logical Equivalence
PDF
015 canonical tranformation ii
NAND and NOR connectives
Formal Logic - Lesson 7 - Rules of Inference
Mit2 092 f09_lec12
Logic and proof
Formal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 5 - Logical Equivalence
015 canonical tranformation ii

What's hot (19)

PPTX
Inverse variation word problem
PDF
AA Section 2-2
PPT
11.1
PPTX
Solving problems involving direct variation
PDF
Zero. Probabilystic Foundation of Theoretyical Physics
PPT
Variations
PDF
Combined Variation
PDF
Regular Convolutions on  , C 
PPTX
Propositional logic
PDF
Truth, deduction, computation lecture 6
DOCX
Methods to determine pressure drop in an evaporator or a condenser
PDF
Numerical experiments with plectic Stark-Heegner points
DOCX
PDF
Towards a theory of p-adic singular moduli attached to global fields
PPTX
Magneto Hydrostatic Equation & Magneto Hydrostatic Pressure
PPTX
Joint variation final
DOCX
Exercise 1
PPTX
Propositional Logic (Descreate Mathematics)
Inverse variation word problem
AA Section 2-2
11.1
Solving problems involving direct variation
Zero. Probabilystic Foundation of Theoretyical Physics
Variations
Combined Variation
Regular Convolutions on  , C 
Propositional logic
Truth, deduction, computation lecture 6
Methods to determine pressure drop in an evaporator or a condenser
Numerical experiments with plectic Stark-Heegner points
Towards a theory of p-adic singular moduli attached to global fields
Magneto Hydrostatic Equation & Magneto Hydrostatic Pressure
Joint variation final
Exercise 1
Propositional Logic (Descreate Mathematics)
Ad

Similar to Truth, deduction, computation lecture 9 (20)

PDF
Chapter1p1.pdf
PPTX
Chapter1p1
PPTX
Drinkfromme.pptx
PDF
Chapter 01 - p1.pdf
PDF
PDF
Propositional Logic Discrete Mathematics
PPTX
Logic - Logical Propositions
PPT
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
PPTX
DisMath-lecture-2-Logic-and-Proofs-08032022-115009am.pptx
PPT
PropositionalLogic.ppt
PDF
Math nha ae la math do nha, nen xem xet coi cung hay lam a
PPTX
Chapter1 part1 : PROPOSITIONAL LOGIC || DISCRETE MATHEMATICS
PPT
cs344-lect4-logic-14jan08.ppt
PPTX
Chapter1p1.pptx
PPTX
Chapter1p1 2.pptx
DOCX
Propositional logic is a good vehicle to introduce basic properties of logic
PDF
Propositional logic class 2 of AI/ Ml for Diploma students
PDF
Course notes1
PPTX
basic LOGICAL SYMBOLS IN DISCRETE MATHEMATICS (1).pptx
PDF
Chapter1p1.pdf
Chapter1p1
Drinkfromme.pptx
Chapter 01 - p1.pdf
Propositional Logic Discrete Mathematics
Logic - Logical Propositions
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
DisMath-lecture-2-Logic-and-Proofs-08032022-115009am.pptx
PropositionalLogic.ppt
Math nha ae la math do nha, nen xem xet coi cung hay lam a
Chapter1 part1 : PROPOSITIONAL LOGIC || DISCRETE MATHEMATICS
cs344-lect4-logic-14jan08.ppt
Chapter1p1.pptx
Chapter1p1 2.pptx
Propositional logic is a good vehicle to introduce basic properties of logic
Propositional logic class 2 of AI/ Ml for Diploma students
Course notes1
basic LOGICAL SYMBOLS IN DISCRETE MATHEMATICS (1).pptx
Ad

More from Vlad Patryshev (20)

PDF
Formal methods 8 - category theory (last one)
PDF
Formal methods 6 - elements of algebra
PPTX
Formal methods 5 - Pi calculus
PDF
Formal methods 4 - Z notation
PPTX
Formal methods 3 - languages and machines
PPTX
Formal methods 2 - languages and machines
PPTX
Formal methods 1 - introduction
PPTX
Formal methods 7 - category theory
PDF
Truth, deduction, computation lecture i (last one)
PDF
Truth, deduction, computation lecture h
PDF
Truth, deduction, computation lecture g
PDF
Truth, deduction, computation lecture f
PDF
Truth, deduction, computation lecture e
PDF
Truth, deduction, computation lecture d
PDF
Truth, deduction, computation lecture c
PDF
Truth, deduction, computation lecture b
PDF
Truth, deduction, computation lecture a
PDF
Truth, deduction, computation lecture 8
PDF
Truth, deduction, computation lecture 7
PDF
Truth, deduction, computation; lecture 5
Formal methods 8 - category theory (last one)
Formal methods 6 - elements of algebra
Formal methods 5 - Pi calculus
Formal methods 4 - Z notation
Formal methods 3 - languages and machines
Formal methods 2 - languages and machines
Formal methods 1 - introduction
Formal methods 7 - category theory
Truth, deduction, computation lecture i (last one)
Truth, deduction, computation lecture h
Truth, deduction, computation lecture g
Truth, deduction, computation lecture f
Truth, deduction, computation lecture e
Truth, deduction, computation lecture d
Truth, deduction, computation lecture c
Truth, deduction, computation lecture b
Truth, deduction, computation lecture a
Truth, deduction, computation lecture 8
Truth, deduction, computation lecture 7
Truth, deduction, computation; lecture 5

Recently uploaded (20)

PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Insiders guide to clinical Medicine.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
O7-L3 Supply Chain Operations - ICLT Program
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
01-Introduction-to-Information-Management.pdf
Microbial diseases, their pathogenesis and prophylaxis
Abdominal Access Techniques with Prof. Dr. R K Mishra
Week 4 Term 3 Study Techniques revisited.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Complications of Minimal Access Surgery at WLH
TR - Agricultural Crops Production NC III.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
102 student loan defaulters named and shamed – Is someone you know on the list?
Insiders guide to clinical Medicine.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Cell Types and Its function , kingdom of life
O7-L3 Supply Chain Operations - ICLT Program

Truth, deduction, computation lecture 9

  • 1. Truth, Deduction, Computation Lecture 9 The Logic of Conditionals, and more Vlad Patryshev SCU 2013
  • 2. Why do we need → ● they make proofs more meaningful ● e.g. ○
  • 3. New Rules ● Modus Ponens (conditional elimination) ● Biconditional Elimination ● Contraposition
  • 7. These are Tautologies ● ● ● ● ● P→Q ⇔ P→Q ⇔ ¬(P→Q) P↔Q ⇔ P↔Q ⇔ ¬Q→¬P ¬P∨Q ⇔ P∧¬Q (P→Q)∧(Q→P) (P∧Q)∨(¬P∧¬Q)
  • 8. Conditional Proof To prove P → Q, assume P and prove Q. E.g., prove transitivity of →: ((P → Q)∧(Q → R)) → (P → R) P Q P → Q Q → R Q R
  • 9. Conditional Proof Or use contraposition (prove by contradiction): To prove P → Q, assume ¬Q and prove ¬P. E.g., prove that Even(n2) → Even(n): 1. 2. 3. 4. Suppose n=2*m+1 then n2=4*...+1 - it is odd. We got ¬Even(n2) → ¬Even(n) Apply contraposition
  • 10. Biconditional Proof To prove P↔Q, prove P → Q and Q → P, then use ∧-Intro, since P↔Q ⇔ (P→Q)∧(Q→P). More, since → is transitive, and you have Q1→Q2, Q2→Q3,..., Qn→Q1, you can prove Qi→Qj for each i and j, and so have Qi↔Qj.
  • 11. Examples (8.1) (not all are good) ● ● ● ● ● ● ● ● Affirming the Consequent From A → B and B, infer A. Modus Tollens From A → B and ¬B, infer ¬A. Strengthening the Antecedent From B → C, infer (A ∧ B) → C. Weakening the Antecedent From B → C, infer (A ∨ B) → C. Strengthening the Consequent From A → B, infer A → (B ∧ C). Weakening the Consequent From A → B, infer A → (B ∨ C). Constructive Dilemma From A∨B, A→C,and B→D,infer C∨D. Transitivity of the Biconditional From A ↔ B and B ↔ C, infer A ↔ C.
  • 12. And now… Formal rules for → and ↔ ● ● ● ● → → ↔ ↔ Elim Intro Elim Intro
  • 15. Soundness and Completeness ● Logical system is sound if any sentence that can be deduced in this system, using sound arguments, is true (in the world’s semantics) ● Logical system is complete if any sentence that is true (in the world’s semantics) can be deduced
  • 16. Two More Symbols ● ● P1..Pn ⊢ Q - a proof exists for Q from premises P1..Pn P1..Pn ⊨ Q - P1..Pn, taken together, semantically entail Q Examples A → B ⊢ ¬B → ¬A ⊥, A ⊢ ¬B Round(x) ⊨ ¬Cube(x) Home(clara) && InTheLibrary(clara) ⊨ LivesInTheLibrary(clara)
  • 17. Soundness of FT ● ● FT - a subsystem of F that consists of intro/elim for ¬, ∨, ∧, →, ↔, and ⊥. P1..Pn ⊢T Q - a proof exists for Q from premises P1..Pn Soundness Theorem for FT. If P1,...,Pn ⊢T S then S is a tautological consequence of P1,..., P n. (do we really need to prove it?)
  • 18. Completeness of FT Is FT complete, really?!