10. Propositional Logic 2 Flashcards

1
Q

What is logical inference?

A

A process that derives new sentences that logically follow from a given knowledge base.

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

What are the two main types of search in logical inference?

A

Forward chaining and backward chaining.

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

What is Modus Ponens?

A

If p and p→q are true, then q is true.

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

What is Modus Tollens?

A

If ¬q and p→q are true, then ¬p is true.

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

What is forward chaining?

A

A method that starts with known facts and applies inference rules to derive new facts until the query is found or no more inferences can be made.

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

What are the advantages of forward chaining?

A

It reaches correct conclusions and is easy to design.

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

What are the disadvantages of forward chaining?

A

It may generate facts inefficiently, leading to unnecessary computations.

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

What is backward chaining?

A

A method that starts with the query and works backward using inference rules to determine if the query can be derived from known facts.

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

What are the advantages of backward chaining?

A

It is optimal for finding specific conclusions and reduces unnecessary fact generation.

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

What are the disadvantages of backward chaining?

A

It may fail to conclude if there are not enough facts.

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

What is the Davis-Putnam-Logemann-Loveland (DPLL) algorithm?

A

A complete search algorithm for deciding the satisfiability of propositional logic formulas.

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

What are the key optimizations of DPLL?

A

Early termination, pure symbol heuristic, and unit clause heuristic.

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

What is the pure symbol heuristic?

A

A heuristic that assigns a truth value to symbols appearing only with one polarity (either always positive or always negative).

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

What is the unit clause heuristic?

A

A heuristic that assigns values to unit clauses (single literals) to reduce the number of clauses in a formula.

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

What is the time complexity of DPLL?

A

O(2^n), where n is the number of variables.

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

Is DPLL a complete algorithm?

A

Yes, it is complete, meaning it will always find a solution if one exists.