SlideShare a Scribd company logo
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

PDF
Use of quantifiers
PDF
Discrete Mathematical Structures - Fundamentals of Logic - Principle of duality
PDF
Bohmian
PDF
Course notes2summer2012
PDF
Harmonic Analysis and Deep Learning
PDF
Matrix calculus
PDF
HypergroupsAssociationSchemes_leejuntaek
PDF
Truth, deduction, computation lecture c
Use of quantifiers
Discrete Mathematical Structures - Fundamentals of Logic - Principle of duality
Bohmian
Course notes2summer2012
Harmonic Analysis and Deep Learning
Matrix calculus
HypergroupsAssociationSchemes_leejuntaek
Truth, deduction, computation lecture c

What's hot (20)

PDF
2.1 Union, intersection and complement
PDF
2.4 Symmetric difference
PDF
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
PDF
mathFin01
PDF
Some properties of two-fuzzy Nor med spaces
PDF
Truth, deduction, computation lecture i (last one)
PDF
QMC: Operator Splitting Workshop, Boundedness of the Sequence if Iterates Gen...
PDF
2.5 Disjoint, covering and complementary sets
PDF
Paths and Polynomials
PDF
2.7 Ordered pairs
PDF
A common fixed point theorem for six mappings in g banach space with weak-com...
PDF
Numerical Methods 3
PDF
On Uq(sl2)-actions on the quantum plane
PDF
International Journal of Mathematics and Statistics Invention (IJMSI)
PDF
Mathematics for Deep Learning (1)
PDF
Classification of Uq(sl2)-module algebra structures on the quantum plane
PDF
Iterative Compression
PDF
Decision Making with Hierarchical Credal Sets (IPMU 2014)
PPT
Top schools in noida
PDF
Resumen de Integrales (Cálculo Diferencial e Integral UNAB)
2.1 Union, intersection and complement
2.4 Symmetric difference
Hecke Operators on Jacobi Forms of Lattice Index and the Relation to Elliptic...
mathFin01
Some properties of two-fuzzy Nor med spaces
Truth, deduction, computation lecture i (last one)
QMC: Operator Splitting Workshop, Boundedness of the Sequence if Iterates Gen...
2.5 Disjoint, covering and complementary sets
Paths and Polynomials
2.7 Ordered pairs
A common fixed point theorem for six mappings in g banach space with weak-com...
Numerical Methods 3
On Uq(sl2)-actions on the quantum plane
International Journal of Mathematics and Statistics Invention (IJMSI)
Mathematics for Deep Learning (1)
Classification of Uq(sl2)-module algebra structures on the quantum plane
Iterative Compression
Decision Making with Hierarchical Credal Sets (IPMU 2014)
Top schools in noida
Resumen de Integrales (Cálculo Diferencial e Integral UNAB)
Ad

Viewers also liked (12)

PDF
Truth, deduction, computation; lecture 1
PDF
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
PDF
Truth, deduction, computation; lecture 2
PDF
Truth, deduction, computation lecture d
PDF
Natural Language Access to Data via Deduction
PDF
Truth, deduction, computation lecture f
PPT
7.4 Rules Of Replacement Ii
PDF
Truth, deduction, computation lecture 7
PDF
03 - Predicate logic
PPT
Propositional And First-Order Logic
PPT
Predicate Logic
PPTX
Deduction theorem of propositional logic
Truth, deduction, computation; lecture 1
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
Truth, deduction, computation; lecture 2
Truth, deduction, computation lecture d
Natural Language Access to Data via Deduction
Truth, deduction, computation lecture f
7.4 Rules Of Replacement Ii
Truth, deduction, computation lecture 7
03 - Predicate logic
Propositional And First-Order Logic
Predicate Logic
Deduction theorem of propositional logic
Ad

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

PPTX
Math Assignment Help
DOCX
Algorithmic foundations.docx
PPTX
Resolution method in AI.pptx
PDF
Truth, deduction, computation lecture a
PDF
Lecture 3 qualtifed rules of inference
PDF
(α ψ)- Construction with q- function for coupled fixed point
PPSX
lecture03.ppsxlecture03.ppsxlecture03.ppsxlecture03.ppsx
PDF
Boolean Programs and Quantified Propositional Proof System -
PDF
Common fixed point theorem for occasionally weakly compatible mapping in q fu...
PDF
Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)
PDF
Lecture 2 predicates quantifiers and rules of inference
PDF
dma_ppt.pdf
PPT
3 fol examples v2
PDF
E42012426
PDF
Proof techniques and quantifiers : lecture 3
PPTX
Lecture in the topic of Predicate Calculus.pptx
PPTX
Metric space
PDF
Maximum likelihood estimation of regularisation parameters in inverse problem...
PDF
The Chase in Database Theory
Math Assignment Help
Algorithmic foundations.docx
Resolution method in AI.pptx
Truth, deduction, computation lecture a
Lecture 3 qualtifed rules of inference
(α ψ)- Construction with q- function for coupled fixed point
lecture03.ppsxlecture03.ppsxlecture03.ppsxlecture03.ppsx
Boolean Programs and Quantified Propositional Proof System -
Common fixed point theorem for occasionally weakly compatible mapping in q fu...
Appendix to MLPI Lecture 2 - Monte Carlo Methods (Basics)
Lecture 2 predicates quantifiers and rules of inference
dma_ppt.pdf
3 fol examples v2
E42012426
Proof techniques and quantifiers : lecture 3
Lecture in the topic of Predicate Calculus.pptx
Metric space
Maximum likelihood estimation of regularisation parameters in inverse problem...
The Chase in Database Theory

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 h
PDF
Truth, deduction, computation lecture g
PDF
Truth, deduction, computation lecture b
PDF
Truth, deduction, computation lecture 9
PDF
Truth, deduction, computation lecture 8
PDF
Truth, deduction, computation lecture 6
PDF
Truth, deduction, computation; lecture 5
PDF
Truth, deduction, computation; lecture 4
PDF
Truth, deduction, computation; lecture 3
PPT
Pathela m
PPT
Nguyenmaria
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 h
Truth, deduction, computation lecture g
Truth, deduction, computation lecture b
Truth, deduction, computation lecture 9
Truth, deduction, computation lecture 8
Truth, deduction, computation lecture 6
Truth, deduction, computation; lecture 5
Truth, deduction, computation; lecture 4
Truth, deduction, computation; lecture 3
Pathela m
Nguyenmaria

Recently uploaded (20)

PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
01-Introduction-to-Information-Management.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Classroom Observation Tools for Teachers
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Cell Types and Its function , kingdom of life
PDF
RMMM.pdf make it easy to upload and study
PPTX
Pharma ospi slides which help in ospi learning
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Cell Structure & Organelles in detailed.
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
2.FourierTransform-ShortQuestionswithAnswers.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Supply Chain Operations Speaking Notes -ICLT Program
Final Presentation General Medicine 03-08-2024.pptx
01-Introduction-to-Information-Management.pdf
O7-L3 Supply Chain Operations - ICLT Program
Classroom Observation Tools for Teachers
PPH.pptx obstetrics and gynecology in nursing
GDM (1) (1).pptx small presentation for students
Cell Types and Its function , kingdom of life
RMMM.pdf make it easy to upload and study
Pharma ospi slides which help in ospi learning
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Anesthesia in Laparoscopic Surgery in India
human mycosis Human fungal infections are called human mycosis..pptx
Cell Structure & Organelles in detailed.
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025

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