Proof of transitivity in Hilbert Style

3.9k Views Asked by At

We can use the following axioms: $$\begin{align} &A\to(B\to A)&\tag{A1}\\ &[A\to(B\to C)]\to[(A\to B)\to(A\to C)]&\tag{A2}\\ &(\lnot A\to\lnot B)\to(B\to A)&\tag{A3} \end{align}$$

We need to prove: $$A\to B, B\to C\vdash A\to C$$

The hint is to use The Deduction Theorem.

I can't for the love of me figure it out, please help :(

2

There are 2 best solutions below

1
On BEST ANSWER

I assume you can use modus ponens as a deductive rule. Here is a Hilbert-style proof. As you can see, there is no reason to use the deduction theorem.

  1. $A \to B$ [assumption]
  2. $B \to C$ [assumption]
  3. $(B \to C) \to (A \to (B \to C))$ [by A1]
  4. $A \to (B \to C)$ [modus ponens, 2 and 3]
  5. $(A \to (B \to C)) \to ((A \to B) \to (A \to C))$ [by A2]
  6. $(A \to B) \to (A \to C)$ [modus ponens, 4 and 5]
  7. $A \to C$ [modus ponens, 1 and 6]
3
On

$$A \to B, B \to C \vdash A \to C$$

by deduction theorem

$$A \to B, B \to C, A \vdash C$$

applying $B \to C$

$$A \to B, A \vdash B$$

applying $A \to B$

$$A \vdash A$$

tautology.