Propositional Logic Flashcards

1
Q

What is a structured representation?

A

World model that describes the world using variables while capturing the following:
1. Knowledge: constraints on variables
2. Reasoning: Inference engines to derive knowledge from percepts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a clause?

A

Proposition of the form:
(h1 or h2 or … or hm) <– (l1 ^ l2 ^ … ^ lk)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a propositional knowledge base?

A

A set of clauses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a logical consequence?

A

A proposition g is called a logical consequence of a knowledge base written as KG |= g

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an inference engine?

A

An inference engine decides for any KB, a set of percept atoms and propositions, whether
KB U percepts |= g
The proposition g is called a query

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a definite clause?

A

A definite clause is of the form
H <– (A1 ^ … ^ Am)^a
where m > 0, H and every Ai is an atom.
A definite clause KB is a KB that contains only definite clauses
The definite clause inference engine would need to ahndle queries of the form: ask b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How to implement a definite clause inference engine?

A

An inference engine produces a proof
The algorithm that generates a proof is called a proof procedure
A proof procedure is sound if every proposition g that is derives from S is a logical consequence
A proof procedure is complete if there is a proof of each logical consequences.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does forward chaining work?

A

Start from clauses KB U Percepts and generate new logical consequences. Each derivation is built on the clauses in KB U Percepts or the clauses that have already been generated. Use a rule of derivation for inference.
Forward chaining applies Modus Ponens iteratively to the current knowledge to generate new clauses which are then added to the KB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Modus Ponens?

A

The inference rule

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Selective Linear Definite Clause (SLD) Resolution?

A

Start from the query and treat it as a goal.
Infer backward from the goal, each step derives a clause. Answer true and only true if yes is derived.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the properties of SLD Resolution?

A

SLD can be implemented using a search algorithm. If a search procedure has derived the goal, the rules used can be used by forward chaining to infer the query.
IF forward chaining can derive an atom, then the rules can be used to construct an SLD derivation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is truth table for -> symbol?

A

A B A->B
0 0 1
0 1 0
1 0 1
1 1 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is truth table for <- symbol?

A

A B A<-B
0 0 1
0 1 1
1 0 0
1 1 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is truth table for<-> symbol?

A

A B A<->B
0 0 1
0 1 0
1 0 0
1 1 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly