I believe this question is not hard, but I simply can't understand properly how to deal with the definition of upper semi-continuity of $\phi$ at $x$ in a metric space $X$, i. e. $\forall \epsilon>0, \exists \delta > 0 , \forall y \in X, d(x,y) < \delta \Rightarrow \phi(y) < \phi(x) + \epsilon$.
Basically, I must show the equivalence
$\phi$ upper semi-continuous at $x \Leftrightarrow \phi(x) = \lim_{n\rightarrow \infty} [ \sup \phi(B_X(x,1/n))]$.
I've tried working with sequences in a sequence of balls with center $x$ and decreasing radius $1/n$, but I believe I may lack some structure to advance further.