Skip to main content

Questions tagged [primitive-recursion]

Filter by
Sorted by
Tagged with
14 votes
0 answers
307 views

In 2014, inspired by Regex Golf, I started exploring, along with a mathematician going by the name teukon, what could be done in the unary domain in ECMAScript regex that went significantly beyond ...
Deadcode's user avatar
  • 241
7 votes
1 answer
133 views

The wikipedia article for primitive recursion mentions a limitation that primitive recursive function can't compute the function $ ev(i,j) $ which computes the $ i $th primitive recursive function on ...
cardobard_box's user avatar
5 votes
2 answers
760 views

With a dependent type system in a normal functional language type checking may never halt. This is partially because dependent typing removes the isolation between types, and code. My question is this:...
44701's user avatar
  • 469
5 votes
1 answer
770 views

Problem 7.16 in The Nature of Computation reads as follows: [...] show that when defining primitive recursive functions, we really only need to think about functions of a single variable. In ...
Sebastian Oberhoff's user avatar
5 votes
0 answers
74 views

I'm currently studying some of the history of computation / computability, in the early days known as recursion theory. I see Goedel's definition of recursive functions seems significant in his paper,...
Greg Peckory's user avatar
4 votes
1 answer
102 views

How to construct my proof and generally what should I aim to get when showing a function is $\mu$-recursive? Should I transform it in some of the basic functions using the given operators? For ...
user8's user avatar
  • 309
3 votes
2 answers
7k views

How would one go about classifying the time complexity of Ackermann's function, and can we say that all primitive-recursive functions are asymptotically bounded by the complexity of the Ackermann ...
Francesco Gramano's user avatar
3 votes
1 answer
376 views

The minimization of a given primitive recursive function $f$ is computed by the following expression: $ \newcommand{\pr}[2]{\text{pr}^{#1}_{#2}} \newcommand{\gpr}{\text{Pr}} \newcommand{\sig}{\text{...
lo tolmencre's user avatar
3 votes
2 answers
603 views

From what I know If the predicate $P(t,x_1,...,x_n)$ belongs to some PRC class $\zeta$ then so do the predicates $(\forall t)_{\le y}$  $P(t,x_1,...,x_n)$ $(\exists t)_{\le y}$  $...
M a m a D's user avatar
  • 1,561
3 votes
2 answers
316 views

Let us consider the class $\cal F$ of functions that contains all constant functions all projections the successor function the Ackermann function as basic functions, and that is closed under ...
Gamow's user avatar
  • 180
3 votes
1 answer
169 views

Is there any computable real number which can not be computed by a higher order primitive recursive algorithm? For computable real number I mean those that can be computed by a Turing machine to any ...
user3368561's user avatar
3 votes
2 answers
285 views

It is quite easy to show that the following two functions are primitive recursive and thus also $\mu$-recursive: $$ifthen(n,a,b) = \begin{cases}a & n > 0 \\ b & else\end{cases} $$ $$ eq(x,...
Corristo's user avatar
  • 151
3 votes
1 answer
172 views

Is it correct to state that $u$ is a universal function if and only if $$ \forall f : \text{RE} \quad \exists g : \text{R} \quad \exists h : \text{R} \quad f = h \circ u \circ g $$ where RE is the set ...
user76284's user avatar
  • 446
3 votes
0 answers
138 views

Let $\varphi:\mathbb{N}\to\mathbb{N}^*$ be an arbitrary recursive enumeration of finite strings and $\mathcal{I}^n_i(x_1,...,x_n) = x_i $ be the $i$-th projection over $n$ variables. I would like to ...
Manlio's user avatar
  • 379
2 votes
2 answers
200 views

i have seen some articles where they use the diagonalization argument to prove the existence of non-primitive recursive functions. But this should only work if we can create an infinite list of every ...
Aditya Mishra's user avatar
2 votes
2 answers
2k views

I stumbled across an exam question, and I am not sure how to prove that that all primitive recursive functions are computable. Is there a formal definition of this?
user48566's user avatar
2 votes
1 answer
133 views

Let's say that a set of natural numbers $S \subseteq \mathbb{N}$ is primitive recursively enumerable if there exists some primitive recursive function $f$ such that $S$ is the range of $f$. That is, ...
Joey Eremondi's user avatar
2 votes
1 answer
187 views

Primitive recursion seems to be related to bounded quantification. It is easier to make sense of bounded quantification with respect to natural numbers than to make sense of bounded quantification ...
Thomas Klimpel's user avatar
2 votes
1 answer
193 views

Let P(p) <=> for each x, comp(p,x) is defined. Can anyone explain to me how to prove that P is not RE (recursively enumerable) ?
A. Othmane's user avatar
2 votes
0 answers
100 views

Primitive recursion can be extended to double-recursion as in the following link: http://www.andrew.cmu.edu/user/kk3n/recursionclass/1primrec.html How can this be generalized to n-iterated recursion?...
John Jenkins's user avatar
1 vote
1 answer
167 views

Could you find an example of a complete $\mu$-recursive function that is not a primitive function?
Sikelef's user avatar
  • 93
1 vote
1 answer
496 views

Let h(x) be the integer n such that $n \leq \sqrt2 < n+1$ Show that h(x) is primitive recursive. I know how primitive recursive functions are defined, but showing an integer is primitive recursive ...
mandib's user avatar
  • 25
1 vote
1 answer
161 views

the scheme of iteration ? Here is the scheme of iteration : for $g : \mathbb{N}^p\to \mathbb{N}$ and $h:\mathbb{N}^{p+1}\to \mathbb{N}$ two primitive recursive functions we associate $f: \mathbb{N}^{p+...
Maman's user avatar
  • 199
1 vote
1 answer
203 views

I know, loosely speaking, if we can define a function $f$ in term of \begin{align} &f(0,\vec{x})=g(\vec{x})\\ &f(n+1,\vec{x})=h(f(n),n,\vec{x}) \end{align} where functions $g,h$ are primitive ...
Ethan's user avatar
  • 113
1 vote
2 answers
2k views

How to prove that if the set and its complement are recursively enumerable, then this set and its complement are recursive? My idea is that we can make the characteristic function of recursively ...
Pavel Iljiev's user avatar