SlideShare una empresa de Scribd logo
1 de 21
Descargar para leer sin conexión
Truth, Deduction,
Computation
Lecture D
Quantifiers, part 3 (almost there)
Vlad Patryshev
SCU
2013
Can we express “there’s only one”?
● ∃
same as

● ∃

∧ ∀

→

“quantifier” - a tool for measuring quantity;
“some”, “all”, “just one” - look like ancient
ways of counting people or stuff… or Gods.
Translating English → FOL
English
Each cube is to the left of a
tetrahedron
No cube to the right of a
tetrahedron is to the left of a
tetrahedron
Every farmer who owns a
donkey beats it.

∀
∃

→ ∃
∧ ∃
∃

∧
∧
∧

∀
∧ ∃
then what? bad… try again!
∀
→
∀
∧

∧

→

Only large objects have nothing
in front of them
Every minute a man is mugged
in NYC. We will interview him
tonight.

∀
or
∃

→ ∃
∧ ∀

∧

∧

→
Try 11.27
Function ---> Predicate
can be represented as

or
∀

∀

→
Prenex Normal Form of WFF

A sentence is in prenex form if all its quantifiers
are at the beginning of it.

But is it possible?!

source: https://en.wikipedia.org/wiki/Prenex_normal_form
Steps to Convert a WFF to PNF
1. Conjunction

●

∀

∧

⇔ ∀

∧

●

∃

∧

⇔ ∃

∧
Steps to Convert a WFF to PNF
2. Disjunction

●

∀

∨

⇔ ∀

∨

●

∃

∨

⇔ ∃

∨
Steps to Convert a WFF to PNF
3. Implication

●
●

→ ∀
→ ∃

⇔ ∀
⇔ ∃
Really?

→
→
Steps to Convert a WFF to PNF
4. Implication

●

∀

→

⇔ ∃

→

●

∃

→

⇔ ∀

→

Really?
Steps to Convert a WFF to PNF
5. Negation (follows from 4, actually.)

●
●

∀
∃

⇔ ∃
⇔ ∀
PNF Example
“if a cube is to the left of a tet, it’s behind a dodec”

“if a cube is to the left of tet, it’s behind a dodec”
Proofs in FOL
Universal Elimination

∀

⊢
Proofs in FOL
Existential Introduction

⊢ ∃

(aka generalization)
Proofs in FOL
Existential Elimination (aka Instantiation)

1. Suppose ∃
2. Invent a name (e.g. ) for such an
3.
Proofs in FOL
Existential Elimination (aka Instantiation)
Proofs in FOL
General Conditional Proof

● To prove ⊢ ∀
→
● Introduce a new name, e.g. , to
denote anything satisfying
● Prove
⊢
● Profit
(this is not a “rule”, this is a trick with substitutions)
Proofs in FOL
Universal Introduction

1. ∀
2. ∀
3. ∀

(aka Generalization)

→

do you see modus ponens and prenex form transformations?
Example (12.2)
Twas brillig, and the slithy toves
Did gyre and gimble in the wabe:
All mimsy were the borogoves,
And the mome raths outgrabe.
How about mixing quantifiers?...
That’s it for today

Más contenido relacionado

Destacado

experiment to determine the numerical aperture of an optical fibre..
experiment to determine the numerical aperture  of an optical fibre..experiment to determine the numerical aperture  of an optical fibre..
experiment to determine the numerical aperture of an optical fibre..
sourabhrana21
 
Presentation on data communication
Presentation on data communicationPresentation on data communication
Presentation on data communication
Harpreet Dhaliwal
 

Destacado (13)

experiment to determine the numerical aperture of an optical fibre..
experiment to determine the numerical aperture  of an optical fibre..experiment to determine the numerical aperture  of an optical fibre..
experiment to determine the numerical aperture of an optical fibre..
 
2d transformations
2d transformations2d transformations
2d transformations
 
Fiber Optics
Fiber OpticsFiber Optics
Fiber Optics
 
Satellite ppt
Satellite pptSatellite ppt
Satellite ppt
 
Eeg examples
Eeg examplesEeg examples
Eeg examples
 
Geometric transformation 2d chapter 5
Geometric transformation 2d   chapter 5Geometric transformation 2d   chapter 5
Geometric transformation 2d chapter 5
 
Data communication - Lecture-01
Data communication - Lecture-01 Data communication - Lecture-01
Data communication - Lecture-01
 
FDMA-TDMA-CDMA
FDMA-TDMA-CDMAFDMA-TDMA-CDMA
FDMA-TDMA-CDMA
 
Transmission Media
Transmission MediaTransmission Media
Transmission Media
 
Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital Transmission
 
Presentation on data communication
Presentation on data communicationPresentation on data communication
Presentation on data communication
 
Multiple access techniques for wireless communications
Multiple access techniques for wireless communicationsMultiple access techniques for wireless communications
Multiple access techniques for wireless communications
 
Data communication (simple explanation)
Data communication (simple explanation)Data communication (simple explanation)
Data communication (simple explanation)
 

Más de Vlad Patryshev

Más de Vlad Patryshev (20)

Formal methods 8 - category theory (last one)
Formal methods   8 - category theory (last one)Formal methods   8 - category theory (last one)
Formal methods 8 - category theory (last one)
 
Formal methods 6 - elements of algebra
Formal methods   6 - elements of algebraFormal methods   6 - elements of algebra
Formal methods 6 - elements of algebra
 
Formal methods 5 - Pi calculus
Formal methods   5 - Pi calculusFormal methods   5 - Pi calculus
Formal methods 5 - Pi calculus
 
Formal methods 4 - Z notation
Formal methods   4 - Z notationFormal methods   4 - Z notation
Formal methods 4 - Z notation
 
Formal methods 3 - languages and machines
Formal methods   3 - languages and machinesFormal methods   3 - languages and machines
Formal methods 3 - languages and machines
 
Formal methods 2 - languages and machines
Formal methods   2 - languages and machinesFormal methods   2 - languages and machines
Formal methods 2 - languages and machines
 
Formal methods 1 - introduction
Formal methods   1 - introductionFormal methods   1 - introduction
Formal methods 1 - introduction
 
Formal methods 7 - category theory
Formal methods   7 - category theoryFormal methods   7 - category theory
Formal methods 7 - category theory
 
Truth, deduction, computation lecture i (last one)
Truth, deduction, computation   lecture i (last one)Truth, deduction, computation   lecture i (last one)
Truth, deduction, computation lecture i (last one)
 
Truth, deduction, computation lecture h
Truth, deduction, computation   lecture hTruth, deduction, computation   lecture h
Truth, deduction, computation lecture h
 
Truth, deduction, computation lecture g
Truth, deduction, computation   lecture gTruth, deduction, computation   lecture g
Truth, deduction, computation lecture g
 
Truth, deduction, computation lecture f
Truth, deduction, computation   lecture fTruth, deduction, computation   lecture f
Truth, deduction, computation lecture f
 
Truth, deduction, computation lecture e
Truth, deduction, computation   lecture eTruth, deduction, computation   lecture e
Truth, deduction, computation lecture e
 
Truth, deduction, computation lecture c
Truth, deduction, computation   lecture cTruth, deduction, computation   lecture c
Truth, deduction, computation lecture c
 
Truth, deduction, computation lecture b
Truth, deduction, computation   lecture bTruth, deduction, computation   lecture b
Truth, deduction, computation lecture b
 
Truth, deduction, computation lecture a
Truth, deduction, computation   lecture aTruth, deduction, computation   lecture a
Truth, deduction, computation lecture a
 
Truth, deduction, computation lecture 9
Truth, deduction, computation   lecture 9Truth, deduction, computation   lecture 9
Truth, deduction, computation lecture 9
 
Truth, deduction, computation lecture 8
Truth, deduction, computation   lecture 8Truth, deduction, computation   lecture 8
Truth, deduction, computation lecture 8
 
Truth, deduction, computation lecture 7
Truth, deduction, computation   lecture 7Truth, deduction, computation   lecture 7
Truth, deduction, computation lecture 7
 
Truth, deduction, computation; lecture 5
Truth, deduction, computation;  lecture 5Truth, deduction, computation;  lecture 5
Truth, deduction, computation; lecture 5
 

Último

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
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
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 

Último (20)

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
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
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

Truth, deduction, computation lecture d

  • 1. Truth, Deduction, Computation Lecture D Quantifiers, part 3 (almost there) Vlad Patryshev SCU 2013
  • 2. Can we express “there’s only one”? ● ∃ same as ● ∃ ∧ ∀ → “quantifier” - a tool for measuring quantity; “some”, “all”, “just one” - look like ancient ways of counting people or stuff… or Gods.
  • 3. Translating English → FOL English Each cube is to the left of a tetrahedron No cube to the right of a tetrahedron is to the left of a tetrahedron Every farmer who owns a donkey beats it. ∀ ∃ → ∃ ∧ ∃ ∃ ∧ ∧ ∧ ∀ ∧ ∃ then what? bad… try again! ∀ → ∀ ∧ ∧ → Only large objects have nothing in front of them Every minute a man is mugged in NYC. We will interview him tonight. ∀ or ∃ → ∃ ∧ ∀ ∧ ∧ →
  • 5. Function ---> Predicate can be represented as or ∀ ∀ →
  • 6. Prenex Normal Form of WFF A sentence is in prenex form if all its quantifiers are at the beginning of it. But is it possible?! source: https://en.wikipedia.org/wiki/Prenex_normal_form
  • 7. Steps to Convert a WFF to PNF 1. Conjunction ● ∀ ∧ ⇔ ∀ ∧ ● ∃ ∧ ⇔ ∃ ∧
  • 8. Steps to Convert a WFF to PNF 2. Disjunction ● ∀ ∨ ⇔ ∀ ∨ ● ∃ ∨ ⇔ ∃ ∨
  • 9. Steps to Convert a WFF to PNF 3. Implication ● ● → ∀ → ∃ ⇔ ∀ ⇔ ∃ Really? → →
  • 10. Steps to Convert a WFF to PNF 4. Implication ● ∀ → ⇔ ∃ → ● ∃ → ⇔ ∀ → Really?
  • 11. Steps to Convert a WFF to PNF 5. Negation (follows from 4, actually.) ● ● ∀ ∃ ⇔ ∃ ⇔ ∀
  • 12. PNF Example “if a cube is to the left of a tet, it’s behind a dodec” “if a cube is to the left of tet, it’s behind a dodec”
  • 13. Proofs in FOL Universal Elimination ∀ ⊢
  • 14. Proofs in FOL Existential Introduction ⊢ ∃ (aka generalization)
  • 15. Proofs in FOL Existential Elimination (aka Instantiation) 1. Suppose ∃ 2. Invent a name (e.g. ) for such an 3.
  • 16. Proofs in FOL Existential Elimination (aka Instantiation)
  • 17. Proofs in FOL General Conditional Proof ● To prove ⊢ ∀ → ● Introduce a new name, e.g. , to denote anything satisfying ● Prove ⊢ ● Profit (this is not a “rule”, this is a trick with substitutions)
  • 18. Proofs in FOL Universal Introduction 1. ∀ 2. ∀ 3. ∀ (aka Generalization) → do you see modus ponens and prenex form transformations?
  • 19. Example (12.2) Twas brillig, and the slithy toves Did gyre and gimble in the wabe: All mimsy were the borogoves, And the mome raths outgrabe.
  • 20. How about mixing quantifiers?...