Let X, Tx, Y, Ty, Z, Tz, f and g be given.
We prove the intermediate
claim HTy_from_f:
topology_on Y Ty.
We prove the intermediate
claim Hfun_f:
function_on f X Y.
We prove the intermediate
claim Hpreimg_f:
∀V : set, V ∈ Ty → preimage_of X f V ∈ Tx.
We prove the intermediate
claim Hfun_g:
function_on g Y Z.
We prove the intermediate
claim Hpreimg_g:
∀W : set, W ∈ Tz → preimage_of Y g W ∈ Ty.
Apply andI to the current goal.
An exact proof term for the current goal is HTx.
An exact proof term for the current goal is HTz.
Apply andI to the current goal.
An exact proof term for the current goal is Hpart1.
Let x be given.
We prove the intermediate
claim Hfx:
apply_fun f x ∈ Y.
An exact proof term for the current goal is (Hfun_f x Hx).
An
exact proof term for the current goal is
(Hfun_g (apply_fun f x) Hfx).
rewrite the current goal using Hgf_eq (from left to right).
An exact proof term for the current goal is Hgfx.
Apply andI to the current goal.
An exact proof term for the current goal is Hpart2.
Let W be given.
We prove the intermediate
claim HgW_open:
preimage_of Y g W ∈ Ty.
An exact proof term for the current goal is (Hpreimg_g W HW).
An
exact proof term for the current goal is
(Hpreimg_f (preimage_of Y g W) HgW_open).
rewrite the current goal using Hpreimg_eq (from left to right).
An exact proof term for the current goal is HfgW_open.
∎