I'm trying to prove a formula in the Hilbert system.
First of all, I have a question whether a certain step is allowed. Provided that the theorem ⊢A→A has already been proven in the Hilbert system.
Can I replace an occurence of the form A→A in another proof in the Hilbert system by true (since A→A is provable)?
Secondly, I'm trying to proof ⊢A∧B→A. However, I get stuck. I first try to remove the conjunction.
....
{¬A,A} ⊢ ¬B (deduction)
{¬A} ⊢ A→¬B (deduction)
⊢ ¬A→(A→¬B) (contrapositive)
⊢ ¬(A→¬B)→A (definition ∧)
⊢ A∧B→A
As you can see, I get a contradiction wihtin the axioms. Does anyone have any suggestions of how to proof this theorem in the Hilbert system?