1. Complete sets of connectives, truth-functions and substitutions
Complete Sets of Connectives
Complete Set of Connectives
A set of connectives is called complete (or adequete) if every propositional logic formula is equivalent to a formula using only connectives from this set.
Examples:
Since every formula has a DNF, the set {¬,∧,∨} is complete.
From De Morgan’s laws we have that:
P∨QP∧Q≡¬(¬P∧¬Q)≡¬(¬P∨¬Q)
Therefore both sets of connectives {∧,¬} and {∨,¬} are complete.
To show a given set of connectives is complete, we need to express it in terms of a known complete set of connectives.
The set {¬,→} is complete because P→Q≡¬P∨Q, hence the set {¬,→} can be expressed in terms of the complete set {¬,∨}.
No singleton set from the standard set of connectives is complete.
title: ExampleLet $f$ be the truth-function as defined:$$ f(P,Q,R) = 1 \iff \text{either } P = Q = 0 \text{ or } Q = R = 1$$Hence $f$ is equal to $1$ in these four exact cases:$$ f(0,0,0), f(0,0,1), f(0,1,1), f(1,1,1)$$
Universal substitution of formula for propositional variables:
Let W,H1,...,Hn be formulae.
Let P1,...,Pn be propositional variables.
?
The expression W(P1/H1,...,Pn/Hn) denotes the formula obtained by simultaneously replacing all occurences of P1 in W by the formula H1, P2 by H2 and so forth.
We say that the formula W(../...) is a substitution instance of the original formula.
title: Example 1Let $W$ be $P \rightarrow (Q \rightarrow P)$.Hence $W(P/\neg P \lor R, Q/\neg P)$ is the formula $\neg P \lor R \rightarrow (\neg P \rightarrow \neg P \lor R)$.In this case, both $W$ and $W(...)$ are both tautologies as $W(...)$ follows from the logic of $W$.
title: Example 2The formula $(\neg P \lor R \rightarrow \neg P) \rightarrow \neg P \lor R$ is not a subsitution instance of $P \rightarrow (Q \rightarrow P)$.- Both have a different structure from each other.If we replace $P$ by $(\neg P \lor R \rightarrow \neg P)$ then we would have to replace $Q$ by $\neg P \lor R$ but we would "miss the consequent of $Q \rightarrow P$".
In a valid argument, we can informally say that conclusion B “follows” from a set of premises A1,...,An.
Formally, we say that formula B is a logical consequence of the set of formulae {A1,...,An}, if the following implication holds for every interpretation v: $$ \text{If } v(A_i) = 1, \text{ for all } 1 \le i \le n, \text{ then } v(B) = 1. $$
Alternative terminologies include:
B is a logical consequence of A1,...,An.
A1,...,An⊨B.
The argument A1,...,An⊨B is valid.
B is semantically entailed (or implied) by A1,...,An
Let the symbol I denote the set of all interpretations.
Let S={A1,...,An}. We have that
S⊨B⟺mod(S)⊆mod(B)
Notice that mod(¬B)=I−mod(B) hence:
mod(B)∩mod(¬B)=∅
Therefore, if S⊨B, then mod(S)∩mod(¬B)=∅.
title: ExampleShow that $P, P \rightarrow Q \models Q$.| *interpretation* | $p$ | $q$ | $p \rightarrow q$ | $p \land (p \rightarrow q)$ | $q$ | $\models$ ||:----------------:|:---:|:---:|:-----------------:|:---------------------------:|:---:|:-----------------------------------:|| $v_{0}$ | 0 | 0 | 1 | 0 | 0 | ✅ **premises false** | | $v_{1}$ | 0 | 1 | 1 | 0 | 1 | ✅ **premises false** || $v_{2}$ | 1 | 0 | 0 | 0 | 0 | ✅ **premises false** || $v_{3}$ | 1 | 1 | 1 | 1 | 1 | ✅ **premises and conclusion true** |The statement follows because in every row in which the columns for $P$ and $P \rightarrow Q$ contain $1$ (the premises), so does the column for $Q$ (the conclusion).$$ \bmod (\{ P, P \rightarrow Q \}) = \{ v_3 \} \subseteq \, \bmod(\{ Q \}) = \{ v_1, v_3 \}$$This type of derivation is called [[Modus ponens]].
Special case: unsatisfiable premises
Take the following scenario:
If Jack takes a holiday, then Jill will be happy and she will not cry.
Jack will take a holiday and if Jill is happy she will cry.
Therefore Jack will take a holiday.
We define this formally using:
Let J stand for ‘Jack will take a holiday’
Let H stand for ‘Jill will be happy’
Let C stand for ‘Jill will cry’
In this case, the argument J→(H∧¬C),J∧(H→C)⊨J is valid.
This is because mod(S)=∅⊆mod(B).
In general, any conclusion follows from an unsatisfiable set of premises.
Special case: tautological conclusions
Tautologies are always true, so if A is a tautology, then mod(A)=I.
This has two effects:
A tautology is a logical consequence of any set of formulae.
A tautology also follows from ‘nothing’.
Any interpretation satisfies all of the formulae in the empty set, hence mod(∅)=I.
However, if A is a tautology, then mod(A)=I hence mod(∅)=I⊆mod(A)=I.
Invalid argument
Invalid argument
An argument that is not valid is said to be invalid.
By the definition of logical consequence, A1,...,An⊨B if there exists an interpretation v such that:
v(Ai)=1 for all 1≤i≤n, but v(B)=0
Hence, in order to show a conclusion does not follow from a set of premises, we must find an interpretation that makes all of the premises true, but under which the conclusion is false.
title: Example 1Show that $P \not\models Q$ where $P$ and $Q$ are atoms.**Solution**: Take the interpretation $v$ with $v(P) = 1$ and $v(Q) = 0$.
title: Example 2Show that $P \rightarrow Q \not\models Q$ where $P$ and $Q$ are atoms.**Solution**: Take the interpretation $v$ with $v(P) = 0$ and $v(Q) = 0$.When $P$ and $Q$ are $0$, it makes $P \rightarrow Q$ true but $Q$ is still false.