Tautologies, Satisfiability and Consistency

Computing truth tables of compound formulas

Given the formula:

  • It has rows as it contains variables.
FFFTFTFTT
FFTFFTFTT
FTFTFTFTT
FTTFFTTTT
TFFTFTFFT
TFTFFTFFT
TTFTTTFFT
TTTFTFTTF

Precedence of logical operators

We have to use parantheses to not create confusion, for example can have two different truth tables depending on how you parse it. To reduce the number of brackets, we agree takes priority, for example means .

Propositional satisfiability

Tautology

A tautology (otherwise known as valid) is a formula that is true under all [[Interpretation|interpretations]], every row in a truth table of a tautology makes it true.

We can denote a tautology by , where is a formula which is a tautology.

TFT
FTT
Given the set of formulas, $\Delta = \{ A_1, A_2, A_3 \}$, provided $\Delta \models \varphi$:
 
$$
	\begin{aligned}
		\Delta &\models \varphi \\
		A_1, A_2, A_3 &\models \varphi \\
		A_1 \land A_2 \land A_3 &\models \varphi \\
		A_1 , A_2 &\models A_3 \rightarrow \varphi \\
		A_1 &\models A_2 \rightarrow (A_3 \rightarrow \varphi) \\
		\emptyset &\models A_1 \rightarrow (A_2 \rightarrow (A_3 \rightarrow \varphi)) \\
	\end{aligned}
$$
Link to original

Contradiction

A contradiction is a formula that is false under all [[Interpretation|interpretations]].

TFF
FTF
Link to original

Satisfiable

A formula is satisfiable if there is an interpretation $v$ that makes the formula $F$ true. We say satisfies .

TF
FT

A set of propositional formulae is satisfiable if there is an interpretation $v$ satisfying every formula in $S$.

Link to original

Consistency

Consistent

A collection of formulas is consistent if: ?

  • Not only each and every formula in the collection is satisfiable.
  • It is possible to find a truth table assignment with the propositional variables in them that make all of the formulas true at the same time.
Link to original

Given the following specifications:
- Message is stored in buffer or it is trasmitted. $p\vee q$
- Message is not stored in buffer. $\neg p$
- Message is stored in buffer then it is trasmitted. $p \rightarrow q$
 
|  $p$  |  $q$  | $p \vee q$ | $\neq p$ | $p\rightarrow q$ |
|:-----:|:-----:|:----------:|:--------:|:----------------:|
|   T   |   T   |     T      |    F     |        T         |
|   T   |   F   |     T      |    F     |        F         |
|  *F*  |  *T*  |   **T**    |  **T**   |      **T**       |
|   F   |   F   |     F      |    T     |        T         |