Description and verification of protocol by temporal logic