Abstract

In this paper, we investigate the safety of unary inflationary fixed point operators (IFPoperators). The safety is a computability in finitely many steps. IFP-operators exactly correspond to recursive SQL-queries hence this problem has a value for database theory. The problem appears from the fact that if recursive queries contain universe functions and relations, then its execution can fall into an infinite loop. Moreover, universal computational devices (Turing machines et al.) can be modelled by such queries. Hence the problem of the finite computability for such queries is undecidable. In our previous works we established some properties of a universe which imply the finite computability of all IFP-operators in the universe. Here, we investigate a connection between an arity of IFP-operators and their safety. We prove that some results for general IFP-operators don’t hold for unary ones. We construct a universe where all unary unnesed IFP-operators are safe. But in this universe there exist unsafe nested unary IFP-operators and unsafe unnested binary IFP-operators. This differs from general IFP-operators because in general case the safety of all unnesed IFP-operators implies the safety of all IFP-operators. Also there exist elementary equivalent universes where some unary unnesed IFPoperators become unsafe. For general IFP-operators it is also impossible.

Highlights

  • Qan = Qan+1 для какого-то натурального n иb является значением переменных x

  • M., "On Safety of Unary and Non-unary IFP-operators", Modeling and Analysis of Information Systems, 25:5 (2018), 525–533

Read more

Summary

Введение

Традиция применения языков первого порядка для запросов к базам данных восходит к Кодду (см. [1]). Одновременное использование IFP-операторов и отношений бесконечного универсума легко может привести к тому, что вычисление значения SQL-запроса зациклится. Что даже обычной бесконечной функции следования (например, прибавления единицы для натуральных чисел) достаточно для моделирования любой машины Тьюринга с помощью IFP-операторов. Эти условия сводятся к некоторым свойствам первого порядка, следовательно, безопасными или небезопасными являются одновременно все элементарно эквивалентные универсумы. В [3] безопасность произвольных вложенных IFP-операторов сведена к безопасности операторов, которые не вложены друг в друга, то есть применяются к формулам первого порядка. Однако на примере логики первого порядка хорошо известно, что многие алгоритмические свойства могут отличаться для унарного и многоместного случаев: скажем, логика унарных предикатов алгоритмически разрешима, а уже при наличии одного бинарного отношения теряет это свойство.

Определения
Теория T и ее свойства
IFP-операторы в моделях теории T
Заключение
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call