Suppose I am given the statement $a \rightarrow b$ (1), and I know $b$ is true. Can I also conclude $a$ is true from just the given information (1)? My logic for trying to figure out this was — Let me apply the ¬ operator to the given statement (1). Then, $¬ a \rightarrow ¬ b$ (2). ( I am not sure if this can be done.) Then, if it were the case that $a$ is false, then $¬ a$ would be true. Which would also imply from (2) that $¬ b$ is true, $\implies b$ is false. This is a contradiction to the information that we are given that $b$ is true. So, $a$ must be true.
What confuses me is that for the general truth table of $a \rightarrow b$, there is a particular case where $a=0, b=1$ and $a \rightarrow b$ is also $1$.
Edit: My confusion arose after seeing this being done in class. I had a statement I) $p \rightarrow q$ and II) $¬ q$. II) is true. From these two, the instructor concluded that $¬ p$ is true. I don’t quite understand how that happened.