Binary search implementation generated using the translation from CafeOBJ to JML (implemented in Java)