2: Logical Concepts and Resolution

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

1/36

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.

37 Terms

1
New cards

What is the difference between syntax and semantics in logic?

Syntax defines what formulas can be written; semantics defines what they mean.

2
New cards

What does v |= F mean?

Formula F is satisfied by valuation v, i.e., F is true under v.

3
New cards

What is logical equivalence?

Two formulas F and G are logically equivalent if they have the same truth value under every valuation.

4
New cards

What is semantic consequence?

Formula G is a semantic consequence of F if every model of F is also a model of G (F |= G).

5
New cards

When is F |= G equivalent to an implication?

F |= G iff |= F → G.

6
New cards

What is a tautology?

A formula that is always true under any valuation.

7
New cards

What is a contradiction?

A formula that is always false under any valuation.

8
New cards

What is a satisfiable formula?

A formula that is true under at least one valuation.

9
New cards

What is an unsatisfiable formula?

A formula that is false under all valuations.

10
New cards

What is a contingent formula?

A formula that is true under some valuations and false under others.

11
New cards

What does |= F mean?

F is valid (true under all valuations).

12
New cards

What is substitution in propositional logic?

Replacing all instances of a propositional variable in a formula with another formula.

13
New cards

Does substitution preserve validity?

Yes.

14
New cards

Does substitution preserve unsatisfiability?

Yes.

15
New cards

Does substitution preserve satisfiability?

No, satisfiable formulas can become unsatisfiable after substitution.

16
New cards

Does substitution preserve logical equivalence?

Yes, if F ≡ G, then F[P := H] ≡ G[P := H].

17
New cards

What is the rule for interchanging equivalents?

If F ≡ G, then replacing F with G in any formula H preserves equivalence.

18
New cards

What is the implication equivalence for P → Q?

¬P ∨ Q.

19
New cards

What is the contraposition rule?

P → Q ≡ ¬Q → ¬P.

20
New cards

What is the double negation law?

P 𠪪P.

21
New cards

What are De Morgan's laws?

¬(P ∧ Q) ≡ ¬P ∨ ¬Q, and ¬(P ∨ Q) ≡ ¬P ∧ ¬Q.

22
New cards

What is the excluded middle?

P ∨ ¬P ≡ ⊤.

23
New cards

What is the contradiction law?

P ∧ ¬P ≡ ⊥.

24
New cards

Why are truth tables inefficient for large formulas?

They have 2^n rows for n variables, growing exponentially.

25
New cards

What is resolution in propositional logic?

A rule that allows deriving a conclusion from two clauses containing complementary literals.

26
New cards

What is a refutation?

A resolution proof that derives ⊥ (a contradiction).

27
New cards

How do you prove F is valid using refutation?

Show that ¬F |= ⊥.

28
New cards

How do you prove F |= G using refutation?

Show that F ∧ ¬G |= ⊥.

29
New cards

What is a clause?

A disjunction of literals.

30
New cards

What is CNF?

A conjunction of disjunctions of literals.

31
New cards

What are the steps to convert a formula to CNF?

  1. Eliminate ↔ and →, 2. Push negations inward using De Morgan, 3. Eliminate double negation, 4. Distribute ∨ over ∧.
32
New cards

What is NNF (Negation Normal Form)?

A formula using only ¬, ∧, ∨ with ¬ only in front of variables.

33
New cards

What is the empty disjunction equivalent to?

⊥ (false).

34
New cards

What is the empty conjunction equivalent to?

⊤ (true).

35
New cards

What does it mean that resolution is refutation-complete?

If a set of clauses is unsatisfiable, resolution can derive ⊥.

36
New cards

How can CNFs be simplified?

Remove duplicate literals, tautological clauses, and subsumed clauses.

37
New cards

Is CNF unique?

No, the same formula can have multiple equivalent CNFs.