Recursion: an endless journey
Pablo Conte
Merging Data with Intuition ?? ?? | AI Assistant Professor @ Colegio de Matemáticas Bourbaki | Quantum Computing Ms. Sc. Thesis Student @ DUTh | EMBA Candidate @ Valar Institute
There is a feature that I consider explicitly great: Recursion.
In linguistics, Recursion is a fundamental feature of human language that allows it to generate infinitely many sentences or phrases using a finite set of rules and vocabulary. In linguistic terms, recursion refers to the property that a linguistic element (such as a sentence, noun phrase, or verb phrase) can contain an instance of itself or be embedded within another instance of its own type. This was pointed out by Noam Chomsky.
Examples of Recursion in Language:
Nested Sentences:
In this example, each relative clause (that the dog chased, that the boy owns) is embedded within the previous clause. This can continue indefinitely.
Recursive Phrases:
This is a recursive use of possessive phrases, where each noun phrase contains another noun phrase.
Embedded Clauses:
Here, the clause "that he believes" is embedded within the clause "that she said."
Why is Important in Language?
Is Recursion Universal in Language?
The topic of recursion in linguistics was popularized by Noam Chomsky, who argued that recursion is a universal feature of human language and a key component of the human capacity for language (part of his theory of "Universal Grammar"). However, there is some debate among linguists:
Recursion in Programming and Formal Grammar:
In formal grammar (e.g., context-free grammars), recursion is represented by rules like
In programming, recursion is a function that calls itself, allowing for tasks like traversing data structures (e.g., trees).
What happens with Mathematics?
Mathematics exhibits recursive properties in various ways. While recursion in mathematics might not look exactly the same as in programming or language, it is a fundamental concept that appears in several areas:
1. Recursive Definitions in Mathematics
Mathematics often uses recursive definitions to describe sequences, functions, and structures. A recursive definition specifies an object in terms of simpler instances of the same object.
Example: Factorial
The factorial function n! is defined recursively. This definition states that to compute n!, you multiply n by the factorial of n?1. This is a classic recursive process.
Example: Fibonacci Sequence
The Fibonacci sequence is another well-known example. The sequence is defined in terms of its previous two values, demonstrating recursion.
2. Recursive Functions in Mathematical Logic
In mathematical logic and the theory of computation, recursive functions (also known as computable functions) are functions that can be defined using recursion. These functions can be computed by a recursive algorithm.
3. Fractals: Recursive Geometric Structures
Fractals are a classic example of recursive structures in mathematics. They are defined by applying a recursive process, where a pattern is repeated at different scales.
Example: Sierpiński Triangle
The Sierpiński triangle is created recursively:
This recursive construction leads to a self-similar, infinitely complex shape.
4. Proof by Mathematical Induction
Mathematical induction is a form of recursion used in proofs.
5. Recursive Sequences and Series
Many sequences and series are defined recursively. For example:
These recursive definitions build the entire sequence based on previous terms.
6. Recursive Structures in Set Theory
In set theory, recursion is used to define complex sets from simpler ones.
Example: Von Neumann Construction of Natural Numbers
The natural numbers can be defined recursively using sets: This recursive definition builds each natural number based on the previous one.
7. Recursion in Mathematical Logic and Computability Theory
In computability theory, recursion plays a central role in defining recursively enumerable sets and recursive functions. A set is recursively enumerable if there is a Turing machine that lists all the elements of the set, and recursive functions are those that can be computed by an algorithm.
Again, what happens with Mathematics? Is Mathematics Globally Recursive?
We are recursevily inquiring about whether the global structure of mathematics itself can be considered recursive in the sense that:
In a sense, yes, the global structure of mathematics exhibits a recursive pattern. This recursion is seen in the way mathematical theories are often generalized and expanded over time. Let’s break this down:
1. Specialization and Generalization
The history of mathematics often follows a recursive pattern of specialization followed by generalization:
Example: Calculus and Real Analysis
Example: Fermat’s Last Theorem
Initially, this was a conjecture for specific values of n. In the 20th century, it was shown to be a consequence of the modularity theorem, a much deeper and more general theory that connects elliptic curves and modular forms.
2. Recursive Expansion of Mathematical Frameworks
Mathematics often expands recursively by embedding previous theories into more general frameworks:
This recursive embedding of theories is a hallmark of the way mathematics evolves.
3. Hierarchical and Recursive Nature of Mathematics
Mathematics is inherently hierarchical, with layers of abstraction and generalization. Each layer often builds on the previous ones, recursively incorporating earlier results:
4. The Recursive Process of Mathematical Discovery
The process of mathematical discovery can be viewed as recursive:
5. G?del’s Incompleteness Theorems: A Recursive Perspective
G?del’s incompleteness theorems highlight a recursive aspect of mathematical truth:
This recursive nature of formal systems suggests that the structure of mathematical truth may itself be fundamentally recursive.
6. Mathematics as an Infinite Recursive Process
If we view the entire body of mathematics as a structure that is constantly growing and incorporating new theories, then mathematics can be seen as an infinite recursive process:
In this sense, mathematics is not just self-similar but self-referential, much like a recursive function that calls itself with simpler or smaller inputs.
So, it never ends?
The process of discovery and generalization in mathematics is, in a sense, never-ending. Mathematics appears to be an infinite recursive process, continually building upon itself without a clear termination point. Here’s why:
1. Infinite Depth of Abstraction
2. G?del’s Incompleteness Theorems: Incompleteness and Recursion
3. The Frontier of Mathematical Research
4. Recursion in Mathematical Theories
5. Infinite Complexity and the Nature of Mathematical Objects
6. The Philosophy of Mathematics: Platonism and Formalism
7. Mathematics as a Living, Growing Structure
Conclusion: An Endless Journey
Mathematics can be seen as an endless journey of exploration, driven by the recursive process of discovering new truths, generalizing existing results, and uncovering deeper structures. Each new theorem or theory not only answers existing questions but also creates new ones, pushing the frontier of knowledge further.
In this sense, mathematics is like an infinite fractal: the more you zoom in, the more detail and complexity you find, with no ultimate endpoint in sight. As long as there are mathematicians to ask questions and seek answers, the process of mathematical discovery is unlikely to ever come to an end.
Glad to hear your thoughts!