I know how to use conditional proof assumption to demonstrate that $A \rightarrow C$. For example, having the premises:
- A → B ("If A, then B")
- B → C ("If B, then C")
We can prove that that $A \rightarrow C$ in the following manner:
- A (conditional proof assumption, "Suppose A is true")
- B (follows from lines 1 and 3, modus ponens; "If A then B; A, therefore B")
- C (follows from lines 2 and 4, modus ponens; "If B then C; B, therefore C")
- A → C (follows from lines 3–5, conditional proof; "If A, then C")
However, I do not understand exactly why this works. What is the formal proof for this method?
I know that $A \rightarrow C$ will be true for all cases except when A is TRUE and C is FALSE. Therefore, if A is TRUE, then C must be necessarily TRUE in order for $A \rightarrow C$ to be true. But I don't know wether A is TRUE or FALSE, so why does making the assumption "A is true" always lead us to a correct result?
What steps 1 through 5 are showing is that the two givens $A \to B$, $B \to C$, together with assumption $A$, logically imply the statement $C$.
Using the $\vDash$ symbol for loigical notation, we can write this as: $$\{ A \to B, B \to C, A \} \vDash C \tag{1}$$
Now, on line 6, you conclude that this means that $A \to C$ follows from the two givens $A \to B$ and $B \to C$ alone, i.e. that $$\{ A \to B, B \to C\} \vDash A \to C \tag{2}$$
Your question is: why would this be correct? Why would the fact that (1) imply that (2)?
Well, for $(2)$ to be the case, it must be the case that for any truth-assignment to the variables $A$, $B$, and $C$, it is impossible for $A \to B$ and $B \to C$ to br true, and $A \to C$ to be false. But, the only way for $A \to C$ to be false, is when $A$ is true and $C$ is false. Hence, $(2)$ would be the case if for any truth-assignment to the variables $A$, $B$, and $C$, it is impossible for $A \to B$ and $B \to C$ and $A$ to be true, and for $C$ to be false. But, that is exactly what $(1)$ is telling us. So, $(1)$ implies $(2)$
... and that is what the rule of Conditional Introduction does in general. Where $\Gamma$ is any set of statements, where $\varphi$ is some assumption, and where $\psi$ is some statement you are able to derive from the asumption, together with the given statementds $\Gamma$, you go from the finding that:
$$\Gamma \cup \varphi \vDash \psi$$
to:
$$\Gamma \vDash \varphi \to \psi$$
and the validity of that follows the same reasoning as above.