General Recursive Function

From BusyBeaverWiki
Revision as of 22:49, 9 December 2025 by Sligocki (talk | contribs) (Champions: Remove the Informal meaning section since I'm not sure it's adding much.)
Jump to navigation Jump to search

General recursive functions (GRFs), also called µ-recursive functions or partial recursive functions, are the collection of partial functions k that are computable. This definition is equivalent using any Turing complete system of computation. See Wikipedia:general recursive function for background.

Historically it was defined as the smallest class of partial functions k that is closed under composition, recursion, and minimization, and includes zero, successor, and all projections (see formal definitions below). In the rest of this article, this is the formulation that we focus on exclusively. In this way, it can be considered to be a Turing complete model of computation. In fact, it is one of the oldest Turing complete models, first formalized by Kurt Gödel and Jacques Herbrand in 1933, 3 years before λ-calculus and Turing machines.

BBµ(n) is a Busy Beaver function for GRFs:BBμ(n)=max{f()|fGRF0,|f|=n}

where fGRFk means that f:k is a k-ary GRF and |f| is the "structural size" of f (defined below). In other words, it is the largest number computable via a 0-ary function (a constant) with a limited "program" size. It is more akin to the traditional Sigma score for a Turing machine rather than the Step function in the sense that it maximizes over the produced value, not the number of steps needed to reach that value.

Definition

Primitive Recursive Functions

TODO

Minimization

TODO

Champions

In order to improve readability we define the following macros:

  • Plus constant. For any n+:Plus[n]GRF1Plus[1]:=SPlus[n+1]:=C(S,Plus[n])|Plus[n]|=2n1Plus[n](x)=x+n
  • Constant. For any n:Kk[n]GRFkKk[0]:=ZkKk[n]:=C(Plus[n],Zk)|Kk[n]|=2n+1Kk[n](x1,xk)=n
  • Unary function iteration. For any fGRF1,n:Rep[f,n]GRF1Rep[f,n]:=R(K0[n],C(f,P22))|Rep[f,n]|=|f|+2n+4Rep[f,n](x)=fx(n)
  • Ackermann growth (Nested unary function iteration). For any fGRF1,n:Ack[f,n]GRF1Ack[f,0]:=fAck[f,n+1]:=Rep[Ack[f,n],1]|Ack[f,n]|=|f|+6n
  • Polygonal numbers. For any n+:Poly[n]GRF1Poly[n]:=R(Z0,R(S,C(Plus[n],P23)))|Poly[n]|=2n+5Poly[n](x)=y=0x1(ny+1)=n2x(x1)+xTri:=Poly[1]|Tri|=7Tri(x)=x(x+1)2Square:=Poly[2]|Square|=9Square(x)=x2
n BBµ(n) Champion Champion Found Holdouts Proven
2k+1 ≥ k K0[k] Trivial
15 ≥ 7 K0[7] Trivial
17 ≥ 10 C(Tri,K0[4]) Shawn Ligocki 9 Dec 2025
19 ≥ 16 C(Square,K0[4]) Shawn Ligocki 9 Dec 2025
21 ≥ 25 C(Square,K0[5]) Shawn Ligocki 9 Dec 2025
23 ≥ 36 C(Square,K0[6]) Shawn Ligocki 9 Dec 2025
25 ≥ 256 C(Rep[Square,2],K0[3]) Shawn Ligocki 9 Dec 2025
27 216 C(Rep[Square,2],K0[4]) Shawn Ligocki 9 Dec 2025
29 25 C(Rep[Rep[Square,2],0],K0[3]) Shawn Ligocki 9 Dec 2025
31 27 C(Rep[Rep[Square,2],0],K0[4]) Shawn Ligocki 9 Dec 2025
33 29 C(Rep[Rep[Square,2],0],K0[5]) Shawn Ligocki 9 Dec 2025
35 >216 C(Rep[Rep[Rep[Square,2],0],1],K0[3]) Shawn Ligocki 9 Dec 2025
41 >216 C(Rep[Rep[Rep[Rep[Square,2],0],1],1],K0[3]) Shawn Ligocki 9 Dec 2025
6k+23 >2k16 C(Ack[Rep[Rep[Square,2],0],k1],K0[3]) Shawn Ligocki 9 Dec 2025