Definition (consistency)
Let $T\subseteq \mathrm{Fml}$.
$T$ is said to be inconsistent if $T$${}\vdash{}$$\bot$. Otherwise it is consistent.
Ex falso: $\bot \vdash ϕ$ for all $ϕ\in \mathrm{Fml}$. (Proof) Therefore by the lemma on lemmas, $T$ is inconsistent iff $T \vdash ϕ$ for all $ϕ$.
If $T$ is consistent and $T \vdash ϕ$, then $T\cup \set{ϕ}$ is consistent by the lemma on lemmas.
If $T$ is inconsistent, then there exists a finite subset $T_0 \subseteq T$ which is inconsistent, by the finiteness theorem.