General Recursive Function: Difference between revisions
→Champions: Adding proven values |
Added category:functions |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 8: | Line 8: | ||
== Definition == | == Definition == | ||
=== Structure === | |||
Define <math>GRF_k</math> inductively based on the following construction rules, start with Atoms and combine them using Combinators. | |||
====== Atoms ====== | |||
* Zero: <math>\forall k \in \N, Z^k \in GRF_k</math> is the constant 0 function <math>Z^k(x_1, \dots, x_k) = 0</math> | |||
* Successor: <math>S \in GRF_1</math> is the successor function <math>S(x) = x+1</math> | |||
* Projection: <math>\forall 1 \le i \le k \in \N, P^k_i \in GRF_k</math> is a projection function <math>P^k_i(x_1, \dots x_k) = x_i</math> | |||
===== Combinators ===== | |||
* Composition: <math>\forall k,m \in \N, \forall h \in GRF_m, \forall g_1, \dots g_m \in GRF_k, C(h, g_1, \dots g_m) \in GRF_k</math> is the composition or substitution of the gs into h <math>C(h, g_1, \dots g_m)(x_1, \dots x_k) = h(g_1(x_1, \dots x_k), \dots g_m(x_1, \dots x_k))</math> | |||
* Primitive Recursion: <math>\forall k \in \N, \forall g \in GRF_k, \forall h \in GRF_{k+2}, R(g, h) \in GRF_{k+1}</math> is primitive recursion using g as the base case and h as the inductive step. | |||
* Minimization / Unlimited Search: <math>\forall k \in \N, \forall f \in GRF_{k+1}, M(f) \in GRF_k</math> is the µ-operator which allows unlimited search. | |||
=== Primitive Recursive Functions === | === Primitive Recursive Functions === | ||
TODO | TODO | ||
| Line 15: | Line 31: | ||
== Macros == | == Macros == | ||
In order to improve readability we define the following macros | In order to improve readability we define the following macros. For all <math>f \in GRF_1</math> | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
| Line 163: | Line 179: | ||
|- | |- | ||
|27 | |27 | ||
| | |≥ 359,026,206 | ||
|<math>C(Rep[ | |<math>C(Rep[Rep[Tri,2],0], K^0[3])</math> | ||
|Shawn Ligocki 9 Dec 2025 | |Shawn Ligocki 9 Dec 2025 | ||
| | | | ||
|- | |- | ||
|29 | |29 | ||
|<math> | |<math>> 10 \uparrow\uparrow 3.9 </math> | ||
|<math>C(Rep[Rep[ | |<math>C(Rep[Rep[Tri,2],0], K^0[4])</math> | ||
|Shawn Ligocki 9 Dec 2025 | |Shawn Ligocki 9 Dec 2025 | ||
| | | | ||
|- | |- | ||
|31 | |31 | ||
|<math> | |<math>> 10 \uparrow\uparrow 5.9 </math> | ||
|<math>C(Rep[Rep[ | |<math>C(Rep[Rep[Tri,2],0], K^0[5])</math> | ||
|Shawn Ligocki 9 Dec 2025 | |Shawn Ligocki 9 Dec 2025 | ||
| | | | ||
|- | |- | ||
|33 | |33 | ||
|<math> | |<math>> 10 \uparrow\uparrow 7.9 </math> | ||
|<math>C(Rep[Rep[ | |<math>C(Rep[Rep[Tri,2],0], K^0[6])</math> | ||
|Shawn Ligocki 9 Dec 2025 | |Shawn Ligocki 9 Dec 2025 | ||
| | | | ||
| Line 222: | Line 238: | ||
| | | | ||
|} | |} | ||
[[Category:functions]] | |||
Latest revision as of 20:48, 10 December 2025
General recursive functions (GRFs), also called µ-recursive functions or partial recursive functions, are the collection of partial functions 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 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:
where means that is a k-ary GRF and 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
Structure
Define inductively based on the following construction rules, start with Atoms and combine them using Combinators.
Atoms
- Zero: is the constant 0 function
- Successor: is the successor function
- Projection: is a projection function
Combinators
- Composition: is the composition or substitution of the gs into h
- Primitive Recursion: is primitive recursion using g as the base case and h as the inductive step.
- Minimization / Unlimited Search: is the µ-operator which allows unlimited search.
Primitive Recursive Functions
TODO
Minimization
TODO
Macros
In order to improve readability we define the following macros. For all
| Macro | arity | Definition | Size | Function | |
|---|---|---|---|---|---|
| Plus constant | 1 | ||||
| Constant | k | ||||
| Iteration | 1 | ||||
| Ackermann iteration | 1 | ||||
| Knuth base 2 up-arrows | 1 | ||||
| Polygonal | 1 | ||||
| 1 | |||||
| 1 |
Champions
| n | BBµ(n) | Champion | Champion Found | Holdouts Proven |
|---|---|---|---|---|
| 1 | = 0 | Shawn Ligocki 8 Dec 2025 By hand | ||
| 2 | = 0 | Shawn Ligocki 8 Dec 2025 By hand | ||
| 3 | = 1 | Shawn Ligocki 8 Dec 2025 By hand | ||
| 2k+1 | ≥ k | |||
| 15 | ≥ 7 | |||
| 17 | ≥ 10 | Shawn Ligocki 9 Dec 2025 | ||
| 19 | ≥ 16 | Shawn Ligocki 9 Dec 2025 | ||
| 21 | ≥ 25 | Shawn Ligocki 9 Dec 2025 | ||
| 23 | ≥ 36 | Shawn Ligocki 9 Dec 2025 | ||
| 25 | ≥ 256 | Shawn Ligocki 9 Dec 2025 | ||
| 27 | ≥ 359,026,206 | Shawn Ligocki 9 Dec 2025 | ||
| 29 | Shawn Ligocki 9 Dec 2025 | |||
| 31 | Shawn Ligocki 9 Dec 2025 | |||
| 33 | Shawn Ligocki 9 Dec 2025 | |||
| 35 | Shawn Ligocki 8 Dec 2025 | |||
| 37 | Shawn Ligocki 8 Dec 2025 | |||
| 39 | Shawn Ligocki 8 Dec 2025 | |||
| 6k+17 | Shawn Ligocki 8 Dec 2025 | |||
| 6k+19 | Shawn Ligocki 8 Dec 2025 | |||
| 6k+21 | Shawn Ligocki 8 Dec 2025 |