I’m reading Introduction to Mathematical Logic by Elliott Mendelson. He gave these three axioms:
And then he tried to prove that ¬ ¬ R → R :
My question is: what happened in line number 1 (when applying axiom (A3))?
For simplicity, rewrite axiom (A3) as follows:
(¬A → ¬D) → ((¬A → D) → A),
where (see page 3) A and D are statement forms (i.e. place-holders that stand for formulas whatever; see Uses of schema in Logic).
Il Line 1, we perform the substitution of B in place of A and of ¬B in place of D, getting:
(¬B → ¬¬B) → ((¬B → ¬B) → B).