Let x be given.
We prove the intermediate
claim Hfun:
function_on f X Y.
We prove the intermediate
claim HyY:
apply_fun f x ∈ Y.
An exact proof term for the current goal is (Hfun x Hx).
rewrite the current goal using Hginv (from left to right).
Let u be given.
Let v be given.
Assume Heq.
An
exact proof term for the current goal is
(bijection_inj X Y f u v Hbij Hu Hv Heq).
An
exact proof term for the current goal is
(inj_linv X (λu : set ⇒ apply_fun f u) Hinj x Hx).