recategorized by
961 views
2 votes
2 votes

Consider the following statements about propositional formulas.

  1. $\left ( p\wedge q \right )\rightarrow r$ and $\left ( p \rightarrow r \right )\wedge \left ( q\rightarrow r \right )$ are $\textit{not }$ logically equivalent.
  2. $\left ( \neg a\rightarrow b \right )\wedge \left ( \neg b\vee \left ( \neg a \vee \neg b \right )\right )$ and $\neg \left ( a\leftrightarrow b \right )$ are $\textit{not }$ logically equivalent.
  1. Both $\text{(i)}$ and $\text{(ii)}$ are true.
  2. $\text{(i)}$ is true and $\text{(ii)}$ is false.
  3. $\text{(i)}$ is false and $\text{(ii)}$ is true.
  4. Both $\text{(i)}$ and $\text{(ii)}$ are false.
  5. Depending on the values $p$ and $q$, $\text{(i)}$ can be either true or false, while $\text{(ii)}$ is always false.
recategorized by

2 Answers

1 votes
1 votes
  1. $(p \wedge q) \rightarrow r \\ \quad \Rightarrow \neg(p \wedge q) \vee r \\ \quad \Rightarrow \neg (p) \vee \neg (q) \vee r \\ \> \\  \left ( p \rightarrow r \right )\wedge \left ( q\rightarrow r \right ) \\ \quad \Rightarrow (\neg p \vee r) \wedge (\neg q \vee r) \\ \quad \Rightarrow \neg (p) \wedge \neg (q) \vee r \\ \quad \quad \textbf{they are not logically equivalent.} \\ \>$ 
  2. $\left ( \neg a\rightarrow b \right )\wedge \left ( \neg b\vee \left ( \neg a \vee \neg b \right )\right ) \\ \quad \Rightarrow (a \vee b) \wedge (\neg (a) \vee \neg(b)) \\ \quad \Rightarrow  (a \wedge \neg a) \vee (a \wedge \neg b) \vee (\neg a \wedge b) \vee ( b \wedge  \neg b) \\ \quad \Rightarrow (a \wedge \neg b) \vee (\neg a \wedge b) \\ \> \\  \neg \left ( a\leftrightarrow b \right ) \\ \quad \Rightarrow \neg ((a \rightarrow b) \wedge (b \rightarrow a)) \\ \quad \Rightarrow \neg ((\neg a \vee b) \wedge ( \neg b \vee a)) \\ \quad \Rightarrow (a \wedge \neg b) \vee (\neg a \wedge b)  \\ \quad \quad \textbf{they are logically equivalent.} \\ \>$

$\text{ (i) is true, (ii) is false} \\ \textbf{B is correct.}$

 

Answer:

Related questions

836
views
1 answers
1 votes
soujanyareddy13 asked Mar 25, 2021
836 views
Let $L$ be a singly-linked list $X$ and $Y$ be additional pointer variables such that $X$ points to the first element of $L$ and $Y$ points to the ... an element before the first element of $L$.Interchange the first two elements of $L$.
942
views
3 answers
2 votes
soujanyareddy13 asked Mar 25, 2021
942 views
What is the prefix expression corresponding to the expression:$\left ( \left ( 9+8 \right ) \ast 7+\left ( 6\ast \left ( 5+4 \right ) \right )\ast 3\right )+2?$You may assume ... \ast \: 6 + \:5432$+ \ast + \ast \: 987+ + \: 6 \ast \:5432$
539
views
1 answers
2 votes
soujanyareddy13 asked Mar 25, 2021
539 views
Consider the following two languages. ... this question only if we resolve the status of the $\text{NP}$ vs. $\text{P}$ question.
724
views
1 answers
1 votes
soujanyareddy13 asked Mar 25, 2021
724 views
For a language $L$ over the alphabet $\{a, b\}$, let $\overline{L}$ denote the complement of $L$ and let $L^{\ast}$ denote the Kleene-closure of $L$. Consider the ... ?Both (i) and (iii)Only (i)Only (iii)Only (ii)None of the above