We prove the correctness of a two-way sliding window protocol with piggybacking, where the acknowledgments of the latest received data are attached to the next data transmitted back into the channel. The window size of both parties are considered to be finite, though they can be of different sizes. We show that this protocol is equivalent (branching bisimilar) to a pair of FIFO queues of finite capacities. The protocol is first modeled and manually proved for its correctness in the process algebraic language of muCRL. We use the theorem prover PVS to formalize and to mechanically prove the correctness. This implies both safety and liveness (under the assumption of fairness).
|Place of Publication||Enschede|
|Publisher||Formal Methods and Tools (FMT)|
|Number of pages||55|
|Publication status||Published - 30 Jun 2008|
|Name||CTIT Technical Report Series|
|Publisher||University of Twente, Centre for Telematics and Information Technology (CTIT)|
- a pair of FIFO queues
- specification in μCRL
- verificationwith PVS
- Two-way sliding window protocol
Badban, B., Fokkink, W., & van de Pol, J. C. (2008). Mechanical Verification of a Two-Way Sliding Window Protocol (Full version including proofs). (CTIT Technical Report Series; No. 302/TR-CTIT-08-45). Enschede: Formal Methods and Tools (FMT).