Let X, d, U and x be given.
Apply Hexur to the current goal.
Let u be given.
Assume Hupack.
We prove the intermediate
claim HuU:
u ∈ U.
Apply Hexr to the current goal.
Let r be given.
Assume Hrpack.
We prove the intermediate
claim HrR:
r ∈ R.
We prove the intermediate
claim Hrpos:
Rlt 0 r.
We prove the intermediate
claim Hsubu:
open_ball X d x r ⊆ u.
We prove the intermediate
claim HexN:
∃N ∈ ω, eps_ N < r.
Apply HexN to the current goal.
Let N be given.
Assume HNpair.
We prove the intermediate
claim HNomega:
N ∈ ω.
An
exact proof term for the current goal is
(andEL (N ∈ ω) (eps_ N < r) HNpair).
We prove the intermediate
claim HepsLt:
eps_ N < r.
An
exact proof term for the current goal is
(andER (N ∈ ω) (eps_ N < r) HNpair).
We prove the intermediate
claim HepsR:
eps_ N ∈ R.
We prove the intermediate
claim HepsRlt:
Rlt (eps_ N) r.
An
exact proof term for the current goal is
(RltI (eps_ N) r HepsR HrR HepsLt).
Let y be given.
We prove the intermediate
claim HyX:
y ∈ X.
An
exact proof term for the current goal is
(open_ballE1 X d x (eps_ N) y Hy).
An
exact proof term for the current goal is
(open_ballE2 X d x (eps_ N) y Hy).
We prove the intermediate
claim Hdlt2:
Rlt (apply_fun d (x,y)) r.
An
exact proof term for the current goal is
(open_ballI X d x r y HyX Hdlt2).
We use u to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HuU.
We use N to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HNomega.
An exact proof term for the current goal is Hsub2.
∎