Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mathematical notation of programming concepts

There are many methods for representing structure of a program (like UML class diagrams etc.). I am interested if there is a convention which describes programs in a strict, mathematical way. I am especially interested in the use of mathematical notation for this purpose.

An example: Classes are represented as sets (fields, properties) and functions (operating on the elements of sets). A parent class' fields are a subset of child class'. Functions are described in pseudocode which has to look like this and that...

like image 936
supermedo Avatar asked Dec 30 '22 12:12

supermedo


1 Answers

I know that Z Notation has been used to some extent in the formal verification of software, such as the Tokeneer project.

  • Z Notation
  • Z Reference Manual
like image 159
Dr. Watson Avatar answered Mar 31 '23 11:03

Dr. Watson