Consider the function $f : \mathbb R \to \mathbb R$, which has a unique fixed point $x^* \in \mathbb R$, such that $x^* = f(x^*)$ and there does not exist another $x \in \mathbb R$ such that $x = f(x)$. If we only knew that $f$ had a unique fixed point, but didn't know the value of $x^*$, could we then compute $x^*$ as the solution of the following optimization problem? $$ \begin{aligned} \max_{x \in \mathcal X} \quad & x \\ \textrm{s.t.} \quad & x \leq f(x) \end{aligned} $$ It seems that the answer is "yes" (but I'd like some feedback on my reasoning): let $x^*$ be the solution to the problem above, such that $$ \begin{align} \forall x \in \mathbb R, x \leq x^* \tag{1} \\ x^* \leq f(x^*) \tag{2} \end{align} $$ Suppose, for the sake of contradiction, that $x^*$ is not the unique fixed point of $f$, such that $x^* \neq f(x^*)$. Then, from $(2)$, $x^* < f(x^*) = v$. However, this contradicts $(1)$, since $v > x^*$. Therefore, $x^* = f(x)$. Does this seem reasonable?
Update
Based on @ConnFus's answer, it must first be proven that there exists one and only one solution $x^*$ to the optimization problem mentioned above. Otherwise, my proof above falls apart, since it rests on the assumption that $x^*$ exists and is unique.