Suppose that I have the axiom: $ \forall x\colon x=x. $
Which formal rule can be used to derive: $\forall x \exists y\colon x=y$.
I need to apply existence introduction, but not at the top level, but inside a quantified predicate...
added clarification by the answer and comments I understand that my problem is something more basilar. In my understanding of a formal system every theorem is obtained from the application of a inference rule applied to previously obtained theorems or axioms . The proposed answer instead assumes that one can make temporary assumption to draw a conclusion. I understand that this is how mathematicians usually write proofs, I wonder if this is how the formal system is actually defined.
a=a, is a theorem? I would say it is an assumption. – Emanuele Paolini Jul 22 '24 at 04:46