Ch 6 Logical Agents Flashcards
What is the definition of entailment?
one thing follows from another.
KB |= alpha iff
alpha is true in all worlds where KB is true
What is the definition of a model?
A formally structured world with respect to which truth can be evaluated
m is a model of sentence alpha if alpha is true in m
M(alpha) is the set of all models of alpha
KB |= alpha iff
M(KB) is subset of M(alpha)
What is inference?
What is the definition of soundness and completemeness? Officially and in own words?
Soundness means it doesn’t make any mistakes. It finds truth and only truths…
whenever KB|–i alpha, it is also true that KB |= alpha
Completeness means if there is an answer there, it will find it..
Whenever KB|= alpha, KB |–i alpha.
What is the definition of syntax and semantics?
Syntax, the structure of a sentence says wheter a sentence even exists in the language.
Semantics, the meaning is the truths that are the case in particular worlds (??)
When is a sentence valid?
It is true in ALL models….
True, A OR !A
A => A
(A AND (A => B)) => B
What is the deduction theorem?
KB |= alpha IFF
KB => alpha is valid
When is a sentence satisfiable?
When is a sentence unsatisfiable?
It is true in some model.
It is true in no models.
How is satisfiability connected to inference?
KB |= alpha
IFF
KB AND !alpha is unsatisfiable.
There is no world where my knowledge base is true and alpha is not true.
(prove alpha by reductio ad absurdum)
What is the definition of logically equivalent?
Two sentences are logically equivalent iff they are true in the same models.
a _= b IFF
alpha |= Beta,
AND
Beta |= alpha
When is an inference false?
When there are states in my Knowledge Base that are outside of what I’m trying to infer.
What is the analogy with multiplication and zero that relates to entailment?
alpha |= Beta
IFF
M(alpha) is a subset of M(Beta)….
alpha is a stronger assertion than Beta, it rules out more possible worlds.
think x = 0. That’s a stronger statement since any model where x is zero will make xy = 0 regardless of what y is.
What is Horn form
KB = a conjunction of Horn clauses.
Proposition symbol (diamond) or conjunction of symbols with the => symbol
What’s the definition of a proof
chain of conclusions that leads to the desired goal.
When would you want to use a forward chaining very a backward chaining algorithm to to proofs in Propositional logic?
FC is data-driven (I know alot of propositions). for ex unconscious processing, object recognition, routine decisions…..
I may do lots of work that is irrelevant to the goal.
BC is goal-driven, appropriate for problem solving.
Complexity of BC is often MUCH LESS than linear in size of KB.
What’s the biggest issue to avoid with backward chaining? Why is it a factor? How do you avoid it.
Avoid looping. Because it’s recursive. You can avoid it by storing subgoals and see if the goal you’re about to work is already on the stack.
It’s also key to avoid repeated work: check if a new subgoal
- has already been proved true or
- has already failed.