$\newcommand{\identity}{\mathrm{id}} \newcommand{\notdivide}{{\not{\mid}}} \newcommand{\notsubset}{\not\subset} \newcommand{\lcm}{\operatorname{lcm}} \newcommand{\gf}{\operatorname{GF}} \newcommand{\inn}{\operatorname{Inn}} \newcommand{\aut}{\operatorname{Aut}} \newcommand{\Hom}{\operatorname{Hom}} \newcommand{\cis}{\operatorname{cis}} \newcommand{\chr}{\operatorname{char}} \newcommand{\Null}{\operatorname{Null}} \renewcommand{\vec}[1]{\mathbf{#1}} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&}$

## Section3.4The Laws of Logic

### Subsection3.4.1

In this section, we will list the most basic equivalences and implications of logic. Most of the equivalences listed in Table Table 3.4.3 should be obvious to the reader. Remember, 0 stands for contradiction, 1 for tautology. Many logical laws are similar to algebraic laws. For example, there is a logical law corresponding to the associative law of addition, $a + (b + c) = (a + b) + c$. In fact, associativity of both conjunction and disjunction are among the laws of logic. Notice that with one exception, the laws are paired in such a way that exchanging the symbols $\land$, $\lor$, 1 and 0 for $\lor$, $\land$, 0, and 1, respectively, in any law gives you a second law. For example, $p \lor 0\Leftrightarrow p$ results in $p \land 1 \Leftrightarrow p$. This is called a duality principle. For now, think of it as a way of remembering two laws for the price of one. We will leave it to the reader to verify a few of these laws with truth tables. However, the reader should be careful in applying duality to the conditional operator and implication since the dual involves taking the converse. For example, the dual of $p \land q\Rightarrow p$ is $p \lor q \Leftarrow p$, which is usually written $p\Rightarrow p \lor q$.

The Identity Law can be verified with this truth table. The fact that $(p \land 1)\leftrightarrow p$ is a tautology serves as a valid proof.

Some of the logical laws in Table Table 3.4.4 might be less obvious to you. For any that you are not comfortable with, substitute actual propositions for the logical variables. For example, if $p$ is “John owns a pet store” and $q$ is “John likes pets,” the detachment law should make sense.

### SubsectionExercises for Section 3.4

###### 1

Write the following in symbolic notation and determine whether it is a tautology: “If I study then I will learn. I will not learn. Therefore, I do not study.”

Let $s=\textrm{I will study}$,$t=\textrm{I will learn.}$ The argument is: $((s\to t)\land (\neg t))\to (\neg s) ,$ call the argument $a\text{.}$

\begin{equation*} \begin{array}{ccccc} s\text{ } & t\text{ } & s\to t\text{ } & (s\to t)\land (\neg t)\text{ } & a \\ \hline 0\text{ } & 0\text{ } & 1\text{ } & 1\text{ } & 1 \\ 0\text{ } & 1\text{ } & 1\text{ } & 0\text{ } & 1 \\ 1\text{ } & 0\text{ } & 0\text{ } & 0\text{ } & 1 \\ 1\text{ } & 1\text{ } & 1\text{ } & 0\text{ } & 1 \\ \end{array}\text{.} \end{equation*}

Since $a$ is a tautology, the argument is valid.

###### 2

Show that the common fallacy $(p\to q) \land \neg p \Rightarrow \neg q$ is not a law of logic.

###### 3

Describe, in general, how duality can be applied to implications if we introduce the relation $\Leftarrow$, read “is implied by.” We define this relation by

\begin{equation*} (p \Leftarrow q) \Leftrightarrow (q \Rightarrow p)\text{.} \end{equation*}
In any true statement $S\text{,}$ replace; $\land$ with $\lor$, $\lor$ with $\land$, 0 with 1, 1 with 0, $\Leftarrow$ with $\Rightarrow \text{,}$ and $\Rightarrow$ with $\Leftarrow \text{.}$ Leave all other connectives unchanged.
1. $(p \land q)\Rightarrow p$
2. $(p\lor q)\land \neg q\Rightarrow p$