Definition (proof in propositional logic)

Let $T \subseteq{}$$\mathrm{Fml}$.

A string $D = ϕ_0 ϕ_1 \ldots ϕ_n \in \mathrm{Fml}^\ast$ is called a $T$-proof if for each $i = 0, 1, \ldots, n$, one of the following holds:

  1. $A_T$: $ϕ_i\in T$;

  2. $B$: $ϕ_i$ is one of the following axioms:

    • Type 1: $ϕ_i = (ϕ \Rightarrow (ψ \Rightarrow ϕ))$ for some $ϕ, ψ\in \mathrm{Fml}$;

    • Type 2: $ϕ_i = \bigl(\bigl(ϕ \Rightarrow (ψ \Rightarrow χ)\bigr) \Rightarrow \bigl((ϕ \Rightarrow ψ) \Rightarrow (ϕ \Rightarrow χ)\bigr)\bigr)$ for some $ϕ, ψ, χ\in \mathrm{Fml}$;

    • Type 3: $ϕ_i = (((ϕ \Rightarrow \bot) \Rightarrow \bot) \Rightarrow ϕ)$ for some $ϕ\in \mathrm{Fml}$;

    • Type 4: $ϕ_i = (ϕ \Rightarrow{}$$t$$(ϕ))$ or $(t(ϕ) \Rightarrow ϕ)$ for some $ϕ\in \mathrm{Fml}$;

  3. $C$: there exists $j,k<i$ such that $(ϕ_j, ϕ_k, ϕ_i)$ is an instance of modus ponens, i.e. $ϕ_j = (ϕ_k \Rightarrow ϕ_i)$.

Call $D$ a proof if $T = \emptyset$.

If $ϕ$ occurs in $D$, then say $D$ is a proof of $ϕ$.

If there is a $T$-proof for $ϕ$, write $T \vdash ϕ$.

If $T\subseteq T'$, then every $T$-proof is a $T'$-proof.

If $D$ is a $T$-proof and $E$ is $S$-proof, then $DE$ is a $(T \cup S)$-proof.

Finiteness theorem: if $D$ is a $T$-proof, then $D$ is a $T_0$-proof where $T_0 = \sb{ϕ\in T}{ϕ\text{ occurs in }D}$ is a finite set.