1
Consider defined by:
| interpretation | |||
|---|---|---|---|
| 0 | 0 | 1 | |
| 0 | 1 | 0 | |
| 1 | 0 | 0 | |
| 1 | 1 | 0 |
-
Show that is logically equivalent to
interpretation 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 0
title: Correct answer.-
Show that is logically equivalent to .
interpretation 0 1 1 1 0 0
title: Correct answer.-
Show that the connective is adequete for propositional logic.
We have already shown that . We need to show that and can be represented using .
interpretation 0 0 1 1 0 0 0 1 0 1 0 0 1 0 1 0 0 0 1 1 0 0 1 1
title: We can instead show completeness by only finding $\{ \neg, \lor \}$ from $\{ \downarrow \}$
$$
\begin{aligned}
\neg P &\equiv P \downarrow P \\
\neg (P \lor Q) &\equiv P \downarrow Q \\
P \lor Q &\equiv \neg (P \downarrow Q) \\
P \lor Q &\equiv P \downarrow Q \downarrow P \downarrow Q
\end{aligned}
$$2
Let be .
- Formula is a substitution instance given by
Not a substitution instance.Substitution instance given by .- Not a substitution instance.
- Formula is a substitution instance given by .
It is not a direct substitution instance but and are logically equivalent, so you can find it by manipulating the formula given by .Not a substitution instance.
title: Mostly correct.3
Given formula , find Quine’s tree and its DNF.
digraph A {
{
node[shape="rect"]
root[label="(p or r') implies (q' or r)'"]
PT[label="(T or r') implies (q' or r)"]
PT2[label="T implies (q' or r)"]
PT3[label="q' or r"]
PF[label="(F or r') implies (q' or r)"]
PF2[label="r' implies (q' or r)"]
PFRT[label="T' implies (q' or T)"]
PFRT2[label="F implies (q' or T)"]
PFRT3[label="T"]
PFRF[label="F' implies (q' or F)"]
PFRF2[label="T implies (q' or F)"]
PFRF3[label="q'"]
}
root->PT [label = " P = 1"]
PT->PT2
PT2->PT3
root->PF [label = " P = 0"]
PF->PF2
PF2->PFRT [label = " R = 1"]
PFRT->PFRT2
PFRT2->PFRT3
PF2->PFRF [label = " R = 0"]
PFRF->PFRF2
PFRF2->PFRF3
}Hence the formula is true when:
Hence we find the formula in DNF:
title: Incorrect; missing negation on $\rightarrow \textbf{B}$.4
Determine whether the following statements are consistent.
Whenever the system software is being upgraded, users cannot access the file system. If users can access the file system, then they can save new files. If users cannot save new files, then the system software is not being upgraded.
Let be that system software is being upgraded. Let be that users can access the file system. Let be that users can save new files.
Formal definition of statements:
| interpretation | ||||||
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 | 1 | |
| 0 | 0 | 1 | 1 | 1 | 1 | |
| 0 | 1 | 0 | 1 | 0 | 1 | |
| 0 | 1 | 1 | 1 | 1 | 1 | |
| 1 | 0 | 0 | 0 | 1 | 0 | |
| 1 | 0 | 1 | 0 | 1 | 1 | |
| 1 | 1 | 0 | 1 | 0 | 0 | |
| 1 | 1 | 1 | 1 | 1 | 1 |
As there is at least one interpretation where all formulas are true, the given statements must be consistent.