Logic 3 Flashcards

1
Q

Literal (1)

A
  1. Propositional variable or its negation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

DNF (2)

A
  1. Formula of the type ψ1 ∨ ψ2

2. ψ is made by conjunctions ∧

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

CNF (2)

A
  1. Formula of the type ψ1 ∧ ψ2

2. ψ is made by disjunctions ∨

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

Adequate system (1)

A
  1. Can express al truth tables.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Sheffer stroke equivalences (3)

A
  1. ¬ψ = ψ | ψ
  2. ψ ∨ φ = ¬ψ | ¬φ = (ψ|ψ) | (φ|φ)
  3. ψ ∧ φ = (ψ|φ) | (φ|ψ)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

CNF Algorithm (3)

A
  1. IMPL-FREE: Eliminate all implications
  2. NNF: Move all negations to literals
  3. DISTR: Apply distributivity to re-arrange in CNF form
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

DPLL (1)

A
  1. Used to check satisfiability of CNF
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

DPLL Algorithm (3)

A
  1. If there are unit clauses (only one element in brackets) assign value to variable (T if p or F if ¬p)
  2. Assign values to pure propositional variables (T if only p appears or F if only ¬p appears)
  3. Choose a value for a variable and test for both evaluations of T and F.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Extracting DNF from truth table (3)

A
  1. Select rows which evaluate to TRUE
  2. For each row which is TRUE compose a formula of conjunctions which evaluates to true
  3. Combine all conjunction formulas through disjunctions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Extracting CNF from truth table (3)

A
  1. Select all rows which evaluate to FALSE
  2. For each row compose a formula through disjunctions which makes the valuation of that row false.
  3. Combine formulas through conjunctions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly