$\begin{array}{|c c|c|} P & \neg P & (\neg P \rightarrow \bot)\\ % Use & to separate the columns \hline % Put a horizontal line between the table header and the rest. \text{T} & \text{F} & \text{T}\\ \text{F} & \text{T} & \text{F}\\ \end{array}$
In this truth table, we see that $(\neg P \rightarrow \bot)$ is equivalent to $P$. The line where $\neg P$ is $\text{true}$ is the last row and there $(\neg P \rightarrow \bot)$ is $\text{false}$.
In a proof by contradiction we assume that $\neg P$ is $\text{true}$ and show that this leads to a contradiction. Is this captured in the above truth table? How is the truth table connected to proof by contradiction?
The problem I have is that in a proof by contradiction we start by assuming $\neg P$ is $\text{true}$ and this leads to a contradiction. But I do not see how this is captured in the truth table?
EDIT: Alternatively we could l look at $P\rightarrow Q$ and we get the truth table:
$\begin{array}{|c c|c|c|c|} P & Q & (P \rightarrow Q)&(P\wedge \neg Q)&(P\wedge \neg Q)\rightarrow \bot\\ % Use & to separate the columns \hline % Put a horizontal line between the table header and the rest. \text{T} & \text{T} & \text{T}&\text{F}&\text{T}\\ \text{T} & \text{F} & \text{F}&\text{T}&\text{F}\\ \text{F} & \text{T} & \text{T}&\text{F}&\text{T}\\ \text{F} & \text{F} & \text{T}&\text{F}&\text{T}\\ \end{array} $