1. Introduction
Computable analysis is a modern theory of computability and complexity in analysis that arose out of the seminal work of Turing in the 1930s. This was motivated by questions such as “which real numbers and real number functions are computable, and which mathematical tasks in analysis can be solved by algorithmic means?” Some recent research on computable analysis can be found in [
1,
2]. In this paper, we extend some of the concepts and proof techniques in the theory of formal languages to study the undecidability and complexity of problems in the theory of functions of real variables.
In the theory of formal languages, Rice’s theorem establishes that any non-trivial property of the languages recognized by Turing machines is undecidable. Several authors have investigated the existence and applicability of analogs of Rice’s theorem for different classes of languages. For example, in [
3,
4,
5,
6,
7,
8], sufficient conditions are given for a language predicate to be as hard as the language predicate “
” or “
”. It is well known that for a given alphabet
, the set of formal languages over
forms a semiring, with ∅ being the additive identity. In rings, the corresponding element of ∅ is 0. Thus, an analog of the predicate “
” is the equivalence to the identically 0 function problem. This inspired us to establish similar proof techniques in the theory of real functions, leading to the development of Rice-style theorems for the study of real functions, utilizing the equivalence to the identically 0 function problem.
In this paper, we employ a stronger form of non-recursive enumerability called productiveness. A productive set
S is not recursively enumerable. Furthermore, for any effective axiomatic system
F, there is an effective procedure to construct an element that is in
S, but not provable in
F (see
Section 2 for the importance and precise definition of productiveness). We then study the productiveness of the equivalence to the identically 0 function problem by investigating and extending the previous work in [
9,
10], as well as the undecidability result of Hilbert’s tenth problem (HTP). To the best of our knowledge, HTP is the primary method used to show undecidable results for real fields (for example, see [
11]). We show that HTP and the equivalence to the identically 0 function problem studied in [
9,
10] are not only undecidable but also productive; hence, they are not provable. Furthermore, for any sound proof procedure
P, one can effectively construct an element that is true, but not provable in
P. The productiveness of the equivalence to the identically 0 function problem over different domains is also established.
Moreover, we use highly efficient many-one reductions to show that many problems in the theory of functions of real variables are as hard as the equivalence to the identically 0 function problem. For example, we show that problems such as “is an arbitrary function identically equal to a fixed function?”, “is an arbitrary function differentiable?”, and “is an arbitrary function continuous?” are as hard as the equivalence to the identically 0 function problem. Intuitively, these reductions preserve many levels of complexity. Although, to date, our results for real fields are either productiveness results or relative complexity results, the efficiency of our reductions shows that these relative complexity results have many potential applications.
This paper is organized as follows.
In
Section 2, we review the definitions and theorems related to HTP. We also provide a deeper analysis of the undecidability proof of HTP and show that the set of false instances of HTP is productive. To make the paper more self-contained, the definition and importance of productiveness are discussed. Several preliminary definitions and notations are also explained.
In
Section 3, the productiveness of the equivalence to the identically 0 function problem across different sets of functions and domains is investigated.
In
Section 4, we show two relative complexity/productiveness results via highly efficient reductions from the equivalence to the identically 0 function problem. Due to the efficiency of these reductions, these Rice-style theorems can prove undecidability/productiveness results and hardness results simultaneously.
2. Definitions and Preliminary Results
In this section, we first explain several preliminary definitions and notations. The concept and significance of productiveness are also discussed. The reader is referred to [
12] for all unexplained notations and terminologies in language theory. Next, we review the definitions and theorems related to HTP. Through a detailed analysis of the undecidability proof of HTP, we demonstrate that the set of false instances of HTP is productive.
Definition 1. Let A and B be two formal languages over the alphabets Σ and Γ, respectively. A many-one reduction from A to B is a total recursive function such that , , if and only if . If such a function f exists, we say that A is many-one reducible to B, and write ; if this reduction is polynomial-time bounded, we write .
We use
to denote the set of natural numbers and ∅ to denote the empty set. We utilize various standard notations related to real functions, such as
for the sine function and
for partial derivatives. For a comprehensive overview of these conventions, please refer to [
13].
Productive sets and their properties are a standard topic in mathematical logic/recursion theory textbooks such as [
14,
15]. Productiveness is a recursion-theoretic abstraction of what causes Gödel’s first incompleteness theorem to hold. The next definition recalls the definition of a productive set on
, as developed in [
14].
Definition 2. Let W be an effective Gödel numbering of the recursively enumerable sets. A set A of natural numbers is called productive if there exists a total recursive function f so that for all , if , then . The function f is called the productive function for A.
From this definition, we can see that no productive set is recursively enumerable. It is well known that the set of all provable sentences in an effective axiomatic system is always a recursively enumerable set. So, for any effective axiomatic system F, if a set A of Gödel numbers of true sentences in F is productive, then there is at least one element in A that is true but cannot be proven in F. Moreover, there is an effective procedure to produce such an element.
Let
W be an effective Gödel numbering of the recursively enumerable sets.
K denotes the set
.
denotes the set
. Two well-known facts of productive sets (see [
14]) that are necessary for the research developed here are as follows:
Proposition 1. - 1.
is productive.
- 2.
For all , A is productive if and only if .
The following proposition is proven in [
5] and is used to prove productiveness results. It also shows in which way the productiveness is stronger than non-recursive enumerability: i.e., every productive set
A has an infinite recursively enumerable subset, and for any sound proof procedure
P, one can effectively construct an element that is in
A, but not provable in
P.
Proposition 2. Let , , and . Then, the following hold:
- 1.
If A is productive, then so is B.
- 2.
If A is productive, then there exists a total recursive function , called a productive function for A, such that for all , - 3.
If A is productive, then A is not recursively enumerable (RE). However, A does have an infinite RE subset.
To make the definitions of this paper clear, we need some discussion about expressions of functions.
Let
R be a set of expressions representing functions. In this chapter, all the expressions are assumed to represent real, single-valued elementary functions of one or more real variables over some domain
D. If
, then
for
is the function represented by
F. It is supposed that, given
, there is an efficient procedure for finding expressions in
R to represent the functions
means that and are defined over the same domain and equal wherever they are defined.
Definition 3. Let R be a set of expressions representing real functions of one (or multiple) real variable(s). The equivalence to the identically 0 function problem (denoted by is the problem of deciding, given , over some domain D, whether for all .
We then briefly introduce HTP and review the standard proof of its undecidability as presented in [
11,
16]. The definitions and notations used here are mainly from the book [
11]. A deeper analysis of this undecidability proof reveals that the set of false instances of HTP is productive. This finding is stronger than the undecidability result since it demonstrates that HTP is not provable. Moreover, for any sound proof procedure
P, one can effectively construct a counterexample that is not provable by
P. This is potentially more interesting in the theory of functions of real variables.
Definition 4. A Diophantine equation is an equation of the formwhere D is a polynomial with integer coefficients. A family of Diophantine equations is defined by an equation of the formwhere D is a polynomial with integer coefficients, the variables of which are split into two groups: - 1.
The parameters ;
- 2.
The unknowns .
We can consider the set
of all n-tuples
for which the above parametric equation has a solution in integers, that is,
An equivalence of this form is called a Diophantine representation of the set
.
Hilbert’s tenth problem is to determine whether a given Diophantine equation has a solution in integers. The following theorem proved by Yuri Matiyasevich [
16] shows that HTP is undecidable.
Theorem 1. (Matiyasevich’s Theorem) Every recursively enumerable set W of n-tuples of nonnegative integers has a Diophantine representation; that is, for any recursively enumerable set W,for some polynomial D with integer coefficients. We investigate the proof of Theorem 1 and show a stronger form of this theorem that implies the set of false instances in HTP is productive.
Corollary 1. is a Diophantine equation, and has no solution in integers}.
Proof. Recall the definition of the set . Let W be an effective Gödel numbering of the recursively enumerable sets. . According to Theorem 1, we know that if and only if there exists a polynomial D with integer coefficients such that has a solution in integers. □
One related result is about the problem of determining whether a given Diophantine equation has a solution in natural numbers.
Corollary 2. is a Diophantine equation, and has no solution in natural numbers}.
Proof. The problem of determining whether a given Diophantine equation has a solution in integers is many-one equivalent to the problem of determining whether it has a solution in natural numbers. The proof that these two problems are many-one equivalent can be seen in [
17]. The rest of the proof is by Corollary 1 and the transitivity of many-one reduction. □
The following corollary is presented in [
17] and is directly from Corollary 1 and the properties of productiveness. It demonstrates the importance of productiveness.
Corollary 3. There is a particular one-parameter Diophantine equationand an algorithm that, for a given algorithm , produces a number (counterexample) such that the algorithm fails to give the correct answer to the question of whether equation has a solution in integers. 3. The Equivalence to the Identically 0 Function Problem
In this section, we present a deep analysis of the proofs in [
9,
10] and establish a stronger theorem to show that the problem “
” is productive for a particular set of expressions representing real functions over the domain
. This productiveness result is then extended to different domains, such as
,
,
for any real numbers
, etc.
Theorem 2. Let R be the set of expressions generated by
- 1.
The rational numbers and the real number π;
- 2.
The variable x;
- 3.
The operations of addition, multiplication, and composition;
- 4.
The sine and absolute value functions.
Then, over . Hence, the problem “” is productive.
Proof. The constructions in this proof are mainly from [
9]. For any polynomial
with integer coefficients, let
be the dominating function for
. This means
for all real
and
for all real
and all real
satisfying
for
. Observe that the expressions
P and
are in
R. Then, we can effectively construct an expression
representing
If there exist
n natural numbers
such that
, then
. If there exist
n nonnegative real numbers
such that
, let
be the smallest integer such that
. Observe that
are natural numbers. Then,
Hence,
and
for all
. By the n-dimensional mean value theorem,
where
is between
and
. From the definition of
, we have
Since
, we have
. Hence,
We know
and
. So,
So, there exist
n natural numbers
such that
. By Corollary 2, we have
For any function
represented by an expression in
R, we can effectively construct an expression
, such that
If there exist
n nonnegative real numbers
such that
, then there exist
n real numbers
such that
. On the other hand, if there are
n real numbers
such that
, clearly, there exist
n nonnegative real numbers
such that
. So, we have
For any function
represented by an expression in
R, we can effectively construct an expression
such that
where
and
. Because of the fact proved in [
10] that, for any real numbers
and any
, there exists
such that
we know there exists a real number
b such that
if and only if there exist
n real numbers
such that
. So, we have
For any function
represented by an expression in
R, we can effectively construct an expression
such that
If
for all
, then
over
. Otherwise, there exists a real number
a such that
. So,
. Then, we have
By the transitivity of many-one reductions, we have
□
Since investigating the complexity/productiveness of the problem “” is central to our research, it is desirable to have as much information as possible about this problem. One natural direction is to investigate this problem over different domains. From the proof of Theorem 2, we have the following corollary directly.
Corollary 4. Let R be the same set defined in Theorem 2. Then,
over .
over .
Proof. The proof follows from the first reduction (reduction (1)) in the proof of Theorem 2. Notice that the set
is a Diophantine equation and
has no nonpositive solution} is also productive. The proof is simple: For any Diophantine equation
, we can effectively construct another Diophantine equation
. Clearly,
has a solution in natural numbers if and only if
has a solution in nonpositive numbers. Applying this result to the first reduction in the proof of Theorem 2, we can obtain
The remainder of the proof is just to skip the second reduction (reduction (2)) in the proof of Theorem 2 and go through reductions (3) and (4). □
In the theory of functions of real variables, the domains of many problems are defined to be an open (or closed) interval (or ), where a and b represent real numbers that define the boundaries of the interval. In order to make our general methods applicable to problems with these domains, we investigate the productiveness of the problems “”, “”, “”, and “”.
Theorem 3. Let be the set of expressions generated by
- 1.
The rational numbers and the real number π;
- 2.
The variable x;
- 3.
The operations of addition, multiplication, division, and composition;
- 4.
The sine and absolute value functions.
Then, the following hold:
over , where are real numbers and ;
over , where are real numbers and ;
over , where are real numbers and .
Proof. Observe that the set
R defined in Theorem 2 is a proper subset of
and that
allows the operation of division. For any function
represented by an expression in
R, for any two real numbers
with
, we can effectively construct an expression
such that
It is easy to see
and
. So, for any real number
t, there exists a real number
such that
. Hence,
for all
if and only if
over
.
The proofs for the other two results are similar. Consider the following construction:
For any real number
, there exists a real number
such that
. Hence,
for all
if and only if
over
.
Consider the following construction:
For any real number
, there exists a real number
such that
. Hence,
for all
if and only if
over
. □
If we study the problem “
” in the extended real number system (see [
18,
19] for more information), we can obtain a stronger result. The extended real number system (denoted by
) is the real number system with two extra elements. The two extra elements are denoted by
and
(read as positive infinity and negative infinity, respectively). The extended real number system is very useful in describing various limiting behaviors in calculus and mathematical analysis, especially in the theory of measure and integration. The algebraic operations for
and
are defined as follows:
if ;
if ;
if ;
if ;
if ;
for all .
The expressions , , and are left undefined. In this paper, in order to make it applicable to Lebesgue measure theory, we shall agree that
;
For any continuous function , if , then ; if , then .
Let us consider functions over extended real numbers. The following proposition follows directly from Theorem 2.
Proposition 3. Let R be the set of expressions generated by
- 1.
The rational numbers and the real number π;
- 2.
The variable x;
- 3.
The operations of addition, multiplication, and composition;
- 4.
The sine and absolute value functions.
Then, over .
Proof. The proof is the same as that of Theorem 2. □
Proposition 3 enables us to study the complexity/productiveness of the problem “” in the extended real number system. The following theorem shows that, in the extended real system, the problem “” for a particular set of elementary functions over any closed and bounded interval with is productive.
Theorem 4. Let be the set of expressions generated by
- 1.
The rational numbers and the real number π;
- 2.
The variable x;
- 3.
The operations of addition, multiplication, division, and composition;
- 4.
The sine and absolute value functions.
Then, over , where are real numbers and .
Proof. Observe that the set
R defined in Proposition 3 is a proper subset of
and that
allows the operation of division. For any continuous function
represented by an expression in
R, we can effectively construct an expression
such that
It is obvious that
. So, we have the following:
and , since and ;
and , since ;
and , since .
Consider the extended real number system . is everywhere defined and continuous over and . For any real numbers with , let . Observe that there exists an expression in to represent .
and . Hence, over the interval , and . Hence, for any extended real number , there exists a real number such that . Hence, over if and only if over . By the definition of , we know over if and only if over . □
4. Rice-Style Theorems for Real Fields
In this section, we present several general complexity/productiveness results in the theory of functions of real variables. Through these results, we illustrate one useful proof technique and show the complexity-theoretic parallels between the theories of formal languages (Rice’s theorem) and of functions of real variables. In the theory of formal languages, researchers have provided a lot of discussion and applications on testing equivalence to any fixed language. Here, we consider a similar problem: testing equivalence to any fixed real function. Since the set of all real functions forms a ring, the problem of testing equivalence to any fixed real function is many-one equivalent to the equivalence to the identically 0 function problem.
Theorem 5. Let R be the set of expressions generated by
- 1.
The variable x;
- 2.
The operations of addition and subtraction.
For any fixed real function represented by an expression in R, Proof. For any function , where , we can efficiently construct an expression such that . Clearly, over domain D if and only if over D. On the other hand, we can construct a function , and then over D if and only if over D. □
The use of dichotomized reductions to show that a collection of predicates is hard simultaneously has been explored in the theory of formal languages. For example, in [
6], we construct a language that is either
or a language that is not a multi-pattern language. Then, the single reduction implies the following simultaneously: for any subset
of multi-pattern languages, if
, then the predicate “
” is hard. The same proof technique also works in real fields. For example, using a dichotomized reduction, we have the following Rice-style theorem.
Theorem 6. Let D be a domain, R be a set of expressions representing continuous functions, and be any superset of R such that there exists an expression in that represents the Dirichlet function defined byThen, for any fixed set of functions Γ, where - 1.
0 functions over D are in Γ and
- 2.
the set of all semi-continuous functions over D represented by expressions in , over over D is in .
Proof. For any function F(x), where , we can efficiently construct an expression such that . Clearly, if over D, then over D. So, . Otherwise, because is continuous, there exists an interval with such that at any point on . So, is everywhere discontinuous over . Hence, is not semi-continuous over D. Hence, . □
The following corollary shows several direct implications of this theorem. We need several definitions to understand the terminologies mentioned in the following corollary.
Definition 5. - 1.
A real-valued function is called uniformly continuous over D if, for every real number , there exists such that for every , implies .
- 2.
A real-valued function is called right differentiable at if the limit exists as a real number. f is called left differentiable at if the limit exists as a real number. f is semi-differentiable at if f is left and right differentiable at .
- 3.
A real-valued function is said to be continuously differentiable over D if its derivative exists over D and is a continuous function over D.
Corollary 5. over is continuous over ;
over is semi-continuous over ;
over is uniformly continuous over ;
over is differentiable over ;
over is semi-differentiable over ;
over is continuously differentiable over ;
over is n times differentiable over D where .
Proof. From Definition 5, it is clear that every case satisfies the conditions of defined in Theorem 6. □
Based on the results presented in
Section 3, it is evident that for certain sets of elementary functions, the predicates outlined in Corollary 5 are all productive. Given the numerous theoretical properties of the identically 0 function in the context of real variables, and utilizing dichotomized reductions, we believe that the proof technique employed in Theorem 6 has broad applicability, and this technique can be used to establish much more results beyond those demonstrated in Corollary 5. Although our results to date primarily focus on productiveness, which is a stronger concept than undecidability and has significant implications in the theory of functions of real variables, we believe that the relative complexity results established in this section also offer considerable potential applications. This is mainly due to the highly efficient many-one reductions developed here, which effectively preserve nearly every level of complexity.
5. Conclusions
In this paper, we have explored the complexity and productiveness of real functions, drawing valuable insights from the theory of formal languages. We have demonstrated that determining whether a function is identically 0 over various domains is productive, which is a stronger form of non-recursive enumerability. We then established Rice-style theorems for real functions by using highly efficient many-one reductions from the equivalence to the identically 0 function problem.
Our investigation into dichotomized reductions introduced a novel technique for transforming the equivalence to the identically 0 function problem into instances that involve specific properties, such as continuity or differentiability. By employing functions like the Dirichlet function in these transformations, we have developed a robust method for analyzing and comparing real function properties. The dichotomized reductions leverage numerous theoretical properties of the identically 0 function, resulting in constructions that either exhibit many properties (because they are identically 0) or possess no properties, as exemplified by the Dirichlet function. This approach not only enhances our understanding of function equivalence but also provides practical tools for addressing complex questions in real analysis.
The implications of our work are significant, affecting both theoretical and practical aspects of real function analysis. The methods and results discussed lay a foundation for the further exploration and application of complexity theory to real functions. Our approach offers new perspectives on classical problems and promises to advance the field of real function theory. We anticipate that the techniques and insights presented here will inspire further research and contribute to a deeper understanding of the computational aspects of real functions, potentially impacting various areas of mathematical and applied research.