|
Recursive Function
|
(Definition)
|
|
Intuitively, a recursive function may be defined as an integer-valued function of one or more
integer variables which may be computed by a definite algorithm. In order to produce a
rigorous definition, one may proceed long at least two approaches; one may define the
notion of algorithm rigorously in order to complete the intuitive definition given above
or one may proceed inductively, first declaring certain functions to be recursive and
then specifying definite procedures by which one may construct any other recursive
function starting from the initial set. In this entry, we shall concentrate on the latter
approach, only making a few brief remarks regarding the former approach towards the
end.
- The constant function c : ℤ+ → ℤ+ defined by c(x) = 1 for all x ∈ ℤ+ is a recursive
function.
- The addition function + : ℤ+2 → ℤ
+ and the multiplication function × : ℤ+2 → ℤ
+
are recursive function.
- The projection functions Imn: ℤ
+n → ℤ
+ with 1 ≤ m ≤ n defined as Imn(x
1,…,xn) =
xm are recursive functions.
- (Closure under composition) If f : ℤ+n → ℤ
+ is a recursive function and gi: ℤ+m → ℤ
+
with i = 1,…n are recursive functions, then h: ℤ+n → ℤ
+, defined by h(x1,…,xn) =
f(g1(x1,…,xm),…,gn(x1,…,xm)) is a recursive function.
- (Closure under primitive recursion)If f : ℤ+n → ℤ
+ and g: ℤ+n+2 → ℤ
+ are recursive
function, then h: ℤ+n+1 → ℤ
+, defined by the recursion
with the initial condition
is a recursive function.
- (Closure under minimization) If f : ℤ+n+1 → ℤ
+ is a recursive function then g: ℤ+n → ℤ
+ is
a recursive function, where g is defined to equal y if there exists a y ∈ ℤ+ such
that
- f(0,x1,…,xn),f(1,x1,…,xn),…,f(y,x1,…,xn) are all defined,
- f(z,x1,…,xn) = 0 when 1 ≤ z < y, and
- f(y,x1,…,xn) = 0, otherwise g(x1,…,xn) is undefined.
"Recursive Function" is owned by rspuzio. [ full author list (2) ](view preamble)
|
|
Cross-references: composition, algorithm, function, recursive function
There is 1 reference to this object.
This is version 2 of Recursive Function, born on 2009-03-09, modified 2009-05-22.
Object id is 581, canonical name is RecursiveFunction2.
Accessed 1760 times total.
Classification:
|