Let x be given.
We will
prove ∃b0 : set, b0 ∈ B ∧ x ∈ b0 ∧ b0 ∩ A = {x}.
We prove the intermediate
claim HxA:
x ∈ A.
An
exact proof term for the current goal is
(SepE1 A (λx0 : set ⇒ ¬ limit_point_of X Tx A x0) x HxI).
An
exact proof term for the current goal is
(SepE2 A (λx0 : set ⇒ ¬ limit_point_of X Tx A x0) x HxI).
We prove the intermediate
claim HxX:
x ∈ X.
An exact proof term for the current goal is (HA x HxA).
We prove the intermediate
claim HnotP:
¬ (∀U : set, U ∈ Tx → x ∈ U → ∃y : set, y ∈ A ∧ y ≠ x ∧ y ∈ U).
Apply HxnotLP to the current goal.
Apply andI to the current goal.
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 HxX.
An exact proof term for the current goal is HP.
We prove the intermediate
claim HexU:
∃U : set, ¬ (U ∈ Tx → x ∈ U → ∃y : set, y ∈ A ∧ y ≠ x ∧ y ∈ U).
Apply (xm (∃U : set, ¬ (U ∈ Tx → x ∈ U → ∃y : set, y ∈ A ∧ y ≠ x ∧ y ∈ U))) to the current goal.
An exact proof term for the current goal is Hex.
Apply FalseE to the current goal.
Apply HnotP to the current goal.
Let U be given.
We will
prove U ∈ Tx → x ∈ U → ∃y : set, y ∈ A ∧ y ≠ x ∧ y ∈ U.
Apply (xm (U ∈ Tx → x ∈ U → ∃y : set, y ∈ A ∧ y ≠ x ∧ y ∈ U)) to the current goal.
An exact proof term for the current goal is HUimp.
Apply FalseE to the current goal.
Apply Hno to the current goal.
We use U to witness the existential quantifier.
An exact proof term for the current goal is HnotHUimp.
Apply HexU to the current goal.
Let U be given.
We prove the intermediate
claim HU:
U ∈ Tx.
Apply (xm (U ∈ Tx)) to the current goal.
An exact proof term for the current goal is HU0.
Apply FalseE to the current goal.
Apply HnotImp to the current goal.
Apply FalseE to the current goal.
An exact proof term for the current goal is (HnotHU HU1).
We prove the intermediate
claim HxU:
x ∈ U.
Apply (xm (x ∈ U)) to the current goal.
An exact proof term for the current goal is HxU0.
Apply FalseE to the current goal.
Apply HnotImp to the current goal.
Apply FalseE to the current goal.
An exact proof term for the current goal is (HnotHxU HxU1).
We prove the intermediate
claim HnoY:
¬ (∃y : set, y ∈ A ∧ y ≠ x ∧ y ∈ U).
Apply HnotImp to the current goal.
An exact proof term for the current goal is Hexy.
We prove the intermediate
claim HUcapAeq:
U ∩ A = {x}.
Let y be given.
We prove the intermediate
claim HyU:
y ∈ U.
An
exact proof term for the current goal is
(binintersectE1 U A y Hy).
We prove the intermediate
claim HyA:
y ∈ A.
An
exact proof term for the current goal is
(binintersectE2 U A y Hy).
Apply (xm (y = x)) to the current goal.
rewrite the current goal using Heq (from left to right).
An
exact proof term for the current goal is
(SingI x).
Apply FalseE to the current goal.
Apply HnoY to the current goal.
We use y to witness the existential quantifier.
We will
prove y ∈ A ∧ y ≠ x ∧ y ∈ U.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HyA.
An exact proof term for the current goal is Hneq.
An exact proof term for the current goal is HyU.
Let y be given.
We prove the intermediate
claim Heq:
y = x.
An
exact proof term for the current goal is
(SingE x y Hy).
rewrite the current goal using Heq (from left to right).
An
exact proof term for the current goal is
(binintersectI U A x HxU HxA).
rewrite the current goal using HGenEq (from left to right).
An exact proof term for the current goal is HU.
We prove the intermediate
claim HUprop:
∀y ∈ U, ∃b0 ∈ B, y ∈ b0 ∧ b0 ⊆ U.
An
exact proof term for the current goal is
(SepE2 (𝒫 X) (λU0 : set ⇒ ∀y0 : set, y0 ∈ U0 → ∃b0 ∈ B, y0 ∈ b0 ∧ b0 ⊆ U0) U HUgen).
We prove the intermediate
claim Hexb:
∃b0 ∈ B, x ∈ b0 ∧ b0 ⊆ U.
An exact proof term for the current goal is (HUprop x HxU).
Set b0 to be the term
Eps_i (λb : set ⇒ b ∈ B ∧ (x ∈ b ∧ b ⊆ U)).
We prove the intermediate
claim Hb0spec:
b0 ∈ B ∧ (x ∈ b0 ∧ b0 ⊆ U).
An
exact proof term for the current goal is
(Eps_i_ex (λb : set ⇒ b ∈ B ∧ (x ∈ b ∧ b ⊆ U)) Hexb).
We prove the intermediate
claim Hb0B:
b0 ∈ B.
An
exact proof term for the current goal is
(andEL (b0 ∈ B) (x ∈ b0 ∧ b0 ⊆ U) Hb0spec).
We prove the intermediate
claim Hb0prop:
x ∈ b0 ∧ b0 ⊆ U.
An
exact proof term for the current goal is
(andER (b0 ∈ B) (x ∈ b0 ∧ b0 ⊆ U) Hb0spec).
We prove the intermediate
claim Hxb0:
x ∈ b0.
An
exact proof term for the current goal is
(andEL (x ∈ b0) (b0 ⊆ U) Hb0prop).
We prove the intermediate
claim Hb0subU:
b0 ⊆ U.
An
exact proof term for the current goal is
(andER (x ∈ b0) (b0 ⊆ U) Hb0prop).
We use b0 to witness the existential quantifier.
We will
prove b0 ∈ B ∧ x ∈ b0 ∧ b0 ∩ A = {x}.
We prove the intermediate
claim Hb0pair2:
b0 ∈ B ∧ x ∈ b0.
An
exact proof term for the current goal is
(andI (b0 ∈ B) (x ∈ b0) Hb0B Hxb0).
We prove the intermediate
claim Hb0cap:
b0 ∩ A = {x}.
Let y be given.
We prove the intermediate
claim HyA:
y ∈ A.
An
exact proof term for the current goal is
(binintersectE2 b0 A y Hy).
We prove the intermediate
claim Hyb0:
y ∈ b0.
An
exact proof term for the current goal is
(binintersectE1 b0 A y Hy).
We prove the intermediate
claim HyU:
y ∈ U.
An exact proof term for the current goal is (Hb0subU y Hyb0).
We prove the intermediate
claim HyUA:
y ∈ U ∩ A.
An
exact proof term for the current goal is
(binintersectI U A y HyU HyA).
rewrite the current goal using HUcapAeq (from right to left).
An exact proof term for the current goal is HyUA.
Let y be given.
We will
prove y ∈ b0 ∩ A.
We prove the intermediate
claim Heq:
y = x.
An
exact proof term for the current goal is
(SingE x y Hy).
rewrite the current goal using Heq (from left to right).
An
exact proof term for the current goal is
(binintersectI b0 A x Hxb0 HxA).
An
exact proof term for the current goal is
(andI (b0 ∈ B ∧ x ∈ b0) (b0 ∩ A = {x}) Hb0pair2 Hb0cap).
We prove the intermediate
claim HIB:
atleastp I B.
We will
prove ∃f : set → set, inj I B f.
We use pick_iso to witness the existential quantifier.
An exact proof term for the current goal is HinjIB.
We prove the intermediate
claim HBO:
atleastp B ω.
An exact proof term for the current goal is HBcountset.
An
exact proof term for the current goal is
(atleastp_tra I B ω HIB HBO).
rewrite the current goal using HAeq (from left to right).
An exact proof term for the current goal is HcountUnion.