Formal Specification by Nismal Nissanke