Let X, d, x and r be given.
We prove the intermediate
claim HBasis:
basis_on X B.
We prove the intermediate
claim HrR:
r ∈ R.
An
exact proof term for the current goal is
(RltE_right 0 r Hr).
An
exact proof term for the current goal is
(ReplSepI R (λrr : set ⇒ Rlt 0 rr) (λrr : set ⇒ open_ball X d x rr) r HrR Hr).
We prove the intermediate
claim Hball_in_B:
open_ball X d x r ∈ B.
Apply andI to the current goal.
An exact proof term for the current goal is HT.
∎