Solution

ID: past-exam-of-the-logic-and-set-theory-course-of-the-university-of-oxford/2009/a/2/d/solution

Choose a fresh variable . In A7 take the equality antecedent , the atomic formula , and replace its occurrence of by . This gives directly the theorem
Generalize on , with no open assumptions. A4 then instantiates that quantifier with the term . The substitution is free for , since the matrix contains no quantifiers. One modus-ponens step yields
Finally generalize, in order, on , , and . The result is
Every step is A7, generalization, A4, or modus ponens. Neither completeness, adequacy, nor an unproved appeal to all propositional tautologies is needed. In particular the proof does not silently upgrade the variable-only equality axiom to an arbitrary-term axiom: quantification and instantiation perform that upgrade explicitly.

New to topics? Read the docs here!