Bishop states the constructive or approximate intermediate value theorem on page 40 of Constructive Analysis.
Approx. IVT: Let $f$ be a continuous map on an interval $I$ with $a,b \in I$ and $f(a) < f(b)$. Then for each $y \in [f(a),f(b)]$ and each $\epsilon > 0$, there exists $x \in [min\{a,b\},max\{a,b\}]$ such that $|f(x) - y| \leq \epsilon$.
The first line of the proof says "Since $f$ is continuous we must have $a \neq b$." Recall, in Bishop $a \neq b$ iff either $a < b$ or $b < a$. I'm having some trouble showing this first line rigourously although it seems obvious.
What I can show is that if $f$ is continuous and $f(a) < f(b)$ then $a = b$ leads to contradiction. Thus, $\lnot(a = b)$. But with out decidability of order on the reals I can not take the next step and conclude $a \neq b$. What am I missing?
We wish to conclude that under these hypotheses that $a\neq b$. You can see this by the contrapositive that is if $a=b$, then $f(a)\not<f(b)$ (as $f(a)=f(b)$).
– Steven Creech Jan 19 '22 at 04:53