"Babes-Bolyai" University of Cluj-Napoca
Faculty of Mathematics and Computer Science

Formal methods in programming
Code
Semes-
ter
Hours: C+S+L
Credits
Type
Section
MI253
2
2+2+0
9
compulsory
Programare bazată pe componente - în limba engleză
Teaching Staff in Charge
Prof. FRENTIU Militon, Ph.D., mfrentiu@cs.ubbcluj.ro
Aims
To introduce the students to the formal techniques needed in the development of systems. To have an understanding of both the theory and practice of formal mathematical thinking in software specification, verification and development. To be able to perform formal analysis and to reason about designs and developments. To obtain the ability to evaluate the complexity of specific algorithms, and to measure the qualities of programs.
Content
1. Formal Specification:
- the necessity of formal specifications;
- specification methods;
- specification languages (Z, OBJ, VDM, ...);
- necontradictia specificatiilor
2. The proof of program correctness:
- methods for proving correctness;
- automatizing verification process.
3. Refinement of programs from specifications:
4. Object-oriented development.
References
1. Ehrig H., B.Mahr, Fundamentals of Algebraic Specification, Springer-Verlag, 1985
2. Goldsack S.J., and S.J.H.Kent, Formal Methods and Object Technology, Springer.
4. Lano K., Formal Object-Oriented Development, Springer
5. Morgan C., Programming from Specifications, Prentice Hall, 1990.
6. Sherrell L.B. and D.L.Carver, FunZ: An intermediate specification language, Computer Journal, 38(1995), 3, 193-207.
7. Jim Woodcock, Jim Davies, Uzing Z. Specification, Refinement and Proof, Oxford Univ.
8. Soo Dong Kim, Formal Specification in OO Software Development, PhD Thesis, 1991, Iowa University
Assessment
A first grade will be given for a final written examination covering both theory and practice, and a second grade will be given for the activity during the term. The final result will be the average of these two grades.