SlideShare a Scribd company logo
Truth, Deduction,
Computation
Lecture C
Quantifiers, part 2 (desperation)
Vlad Patryshev
SCU
2013
Remindштп Aristotelian Forms
Aristotle says

We write

All P’s are Q’s

∀x (P(x) → Q(x))

Some P’s are Q’s

∃x (P(x) ∧ Q(x))

No P’s are Q’s

∀x (P(x) → ¬Q(x))

Some P’s are not Q’s

∃x (P(x) ∧ ¬Q(x))
Now, by the way…
Why is our logic “first order”?
Because we can vary objects, but not
properties.
● ∃x Good(x)
● ∃P P(scruffy)
If we can vary formulas, we have “second
order”
Quantifiers are not easy
∀x (Cube(x)→Small(x))
∀x Cube(x)
∀x Small(x)
(this one works… but not tautologically?)
You can check it, assume there are just x0 and x1...
Quantifiers are not easy
Say, x can be a or b
(Cube(x)→Small(x))
Cube(x)
Small(x)
(this one works!)
Quantifiers are not easy
∀x Cube(x)
∀x Small(x)
∀x Cube(x)∧Small(x)
(this one works too… but not tautologically?)
Can we do the same trick?
Quantifiers are not easy
∃x (Cube(x)→Small(x))
∃x Cube(x)
∃x Small(x)
(this one works… but not tautologically?)
Can we do the same trick?
Quantifiers are not easy
∃x Cube(x)
∃x Small(x)
∃x Cube(x)∧Small(x)
(oops, this one is no good!)
Can we check?
Quantifiers are not easy
Say, x can be a or b
Cube(a)∨Cube(b)
Small(a)∨Small(b)
(Cube(a)∧Small(a))∨(Cube(b)∧Small(a))
oops, this one is no good!
Even the book can have it wrong...

How about ∃x (x=x)?
Compare these two:
● ∀x Cube(x) ∨ ∀x ¬Cube(x)
● ∀x Cube(x) ∨ ¬∀x Cube(x)
(what would Aristotle say?)
While Exercising: Reduce Complexity
∃y(P(y)∨R(y))→∀x(P(x)∧Q(x)))→(¬∀x(P(x)∧Q(x))→¬∃y(P(y)∨R
(y)))

follows from
(A→B) → (¬B→¬A)
which is a tautology
This refactoring (known as “introduce a variable”) is
called in the book
Example of such reduction
Problems with Tautology
Does not work in FOL
Propositional
Logic

FOL

Vague General
Notion of
Truthfulness

Tautology

FO validity

Logical truth

Tautological
consequence

FO consequence Logical
consequence

Tautological
equivalence

FO equivalence

Logical
equivalence
Examples of FOL validity
1.
2.
3.
4.

∀x SameSize(x,x)
∀x Cube(x)→ Cube(b)
(Cube(b) ∧ b=c) → Cube(c)
Small(b) ∧ SameSize(b,c) → Small(c)

Are these valid?

1.
2.
3.
4.

∀x UgyanolyanMéretű(x,x)
∀x Куб(x)→ Куб(b)
(კუბური(b) ∧ b=c) → კუბური(c)
小(b) ∧ UgyanolyanMéretű(b,c) → 小(c)

Are these valid?
“replacement method” - step 1

Is it valid?

Is it valid?
“replacement method” - step 2

Is it valid?

Can we find a counterexample?
(Not applicable this specific
example!)
Ok, let’s try exercise 10.10
DeMorgan laws and quantifiers
● Can apply them from outside:
○ ¬(∃x Cube(x) ∧ ∀y Dodec(y))
is tautologically equivalent to
○ ¬∃x Cube(x) ∨ ¬∀y Dodec(y)

● Can apply them from inside:
○ ∀x (Cube(x) → Small(x))
is tautologically equivalent to
○ ∀x(¬Small(x) → ¬Cube(x))
(can “prove it” by assuming the opposite)
Substitution of Equivalent WFF

If P ⇔ Q,
then S(P) ⇔ S(Q)
DeMorgan Law for Quantifiers
That’s it for today

More Related Content

What's hot (16)

PDF
Int Math 2 Section 8-5
Jimbo Lamb
 
PDF
Overall Viscoelastic Properties of Fiber-Reinforced Hierarchical Composites
Oscar L. Cruz González
 
PDF
Existence Theory for Second Order Nonlinear Functional Random Differential Eq...
IOSR Journals
 
PDF
Shannon’s Information Measures and Markov Structures
InfoEngg CUHK
 
PPT
Fem 3d solid
Harshil Bhuva
 
PDF
Some Other Properties of Fuzzy Filters on Lattice Implication Algebras
ijceronline
 
PDF
On Uq(sl2)-actions on the quantum plane
Steven Duplij (Stepan Douplii)
 
PDF
Classification of Uq(sl2)-module algebra structures on the quantum plane
Steven Duplij (Stepan Douplii)
 
PDF
Common Fixed Point Theorems in Uniform Spaces
IJLT EMAS
 
PPT
Top schools in noida
Css Founder
 
PDF
COMMON FIXED POINT THEOREMS IN COMPATIBLE MAPPINGS OF TYPE (P*) OF GENERALIZE...
mathsjournal
 
PPTX
Fractal Geometry
M H
 
PPT
Matrices ii
Solo Hermelin
 
PDF
Stability of Iteration for Some General Operators in b-Metric
Komal Goyal
 
PDF
Retract100115
Margaret Stawiska Friedland
 
PDF
A unique common fixed point theorem for four
Alexander Decker
 
Int Math 2 Section 8-5
Jimbo Lamb
 
Overall Viscoelastic Properties of Fiber-Reinforced Hierarchical Composites
Oscar L. Cruz González
 
Existence Theory for Second Order Nonlinear Functional Random Differential Eq...
IOSR Journals
 
Shannon’s Information Measures and Markov Structures
InfoEngg CUHK
 
Fem 3d solid
Harshil Bhuva
 
Some Other Properties of Fuzzy Filters on Lattice Implication Algebras
ijceronline
 
On Uq(sl2)-actions on the quantum plane
Steven Duplij (Stepan Douplii)
 
Classification of Uq(sl2)-module algebra structures on the quantum plane
Steven Duplij (Stepan Douplii)
 
Common Fixed Point Theorems in Uniform Spaces
IJLT EMAS
 
Top schools in noida
Css Founder
 
COMMON FIXED POINT THEOREMS IN COMPATIBLE MAPPINGS OF TYPE (P*) OF GENERALIZE...
mathsjournal
 
Fractal Geometry
M H
 
Matrices ii
Solo Hermelin
 
Stability of Iteration for Some General Operators in b-Metric
Komal Goyal
 
A unique common fixed point theorem for four
Alexander Decker
 

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

PDF
Course notes2summer2012
Von Adam Martinez
 
PPT
First_Order_Logic In Discrete Mathematics
ssuserb399fd
 
PDF
Chapter 01 - p2.pdf
smarwaneid
 
PPTX
Module_5_1.pptx
DrKalaavathiBuvanesh
 
PPTX
Chapter1p2.pptx
sneha510051
 
PPT
3 fol examples v2
Digvijay Singh
 
PDF
Truth, deduction, computation lecture b
Vlad Patryshev
 
PPTX
AI_05_First Order Logic.pptx
Yousef Aburawi
 
PPT
Discrete Math Lecture 02: First Order Logic
IT Engineering Department
 
PPTX
m.a.t.h.e.m.a.t.i.c.s.d.i.s.c.r.e.t.e.pptx
ImeeCabactulan2
 
PPT
X02PredCalculus.ppt
MalligaarjunanN
 
PPTX
CMSC 56 | Lecture 3: Predicates & Quantifiers
allyn joy calcaben
 
PPTX
Unit 1 quantifiers
raksharao
 
PPTX
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
JessylyneSophia
 
PPT
Predicate logic_2(Artificial Intelligence)
SHUBHAM KUMAR GUPTA
 
PDF
DISMATH_Part1
Melvin Cabatuan
 
PDF
Lecture 2 predicates quantifiers and rules of inference
asimnawaz54
 
PPTX
Lecture in the topic of Predicate Calculus.pptx
Kamal El-Saady
 
PPTX
Nested Quantifiers.pptx
Jeevan225779
 
PPT
02-boolean.ppt
RyanAnderson41811
 
Course notes2summer2012
Von Adam Martinez
 
First_Order_Logic In Discrete Mathematics
ssuserb399fd
 
Chapter 01 - p2.pdf
smarwaneid
 
Module_5_1.pptx
DrKalaavathiBuvanesh
 
Chapter1p2.pptx
sneha510051
 
3 fol examples v2
Digvijay Singh
 
Truth, deduction, computation lecture b
Vlad Patryshev
 
AI_05_First Order Logic.pptx
Yousef Aburawi
 
Discrete Math Lecture 02: First Order Logic
IT Engineering Department
 
m.a.t.h.e.m.a.t.i.c.s.d.i.s.c.r.e.t.e.pptx
ImeeCabactulan2
 
X02PredCalculus.ppt
MalligaarjunanN
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
allyn joy calcaben
 
Unit 1 quantifiers
raksharao
 
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
JessylyneSophia
 
Predicate logic_2(Artificial Intelligence)
SHUBHAM KUMAR GUPTA
 
DISMATH_Part1
Melvin Cabatuan
 
Lecture 2 predicates quantifiers and rules of inference
asimnawaz54
 
Lecture in the topic of Predicate Calculus.pptx
Kamal El-Saady
 
Nested Quantifiers.pptx
Jeevan225779
 
02-boolean.ppt
RyanAnderson41811
 
Ad

More from Vlad Patryshev (20)

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

Recently uploaded (20)

PPTX
Difference between write and update in odoo 18
Celine George
 
PDF
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
PDF
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PDF
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
PPTX
TRANSLATIONAL AND ROTATIONAL MOTION.pptx
KIPAIZAGABAWA1
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PPTX
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
epi editorial commitee meeting presentation
MIPLM
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PPTX
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
Difference between write and update in odoo 18
Celine George
 
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
infertility, types,causes, impact, and management
Ritu480198
 
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
TRANSLATIONAL AND ROTATIONAL MOTION.pptx
KIPAIZAGABAWA1
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
epi editorial commitee meeting presentation
MIPLM
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
Controller Request and Response in Odoo18
Celine George
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 

Truth, deduction, computation lecture c

  • 1. Truth, Deduction, Computation Lecture C Quantifiers, part 2 (desperation) Vlad Patryshev SCU 2013
  • 2. Remindштп Aristotelian Forms Aristotle says We write All P’s are Q’s ∀x (P(x) → Q(x)) Some P’s are Q’s ∃x (P(x) ∧ Q(x)) No P’s are Q’s ∀x (P(x) → ¬Q(x)) Some P’s are not Q’s ∃x (P(x) ∧ ¬Q(x))
  • 3. Now, by the way… Why is our logic “first order”? Because we can vary objects, but not properties. ● ∃x Good(x) ● ∃P P(scruffy) If we can vary formulas, we have “second order”
  • 4. Quantifiers are not easy ∀x (Cube(x)→Small(x)) ∀x Cube(x) ∀x Small(x) (this one works… but not tautologically?) You can check it, assume there are just x0 and x1...
  • 5. Quantifiers are not easy Say, x can be a or b (Cube(x)→Small(x)) Cube(x) Small(x) (this one works!)
  • 6. Quantifiers are not easy ∀x Cube(x) ∀x Small(x) ∀x Cube(x)∧Small(x) (this one works too… but not tautologically?) Can we do the same trick?
  • 7. Quantifiers are not easy ∃x (Cube(x)→Small(x)) ∃x Cube(x) ∃x Small(x) (this one works… but not tautologically?) Can we do the same trick?
  • 8. Quantifiers are not easy ∃x Cube(x) ∃x Small(x) ∃x Cube(x)∧Small(x) (oops, this one is no good!) Can we check?
  • 9. Quantifiers are not easy Say, x can be a or b Cube(a)∨Cube(b) Small(a)∨Small(b) (Cube(a)∧Small(a))∨(Cube(b)∧Small(a)) oops, this one is no good!
  • 10. Even the book can have it wrong... How about ∃x (x=x)?
  • 11. Compare these two: ● ∀x Cube(x) ∨ ∀x ¬Cube(x) ● ∀x Cube(x) ∨ ¬∀x Cube(x) (what would Aristotle say?)
  • 12. While Exercising: Reduce Complexity ∃y(P(y)∨R(y))→∀x(P(x)∧Q(x)))→(¬∀x(P(x)∧Q(x))→¬∃y(P(y)∨R (y))) follows from (A→B) → (¬B→¬A) which is a tautology This refactoring (known as “introduce a variable”) is called in the book
  • 13. Example of such reduction
  • 14. Problems with Tautology Does not work in FOL Propositional Logic FOL Vague General Notion of Truthfulness Tautology FO validity Logical truth Tautological consequence FO consequence Logical consequence Tautological equivalence FO equivalence Logical equivalence
  • 15. Examples of FOL validity 1. 2. 3. 4. ∀x SameSize(x,x) ∀x Cube(x)→ Cube(b) (Cube(b) ∧ b=c) → Cube(c) Small(b) ∧ SameSize(b,c) → Small(c) Are these valid? 1. 2. 3. 4. ∀x UgyanolyanMéretű(x,x) ∀x Куб(x)→ Куб(b) (კუბური(b) ∧ b=c) → კუბური(c) 小(b) ∧ UgyanolyanMéretű(b,c) → 小(c) Are these valid?
  • 16. “replacement method” - step 1 Is it valid? Is it valid?
  • 17. “replacement method” - step 2 Is it valid? Can we find a counterexample? (Not applicable this specific example!)
  • 18. Ok, let’s try exercise 10.10
  • 19. DeMorgan laws and quantifiers ● Can apply them from outside: ○ ¬(∃x Cube(x) ∧ ∀y Dodec(y)) is tautologically equivalent to ○ ¬∃x Cube(x) ∨ ¬∀y Dodec(y) ● Can apply them from inside: ○ ∀x (Cube(x) → Small(x)) is tautologically equivalent to ○ ∀x(¬Small(x) → ¬Cube(x)) (can “prove it” by assuming the opposite)
  • 20. Substitution of Equivalent WFF If P ⇔ Q, then S(P) ⇔ S(Q)
  • 21. DeMorgan Law for Quantifiers