Аксиоматический метод доказательства соответствия формализованных в различных моделях данных запросов

Victor Munerman, Daniel Munerman · Sovremennye informacionnye tehnologii i IT-obrazovanie. · 2023

The axiomatic method in programming has been used for a long time and for the purpose of a more formal and accurate description of processes. The main direction of axiomatization in programming was aimed at proving the partial correctness (verification) of programs. At the same time, a number of works were focused on processing large data streams – files. They consider algorithms for both unary and binary operations and, based on axioms, prove their partial correctness. In addition, the axiomatic approach made it possible to solve a number of problems in the field of software development for various system and application areas. The article discusses an axiomatic method that allows you to formalize data processing objects and object transformation operations through a special description of the source objects and the object – the result of the transformation. The article discusses the possibility of converting, on the basis of axiomatic for mass data processing, algebraic query expressions formalized in one data model, in particular in a multidimensional matrix, into another – a relational data model. The need for such a transformation is that the expression in the multidimensional matrix model is much simpler than in the relational one. It is easier to transform to optimize a query, and it solves the problem of query parallelization both at the task level and at the level of individual operations. For this purpose, set-theoretic algebraic definitions of two basic data processing operations corresponding to the merging of strictly and loosely ordered files are given. Based on these definitions, axiomatic descriptions of these operations are given. Definitions of the operations of addition and multiplication of multidimensional matrices are given. The corresponding query operations in the relational data model were constructed. This correspondence is proven based on the axiomatic method. It is shown that each request for data processing is a theorem, and a conclusion is made about the equivalence of models as axiomatic theories. An example is given that shows how such a correspondence is established.

Cited by 0 works. doi:10.25559/sitito.019.202304.893-903 Open-access PDF

Authors