Let x be given.
Let U be given.
We prove the intermediate
claim HUx:
U ∈ Tx ∧ x ∈ U.
We prove the intermediate
claim HUinTx:
U ∈ Tx.
An
exact proof term for the current goal is
(andEL (U ∈ Tx) (x ∈ U) HUx).
We prove the intermediate
claim HxU:
x ∈ U.
An
exact proof term for the current goal is
(andER (U ∈ Tx) (x ∈ U) HUx).
We prove the intermediate
claim HKsubX:
K ⊆ X.
We prove the intermediate
claim HUsubX:
U ⊆ X.
We prove the intermediate
claim HUsubK:
U ⊆ K.
We prove the intermediate
claim HUcapK:
U ∩ K ∈ Tk.
We prove the intermediate
claim HcapEq:
U ∩ K = U.
Let y be given.
An
exact proof term for the current goal is
(binintersectE1 U K y Hy).
Let y be given.
An
exact proof term for the current goal is
(binintersectI U K y Hy (HUsubK y Hy)).
We prove the intermediate
claim HUopenK:
open_in K Tk U.
Apply andI to the current goal.
An exact proof term for the current goal is HTk.
rewrite the current goal using HcapEq (from right to left) at position 1.
An exact proof term for the current goal is HUcapK.
rewrite the current goal using HeqTop (from right to left).
An exact proof term for the current goal is HBU.
We use U to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HUinTx.
An exact proof term for the current goal is HxU.
An exact proof term for the current goal is HBUx.