Propositional Variables/Formulas Flashcards
(59 cards)
What are the symbols of propositional logic?
Propositional variables
Connectives
Brackets
What are the 6 propositional formulas?
- All propositional variables are formulas.
- ¬φ where φ is a formula
- (φ → ψ) where φ and ψ are formulas
- (φ∧ψ) where φ and ψ are formulas
- (φ∨ψ) where φ and ψ are formulas
- (φ↔ψ) where φ and ψ are formulas
How do you show a formula is made up of propositional variables?
Breaking the formula down using propositional formulas
How do you determine the number of different truth assignments for a formula?
2^(number of propositional variables)
What are the following formulas equivalent to?
(φ∧ψ)
(φ∨ψ)
(φ↔ψ)
(φ∧ψ) ≡ ¬(φ→¬ψ)
(φ∨ψ) ≡ (¬φ→ψ)
(φ↔ψ) ≡ ¬((φ→ψ)→¬(ψ→φ))
What does it mean for φ to be valid and what is the notation?
For finitely many formulas, for every truth assignment such that e(φ_1),…,e(φ_n) = T we also have e(φ) = T
{φ_1 ,…, φ_n} ⊨ φ
What does it mean for two formulas to be logically (truth) equivalent and what is the notation?
e(φ) = e(ψ) for all truth assignments
φ ⊨ =|ψ
Let ψ be a sub formula of φ. Suppose ψ ̂ is a formula such that ψ ̂ ⊨ =| ψ, and let φ ̂ be the formula obtained by replacing an occurrence of ψ in φ by ψ ̂. Then?
φ ̂ ⊨ =| φ
What formulas are the connectives built upon?
¬,→
When makes a set of connectives C adequate?
If every formula is logically equivalent to a formula using only connectives from C.
What set is adequate by definition?
{¬,→}
How would you show that {¬,*} is adequate?
Show that → can be expressed by {¬,*} since {¬,→} is adequate by definition.
What is a logical consequence and what is the notation?
if e(γ) = T for all γ∈Γ, then e(φ)= T where Γ is a possibly empty, possibly infinite, possibly finite set of propositional formulas.
Γ⊨ φ
What is the difference between logical consequence and valid?
valid – finitely many formulas,
logical consequence – possibly empty, finite, or infinite
Define tautology and give the notation
e(φ) = T for all truth assignments e
⊨ φ
tWhat is the relationship between tautologies and truth equivalences?
φ ⊨ =| ψ if and only if ⊨ (φ ↔ ψ).
What is a conjunct?
A and B
What is a disjunct?
A or B
What is a literal?
Either a propositional variable or the negation of a propositional variable.
What is DNF?
sets of “ands” grouped together by “ors”
((P_1 ∧P_2 ∧¬P_3)∨(P_1 ∧〖¬P〗_2 ∧P_3)∨(¬P_1 ∧P_2 ∧P_3))
What are two rules for DNF constituents in DNF?
All variables must appear in each DNF constituent.
No DNF constituent can be repeated.
What are DNF constituents?
the “and” parts of the set
Is (P_1∧¬P_1) in DNF?
yes
Describe two ways to find the DNF of a formula
Finding DNFs:
1. Truth tables, locate which combinations of variables result in the formula being true.
2. Truth equivalences