Let X, d, c, x and r be given.
Apply Hexs to the current goal.
Let s be given.
Assume HsPack.
We prove the intermediate
claim HsRpos:
s ∈ R ∧ Rlt 0 s.
We prove the intermediate
claim HsR:
s ∈ R.
An
exact proof term for the current goal is
(andEL (s ∈ R) (Rlt 0 s) HsRpos).
We prove the intermediate
claim Hspos:
Rlt 0 s.
An
exact proof term for the current goal is
(andER (s ∈ R) (Rlt 0 s) HsRpos).
We prove the intermediate
claim HexN:
∃N ∈ ω, eps_ N < s.
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 < s) HNpair).
We prove the intermediate
claim HepsLt:
eps_ N < s.
An
exact proof term for the current goal is
(andER (N ∈ ω) (eps_ N < s) HNpair).
We prove the intermediate
claim HepsR:
eps_ N ∈ R.
We prove the intermediate
claim HepsRlt:
Rlt (eps_ N) s.
An
exact proof term for the current goal is
(RltI (eps_ N) s HepsR HsR 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)) s.
An
exact proof term for the current goal is
(open_ballI X d x s y HyX Hdlt2).
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.
∎