Symbolic Logic Foundations: An Overview: CSD Prosem
Symbolic Logic Foundations: An Overview: CSD Prosem
An Overview
F03
CSD ProSem
Selmer Bringsjord
selmer@rpi.edu
www.rpi.edu/~brings
Logic Programming: Two
Perspectives
Logic Programming as arising from Herbrands
Theorem, etc.
Logic Programming as using a logical system (in
mathematical sense of this phrase)
I will take second perspective, which subsumes first
E.g., completeness theorem for first-order logic (L I)
allows one to affirm Herbrands Theorem
This theorem fully done in LCU
What you need to know to understand second
perspective is precisely what you need to know to
understand first
Logical Systems
(Are Programming Langs in here?)
Name Alphabet Grammar Proof Semantics Metatheory
Theory
LII New variables Pretty obvious New adapt Quantification Sound but not
for predicates quantifier rules over subsets in complete
domain
allowed
Readings
AIMA
Natural Deduction on Pollocks web site
OTTER manual
Logic and AI: Divorced, Still Married
http://kryten.mm.rpi.edu/COURSES/ILOGPROG/lai.ed2.pdf
LCU
http://www.rpi.edu/~faheyj2/SB/LCU/lcu.driver.pdf
LPC (Propositional Calculus)
Where we left off: Logic Theorist problems
in OTTER
Ad lib in HYPERPROOF
Some problems
NYS 1, NYS 2, NYS 3, J-L 1
Semantics of Propositional Calculus: Truth
Tables
Boole
Via HYPERPROOF
Full formal view: LCU
NYS 1
Given the statements
a b
b
ca
c
b
c
h
a
none of the above
NYS 2
If you are part of the solution, then you are not part of the problem.
If you are not part of the problem, then you are part of the solution.
If you are part of the problem, then you are not part of the solution.
If you are not part of the problem, then you are not part of the
solution.
NYS 3
Given the statements
c
ca
a b
bd
(d e)
In fact, what you can infer is that there isnt an ace in the hand!
Proof Theory of LI (First-order logic)
Ad lib in HYPERPROOF
Syllogisms in OTTER
Dreadsbury Mansion Mystery
The Bird Problem
The Dreadsbury Mansion Mystery
Someone who lives in Dreadsbury Mansion killed Aunt Agatha.
Agatha, the butler, and Charles live in Dreadsbury Mansion, and
are the only people who live therein. A killer always hates his
victim, and is never richer than his victim. Charles hates no one
that Aunt Agatha hates. Agatha hates everyone except the butler.
The butler hates everyone not richer than Aunt Agatha. The
CanAgatha
butler hates everyone you get it, prove
hates. No oneit?
hates everyone.
Agatha is not the butler.
x(B(x) yB(y))