Let X, d, U and x be given.
We prove the intermediate
claim HBasis:
basis_on X B.
rewrite the current goal using Hmtdef (from right to left).
An exact proof term for the current goal is HUtop.
We prove the intermediate
claim HUinChar:
U ∈ {U0 ∈ 𝒫 X|∀x0 ∈ U0, ∃b ∈ B, x0 ∈ b ∧ b ⊆ U0}.
An exact proof term for the current goal is HUgen.
We prove the intermediate
claim HUpow:
U ∈ 𝒫 X.
An
exact proof term for the current goal is
(SepE1 (𝒫 X) (λU0 : set ⇒ ∀x0 ∈ U0, ∃b ∈ B, x0 ∈ b ∧ b ⊆ U0) U HUinChar).
We prove the intermediate
claim HUprop:
∀x0 ∈ U, ∃b ∈ B, x0 ∈ b ∧ b ⊆ U.
An
exact proof term for the current goal is
(SepE2 (𝒫 X) (λU0 : set ⇒ ∀x0 ∈ U0, ∃b ∈ B, x0 ∈ b ∧ b ⊆ U0) U HUinChar).
We prove the intermediate
claim HUsubX:
U ⊆ X.
An
exact proof term for the current goal is
(PowerE X U HUpow).
We prove the intermediate
claim HxX:
x ∈ X.
An exact proof term for the current goal is (HUsubX x HxU).
We prove the intermediate
claim Hexb:
∃b ∈ B, x ∈ b ∧ b ⊆ U.
An exact proof term for the current goal is (HUprop x HxU).
Apply Hexb to the current goal.
Let b be given.
Assume Hbpair.
We prove the intermediate
claim HbB:
b ∈ B.
An
exact proof term for the current goal is
(andEL (b ∈ B) (x ∈ b ∧ b ⊆ U) Hbpair).
We prove the intermediate
claim Hbprop:
x ∈ b ∧ b ⊆ U.
An
exact proof term for the current goal is
(andER (b ∈ B) (x ∈ b ∧ b ⊆ U) Hbpair).
We prove the intermediate
claim Hxb:
x ∈ b.
An
exact proof term for the current goal is
(andEL (x ∈ b) (b ⊆ U) Hbprop).
We prove the intermediate
claim HbsubU:
b ⊆ U.
An
exact proof term for the current goal is
(andER (x ∈ b) (b ⊆ U) Hbprop).
Let c be given.
Let r be given.
We prove the intermediate
claim Hxball:
x ∈ open_ball X d c r.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is Hxb.
Apply HexN to the current goal.
Let N be given.
Assume HNpack.
We prove the intermediate
claim HNomega:
N ∈ ω.
We use N to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HNomega.
rewrite the current goal using Hbeq (from left to right).
An exact proof term for the current goal is HsubBall.
∎