We prove the intermediate
claim HAsubX:
A ⊆ X.
rewrite the current goal using HphiDef (from left to right).
We prove the intermediate
claim HJsubR:
J ⊆ R.
We prove the intermediate
claim HhJimg:
∀x : set, x ∈ A → apply_fun h x ∈ J.
Let x be given.
We prove the intermediate
claim HxR:
apply_fun f x ∈ R.
rewrite the current goal using
(compose_fun_apply A f phi x HxA) (from left to right).
Use reflexivity.
rewrite the current goal using Hhapp (from left to right).
rewrite the current goal using HphiDef (from left to right).
rewrite the current goal using HJdef (from left to right).
Apply HexgJ to the current goal.
Let gJ be given.
Assume HgJ.
We prove the intermediate
claim HgJ_cont:
continuous_map X Tx J Tj gJ.
We use g to witness the existential quantifier.
Apply andI to the current goal.
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An exact proof term for the current goal is (HAsubX x HxA).
rewrite the current goal using
(compose_fun_apply X gJ psi x HxX) (from left to right).
Use reflexivity.
rewrite the current goal using Hgapp (from left to right).
rewrite the current goal using (HgJ_eq x HxA) (from left to right).
We prove the intermediate
claim HxR:
apply_fun f x ∈ R.
rewrite the current goal using
(compose_fun_apply A f phi x HxA) (from left to right).
rewrite the current goal using HphiDef (from left to right).
Use reflexivity.
rewrite the current goal using Hhapp (from left to right).
∎