I have a theorem in which I show that an object exists that satisfies some property. I proved this theorem by constructing the object. Then, in another proof, I would like to refer to the object defined in the first theorem in the statement of the second theorem. I know the object should be accessible if I close my proof with Defined rather than Qed, but I don't know how to access it. For example:
Theorem T1: exists x, P x. Proof. ... Defined.
Theorem T2: for the same x constructed in T1, Q x \/ R x. Proof. ... Qed.
How do I express this in Coq?