Let U be given.
We will
prove choose U ∈ D.
We prove the intermediate
claim HUFam:
U ∈ Fam.
An
exact proof term for the current goal is
(SepE1 Fam (λU0 : set ⇒ U0 ≠ Empty) U HU0).
We prove the intermediate
claim HUne:
U ≠ Empty.
An
exact proof term for the current goal is
(SepE2 Fam (λU0 : set ⇒ U0 ≠ Empty) U HU0).
We prove the intermediate
claim HopenU:
open_in X Tx U.
An exact proof term for the current goal is (Hopen U HUFam).
An
exact proof term for the current goal is
(andEL (topology_on X Tx) (U ∈ Tx) HopenU).
We prove the intermediate
claim HUinTx:
U ∈ Tx.
An
exact proof term for the current goal is
(andER (topology_on X Tx) (U ∈ Tx) HopenU).
We prove the intermediate
claim HUmeet:
U ∩ D ≠ Empty.
We prove the intermediate
claim Hexd:
∃d : set, d ∈ U ∩ D.
We prove the intermediate
claim Hexd2:
∃d : set, d ∈ D ∧ d ∈ U.
Apply Hexd to the current goal.
Let d be given.
We use d to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(binintersectE2 U D d HdUD).
An
exact proof term for the current goal is
(binintersectE1 U D d HdUD).
We prove the intermediate
claim Hchooseprop:
choose U ∈ D ∧ choose U ∈ U.
An
exact proof term for the current goal is
(Eps_i_ex (λd : set ⇒ d ∈ D ∧ d ∈ U) Hexd2).
An
exact proof term for the current goal is
(andEL (choose U ∈ D) (choose U ∈ U) Hchooseprop).
Let U be given.
Let V be given.
Apply dneg to the current goal.
We prove the intermediate
claim HUFam:
U ∈ Fam.
An
exact proof term for the current goal is
(SepE1 Fam (λU0 : set ⇒ U0 ≠ Empty) U HU0).
We prove the intermediate
claim HVFam:
V ∈ Fam.
An
exact proof term for the current goal is
(SepE1 Fam (λU0 : set ⇒ U0 ≠ Empty) V HV0).
We prove the intermediate
claim HdisjUV:
U ∩ V = Empty.
An exact proof term for the current goal is (Hdisj U V HUFam HVFam HUVneq).
We prove the intermediate
claim HUne:
U ≠ Empty.
An
exact proof term for the current goal is
(SepE2 Fam (λU0 : set ⇒ U0 ≠ Empty) U HU0).
We prove the intermediate
claim HVne:
V ≠ Empty.
An
exact proof term for the current goal is
(SepE2 Fam (λU0 : set ⇒ U0 ≠ Empty) V HV0).
We prove the intermediate
claim HopenU:
open_in X Tx U.
An exact proof term for the current goal is (Hopen U HUFam).
We prove the intermediate
claim HopenV:
open_in X Tx V.
An exact proof term for the current goal is (Hopen V HVFam).
An
exact proof term for the current goal is
(andEL (topology_on X Tx) (U ∈ Tx) HopenU).
We prove the intermediate
claim HUVin:
choose U ∈ U ∧ choose V ∈ V.
We prove the intermediate
claim HUinTx:
U ∈ Tx.
An
exact proof term for the current goal is
(andER (topology_on X Tx) (U ∈ Tx) HopenU).
We prove the intermediate
claim HVinTx:
V ∈ Tx.
An
exact proof term for the current goal is
(andER (topology_on X Tx) (V ∈ Tx) HopenV).
We prove the intermediate
claim HUmeet:
U ∩ D ≠ Empty.
We prove the intermediate
claim HVmeet:
V ∩ D ≠ Empty.
We prove the intermediate
claim HexUD:
∃d : set, d ∈ U ∩ D.
We prove the intermediate
claim HexdU:
∃d : set, d ∈ D ∧ d ∈ U.
Apply HexUD to the current goal.
Let d be given.
We use d to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(binintersectE2 U D d HdUD).
An
exact proof term for the current goal is
(binintersectE1 U D d HdUD).
We prove the intermediate
claim HexVD:
∃d : set, d ∈ V ∩ D.
We prove the intermediate
claim HexdV:
∃d : set, d ∈ D ∧ d ∈ V.
Apply HexVD to the current goal.
Let d be given.
We use d to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(binintersectE2 V D d HdVD).
An
exact proof term for the current goal is
(binintersectE1 V D d HdVD).
We prove the intermediate
claim HchooseU:
choose U ∈ D ∧ choose U ∈ U.
An
exact proof term for the current goal is
(Eps_i_ex (λd : set ⇒ d ∈ D ∧ d ∈ U) HexdU).
We prove the intermediate
claim HchooseV:
choose V ∈ D ∧ choose V ∈ V.
An
exact proof term for the current goal is
(Eps_i_ex (λd : set ⇒ d ∈ D ∧ d ∈ V) HexdV).
Apply andI to the current goal.
An
exact proof term for the current goal is
(andER (choose U ∈ D) (choose U ∈ U) HchooseU).
An
exact proof term for the current goal is
(andER (choose V ∈ D) (choose V ∈ V) HchooseV).
We prove the intermediate
claim HcU:
choose U ∈ U.
An
exact proof term for the current goal is
(andEL (choose U ∈ U) (choose V ∈ V) HUVin).
We prove the intermediate
claim HcV:
choose V ∈ V.
An
exact proof term for the current goal is
(andER (choose U ∈ U) (choose V ∈ V) HUVin).
We prove the intermediate
claim HcV2:
choose U ∈ V.
We prove the intermediate
claim Hsubst:
∀S T : set, S = T → T ∈ V → S ∈ V.
Let S and T be given.
rewrite the current goal using HeqST (from left to right) at position 1.
An exact proof term for the current goal is HT.
An exact proof term for the current goal is (Hsubst (choose U) (choose V) Heq HcV).
We prove the intermediate
claim HcUV:
choose U ∈ U ∩ V.
An
exact proof term for the current goal is
(binintersectI U V (choose U) HcU HcV2).
We prove the intermediate
claim Hcontra:
choose U ∈ Empty.
rewrite the current goal using HdisjUV (from right to left).
An exact proof term for the current goal is HcUV.
An
exact proof term for the current goal is
(EmptyE (choose U) Hcontra).