Let U be given.
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 Hballsub:
open_ball X d x r ⊆ U.
Apply HexN to the current goal.
Let N be given.
Assume HNpack.
We use N to witness the existential quantifier.
Apply andI to the current goal.
Let n be given.
We prove the intermediate
claim HseqnX:
apply_fun seq n ∈ X.
An exact proof term for the current goal is (Hseq n HnO).
rewrite the current goal using Hsym (from left to right).
An exact proof term for the current goal is Hlt0.
An
exact proof term for the current goal is
(Hballsub (apply_fun seq n) Hball).
∎