Next Article in Journal
Multi-Step Inertial Regularized Methods for Hierarchical Variational Inequality Problems Involving Generalized Lipschitzian Mappings
Next Article in Special Issue
Roots of Characteristic Polynomial Sequences in Iterative Block Cyclic Reductions
Previous Article in Journal
New Inequalities of Cusa–Huygens Type
Previous Article in Special Issue
New Approaches to the General Linearization Problem of Jacobi Polynomials Based on Moments and Connection Formulas
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Polynomial Analogue of Gandy’s Fixed Point Theorem

by
Sergey Goncharov
*,† and
Andrey Nechesov
*,†
Sobolev Institute of Mathematics, Academician Koptyug Ave., 4, 630090 Novosibirsk, Russia
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2021, 9(17), 2102; https://doi.org/10.3390/math9172102
Submission received: 20 July 2021 / Revised: 25 August 2021 / Accepted: 27 August 2021 / Published: 31 August 2021
(This article belongs to the Special Issue Polynomial Sequences and Their Applications)

Abstract

:
The paper suggests a general method for proving the fact whether a certain set is p-computable or not. The method is based on a polynomial analogue of the classical Gandy’s fixed point theorem. Classical Gandy’s theorem deals with the extension of a predicate through a special operator Γ Φ ( x ) Ω and states that the smallest fixed point of this operator is a Σ -set. Our work uses a new type of operator which extends predicates so that the smallest fixed point remains a p-computable set. Moreover, if in the classical Gandy’s fixed point theorem, the special Σ -formula Φ ( x ¯ ) is used in the construction of the operator, then a new operator uses special generating families of formulas instead of a single formula. This work opens up broad prospects for the application of the polynomial analogue of Gandy’s theorem in the construction of new types of terms and formulas, in the construction of new data types and programs of polynomial computational complexity in Turing complete languages.

1. Introduction

In both mathematics and programming, we are increasingly confronted with inductively given constructs. These constructs can be, for example, new types of terms and formulas in logic or programs and new data types in high-level programming languages that are inductively defined using basic tools. All these inductively generated sets can be viewed as the smallest fixed points of a suitable operator. Classical Gandy’s theorem [1,2] allows us to inductively define some abstract set through the special operator Γ Φ ( x ) Ω [1] where the smallest fixed point will be a Σ -set. The Σ -set is most often not a computable set and, moreover, not a p-computable set. Therefore, the question arises of how to modify Gandy’s theorem so that the smallest fixed point be a computable or a p-computable set. In this paper, we just talk about the construction of a Δ 0 p -operator with the smallest fixed point being a p-computable set, which allows us to consider many inductive formulas definable constructions as some polynomially computable set.

2. P-Computability

Let Σ be a finite alphabet and A , B Σ where Σ is the set of finite words over the alphabet Σ . We say that a function f : A B is p-computable [3,4,5] if there exists a one-tape/multi-tapes deterministic Turing machine T over the alphabet Σ and numbers C , p N such that for all a from A the value of the function f ( a ) is computed on T in at most C · | a | p steps, where | a | 1 . The set A is called p-computable if its characteristic function χ A : Σ { 0 , 1 } is p-computable. The class P of problems which can be solved in polynomial time will often be denoted by Δ 0 p (accepted notation for the polynomial hierarchy). Therefore, the notation Δ 0 p -function for a p-computable function and Δ 0 p -set for a p-computable set will also be used. A partial function f : A B is called a partial p-computable function, if there exists a set D A such that f : D B is a p-computable function (the Turing machine which represents f computes f ( a ) and stops at the final state q 0 ) and f ( a ) is undefined (notation f ( a ) p or simple p ) if a A D , while the Turing machine on the element a A D stops at the final state q 1 and number of steps does not exceed C | a | p steps. As we can see, the partial p-computable function is a p-computable function, but sometimes it is convenient to assume that the value of a p-computable function is undefined. We will also denote partial p-computable functions as Δ 0 p -functions.

3. Word Splitting

Now let Σ 0 be some finite alphabet and Σ = Σ 0 { < , > } { , } is a new alphabet obtained by adding new symbols (brackets and comma) to Σ 0 . Word splitting is the following partial function R : Σ ( Σ { # } ) such that:
R ( w ) = w 1 # . . . # w n , where w = < w 1 , , w n > and every w i Σ satisfies ( 1 ) or ( 2 ) , otherwise
(1)
w i Σ 0
(2)
w i starts with a left bracket and the number of left brackets in the word is equal to the number of right brackets, while for any initial subword α i such that w i = α i β i it is not implemented, where the word w i can be represented as some concatenation of the words α i , β i Σ and | α i | 1 .
Proposition 1.
The word splitting is unique.
Proof. 
Prove by contradiction. Let there be two different splittings R ( w ) = w 1 # # w n and R ( w ) = l 1 # # l k such that w = < w 1 , , w n > and w = < l 1 , , l k > . Then, by definition, either w 1 , l 1 Σ 0 , or w 1 and l 1 start with a left bracket and the number of right and left brackets for each word is the same. In the first case, w 1 and l 1 are the same. In the second case, w 1 is the subword of l 1 or l 1 is the subword of w 1 . Then, by definition, no proper subword starting with a left bracket can have an equal number of right and left brackets. Equality of words was also obtained. Further, in a similar way, we show that the remaining w i = l i and at the same time n = k . □
Proposition 2.
R ( w ) is Δ 0 p -function.
Proof. 
Consider a Turing machine T with two semi-tapes (hereafter called tapes) over the alphabet Σ { 1 , B , # } where B is an empty symbol:
(1)
The 1st tape: we will store the word w.
(2)
The 2nd tape: we will store the difference between the number of left and right brackets of the word w.
Algorithm of the multi-tapes machine:
(1)
If the first symbol on the first tape is not a left bracket, then T stops the work in the final state q 1 . Otherwise, T replaces it on B symbol and goes on to the next steps.
(2)
If the second symbol in the word w is from Σ 0 , then T reads the word w until it meets a symbol, not from Σ 0 . If it is not a comma or a right bracket then T stops the work in state q 1 .
(3)
If the second symbol is not from Σ 0 and is not a left bracket, then T stops the work in the state q 1 .
(4)
When T reads the left bracket of the word w, then T adds 1 on the second tape and shifts the head of the second tape to the right and when T reads the right bracket of the word w, then T replaces symbol 1 with B of the second tape and shifts the head of the second tape to the left.
(5)
If there are no more symbols 1 on the second tape when T reads the right bracket from the first tape, then the machine replaces the right bracket with B on the first tape. If there are no other symbols from Σ after this right bracket, then the machine stops work in the final state q 0 , otherwise, in the final state q 1 .
(6)
If T meets a comma on the first tape and there are no symbols 1 on the second tape, then T replaces this comma with # symbol.
Computational complexity R ( w ) :
(1)
T reads the word w on the first tape periodically replacing the comma or brackets with symbol #. The number of such steps does not exceed | w | .
(2)
On the second tape T writes or erases symbols 1. The number of such additions and removals does not exceed | w | .
(3)
Steps from (1) and (2) taken simultaneously. It turns out that the computational complexity t ( R ( w ) ) | w | .
Inductively define the notion rank of element r ( w ) for w Σ :
r ( w ) = 0 , if R ( w ) p s u p { r ( w 1 ) , , r ( w k ) } + 1 , if R ( w ) = w 1 # # w k

4. Generating Formulas and Families. False Element

Let M be a model of signature σ = { c 1 , , c r , f 1 ( m 1 ) , , f s ( m s ) , R 1 ( p 1 ) , , R t ( p t ) , P 1 ( 1 ) , , P n ( 1 ) } with the basic set M Σ 0 , where c l is constant symbols ( l [ 1 , , r ] ), f i is functional symbols ( i [ 1 , , s ] ), R j is predicate symbols ( j [ 1 , , t ] ), P k is unary predicate symbols, k [ 1 , , n ] . P ( Σ ) is the set of all subsets of the set Σ . F P 1 + , , F P n + is families (generating families) positive quantifier-free formulas (hereafter called generating formulas) of signature σ which can include unary predicates P 1 ,..., P n with inputs of the form P j ( x i ) . Moreover, we require that for any free variable x i in the formula φ m F P k + there should be no occurrences of the form P j ( x i ) and P h ( x i ) for each x i , where j h . This property will be called predicate separability.
The idea is to generate new elements in the form of lists < a 1 , , a n m > obtained from a 1 , , a n m M such that M φ m ( a 1 , , a n m ) and then add this set of elements Q i to the main set of the model where:
Q i = φ m ( x 1 , , x n m ) F P i + { < a 1 , , a n m > | M φ m ( a 1 , , a n m ) }
If we are to extend the main set of elements M of the model M to this new set of elements Q i , then we need to redefine the functions on these new elements and redefine the truth of the predicates. It is clear that the functions on new elements will not be defined, so we will expand the basic set of elements M of the M model of signature σ with a special f a l s e -element to M { f a l s e } . Next, we define the semantic meaning of terms and formulas in the M f a l s e model for all elements from Σ { f a l s e } and not only for M { f a l s e } .
Since everywhere below only positive quantifier-free formulas with a positive occurrence in the form of P i ( x j ) for some P i and x j appear, then for these formulas on the model M f a l s e we inductively define the values of functions and the truth of predicates as well as the truth of positive quantifier-free formulas φ i , i I :
(1)
M φ i ( a 1 , , a k ) if and only if M f a l s e φ i ( a 1 , , a k ) where a 1 , , a k M .
(2)
the function value f j ( a 1 , , a n j ) equal f a l s e , if at least one a i Σ { f a l s e } M , j [ 1 , , s ]
(3)
the function value f j ( t 1 ( a ¯ ) , , t n ( a ¯ ) ) equal f a l s e if at least the value of one of the terms t j ( a ¯ ) equals f a l s e .
(4)
the formulas of the form f a l s e = t ( a 1 , , a n ) including f a l s e = f a l s e will be considered false.
(5)
the formulas of the form a = a will be considered true for a M and false otherwise.
(6)
the formulas of the form R i ( t 1 ( a ¯ ) , , t n i ( a ¯ ) ) will be considered false if at least one of the terms t j ( a ¯ ) has value f a l s e .
(7)
M P ( a ) if and only if M f a l s e P ( a ) where a M .
(8)
Φ & Ψ , Φ Ψ retain their standard definitions of truth.
Let us denote enrichment of the model M f a l s e by < M f a l s e , Q > such that:
(1)
M { f a l s e } Q is a new main set.
(2)
All predicates R i ( t 1 , , t n i ) remain unchanged if the values of the terms t 1 , , t n i are from M and are f a l s e otherwise.
(3)
All predicates P j ( a ) remain unchanged if a M and P j ( a ) are f a l s e otherwise.
(4)
All functions f i ( a 1 , , a n ) remain unchanged for a 1 , , a n M and have a f a l s e value otherwise.
Denote the expression < M f a l s e , Q , P i > it is < M f a l s e , Q > enrichment at which the truth set of the predicate P i is extended to P i M f a l s e Q .

5. Fixed Points of Monotone Locally Finite Operators

Let M f a l s e be a model of signature σ and Q = ( Q 1 , , Q n ) , Q i Σ , i [ 1 , , n ] .
Then we introduce the notation: M f a l s e ( Q 1 , , Q n ) = < < < M f a l s e , Q 1 , P 1 > > , Q n , P n > .
Construct an operator:
Γ F P 1 + , , F P n + M : P ( Σ ) × × P ( Σ ) P ( Σ ) × . . . × P ( Σ ) ,
which transfers n-th sets ( Q 1 , , Q n ) to n-th sets ( Q 1 , , Q n ) according to the following rule:
Q i = Q i φ m ( x 1 , , x k m ) F P i + { < a 1 , , a k m > | M f a l s e ( i 1 ) φ m ( a 1 , , a k m ) } .
where φ m F P i + , a 1 , , a k m M ( i 1 ) and M f a l s e ( i 1 ) is built on the model M f a l s e of signature σ in the following way:
M f a l s e ( 0 ) = M f a l s e , , M f a l s e ( i ) = < M f a l s e ( i 1 ) , Q i , P i > ,   where   i [ 1 , , n ] .
We fix a partial order n : ( Q 1 , , Q n ) n ( R 1 , , R n ) , if Q i R i for all i [ 1 , , n ]
Remark 1.
Operator Γ F P 1 + , , F P n + M is monotone with respect to the order n , i.e.,
( Q 1 , , Q n ) n ( R 1 , , R n ) Γ F P 1 + , , F P n + M ( Q 1 , , Q n ) n Γ F P 1 + , , F P n + M ( R 1 , , R n ) .
Remark 2.
Operator Γ F P 1 + , , F P n + M possesses the property of a fixed point, i.e.:
( Q 1 , , Q n ) n Γ F P 1 + , , F P n + M ( Q 1 , , Q n ) .
Associate the operator Γ F P 1 + , , F P n + M with the sequence: Γ 0 , Γ 1 , , Γ t , :
Γ 0 = { , , } n n Γ t + 1 = Γ F P 1 + , , F P n + M ( Γ t ) n n Γ w = k < w Γ k .
Let us denote projection onto the j-th coordinate by I j ( Γ k ) = Q j .
We will say that operator Γ : P ( Σ ) × . . . × P ( Σ ) P ( Σ ) × . . . × P ( Σ ) is locally finite if for any X 1 , , X n Σ and any j [ 1 , , n ] is done:
I j ( Γ ( X 1 , , X n ) ) = X 1 X 1 X n X n I j ( Γ ( X 1 , , X n ) ) ,
where X 1 , , X n are finite sets.
Proposition 3.
Operator Γ F P 1 + , , F P n + M is locally finite.
Proof. 
Let X 1 , , X n Σ , where X i are finite sets.
  • ⇐ Inclusion in equality (3) for operator Γ F P 1 + , , F P n + M in one way is fulfilled by construction of our operator Γ F P 1 + , , F P n + M .
  • ⇒ Let w be from I j ( Γ F P 1 + , , F P n + M ( X 1 , , X n ) ) . We get that w is a finite list made up of a finite number of elements from M X 1 X n . Mark all the elements involved in constructing w from X j as C j for all j [ 1 , , n ] . Note that all sets C j are finite and C j X j . Therefore, narrowing our sets X i to C i we get w I j ( Γ F P 1 + , . . . , F P n + M ( C 1 , , C n ) ) .
Proposition 4.
The smallest fixed point of the operator Γ F P 1 + , . . . , F P n + M is reached in w steps.
Proof. 
Claim that the fixed point of the operator Γ F P 1 + , , F P n + M is reached in w steps following automatically from the fact that the operator Γ F P 1 + , , F P n + M is monotone, has the fixed point property and is locally finite. □

6. Formulas Families F P i +

Further, we will consider generating families of formulas of the form F P i + = { φ m ( x 1 ̲ , . . . , x n m ̲ ) } | m N } where x i ̲ is encoding the variable x i with a string of v symbols length i. Let ϵ be a string of symbols above the alphabet { 0 , 1 } length n m . Then the formula φ m ϵ ( x 1 ̲ , , x n m ̲ ) is obtained from φ m ( x 1 ̲ , . . . , x n m ̲ ) replacing all occurrences of the form P j ( x i ̲ ) on i-th symbol in word ϵ . The number of free variables in this formula may be less, nevertheless we leave their number in the notation for φ m ϵ as before.
F P i + = { φ m ϵ ( x 1 ̲ , , x n m ̲ ) | φ m ( x 1 ̲ , , x n m ̲ ) F P i + , ϵ { 0 , 1 } and   | ϵ | = n m }
The formula φ m ϵ ( l 1 , , l n m ) is obtained from φ m ϵ ( x 1 ̲ , , x n m ̲ ) substituting free variables x i ̲ by the corresponding values l i for all i [ 1 , , n m ] . Due to the predicate separability of the formula φ m the maximum number of such occurrences in φ m ϵ may not be more than n m .
Define Ω = Σ σ { 0 , 1 } { v } { # } { , & } { ( , ) } as a set of symbols such that any formula of the form φ m ( x 1 ̲ , , x n m ̲ ) , φ m ( l 1 , , l n m ) , φ m ϵ ( x 1 ̲ , , x n m ̲ ) , φ m ϵ ( l 1 , , l n m ) Ω , where l 1 , , l n m Σ , φ m F P j + for some j [ 1 , , n ] .
Define a potentially generating formula as a formula φ m ( x 1 ̲ , , x k ̲ ) potentially generating an element l Σ such that R ( l ) = l 1 # # l k and the following holds:
M f a l s e φ m ϵ ( l 1 , , l k )
for some signification ϵ . If for any l Σ there is only one potentially generating formula in the family, then we can define a partial function γ i : Σ Ω that constructs from an element l Σ its potentially generating formula φ m ( x 1 ̲ , , x k ̲ ) if such a formula exists and is undefined otherwise γ i ( l ) . In the next chapter we will require for functions γ i to be p-computable.

7. Δ 0 p -Models and Δ 0 p -Operators

Model M of the finite signature σ will be called a p-computable model ( Δ 0 p -model) [4,5,6,7] if all functions are p-computable functions, all predicates and the main set are Δ 0 p -sets. If we want to mark the degree of the polynomial n and the constant C, we will write C-n- Δ 0 p -model instead of writing Δ 0 p -model. Sometimes, there will be records of the form C-p- Δ 0 p . In the first case, p is the degree of the polynomial and in the second, Δ 0 p is the designation for the first level of the polynomial hierarchy. Designation of C-p- Δ 0 p -function will be also applied for functions and C-p- Δ 0 p -set will be also applied for sets. Note that M f a l s e will be a C-p- Δ 0 p -model if such is the model M .
Let us call Δ 0 p -operator the operator Γ F P 1 + , , F P n + M from (1) if for some C , p N the following four properties hold:
(1)
p-computable model: M is a C-p- Δ 0 p -model.
(2)
predicate separability, quantifier-free and positivity: each family F P 1 + , , F P n + is either a finite or countable family of formulas, all formulas φ j F P i + are positive, quantifier-free, predicate-separable.
(3)
uniqueness of the generating formula: for any two formulas φ 1 ( x 1 , , x k ) , φ 2 ( x 1 , , x k ) F P i + with the same number of free variables and for any signification E : P j ( x i ) { 0 , 1 } , i [ 1 , , k ] , j [ 1 , , n ] it is not true that there exists such significations as ϵ 1 and ϵ 2 consistent with E such that:
there   exists l 1 , , l k from   M   such   that   M f a l s e φ 1 ϵ 1 ( l 1 , , l k ) & φ 2 ϵ 2 ( l 1 , , l k )
(4)
p-computability of element: we also require that all functions γ i should be C-(p-1)- Δ 0 p -functions and families F P i + - C-p- Δ 0 p -families (time for checking t ( M f a l s e φ m ϵ ( l 1 , , l k ) ) C · | l | p , for all φ m F P i + and l i Σ { f a l s e } ), i [ 1 , . . . , k ] .
Note that the Δ 0 p -operator thus defined retains all the original properties: it is monotone, has a fixed point property and is locally finite, and therefore the smallest fixed point of the operator is reached in w steps.
We say that the smallest fixed point Γ w = ( P 1 , , P n ) will be Δ 0 p -set if any P i is a Δ 0 p -set, where i [ 1 , , n ] . Let γ i be the C-(p-1)- Δ 0 p -function for Δ 0 p -operator Γ F P 1 + , , F P n + M and φ m ( x 1 ̲ , , x k ̲ ) F P i + - potential generating formula for l, where R ( l ) = l 1 # # l k and all l 1 , , l k Σ . Then the following lemma is true for any signification φ m ϵ ( x 1 ̲ , , x k ̲ ) :
Lemma 1.
φ m ϵ ( x 1 ̲ , , x k ̲ ) is built according to the formula φ m ( x 1 ̲ , , x k ̲ ) and by signification ϵ for the time not exceeding 12 · C · | l | p 1 .
Proof. 
Consider the Turing machine T over Ω alphabet consisting of five semi-tapes (hereafter called tapes):
(1)
the 1st tape: the formula φ m ( x 1 ̲ , , x k ̲ ) is written out.
(2)
the 2nd tape: the word ϵ of length k is written out.
(3)
the 3rd tape: for variables.
(4)
the 4th tape: remembers the last position of the first tape.
(5)
the 5th tape: builds a new formula φ m ϵ ( x 1 ̲ , , x k ̲ ) .
Let the formula φ m ( x 1 ̲ , , x k ̲ ) be written out on the first tape and the second tape should contain the word ϵ . The machine T starts to work in the extreme left position and reads the formula from the first tape. As soon as T reaches the word of the form P j ( x i ̲ ) , T begins to read this word and writes out in parallel symbol 1 on the fourth tape for each symbol of P j ( x i ̲ ) and symbol 1 for each symbol v of P j ( x i ̲ ) on the third tape, moving in parallel, the machine head on the second tape containing the word ϵ with a single delay. When all the symbols v . . . v ( x i ̲ ) are read, the head on the second tape will observe symbol ϵ i 1 which must be substituted for the word P j ( x i ̲ ) . Since the head position of the first tape is recorded on the fourth tape, T starts to overwrite on the first tape the word P j ( x i ̲ ) on symbols # and reduce in parallel the number of symbols 1 on the fourth tape. One as soon as there are no one-symbols left on the fourth tape, then T write the symbol ϵ i 1 to the first tape. Then T returns the heads of second, third and fourth tapes to the extreme left position and continue to sequentially find and replace the remaining occurrences of the form P j ( x r ̲ ) on the first tape and replace them with symbols # and ϵ r . After all the replacements T must return the head of the first tape to the extreme left position and starts copying the formula of the first tape to the fifth tape while skipping the symbols #.
Calculate the total operating time of such a machine T:
(1)
The machine T works with the formula φ m ( x 1 ̲ , , x n m ̲ ) on the first tape which includes words such as P j ( x i ̲ ) . The length of this formula does not exceed C · | l | p 1 . In total, the number of steps does not exceed three lengths of φ m ( x 1 ̲ , , x n m ̲ ) .
(2)
On the second tape, the machine does not change the word ϵ , simply reads it in parallel with the symbols v from the first tape and periodically returns the head to the extreme left position. The total number of shifts to the right of the machine head of the second tape does not exceed the length of the word on the first tape. The same goes for the number of the machine head shifts to the left. Therefore, on this tape, there will be no more than 2 · C · | l | p 1 steps.
(3)
On the third tape, the last monitored variable is written out. The number of the machine head shifts to the right and to the left does not exceed 2 · C · | l | p 1 on this tape.
(4)
For the fourth tape it is also does not exceed 2 · C · | l | p 1 .
(5)
To copy the final word from the first tape to the fifth and taking into account the preliminary setting of the head of the first tape to the extreme left position, it will also take no more than 2 · C · | l | p 1 .
Let φ m ( x 1 ̲ , , x k ̲ ) F P i + be potentially generative formula for an element l.
Lemma 2.
φ m ϵ ( l 1 , , l k ) is built by word l and the formula φ m ϵ ( x 1 ̲ , , x k ̲ ) for the time not exceeding 4 · C · | l | p .
Proof. 
Consider a Turing machine T over alphabet Ω that also consists of three semi-tapes (hereafter called tapes):
(1)
the 1st tape: the formula φ m ϵ ( x 1 ̲ , , x k ̲ ) is written out, where the length of the formula does not exceed C · | l | p 1 .
(2)
the second tape: the word w 2 = # R ( l ) = # l 1 # # l k written out, where the length of the word does not exceeding | l | .
(3)
the third tape: builds a new formula φ m ϵ ( l 1 , , l k ) .
The machine starts to work with the formula of the first tape, if necessary simultaneously copying the result to the third tape. If the machine T on the first tape reads a symbol that is not v, then T copies it to the third tape. If T reads the symbol v on the first tape, then T starts the process of finding the corresponding l i for replacement. When the machine T reads the i-th symbol v successively from the first tape, T transfers the machine head of second tape to the i-th symbol # that comes before the corresponding l i . When T reads all symbols v successively from first tape, then the machine will write the corresponding l s from second tape to the third tape. By repeating this algorithm on the third tape the word φ m ϵ ( l 1 , , l k ) will eventually be written.
Calculate the total operating time of such a machine T:
(1)
the machine T reads a word from the first tape or just stands and waits for further reading. The number of movements to the right does not exceed C · | l | p 1
(2)
on the second tape, the machine head moves both to the right and to the left, but again only reading. Therefore, the number of steps does not exceed C · | l | p 1 × 2 · | l | 2 · C · | l | p .
(3)
the third tape: the number of steps does not exceed C · | l | p 1 .

8. A Polynomial Analogue of Gandy’s Theorem

Let Γ w from equality (2) be the smallest fixed point of Δ 0 p -operator Γ F P 1 + , , F P n + , then the next theorem is true:
Theorem 1
(polynomial analogue of Gandy’s theorem).The smallest fixed point Γ w of Δ 0 p -operator Γ F P 1 + , , F P n + is a Δ 0 p -set.
Proof. 
The main idea of the proof is to show that the time for checking the truth of the formula P i ( l ) on M f a l s e Γ w does not exceed the time k · C · r ( l ) · | l | p , where k and C are fixed constants and r ( l ) is the rank of the element l and r ( l ) 1 , i [ 1 , , n ] . Since the rank r ( l ) < | l | , we get that for any l the complexity does not exceed k · C · | l | p + 1 .
Without loss of generality, we show this for P 1 ( l ) , assuming in the induction step that this estimate is true for all P i ( l j ) , where r ( l j ) < r ( l ) and i [ 1 , , n ] . Using the induction by complexity r ( l ) we show that t ( P 1 ( l ) ) 25 · C · r ( l ) · | l | p , where the constant C is the maximum for all constants that participate in the splitting function R ( l ) , in functions γ i and in the algorithm for checking the truth of the formula φ m ϵ ( l 1 , , l n m ) .
Induction base r ( l ) = 1 :
  • Case 1: γ i ( l ) p , then the formula P 1 ( l ) is false.
  • Case2: γ i ( l ) = φ m ( x 1 ̲ , , x k ̲ ) , then R ( l ) = l 1 # # l k and all elements of l i (where i [ 1 , , k ] ) are either elements of the base set M or elements from Σ for which R ( l i ) p . Given all P i ( l j ) are false on M f a l s e Γ w , we can create φ m ϵ ( x 1 ̲ , , x k ̲ ) from the potentially generating formula φ m ( x 1 ̲ , , x k ̲ ) for element l, where ϵ = 0 0 and | ϵ | = k . We get:
    M f a l s e Γ w P 1 ( l )   if   and   only   if   M f a l s e Γ w φ m ( l 1 , , l k )   if   and   only   if   M f a l s e Γ w φ m ϵ ( l 1 , , l k )   if   and   only   if   M f a l s e φ m ϵ ( l 1 , , l k )
The time required to construct a potentially generating formula φ m ( x 1 ̲ , , x k ̲ ) using l does not exceed C · | l | p 1 . Next, we build φ m ϵ ( x 1 ̲ , , x k ̲ ) and φ m ϵ ( l 1 , , l k ) . The time required for this does not exceed 12 C | l | p 1 and 4 C | l | p (Lemmas 1 and 2). Verifying the truth of the last formula for M f a l s e does not exceed C | l | p . Summing everything up, we get that the verification time does not exceed 25 C r ( l ) | l | p .
The induction step: let our assumption be true for r ( l ) = s . We will show this for s + 1 :
  • Case 1: γ i ( l ) p , then the formula P 1 ( l ) is false. We get it in time:
    t ( P 1 ( l ) ) C · | l | p 1 25 · C · r ( l ) · | l | p
  • Case 2: γ i ( l ) = φ m ( x 1 ̲ , , x k ̲ )
    M f a l s e Γ w P 1 ( l )   if   and   only   if   M f a l s e Γ w φ m ( l 1 , , l k ) if   and   only   if   M f a l s e Γ w φ m ϵ ( l 1 , , l k ) if   and   only   if   M f a l s e φ m ϵ ( l 1 , , l k )
    where ϵ string of symbols ϵ i such that ϵ i = 1 if formula P j ( l i ) is true on M f a l s e Γ w and 0 otherwise.
Let’s calculate the time spent on all transitions:
(1)
constructing a potentially generating formula φ m ( x 1 ̲ , , x k ̲ ) using l in time C · | l | p 1
(2)
determining the truth of all predicates P i 1 ( l 1 ) , , P i k ( l k ) which are included in the formula. By the induction hypothesis, we obtain:
j = 1 k t ( P i j ( l j ) ) j = 1 k 25 · C · r ( l j ) · | l j | p 25 · C · ( r ( l ) 1 ) · | l | p .
(3)
further, we fix the signification ϵ : P i j ( x i ̲ ) { 0 , 1 } considering whether the predicate P i j ( l i ) is true or false, if the formula does not include any of the predicates P j i for the variable x i ̲ , then we determine the truth for P 1 ( x i ̲ ) by default.
(4)
By the formula φ m ( x 1 ̲ , , x k ̲ ) and by the signification ϵ we construct φ m ϵ ( x 1 ̲ , , x k ̲ ) . The time required for this does not exceed 12 · | l | p 1 12 · | l | p .
(5)
By the formula φ m ϵ ( x 1 ̲ , , x k ̲ ) and l we construct φ m ϵ ( l 1 , , l k ) . The time required for this does not exceed 4 · C · | l | p .
If we sum up all the time of calculations, then we get the following:
t ( P 1 ( l ) ) i = 1 k ( 25 · C · r ( l i ) · | l i | p ) + 25 · C · | l | p 25 · C · ( r ( l ) 1 ) · | l | p + 25 · C · | l | p 25 · C · r ( l ) · | l | p
We have shown that for any element l of rank r ( l ) in time 25 · C · r ( l ) · | l | p we determine the fact whether it belongs to the predicate P 1 . Since r ( l ) is always less than | l | , we can write the following:
t ( P 1 ( l ) ) 25 · C · r ( l ) · | l | p 25 · C · | l | p + 1 .

9. Corollaries and Applications

For the Δ 0 p -model M as an application of the polynomial analogue of Gandy’s theorem, we present several corollaries. Some of these corollaries have already been proven earlier by other authors using other methods, some are presented for the first time.
Let the model M have a one-place predicate U that selects the elements of the main set M and a distinguished one-place predicate L i s t = (a predicate that will select list elements), then we will show how easy it is to prove the following statement on hereditarily finite lists H W ( M ) which was already proven earlier in [8] but using a different technique:
Corollary 1.
If M is a Δ 0 p -model, then H W ( M ) is a Δ 0 p -set.
Proof. 
A countable generating family of formulas F L i s t + is as follows:
φ n : & i = 1 n ( U ( x n ) L i s t ( x n ) ) , n N
This family of formulas is predicate-separable, all formulas are positive quantifier-free, and the predicate L i s t is included in formulas positively. We can easily see that the operator Γ F L i s t + M is a Δ 0 p -operator. □
Let the signature σ have the form: σ = { c 0 , , c k , f 1 ( m 1 ) , , f s ( m s ) , R 1 ( p 1 ) , , R t ( p t ) } . Consider the model N with the basic set of elements N and signatures σ = { 1 ̲ , s ( 1 ) } . The interpretation of the constant 1 ̲ will be 1 and s-the standard successor function. Further, an entry of the form n + 1 ̲ will mean a term of the form n-fold application of the function s to 1 ̲ .
Corollary 2.
The set of quantifier-free formulas of signature σ is a Δ 0 p -set.
Proof. 
The process of constructing auxiliary Δ 0 p -sets using generating families for the corresponding predicates in the Δ 0 p -model N is as follows:
(1)
Constants: F C o n s + : φ i : ( x 1 = 1 ̲ ) & ( x 2 = i ̲ ) , i [ 1 , , k ]
(2)
Variables: F V a r + : φ i : ( x 1 = 2 ̲ ) & ( x 2 = i ̲ ) , i N
(3)
Function symbols: F F u n c + : φ i : ( x 1 = 3 ̲ ) & ( x 2 = i ̲ ) , i [ 1 , , s ]
(4)
Predicate symbols: F R + : φ i : ( x 1 = 4 ̲ ) & ( x 2 = i ̲ ) , i [ 1 , , t ] .
(5)
Terms that are not constants and variables:
F T e r m 1 + : φ i : ( x 1 = 5 ̲ ) & F u n c ( x 2 ) & i = 3 n i + 2 ( T e r m 1 ( x i ) C o n s ( x i ) V a r ( x i ) )
(6)
The set of standard terms: F T e r m + : F T e r m 1 + F C o n s + F V a r +
Generating family for quantifier-free formulas F F r e e + :
(1)
φ 1 ( R i ) : ( x 1 = 8 ̲ ) & R ( x 2 ) & i = 3 p i + 2 T e r m ( x i )
(2)
φ 2 ( P i ) : ( x 1 = 9 ̲ ) & P ( x 2 ) & T e r m ( x i )
(3)
φ 3 ( = ) : ( x 1 = 10 ̲ ) & T e r m ( x 2 ) & T e r m ( x 3 )
(4)
φ 4 ( & ) : ( x 1 = 11 ̲ ) & F r e e ( x 2 ) & F r e e ( x 3 )
(5)
φ 5 ( ) : ( x 1 = 12 ̲ ) & F r e e ( x 2 ) & F r e e ( x 3 )
(6)
φ 6 ( ) : ( x 1 = 13 ̲ ) & F r e e ( x 2 ) & F r e e ( x 3 )
(7)
φ 7 ( ¬ ) : ( x 1 = 14 ̲ ) & F r e e ( x 2 ) & F r e e ( x 3 )
Define the signature σ = σ { C o n s , V a r , F u n c , T e r m , F r e e } { ( 2 ) , ( 2 ) } .
Corollary 3.
The set of Δ 0 -formulas [9] signature σ is a Δ 0 p -set.
Proof. 
Define a family of Δ 0 -formulas F D 0 + . Just as in Corollary 2, we write out generating formulas for terms and formulas, with the only difference that we also add formulas for the above predicates:
(8)
φ 8 ( ) : ( x 1 = 15 ̲ ) & T e r m ( x 2 ) & T e r m ( x 3 )
(9)
φ 9 ( ) : ( x 1 = 16 ̲ ) & T e r m ( x 2 ) & T e r m ( x 3 )
We also write out generating formulas for ( x k t ) φ ( x ¯ ) , ( x m t ) φ ( x ¯ ) , ( x t t ) φ ( x ¯ ) , ( x t t ) φ ( x ¯ ) :
(10)
φ 10 ( x k t ( x ¯ ) ) : ( x 1 = 17 ̲ ) & V a r ( x 2 ) & T e r m ( x 3 ) & D 0 ( x 4 )
(11)
φ 11 ( x m t ( x ¯ ) ) : ( x 1 = 18 ̲ ) & V a r ( x 2 ) & T e r m ( x 3 ) & D 0 ( x 4 )
(12)
φ 12 ( x t t ( x ¯ ) ) : ( x 1 = 19 ̲ ) & V a r ( x 2 ) & T e r m ( x 3 ) & D 0 ( x 4 )
(13)
φ 13 ( x t t ( x ¯ ) ) : ( x 1 = 20 ̲ ) & V a r ( x 2 ) & T e r m ( x 3 ) & D 0 ( x 4 )
Corollary 4.
The set of conditional terms of signature σ and Δ 0 -formulas is a Δ 0 p -sets [9].
Proof. 
This is where the approach gets more interesting. We need to simultaneously generate both conditional terms and formulas containing these conditional terms. Therefore, we construct two generating families: F T C o n d + , F F C o n d + . In addition to generating formulas for standard terms in F T C o n d + , we add countably many generating formulas for conditional terms:
(8)
φ k + 8 : ( x 1 = 21 ̲ ) & i = 1 k ( T C o n d ( x 2 i ) & F C o n d ( x 2 i + 1 ) ) & T C o n d ( x 2 k + 2 ) , k N .
The family F F C o n d + is defined by the same generating formulas as the family F D 0 + , with the only difference that the predicates T e r m must be replaced with T C o n d everywhere. □

10. Conclusions

This work is a starting point for building a methodology for developing fast and reliable software. In this work, we study sufficient conditions for the Δ 0 p -operator under which the smallest fixed point remains a Δ 0 p -set. This allows us to create new elements and data types. Moreover, there are polynomial algorithms for checking the fact whether a certain element belongs to a given data type or not. The question of programming methodology is also of interest: which constructs can be used and which not for creating programs, if we want our programs to be polynomially computable. With the help of the main theorem of our paper and the theorems from the works [8,9,10,11,12,13,14] it is already possible to develop logical programming languages, with programs being of polynomial computational complexity.

Author Contributions

Conceptualization, S.G. and A.N.; methodology, S.G. and A.N.; formal analysis, S.G.; validation, S.G.; investigation, S.G. and A.N.; writing—original draft preparation, A.N.; writing—review and editing, A.N.; supervision, S.G.; project administration, S.G.; software, A.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Barwise, J. Admissible Sets and Structures; Springer: New York, NY, USA, 1975. [Google Scholar]
  2. Ershov, Y.L. Definability and Computability; Springer: New York, NY, USA, 1996. [Google Scholar]
  3. Lewis, H.; Papadimitriou, C. Elements of the Theory of Computation; Prentice-Hall: Upper Saddle River, NJ, USA, 1998. [Google Scholar]
  4. Alaev, P.E. Structures Computable in Polynomial Time. Algebra Log. 2017, 55, 421–435. [Google Scholar] [CrossRef]
  5. Alaev, P.E. Existence and Uniqueness of Structures Computable in Polynomial Time. Algebra Log. 2016, 55, 72–76. [Google Scholar] [CrossRef]
  6. Alaev, P.E.; Selivanov, V.L. Polynomial computability of fields of algebraic numbers. Dokl. Math. 2018, 98, 341–343. [Google Scholar] [CrossRef]
  7. Cenzer, D.; Remmel, J. Polynomial-time versus recursive models. Ann. Pure Appl. Log. 1991, 54, 17–58. [Google Scholar] [CrossRef] [Green Version]
  8. Ospichev, S.S.; Ponomaryov, D.K. On the complexity of formulas in semantic programming. Sib. Electron. Math. Rep. 2018, 15, 987–995. [Google Scholar]
  9. Goncharov, S.S. Conditional Terms in Semantic Programming. Sib. Math. J. 2017, 58, 794–800. [Google Scholar] [CrossRef]
  10. Ershov, Y.L.; Goncharov, S.S.; Sviridenko, D.I. Semantic programming. In Proceedings of the Information Processing 86: IFIP 10th World Computer Congress, Dublin, Ireland, 1–5 September 1986; Volume 10, pp. 1113–1120. [Google Scholar]
  11. Goncharov, S.S.; Sviridenko, D.I. Logical language of description of polynomial computing. Dokl. Math. 2019, 99, 121–124. [Google Scholar] [CrossRef]
  12. Goncharov, S.S.; Sviridenko, D.I. Recursive terms in semantic programming. Sib. Math. J. 2018, 59, 1014–1023. [Google Scholar] [CrossRef]
  13. Goncharov, S.S.; Ospichev, S.S.; Ponomaryov, D.K.; Sviridenko, D.I. The expressiveness of looping terms in the semantic programming. Sib. Electron. Math. Rep. 2020, 17, 380–394. [Google Scholar] [CrossRef]
  14. Goncharov, S.S.; Sviridenko, D.I. Σ-programming. Transl. II. Ser. Am. Math. Soc. 1989, 142, 101–121. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Goncharov, S.; Nechesov, A. Polynomial Analogue of Gandy’s Fixed Point Theorem. Mathematics 2021, 9, 2102. https://doi.org/10.3390/math9172102

AMA Style

Goncharov S, Nechesov A. Polynomial Analogue of Gandy’s Fixed Point Theorem. Mathematics. 2021; 9(17):2102. https://doi.org/10.3390/math9172102

Chicago/Turabian Style

Goncharov, Sergey, and Andrey Nechesov. 2021. "Polynomial Analogue of Gandy’s Fixed Point Theorem" Mathematics 9, no. 17: 2102. https://doi.org/10.3390/math9172102

APA Style

Goncharov, S., & Nechesov, A. (2021). Polynomial Analogue of Gandy’s Fixed Point Theorem. Mathematics, 9(17), 2102. https://doi.org/10.3390/math9172102

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop