Recursive (Total) and Partial Recursive Functions Flashcards

1
Q

How does the boundedness between Floop and BlooP programs differ?

A

‘Free loops’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Will Floop programs always terminate?

A

No …

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Bounded minimization for FlooP?

A

For BlooP: h is a primitive recursive function then f is obtained from h by bounded minimization if “the least y > n, such that the projection of h(x, n) = 0 there is one; n otherwise”

Therefore, f yields the minimal value for y (up to bound n( for which h holds.

For FlooP: REMOVE the upper bound:

Problem: Some cases get undefined = partial function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the least-searched operator?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to impliment the u-operator using a TM:

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Recursive Definition

Define Partial Recursive Functions:

A

The partial recursive function are the smallest class containing:

  1. The zero,
  2. successor,
  3. projection functions,

And closed under
4. Composition
5. Primitive recursion, and
6. the u-operator

Note: “smallest class” satisfying certain conditions = smallest case corresponds to the final clause

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are (total) recursive functions?

A

Partial recursive functions need not be undefined, because u might always yield a value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the halting problem for partial recursive functions?

A

Let φ1, φ2, φ3 be an enumeration of all partial recursive functions

Question: Maybe there is a way of constructing a recursive fucntion that determines whether φx(x) is undefined and then returns some value

Answer: There is no recursive function which can tell us wether φx(x) s defined for all x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly