In my textbook I have this (syntactic) definition of inconsistency:
We say that $\Sigma$ ($\subseteq\textrm{Prop}(A)$) is inconsistent if $\Sigma\vdash\bot$.
I think the intuitive definition of inconsistency is that some set $\Sigma$ of propositional formulas is inconsistent if it contains contradiction (to be more precise, if the contradiction is provable), that is if there exists a formula $p$, such that $\{p,\neg p\}\subseteq\Sigma$.
I would like to check whether the intuitive definition of consistency is consistent with the one from my text book. (:
I would do it like this:
Lets suppose that there exists a proposition $p$, such that $\{p,\neg p\}\subseteq\Sigma$. Now, among my (the ones defined in my textbook) propositional axioms I have this one $$p\rightarrow(\neg p \rightarrow \bot).$$ So by applying modus ponens to $p$ and $p\rightarrow(\neg p \rightarrow \bot)$ I infer that $$\Sigma\vdash (\neg p \rightarrow \bot).$$ Now I again apply modus ponens to $\neg p$ and $\neg p\rightarrow \bot$ and infer that $$\Sigma\vdash\bot.$$ This yields a contradiction, because one of my propositional axioms is also $\top$.
Is this a correct way to prove that those definitions are equivalent?
Thank you for your answers!
--pizet