Let b0 be given.
Let b be given.
We prove the intermediate
claim HbTx:
b ∈ Tx.
An exact proof term for the current goal is (HBxsubTx b HbBx).
We prove the intermediate
claim HimgOpen:
∀U : set, U ∈ Tx → image_of f U ∈ Ty.
We prove the intermediate
claim HVTy:
image_of f b ∈ Ty.
An exact proof term for the current goal is (HimgOpen b HbTx).
rewrite the current goal using Hb0eq (from left to right).
Let b0 be given.
Let b be given.
We prove the intermediate
claim Hx0b:
x0 ∈ b.
An exact proof term for the current goal is (HBxmem b HbBx).
We prove the intermediate
claim Hyimg:
y ∈ image_of f b.
rewrite the current goal using Hyeq (from left to right).
An
exact proof term for the current goal is
(ReplI b (λx : set ⇒ apply_fun f x) x0 Hx0b).
rewrite the current goal using Hb0eq (from left to right).
Let U be given.
We will
prove ∃b0 : set, b0 ∈ B ∧ b0 ⊆ U.
We prove the intermediate
claim HexV:
∃V ∈ Ty, U = V ∩ Im.
Apply HexV to the current goal.
Let V be given.
We prove the intermediate
claim HV:
V ∈ Ty.
An
exact proof term for the current goal is
(andEL (V ∈ Ty) (U = V ∩ Im) HVpair).
We prove the intermediate
claim HUeq:
U = V ∩ Im.
An
exact proof term for the current goal is
(andER (V ∈ Ty) (U = V ∩ Im) HVpair).
We prove the intermediate
claim HyVIm:
y ∈ V ∩ Im.
rewrite the current goal using HUeq (from right to left) at position 1.
An exact proof term for the current goal is HyU.
We prove the intermediate
claim HyV:
y ∈ V.
An
exact proof term for the current goal is
(binintersectE1 V Im y HyVIm).
We prove the intermediate
claim Hfx0V:
apply_fun f x0 ∈ V.
rewrite the current goal using Hyeq (from right to left) at position 1.
An exact proof term for the current goal is HyV.
We prove the intermediate
claim Hx0pre:
x0 ∈ preimage_of X f V.
An
exact proof term for the current goal is
(SepI X (λx : set ⇒ apply_fun f x ∈ V) x0 Hx0X Hfx0V).
We prove the intermediate
claim HpreTx:
preimage_of X f V ∈ Tx.
Apply (HBxrefine (preimage_of X f V) HpreTx Hx0pre) to the current goal.
Let b be given.
We prove the intermediate
claim HbBx:
b ∈ Bx.
An
exact proof term for the current goal is
(andEL (b ∈ Bx) (b ⊆ preimage_of X f V) Hbpair).
We prove the intermediate
claim Hbsub:
b ⊆ preimage_of X f V.
An
exact proof term for the current goal is
(andER (b ∈ Bx) (b ⊆ preimage_of X f V) Hbpair).
We use b0 to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI Bx (λb1 : set ⇒ image_of f b1 ∩ Im) b HbBx).
rewrite the current goal using HUeq (from left to right).
We prove the intermediate
claim Hb0subImg:
b0 ⊆ image_of f b.
We prove the intermediate
claim HimgsubV:
image_of f b ⊆ V.
Let z be given.
Let x1 be given.
We prove the intermediate
claim Hx1pre:
x1 ∈ preimage_of X f V.
An exact proof term for the current goal is (Hbsub x1 Hx1b).
We prove the intermediate
claim Hfx1V:
apply_fun f x1 ∈ V.
An
exact proof term for the current goal is
(SepE2 X (λu : set ⇒ apply_fun f u ∈ V) x1 Hx1pre).
rewrite the current goal using Hzeq (from left to right).
An exact proof term for the current goal is Hfx1V.
An
exact proof term for the current goal is
(Subq_tra b0 (image_of f b) V Hb0subImg HimgsubV).