

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solutions to homework problems from a university-level mathematics course, math 497a, focusing on computability, unsolvability, randomness, and number theory. The problems involve exhibiting register machine programs for various functions, proving computability of partial functions, and discussing computability of real numbers.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Rem(y, x) = the remainder of y on division by x.
For example, Rem(17,5)=2.
ψ(x, y) ' the least z such that P (x, y, z) holds, if such a z exists. If such a z does not exist, then ψ(x, y) is undefined.
Use register machine programs to prove that the function ψ is com- putable. (More precisely, ψ is partial recursive.) Hint: Since P is a computable predicate, we may assume that we have a program P which computes the characteristic function of P. Show how to embed P (or perhaps a variant of P) into a larger program, call it Q, such that Q computes ψ. The idea of Q is that, given x and y, Q(x, y) searches sequentially through the integers z = 0, z = 1, z = 2,
... , to find the first z such that P (x, y, z) holds. In particular, Q will have the property that, for all x and y, Q(x, y) eventually halts if and only if P (x, y, z) holds for some z.
1
2 given by Newton’s method:
x 0 = 1, xn+1 = xn −
f (xn) f ′(xn)
where f (x) = x^2 − 2. The first few values are x 0 = 1, x 1 = 3/2, x 2 = 17/12, x 3 = 577/408. Let a(n) and b(n) respectively be the numerator and denominator of xn. Thus a(n) and b(n) are 1-place number-theoretic functions. The first few values are a(0) = b(0) = 1, a(1) = 3, b(1) = 2, a(3) = 17, b(3) = 12, a(3) = 577, b(3) = 408. Use primitive recursion to prove that the functions a(n) and b(n) are computable.
r = lim n→∞
an bn
and in addition (^) ∣ ∣∣ ∣r^ −^
an bn
2 n for all n ∈ N. Give a convincing argument that all of the standard examples of positive real numbers including
2 = 1. 41421 · · ·, e =
71828 · · ·, π = 3. 14159 · · ·, etc., are computable.
Prove that the sum, product, and quotient of two computable positive real numbers are computable.