SlideShare a Scribd company logo
1 of 24
Download to read offline
Truth, Deduction,
Computation
Lecture E
Quantifiers, part 4 (final)
Vlad Patryshev
SCU
2013
Recap: Proof methods

●

Existential Instantiation.
if we have ∃x P(x), add a name (e.g. c) for
the object satisfying P(x); and you may assume P(c).

●

General Conditional Proof:
to prove ∀x (P(x) → Q(x), add a name
(e.g. c), assume P(c), prove Q(c).

●

Universal Generalization:
to prove ∀x Q(x), do the same as above, with P(x)=⊤
Samples
Euclid’s Theorem: infinity of primes
(in the universe of natural numbers)
∀x ∃y (y ≥ x ∧ Prime(y))
Samples
Something Stronger: twin primes
(in the universe of natural numbers)
∀x ∃y (y>x ∧ Prime(y) ∧ Prime(y+2))
(works for x < 2003663613 · 2195000 - 2)
Samples
Something Wronger
(in the universe of humans and towns)
∃z ∃x (BarberOf(x, z) ∧ ∀y (ManOf(y, z) →
(Shaves(x, y) ↔ ¬Shaves(y, y))))
Can we do 12.15?
Add Axioms to Shape World
Basic Shape Axioms:
1.
2.
3.
4.

¬∃x(Cube(x)∧Tet(x))
¬∃x(Tet(x)∧Dodec(x))
¬∃x(Dodec(x)∧Cube(x))
∀x(Tet(x)∨Dodec(x)∨Cube(x))
Is this system Complete?
The book says yes.
“We say that a set of axioms is complete if, whenever an argument is intuitively
valid (given the meanings of the predicates and the intended range of
circumstances), its conclusion is a first-order consequence of its premises
taken together with the axioms in question.”

E.g. ∃x Cube(x)
E.g.∀x CanGiveToMyDog(x)
Definitions of Completeness
A formal system S is semantically complete iff
⊨ P yields
⊢ P
in S.
Definitions of Completeness
A formal system S is strongly complete iff
P ⊨ Q yields
P ⊢ Q
in S.
Definitions of Completeness
A formal system S is syntactically complete iff
we can prove either
⊢ Q
or
⊢ ¬Q
in S.
In other words, cannot add an independent
axiom.
Example from Shapes world
∃x ∃y (Tet(x) ∧ Dodec(y) ∧ ∀z (z = x ∨ z =
y))
¬∃x Cube(x)
Can we? (The book says we cannot.)
Now can we prove this?
∀x SameShape(x, x)
Add More Axioms to Shape World
SameShape Introduction Axioms:
1. ∀x∀y((Cube(x)∧Cube(y))→SameShape(x,y))
2. ∀x∀y((Dodec(x)∧Dodec(y))→SameShape(x,
y))
3. ∀x∀y((Tet(x)∧Tet(y))→SameShape(x,y))
Add More Axioms to Shape World
SameShape Elimination Axioms:
1. ∀x∀y((SameShape(x,y)∧Cube(x))→Cube(y))
2. ∀x∀y((SameShape(x,y)∧Dodec(x))→Dodec
(y))
3. ∀x∀y((SameShape(x,y)∧Tet(x))→Tet(y))

The book says, with these axioms, the
Shapes theory is complete.
Can we prove this now?
∀x SameShape(x, x)
Truth, Deduction,
Computation
Lecture F part 2
Quantifiers, Formal Proofs
Vlad Patryshev
SCU
2013
Formal Proofs in FOL
Universal Elimination (∀ Elim)

∀x S(x) ⊢ S(c)
Formal Proofs in FOL
General Conditional Proof (∀ Intro)

c P(c) → Q(c) ⊢ ∀x (P(x) → Q(x))
“arbitrary c”
Formal Proofs in FOL
Universal Introduction (∀ Intro)

c P(c) ⊢ ∀x P(x)
“arbitrary c”
Formal Proofs in FOL
Existential Introduction (∃ Intro)

P(c) ⊢ ∃x P(x)
Formal Proofs in FOL
Existential Elimination (∃ Elim)
alternatively

1.
2.
3.
4.

Suppose ∃x P(x)
Invent a new name (e.g. c) for such x
Suppose P(c) ⊢ Q
Q
Words of Wisdom
That’s it for today

More Related Content

What's hot

Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
Ali Ajouz
 
Paths and Polynomials
Paths and PolynomialsPaths and Polynomials
Paths and Polynomials
ASPAK2014
 
Iterative Compression
Iterative CompressionIterative Compression
Iterative Compression
ASPAK2014
 

What's hot (20)

2.1 Union, intersection and complement
2.1 Union, intersection and complement2.1 Union, intersection and complement
2.1 Union, intersection and complement
 
2.4 Symmetric difference
2.4 Symmetric difference2.4 Symmetric difference
2.4 Symmetric difference
 
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
 
mathFin01
mathFin01mathFin01
mathFin01
 
Some properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spacesSome properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spaces
 
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)
 
QMC: Operator Splitting Workshop, Boundedness of the Sequence if Iterates Gen...
QMC: Operator Splitting Workshop, Boundedness of the Sequence if Iterates Gen...QMC: Operator Splitting Workshop, Boundedness of the Sequence if Iterates Gen...
QMC: Operator Splitting Workshop, Boundedness of the Sequence if Iterates Gen...
 
2.5 Disjoint, covering and complementary sets
2.5 Disjoint, covering and complementary sets2.5 Disjoint, covering and complementary sets
2.5 Disjoint, covering and complementary sets
 
Paths and Polynomials
Paths and PolynomialsPaths and Polynomials
Paths and Polynomials
 
2.7 Ordered pairs
2.7 Ordered pairs2.7 Ordered pairs
2.7 Ordered pairs
 
A common fixed point theorem for six mappings in g banach space with weak-com...
A common fixed point theorem for six mappings in g banach space with weak-com...A common fixed point theorem for six mappings in g banach space with weak-com...
A common fixed point theorem for six mappings in g banach space with weak-com...
 
Numerical Methods 3
Numerical Methods 3Numerical Methods 3
Numerical Methods 3
 
On Uq(sl2)-actions on the quantum plane
On Uq(sl2)-actions on the quantum planeOn Uq(sl2)-actions on the quantum plane
On Uq(sl2)-actions on the quantum plane
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI) International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)
 
Mathematics for Deep Learning (1)
Mathematics for Deep Learning (1)Mathematics for Deep Learning (1)
Mathematics for Deep Learning (1)
 
Classification of Uq(sl2)-module algebra structures on the quantum plane
Classification of Uq(sl2)-module algebra structures on the quantum planeClassification of Uq(sl2)-module algebra structures on the quantum plane
Classification of Uq(sl2)-module algebra structures on the quantum plane
 
Iterative Compression
Iterative CompressionIterative Compression
Iterative Compression
 
Decision Making with Hierarchical Credal Sets (IPMU 2014)
Decision Making with Hierarchical Credal Sets (IPMU 2014)Decision Making with Hierarchical Credal Sets (IPMU 2014)
Decision Making with Hierarchical Credal Sets (IPMU 2014)
 
Top schools in noida
Top schools in noidaTop schools in noida
Top schools in noida
 
Resumen de Integrales (Cálculo Diferencial e Integral UNAB)
Resumen de Integrales (Cálculo Diferencial e Integral UNAB)Resumen de Integrales (Cálculo Diferencial e Integral UNAB)
Resumen de Integrales (Cálculo Diferencial e Integral UNAB)
 

Viewers also liked

Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logic
ankush_kumar
 

Viewers also liked (12)

Truth, deduction, computation; lecture 1
Truth, deduction, computation;   lecture 1Truth, deduction, computation;   lecture 1
Truth, deduction, computation; lecture 1
 
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
 
Truth, deduction, computation; lecture 2
Truth, deduction, computation;   lecture 2Truth, deduction, computation;   lecture 2
Truth, deduction, computation; lecture 2
 
Truth, deduction, computation lecture d
Truth, deduction, computation   lecture dTruth, deduction, computation   lecture d
Truth, deduction, computation lecture d
 
Natural Language Access to Data via Deduction
Natural Language Access to Data via DeductionNatural Language Access to Data via Deduction
Natural Language Access to Data via Deduction
 
Truth, deduction, computation lecture f
Truth, deduction, computation   lecture fTruth, deduction, computation   lecture f
Truth, deduction, computation lecture f
 
7.4 Rules Of Replacement Ii
7.4    Rules Of Replacement Ii7.4    Rules Of Replacement Ii
7.4 Rules Of Replacement Ii
 
Truth, deduction, computation lecture 7
Truth, deduction, computation   lecture 7Truth, deduction, computation   lecture 7
Truth, deduction, computation lecture 7
 
03 - Predicate logic
03 - Predicate logic03 - Predicate logic
03 - Predicate logic
 
Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logic
 
Predicate Logic
Predicate LogicPredicate Logic
Predicate Logic
 
Deduction theorem of propositional logic
Deduction theorem of propositional logicDeduction theorem of propositional logic
Deduction theorem of propositional logic
 

Similar to Truth, deduction, computation lecture e

Lecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceLecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inference
asimnawaz54
 
Boolean Programs and Quantified Propositional Proof System -
Boolean Programs and Quantified Propositional Proof System - Boolean Programs and Quantified Propositional Proof System -
Boolean Programs and Quantified Propositional Proof System -
Michael Soltys
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inference
asimnawaz54
 
Poggi analytics - star - 1a
Poggi   analytics - star - 1aPoggi   analytics - star - 1a
Poggi analytics - star - 1a
Gaston Liberman
 

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

Math Assignment Help
Math Assignment HelpMath Assignment Help
Math Assignment Help
 
Algorithmic foundations.docx
Algorithmic foundations.docxAlgorithmic foundations.docx
Algorithmic foundations.docx
 
Resolution method in AI.pptx
Resolution method in AI.pptxResolution method in AI.pptx
Resolution method in AI.pptx
 
Truth, deduction, computation lecture a
Truth, deduction, computation   lecture aTruth, deduction, computation   lecture a
Truth, deduction, computation lecture a
 
Lecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceLecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inference
 
(α ψ)- Construction with q- function for coupled fixed point
(α   ψ)-  Construction with q- function for coupled fixed point(α   ψ)-  Construction with q- function for coupled fixed point
(α ψ)- Construction with q- function for coupled fixed point
 
Boolean Programs and Quantified Propositional Proof System -
Boolean Programs and Quantified Propositional Proof System - Boolean Programs and Quantified Propositional Proof System -
Boolean Programs and Quantified Propositional Proof System -
 
Common fixed point theorem for occasionally weakly compatible mapping in q fu...
Common fixed point theorem for occasionally weakly compatible mapping in q fu...Common fixed point theorem for occasionally weakly compatible mapping in q fu...
Common fixed point theorem for occasionally weakly compatible mapping in q fu...
 
Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)
Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)
Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inference
 
dma_ppt.pdf
dma_ppt.pdfdma_ppt.pdf
dma_ppt.pdf
 
3 fol examples v2
3 fol examples v23 fol examples v2
3 fol examples v2
 
One solution for many linear partial differential equations with terms of equ...
One solution for many linear partial differential equations with terms of equ...One solution for many linear partial differential equations with terms of equ...
One solution for many linear partial differential equations with terms of equ...
 
E42012426
E42012426E42012426
E42012426
 
Metric space
Metric spaceMetric space
Metric space
 
Mcs 013 solve assignment
Mcs 013 solve assignmentMcs 013 solve assignment
Mcs 013 solve assignment
 
Maximum likelihood estimation of regularisation parameters in inverse problem...
Maximum likelihood estimation of regularisation parameters in inverse problem...Maximum likelihood estimation of regularisation parameters in inverse problem...
Maximum likelihood estimation of regularisation parameters in inverse problem...
 
The Chase in Database Theory
The Chase in Database TheoryThe Chase in Database Theory
The Chase in Database Theory
 
Poggi analytics - star - 1a
Poggi   analytics - star - 1aPoggi   analytics - star - 1a
Poggi analytics - star - 1a
 
Some Common Fixed Point Results for Expansive Mappings in a Cone Metric Space
Some Common Fixed Point Results for Expansive Mappings in a Cone Metric SpaceSome Common Fixed Point Results for Expansive Mappings in a Cone Metric Space
Some Common Fixed Point Results for Expansive Mappings in a Cone Metric Space
 

More from Vlad Patryshev

More from 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 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 b
Truth, deduction, computation   lecture bTruth, deduction, computation   lecture b
Truth, deduction, computation lecture b
 
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 6
Truth, deduction, computation   lecture 6Truth, deduction, computation   lecture 6
Truth, deduction, computation lecture 6
 
Truth, deduction, computation; lecture 5
Truth, deduction, computation;  lecture 5Truth, deduction, computation;  lecture 5
Truth, deduction, computation; lecture 5
 
Truth, deduction, computation; lecture 4
Truth, deduction, computation;  lecture 4Truth, deduction, computation;  lecture 4
Truth, deduction, computation; lecture 4
 
Truth, deduction, computation; lecture 3
Truth, deduction, computation;  lecture 3Truth, deduction, computation;  lecture 3
Truth, deduction, computation; lecture 3
 
Woo
WooWoo
Woo
 
Pathela m
Pathela mPathela m
Pathela m
 
Nguyenmaria
NguyenmariaNguyenmaria
Nguyenmaria
 

Recently uploaded

Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
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
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
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
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
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
 
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.
 
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
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
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
 
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"
 

Truth, deduction, computation lecture e

  • 1. Truth, Deduction, Computation Lecture E Quantifiers, part 4 (final) Vlad Patryshev SCU 2013
  • 2. Recap: Proof methods ● Existential Instantiation. if we have ∃x P(x), add a name (e.g. c) for the object satisfying P(x); and you may assume P(c). ● General Conditional Proof: to prove ∀x (P(x) → Q(x), add a name (e.g. c), assume P(c), prove Q(c). ● Universal Generalization: to prove ∀x Q(x), do the same as above, with P(x)=⊤
  • 3. Samples Euclid’s Theorem: infinity of primes (in the universe of natural numbers) ∀x ∃y (y ≥ x ∧ Prime(y))
  • 4. Samples Something Stronger: twin primes (in the universe of natural numbers) ∀x ∃y (y>x ∧ Prime(y) ∧ Prime(y+2)) (works for x < 2003663613 · 2195000 - 2)
  • 5. Samples Something Wronger (in the universe of humans and towns) ∃z ∃x (BarberOf(x, z) ∧ ∀y (ManOf(y, z) → (Shaves(x, y) ↔ ¬Shaves(y, y))))
  • 6. Can we do 12.15?
  • 7. Add Axioms to Shape World Basic Shape Axioms: 1. 2. 3. 4. ¬∃x(Cube(x)∧Tet(x)) ¬∃x(Tet(x)∧Dodec(x)) ¬∃x(Dodec(x)∧Cube(x)) ∀x(Tet(x)∨Dodec(x)∨Cube(x))
  • 8. Is this system Complete? The book says yes. “We say that a set of axioms is complete if, whenever an argument is intuitively valid (given the meanings of the predicates and the intended range of circumstances), its conclusion is a first-order consequence of its premises taken together with the axioms in question.” E.g. ∃x Cube(x) E.g.∀x CanGiveToMyDog(x)
  • 9. Definitions of Completeness A formal system S is semantically complete iff ⊨ P yields ⊢ P in S.
  • 10. Definitions of Completeness A formal system S is strongly complete iff P ⊨ Q yields P ⊢ Q in S.
  • 11. Definitions of Completeness A formal system S is syntactically complete iff we can prove either ⊢ Q or ⊢ ¬Q in S. In other words, cannot add an independent axiom.
  • 12. Example from Shapes world ∃x ∃y (Tet(x) ∧ Dodec(y) ∧ ∀z (z = x ∨ z = y)) ¬∃x Cube(x) Can we? (The book says we cannot.)
  • 13. Now can we prove this? ∀x SameShape(x, x)
  • 14. Add More Axioms to Shape World SameShape Introduction Axioms: 1. ∀x∀y((Cube(x)∧Cube(y))→SameShape(x,y)) 2. ∀x∀y((Dodec(x)∧Dodec(y))→SameShape(x, y)) 3. ∀x∀y((Tet(x)∧Tet(y))→SameShape(x,y))
  • 15. Add More Axioms to Shape World SameShape Elimination Axioms: 1. ∀x∀y((SameShape(x,y)∧Cube(x))→Cube(y)) 2. ∀x∀y((SameShape(x,y)∧Dodec(x))→Dodec (y)) 3. ∀x∀y((SameShape(x,y)∧Tet(x))→Tet(y)) The book says, with these axioms, the Shapes theory is complete.
  • 16. Can we prove this now? ∀x SameShape(x, x)
  • 17. Truth, Deduction, Computation Lecture F part 2 Quantifiers, Formal Proofs Vlad Patryshev SCU 2013
  • 18. Formal Proofs in FOL Universal Elimination (∀ Elim) ∀x S(x) ⊢ S(c)
  • 19. Formal Proofs in FOL General Conditional Proof (∀ Intro) c P(c) → Q(c) ⊢ ∀x (P(x) → Q(x)) “arbitrary c”
  • 20. Formal Proofs in FOL Universal Introduction (∀ Intro) c P(c) ⊢ ∀x P(x) “arbitrary c”
  • 21. Formal Proofs in FOL Existential Introduction (∃ Intro) P(c) ⊢ ∃x P(x)
  • 22. Formal Proofs in FOL Existential Elimination (∃ Elim) alternatively 1. 2. 3. 4. Suppose ∃x P(x) Invent a new name (e.g. c) for such x Suppose P(c) ⊢ Q Q