5 Resolution in Predicate Logic

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

What is factoring in resolution?

A technique to unify two literals in the same clause and apply the most general unifier (mgu) to the whole clause.

2
New cards

Why is factoring sometimes necessary?

Some resolutions require factoring first to eliminate redundancy or reach a contradiction.

3
New cards

Give an example of when factoring is necessary.

To resolve {P(x), P(y)} and {¬P(u),¬P(v)}, factoring gives {P(x)} and {¬P(u)}, which can resolve to ⊥.

4
New cards

What is the general resolution method?

Iteratively apply resolution and factoring to clauses in Σ until ⊥ is derived.

5
New cards

Does resolution always terminate?

It may not terminate for satisfiable formulas; for unsatisfiable ones, it terminates with a good strategy.

6
New cards

What is refutation completeness?

If ⊥ is derivable from Σ, resolution will find it with a fair strategy.

7
New cards

Why is variable renaming necessary in resolution?

To prevent variable collisions and ensure correct unification.

8
New cards

What is a Horn clause?

A clause with at most one positive literal.

9
New cards

How is a Horn clause expressed as an implication?

(¬P ∨ ¬Q ∨ R) is written as (P ∧ Q) → R.

10
New cards

Why are Horn clauses important in Prolog?

They simplify inference and match Prolog's rule format.

11
New cards

What is the satisfiability checking algorithm for Horn formulas?

Mark ⊤; repeatedly mark Q if all premises of a clause P1 ∧ … ∧ Pn → Q are marked. If ⊥ is marked, it's unsatisfiable.

12
New cards

What makes satisfiability of propositional Horn formulas efficient?

It can be checked in linear time.

13
New cards

What is equality in automated reasoning?

A special predicate 'eq(x, y)' with axioms: reflexivity, symmetry, transitivity, and congruence.

14
New cards

List the axioms for equality.

x = x (reflexivity); x = y → y = x (symmetry); x = y ∧ y = z → x = z (transitivity); x = y → f(x) = f(y) and P(x) → P(y) (congruence).

15
New cards

Why is axiomatized equality inefficient in resolution?

It causes exponential growth due to repeated clause instantiations.

16
New cards

What is automated reasoning?

A field of AI using computers to perform logical inference.

17
New cards

What is the main question of automated theorem proving?

Given axioms A1, …, An and conjecture C, does A1, …, An ⊨ C?

18
New cards

What is the Robbins Conjecture?

A long-standing open algebra problem solved by a computer (McCune, 1996).

19
New cards

What are applications of automated reasoning?

Program verification, protocol validation, mathematical proofs.

20
New cards

What is refutation completeness vs completeness?

Refutation completeness means we can derive ⊥ if a contradiction exists; completeness ensures all logical consequences are derivable.

21
New cards

What does it mean that predicate logic is semi-decidable?

We can verify unsatisfiability (prove ⊥) but not guarantee termination for satisfiable formulas.

22
New cards

How is reasoning enhanced in restricted logics?

Restrictions like Horn clauses or adding types make automated reasoning more efficient.

23
New cards

What is the role of ordering in resolution strategies?

It prioritizes clause selection to avoid infinite loops and improve termination.

24
New cards

What are future extensions of resolution mentioned?

Ordered resolution, equality handling, higher-order logic, typed logic.

25
New cards

How is logic used in program synthesis and verification?

To prove that programs meet specifications or infer program components.