• Home
  • Search
  • Some Program Anomalies and the Parameter Theorem
  • https://doi.org/10.1080/0025570x.1989.11977423Copy DOI Icon

Some Program Anomalies and the Parameter Theorem

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

Recursive function theory studies functions that can be evaluated by an algorithm based on some computing model such as a Turing machine or computer program. These functions are called partial recursive (p.r.) and are defined on subsets of N, where N = {0, 1,... }, with values in N. (A good introduction to the theory may be found in [2].) This paper explains the Parameter Theorem, illustrates some unusual computer programs, and explains their connection to recursive function theory. Basing our computing model on a modern high level language, we can construct programs whose existence is known through more formal means. Our functions will operate on strings rather than numbers, however. There is no loss in generality since strings can be viewed as members of N, and vice-versa. From a practical aspect, this approach is somewhat more desirable since conventional programming languages often allow making use of long strings, but place more restrictive limits on the size of integers. We first pose a problem: Does there exist a program (written in some conventional programming language) which halts if and only if its input is identical to the program's text (i.e., source code)? For the remainder of this note X is the set of ASCII characters 'a,' 'b, +,' space, line feed, and so forth, needed to write programs in most programming languages. We denote by X * the set of all strings (finite sequences) over X. Let P1 be the set of all one variable partial recursive functions on X *. A function I belongs to P1 if and only if there is a subset of S of X* and some algorithm which computes 't by associating with each element of S a well-defined element of X *. Similarly, 't belongs to P2 if and only if there is a set S c X * X X *, and an algorithm for 't which associates with each element of S a well-defined element of X *. A partial recursive function I in P1 (or in P2) is recursive if the algorithm is defined on all of X * (or X * X X *). This is equivalent to saying that the algorithm which evaluates I always halts. Our computing model will be based on Adat; its high-level string-handling properties simplify later examples. For readability, however, we will express algorithms in a more familiar Pascal-like style. Readers familiar with either programming language should find forthcoming algorithms sufficiently clear. A formal presentation in Ada is given in the Appendix. A string of ASCII characters, such as in FIGURE 1, represents a function in our language which takes strings to strings. Of course, strings of ASCII characters such as The quick brown fox and %*!! represent nothing at all in our programming language. Let A1 be the set of all strings in X * representing functions in our language of one input STRING which outputs a STRING. Similarly let A2 be the set of all strings in

Similar Papers
  • Book Chapter
  • Citations22

Algorithmic Procedures, Generalized Turing Algorithms, and Elementary Recursion Theory

  • Jan 01, 1985
  • Studies in Logic and the Foundations of Mathematics
  • J C Shepherdson
  • Research Article
  • Citations30

Church's thesis without tears

  • Sep 01, 1983
  • Journal of Symbolic Logic
  • Fred Richman
  • Research Article
  • Citations10

Continuous-time computation with restricted integration capabilities

  • Dec 29, 2003
  • Theoretical Computer Science
  • Manuel Lameiras Campagnolo
  • Conference Article
  • Citations70

On a theory of computation over the real numbers; NP completeness, recursive functions and universal machines

  • Jan 01, 1988
  • L Blum +2
  • Conference Article
  • Citations43

The Insufficiency of Formal Design Methods " The Necessity of an Experimental Approach - for the Understanding and Control of Complex MAS

  • Jul 19, 2004
  • Bruce Edmonds +1
  • Research Article
  • Citations11

Tarski's theory of definability: common themes in descriptive set theory, recursive function theory, classical pure logic, and finite-universe logic

  • Feb 05, 2004
  • Annals of Pure and Applied Logic
  • J.W Addison
  • Research Article
  • Citations64

Indexings of subrecursive classes

  • Jul 01, 1980
  • Theoretical Computer Science
  • Dexter Kozen
  • Research Article
  • Citations3

Computation of recursive functionals using minimal initial segments

  • May 01, 1983
  • Theoretical Computer Science
  • Dan Gordon
  • Research Article
  • Citations4

Lower radicals of certain classes of rings

  • Sep 01, 1978
  • Algebra and Logic
  • A A Nikitin
  • Research Article
  • Citations36

The Mathematica programmer

  • Jul 01, 1994
  • Choice Reviews Online
  • Roman E Maeder
  • Conference Article
  • Citations21

Simple computation-universal cellular spaces and self-reproduction

  • Oct 01, 1968
  • Alvy Ray Smith
  • Research Article
  • Citations12

Recursive functions of context free languages (II)

  • Apr 01, 2002
  • Science in China Series F Information Sciences
  • Yunmei Dong
  • Research Article

Minimization and NP multifunctions

  • Jun 01, 2004
  • Theoretical Computer Science
  • N Danner
  • Conference Article
  • Citations17

Toward A More Scalable End-User Scripting Language

  • Jan 01, 2008
  • Alessandro Warth +3
  • Research Article

Hyperarithmetical Index Sets in Recursion Theory

  • Oct 01, 1987
  • Transactions of the American Mathematical Society
  • Steffen Lempp
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.