One of the central problems in programming is the correctness problem, i.e., the question of whether a program computes a given function. We choose a rather general formal semantical framework, effectively given topological T0-spaces, and study the problem to decide whether an element of the space is equal to a fixed element. Moreover, we consider the problems of deciding for two elements, whether they are equal and whether one approximates the other in the specialization order. These are one-one equivalent for a large class of spaces, including effectively given Scott domains. All these problems are undecidable. In most cases they are complete on some level of the arithmetical and/or the Boolean hierarchy. The complexity respectively depends on whether the fixed element is not finite and whether the space contains a nonfinite element. The problem of deciding whether an element is not finite is potentially ?02-complete and for domain-like spaces the membership problem of any nonempty set of nonfinite elements that intersects the effective closure of its complement is ?02-hard. If the given element is finite or the space contains only finite elements, the complexity also depends on the location of the given element in the specialization order and/or the boundedness of the set of lengths of all decreasing chains of basic open sets.
[1]
J. Ersov.
Theorie der Numerierungen II
,
1973
.
[2]
Dana S. Scott,et al.
Lectures on a Mathematical Theory of Computation
,
1982
.
[3]
Michael B. Smyth,et al.
Power Domains and Predicate Transformers: A Topological View
,
1983,
ICALP.
[4]
Norman Shapiro,et al.
Degrees of computability
,
1956
.
[5]
Alberto Bertoni,et al.
The Complexity of Computing the Number of Strings of Given Length in Context-Free Languages
,
1991,
Theor. Comput. Sci..
[6]
F. D. Lewis.
Classes of Recursive Functions and Their Index Sets
,
1971
.
[7]
R. Soare.
Recursively enumerable sets and degrees
,
1987
.
[8]
Michael B. Smyth,et al.
Quasi Uniformities: Reconciling Domains with Metric Spaces
,
1987,
MFPS.
[9]
Louise Hay,et al.
Isomorphism types of index sets of partial recursive functions
,
1966
.
[10]
Paola Giannini,et al.
Effectively Given Domains and Lambda-Calculus Models
,
1984,
Inf. Control..
[11]
B. Kushner,et al.
Lectures on Constructive Mathematical Analysis
,
1984
.
[12]
Y. Moschovakis.
Recursive metric spaces
,
1964
.
[13]
Dana S. Scott,et al.
Data Types as Lattices
,
1976,
SIAM J. Comput..