Set of primitive recursive functions is not finitely generated












2












$begingroup$


Let $PR$ be the set of of [primitive recursive functions][1]. Given $Xsubset PR$, let
$$
hat X={ h(g_1(vec x),dots,g_k(vec x)):kin mathbb{N}wedge h,g_1,dots,g_kin X},
$$

i.e. $hat X$ is obtained from $X$ by taking compositions.



Fix $Fsubset PR$ finite and let $I$ be the set of initial functions, i.e. $I$ consists of the unary successor function, the unary constantly $0$ function and all the projections. Define:
$$A_0=Fcup I$$
$$A_{n+1}=hat{A_n}$$
$$A=bigcup_{ninmathbb{N}}A_n$$
I'd like to show that $Aneq PR$.



In other words, the set of primitive recursive functions cannot be obtained from finitely many functions (plus the initial functions) just by taking compositions, i.e. the recursion part of definition is really necessary to get all the primitive recursive functions.



This is clearly not true if $F$ is not finite and just countable, since then we can just take $F=PR$, so $F$ being finite should play an important role.



Any hints?



EDIT: I've changed the question since the previous one was not very well formulated.










share|cite|improve this question











$endgroup$












  • $begingroup$
    You are using $n$ twice, I think for two different things. Are you assuming your functions $g$ in PR all have the form $g:mathbb{R}^nrightarrow mathbb{R}$, for some fixed positive integer $n$? It may also help to further illuminate/define the set PR.
    $endgroup$
    – Michael
    Feb 1 at 5:31












  • $begingroup$
    @Michael There´s no constraint on the arity of primitive recursive functions, which go from $mathbb{N}^n$ to $mathbb{N}$ for different $n$. I've changed some of the notation, perhaps it´s more clear now? Plus I linked the definition of primitive recursive.
    $endgroup$
    – Reveillark
    Feb 1 at 21:29






  • 1




    $begingroup$
    I may be being stupid, but don't the functions in your set $H$ only depend on at most a fixed prefix of the argument vector $vec{x}$? I.e., as $F$ is finite, there is an $n$ such that no function in $F$ and hence in $H$ depends on $x_i$ for $i > n$.
    $endgroup$
    – Rob Arthan
    Feb 1 at 22:42












  • $begingroup$
    @RobArthan I think you're right. I'll think about the problem some more to see if I can state it in a way that makes sense.
    $endgroup$
    – Reveillark
    Feb 2 at 0:26
















2












$begingroup$


Let $PR$ be the set of of [primitive recursive functions][1]. Given $Xsubset PR$, let
$$
hat X={ h(g_1(vec x),dots,g_k(vec x)):kin mathbb{N}wedge h,g_1,dots,g_kin X},
$$

i.e. $hat X$ is obtained from $X$ by taking compositions.



Fix $Fsubset PR$ finite and let $I$ be the set of initial functions, i.e. $I$ consists of the unary successor function, the unary constantly $0$ function and all the projections. Define:
$$A_0=Fcup I$$
$$A_{n+1}=hat{A_n}$$
$$A=bigcup_{ninmathbb{N}}A_n$$
I'd like to show that $Aneq PR$.



In other words, the set of primitive recursive functions cannot be obtained from finitely many functions (plus the initial functions) just by taking compositions, i.e. the recursion part of definition is really necessary to get all the primitive recursive functions.



This is clearly not true if $F$ is not finite and just countable, since then we can just take $F=PR$, so $F$ being finite should play an important role.



Any hints?



EDIT: I've changed the question since the previous one was not very well formulated.










share|cite|improve this question











$endgroup$












  • $begingroup$
    You are using $n$ twice, I think for two different things. Are you assuming your functions $g$ in PR all have the form $g:mathbb{R}^nrightarrow mathbb{R}$, for some fixed positive integer $n$? It may also help to further illuminate/define the set PR.
    $endgroup$
    – Michael
    Feb 1 at 5:31












  • $begingroup$
    @Michael There´s no constraint on the arity of primitive recursive functions, which go from $mathbb{N}^n$ to $mathbb{N}$ for different $n$. I've changed some of the notation, perhaps it´s more clear now? Plus I linked the definition of primitive recursive.
    $endgroup$
    – Reveillark
    Feb 1 at 21:29






  • 1




    $begingroup$
    I may be being stupid, but don't the functions in your set $H$ only depend on at most a fixed prefix of the argument vector $vec{x}$? I.e., as $F$ is finite, there is an $n$ such that no function in $F$ and hence in $H$ depends on $x_i$ for $i > n$.
    $endgroup$
    – Rob Arthan
    Feb 1 at 22:42












  • $begingroup$
    @RobArthan I think you're right. I'll think about the problem some more to see if I can state it in a way that makes sense.
    $endgroup$
    – Reveillark
    Feb 2 at 0:26














2












2








2


1



$begingroup$


Let $PR$ be the set of of [primitive recursive functions][1]. Given $Xsubset PR$, let
$$
hat X={ h(g_1(vec x),dots,g_k(vec x)):kin mathbb{N}wedge h,g_1,dots,g_kin X},
$$

i.e. $hat X$ is obtained from $X$ by taking compositions.



Fix $Fsubset PR$ finite and let $I$ be the set of initial functions, i.e. $I$ consists of the unary successor function, the unary constantly $0$ function and all the projections. Define:
$$A_0=Fcup I$$
$$A_{n+1}=hat{A_n}$$
$$A=bigcup_{ninmathbb{N}}A_n$$
I'd like to show that $Aneq PR$.



In other words, the set of primitive recursive functions cannot be obtained from finitely many functions (plus the initial functions) just by taking compositions, i.e. the recursion part of definition is really necessary to get all the primitive recursive functions.



This is clearly not true if $F$ is not finite and just countable, since then we can just take $F=PR$, so $F$ being finite should play an important role.



Any hints?



EDIT: I've changed the question since the previous one was not very well formulated.










share|cite|improve this question











$endgroup$




Let $PR$ be the set of of [primitive recursive functions][1]. Given $Xsubset PR$, let
$$
hat X={ h(g_1(vec x),dots,g_k(vec x)):kin mathbb{N}wedge h,g_1,dots,g_kin X},
$$

i.e. $hat X$ is obtained from $X$ by taking compositions.



Fix $Fsubset PR$ finite and let $I$ be the set of initial functions, i.e. $I$ consists of the unary successor function, the unary constantly $0$ function and all the projections. Define:
$$A_0=Fcup I$$
$$A_{n+1}=hat{A_n}$$
$$A=bigcup_{ninmathbb{N}}A_n$$
I'd like to show that $Aneq PR$.



In other words, the set of primitive recursive functions cannot be obtained from finitely many functions (plus the initial functions) just by taking compositions, i.e. the recursion part of definition is really necessary to get all the primitive recursive functions.



This is clearly not true if $F$ is not finite and just countable, since then we can just take $F=PR$, so $F$ being finite should play an important role.



Any hints?



EDIT: I've changed the question since the previous one was not very well formulated.







logic recursion






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Feb 4 at 2:35







Reveillark

















asked Feb 1 at 4:36









ReveillarkReveillark

4,801822




4,801822












  • $begingroup$
    You are using $n$ twice, I think for two different things. Are you assuming your functions $g$ in PR all have the form $g:mathbb{R}^nrightarrow mathbb{R}$, for some fixed positive integer $n$? It may also help to further illuminate/define the set PR.
    $endgroup$
    – Michael
    Feb 1 at 5:31












  • $begingroup$
    @Michael There´s no constraint on the arity of primitive recursive functions, which go from $mathbb{N}^n$ to $mathbb{N}$ for different $n$. I've changed some of the notation, perhaps it´s more clear now? Plus I linked the definition of primitive recursive.
    $endgroup$
    – Reveillark
    Feb 1 at 21:29






  • 1




    $begingroup$
    I may be being stupid, but don't the functions in your set $H$ only depend on at most a fixed prefix of the argument vector $vec{x}$? I.e., as $F$ is finite, there is an $n$ such that no function in $F$ and hence in $H$ depends on $x_i$ for $i > n$.
    $endgroup$
    – Rob Arthan
    Feb 1 at 22:42












  • $begingroup$
    @RobArthan I think you're right. I'll think about the problem some more to see if I can state it in a way that makes sense.
    $endgroup$
    – Reveillark
    Feb 2 at 0:26


















  • $begingroup$
    You are using $n$ twice, I think for two different things. Are you assuming your functions $g$ in PR all have the form $g:mathbb{R}^nrightarrow mathbb{R}$, for some fixed positive integer $n$? It may also help to further illuminate/define the set PR.
    $endgroup$
    – Michael
    Feb 1 at 5:31












  • $begingroup$
    @Michael There´s no constraint on the arity of primitive recursive functions, which go from $mathbb{N}^n$ to $mathbb{N}$ for different $n$. I've changed some of the notation, perhaps it´s more clear now? Plus I linked the definition of primitive recursive.
    $endgroup$
    – Reveillark
    Feb 1 at 21:29






  • 1




    $begingroup$
    I may be being stupid, but don't the functions in your set $H$ only depend on at most a fixed prefix of the argument vector $vec{x}$? I.e., as $F$ is finite, there is an $n$ such that no function in $F$ and hence in $H$ depends on $x_i$ for $i > n$.
    $endgroup$
    – Rob Arthan
    Feb 1 at 22:42












  • $begingroup$
    @RobArthan I think you're right. I'll think about the problem some more to see if I can state it in a way that makes sense.
    $endgroup$
    – Reveillark
    Feb 2 at 0:26
















$begingroup$
You are using $n$ twice, I think for two different things. Are you assuming your functions $g$ in PR all have the form $g:mathbb{R}^nrightarrow mathbb{R}$, for some fixed positive integer $n$? It may also help to further illuminate/define the set PR.
$endgroup$
– Michael
Feb 1 at 5:31






$begingroup$
You are using $n$ twice, I think for two different things. Are you assuming your functions $g$ in PR all have the form $g:mathbb{R}^nrightarrow mathbb{R}$, for some fixed positive integer $n$? It may also help to further illuminate/define the set PR.
$endgroup$
– Michael
Feb 1 at 5:31














$begingroup$
@Michael There´s no constraint on the arity of primitive recursive functions, which go from $mathbb{N}^n$ to $mathbb{N}$ for different $n$. I've changed some of the notation, perhaps it´s more clear now? Plus I linked the definition of primitive recursive.
$endgroup$
– Reveillark
Feb 1 at 21:29




$begingroup$
@Michael There´s no constraint on the arity of primitive recursive functions, which go from $mathbb{N}^n$ to $mathbb{N}$ for different $n$. I've changed some of the notation, perhaps it´s more clear now? Plus I linked the definition of primitive recursive.
$endgroup$
– Reveillark
Feb 1 at 21:29




1




1




$begingroup$
I may be being stupid, but don't the functions in your set $H$ only depend on at most a fixed prefix of the argument vector $vec{x}$? I.e., as $F$ is finite, there is an $n$ such that no function in $F$ and hence in $H$ depends on $x_i$ for $i > n$.
$endgroup$
– Rob Arthan
Feb 1 at 22:42






$begingroup$
I may be being stupid, but don't the functions in your set $H$ only depend on at most a fixed prefix of the argument vector $vec{x}$? I.e., as $F$ is finite, there is an $n$ such that no function in $F$ and hence in $H$ depends on $x_i$ for $i > n$.
$endgroup$
– Rob Arthan
Feb 1 at 22:42














$begingroup$
@RobArthan I think you're right. I'll think about the problem some more to see if I can state it in a way that makes sense.
$endgroup$
– Reveillark
Feb 2 at 0:26




$begingroup$
@RobArthan I think you're right. I'll think about the problem some more to see if I can state it in a way that makes sense.
$endgroup$
– Reveillark
Feb 2 at 0:26










0






active

oldest

votes












Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3095831%2fset-of-primitive-recursive-functions-is-not-finitely-generated%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3095831%2fset-of-primitive-recursive-functions-is-not-finitely-generated%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

'app-layout' is not a known element: how to share Component with different Modules

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

WPF add header to Image with URL pettitions [duplicate]