Let X, d, c, x and r be given.
We prove the intermediate
claim Hcenter:
x ∈ open_ball X d x r.
Apply Hex to the current goal.
Let s be given.
Assume Hs.
We prove the intermediate
claim Hs1:
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) Hs1).
We prove the intermediate
claim Hspos:
Rlt 0 s.
An
exact proof term for the current goal is
(andER (s ∈ R) (Rlt 0 s) Hs1).
We use s to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HsR.
An exact proof term for the current goal is Hspos.
An exact proof term for the current goal is Hsub.
∎