L3: Golden Years & Physical Symbol System Hypothesis, Reasoning by Resolution & Unification Flashcards
What is the Physical Symbol System Hypothesis?
A physical symbol system has the necessary and sufficient means for general intelligent action.
Corollary 1
Human brains are a physical symbol system.
Corollary 2
Modern computers can exhibit general intelligent action.
What is a knowledge base?
A “knowledge base” (KB) encoding information in first-order logic formulas
* Logically, KB is just a conjunction of formulas KB=φ1 ∧ φ2 ∧ .. ∧ φn
* Every φi is a logical formula asserting some “knowledge
Want to find out whether KB models a query formula phi, how should we not do this?
If you apply the first order logic rules to KB then will enumerate all theorems that follow, but phi and not phi might not be entailed by KB. Then algorithm will never terminate (have to assume KB to be infinite).
This is always the case as first-order logic is semi-decidable, might never terminate
How would a refutation-based method work?
Use proof by contradiction. Do KB and not phi and attempt to show this is invalid
What is needed to give a truth value to a formula?
A model which assigns truth values to formulas in KB
What is the definition of phi being satisfiable?
If there is a model M such that M models phi
If unsatisfiable then also invalid
What is the definition of phi being valid?
If for every model M, M models phi (e.g. p -> p)
Therefore (not phi) is unsatisfiable
Definition of atom, literal, clause
- An atom is a predicate (statement)
- A literal is either an atom or the negation of an atom;
- A clause is a disjunction of literals (using OR only)
When is a formula in clausal form?
Conjuction of clauses (conjuctive normal form), written as a list of clauses
What is the relationship between a formula phi and its counterpart psi in clausal form?
For any formula phi there is a formula psi in clausal form s.t. phi and psi are equisatisfiable. But validity of phi does not mean validity of psi (if model for one then there will be model for second but if all models for first does not mean all models for second)
Skolemization preserves satisfiability but not validity
How to get rid of existential quantifiers?
Skolemization
Replace every existentially quantified variable X with a function f (·) whose arguments are the universally quantified variables that have X in their scope.
* These replacement functions are called Skolem functions.
* A Skolem function without arguments is called a Skolem constant.
* The names of these Skolem functions must be new and unique.
What are the rules for rewriting in the clausal form?
- Move all negations inward until only atoms are negated.
- Rename all variables so that they are unique per quantifier (i.e. if need to resolve A(X) and A(f(X)) can make second A(f(Y)) and then do the substitution f(Y)/X on both to make them equal).
- Get rid of existential quantifiers by Skolemization.
- Make all quantifiers implicit.
* Due to previous step, only universal quantifiers remain. - Convert to conjunctive normal form by distributing disjunctions and conjunctions.
- Write down the clauses in a list.
What is resolution?
The resolution inference rule takes two clauses and produces a new clause.
The input clauses must contain a complementary literal.
Remove contradictory OR elements (because P or not P just resolves to True) and then OR everything else
Resolution derivation, applying resolution to two clauses in list C and then appending resolvent to C (or discarding if already have it) and then repeat
What happens if resolve singleton clauses S and not S
Get empty clause, this is (by definition) unsatisfiable. A list of clauses is unsatisfiable if by resolution it produces the empty clause
What are the terms in a formula?
A constant, variable or function (not and/ or etc.)