Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
rewrite the current goal using Happ (from right to left).
An exact proof term for the current goal is Himg.
An exact proof term for the current goal is HltPair.
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
We prove the intermediate
claim HhxR:
apply_fun h x ∈ R.
We prove the intermediate
claim HgxR:
apply_fun g x ∈ R.
An exact proof term for the current goal is Hlt.
rewrite the current goal using Happ (from left to right).
An exact proof term for the current goal is HpGt.
An
exact proof term for the current goal is
(SepI X (λx0 : set ⇒ apply_fun (pair_map X g h) x0 ∈ Gt) x HxX Himg).