TY - JOUR ID - deploy203 UR - http://dx.doi.org/10.1016/j.scico.2009.07.006 IS - 11-12 A1 - Hoang, Thai Son A1 - Kuruma, Hironobu A1 - Basin, David A1 - Abrial, Jean-Raymond Y1 - 2009/11// N2 - We present a formal development in Event-B of a distributed topology discovery algorithm. Distributed topology discovery is at the core of several routing algorithms and is the problem of each node in a network discovering and maintaining information on the network topology. One of the key challenges in developing this algorithm is specifying the problem itself. We provide a specification that includes both safety properties, formalizing invariants that should hold in all system states, and liveness properties that characterize when the system reaches stable states. We prove these properties by appropriately combining proofs of invariants, event refinement, event convergence, and deadlock freedom. The combination of these features is novel and should be useful for formalizing and developing other kinds of semi-reactive systems, which are systems that react to, but do not modify, their environment. Our entire development has been formalized and machine checked using the Rodin tool. PB - Elsevier JF - Science of Computer Programming VL - 74 TI - Developing topology discovery in Event-B SP - 879 AV - none EP - 899 ER -