Skip to content

Double Recursion

A nested two-level numerical recursion scheme that can feed earlier values into lower-row functions while preserving well-founded dependencies.

Version
v1 · 2026-10-17 · History
Domain-specific #
14129
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomains
Recursive Function Theory, Numerical Definition Schemes → Mathematics

Core Idea

In the nested numerical convention, double recursion defines a natural-number family through an initial row, a row-start rule and a step that can feed an earlier current-row value into a lower-row function. Recursive accesses decrease the outer index, or keep it and decrease the inner one; parameters need not decrease. Finite substitution terms and total helpers give totality, effective helpers additionally support computation, and some instances exceed primitive recursion while others remain primitive recursive.[1]

How would you explain it like I'm…

Row-by-Row Number Chart

Imagine filling in a big chart of numbers, one row after another. The first row has its own rule. To find a number in a new row, you can peek at an earlier number in that same row and plug it into a rule from the row above. Because you always look back at spots you already filled, every box gets an answer.

Row-by-Row Number Recipe

Double recursion is a way to define a whole family of number rules, arranged like rows in a table. You're given the first row, a way to start each new row, and a rule for the rest of the row. That rule can take a number you already found earlier in the current row and feed it into a rule from a lower row. Since every step looks back either to an earlier row, or to an earlier spot in the same row, the definition always finishes. It's a recipe for defining functions, not one special function.

Nested Two-Index Recursion

Double recursion defines functions on natural numbers using two indices, an outer one (the row) and an inner one (the position in the row). You specify an initial row, a rule for starting each next row, and a nested rule for later values in a row. The nested rule may take an earlier value from the current row and pass it as input into a function from a lower row. Every dependency either lowers the outer index, or keeps it and lowers the inner one, so the definition can't go on forever. It's a form of definition, not a single fast-growing function: some functions defined this way go beyond the primitive recursive functions, while others stay inside that class.

 

In the nested numerical convention, double recursion is a scheme for defining a family of functions on the natural numbers indexed by two arguments. The scheme gives an initial row, a rule for the first value of each subsequent row, and a nested step rule for the remaining values. The nested step may substitute an earlier value of the current row into a function from a lower row. Each recursive dependency either decreases the outer index, or holds it fixed and decreases the inner index (a lexicographic descent); extra parameters need not decrease. Péter's 1935 treatment set out this scheme and gave explicit constructions with it. With finitely many substitution terms and total auxiliary functions, the descent guarantees total values; with effectively computable auxiliaries, the values are effectively computable. Some instances exceed the primitive recursive class while others remain primitive recursive, so totality, computability and primitive recursiveness must be assessed separately. The concept is a definitional form, not one particular function or a count of recursive calls.

Scope of Application

Péter's original article supplies two unlike mathematical constructions within numerical recursion theory, rather than two experiments or independent replications:

  • Majorization: A nested family supplies rows that bound primitive-recursive functions.[1]
  • Uniform evaluation: A different construction encodes outputs of an enumeration of binary primitive-recursive functions.[1]

Clarity

Two arguments or two self-calls alone do not establish this scheme. Identify the ranked indices, any parameters, given helpers, complete initial row, next-row start and permitted nested step. “Earlier” concerns the rank pair, so a lower-row call can use a much larger numerical argument. Péter's historical nichtrekursiv means outside the restricted class now called primitive recursive; it does not mean uncomputable.[1]

Manages Complexity

Separate the reusable dependency pattern from each example's output. For the majorizing family, renamed \(M\), the three clauses are

\[ M(0,x)=2x+1,\qquad M(m+1,0)=M(m,1),\qquad M(m+1,x+1)=M\bigl(m,M(m+1,x)\bigr). \]

The previous current-row value becomes an input to a lower-row function. Each fixed row is primitive recursive, but the uniform family is not; each unary primitive-recursive function has some row above it at every input. A compact rule does not promise small values or efficient evaluation.[1]

Abstract Reasoning

Use row induction: with the whole initial row and total helpers given, establish each next row's start and then its inner steps; decreasing ranks cannot repair a divergent helper. Péter's parameterized carrier \(\psi(m,n,a)\) uses explicit prime-power coding and selectors to pass earlier current-row values through lower-row calls, with decoding recovering a uniform evaluator whose non-primitive-recursiveness has a separate diagonal proof.[1]

Knowledge Transfer

Transfer between the majorant and coded evaluator preserves the six roles while changing the helpers and output meaning. The dependency guarantee uses a well-founded relation: every nonempty set of rank pairs has a member with least outer coordinate and then least inner coordinate in that row; the scheme is not itself a binary relation. Parameters, helper totality and effectivity remain separate; constant-zero clauses may remain primitive recursive, while Ackermann functions, mutual recursion and numberings have different identities.[1]

Relationships to Other Abstractions

Local relationship map for Double RecursionParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Double RecursionDOMAINDomain-specific abstraction: Well-founded set — presupposesWell-founded setDOMAIN

Current abstraction Double Recursion Domain-specific

Parents (1) — outgoing typed relations

  • Double Recursion presupposes Well-founded set Domain-specific

    Double Recursion presupposes the well-founded lexicographic relation on its two natural-number recursion indices.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Double Recursion sits in a sparse region of the domain-specific corpus (88th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Rózsa Péter, “Konstruktion nichtrekursiver Funktionen,” Mathematische Annalen 111 (1935), 42–60. DOI: 10.1007/BF01472200. Full original published-page facsimile, 19 pages, retained from a third-party mirror. General term conventions and historical usage: printed pp. 42–45. Prime/exponent conventions: p. 45. Enumeration and diagonal argument: pp. 48–49. General scheme: p. 50, eq. (5). Evaluator reduction, helpers and coding: pp. 51–53, especially eqs. (8)–(9); these are PDF pp. 10–12. Majorization and the renamed \(M\): §3, especially pp. 56 and 59; \(0^0=1\): p. 58. The general functional-slot display and role tables are explanatory analysis; the numerical constructions and helper formulas follow the original article. Both positive examples are formal constructions, not experimental studies. registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g