Let X and Y be given.
Assume H1: X Y.
Set f to be the term λx ⇒ x of type setset.
We will prove f : setset, inj X Y f.
We use f to witness the existential quantifier.
Apply injI to the current goal.
An exact proof term for the current goal is H1.
Let x be given.
Assume Hx: x X.
Let x' be given.
Assume Hx': x' X.
Assume H2: x = x'.
An exact proof term for the current goal is H2.