MENTAL
 Main Menu
 Applications
 Mathematics
 The Foundation of Mathematics


The Foundation of Mathematics
 THE FOUNDATION
OF MATHEMATICS

"The computer was invented to help clarify the philosophical question of the foundations of mathematics" (Gregory Chaitin).

"The most essential part of mathematics lacks a basis" (Niels Henrik Abel).

"Nature cannot be complicated. One must look for the source of truth in mathematical simplicity" (Einstein).



The foundation of mathematics at the conceptual level has a rich and long history that goes back from the ancient Greeks to the present day. What are the essential concepts on which mathematics is founded and how they are combined remains unknown today. Historically, the foundation of mathematics has been based successively on 5 concepts: numbers, sets, structures, categories and functions.


The Numbers

The Sets
Zermelo's list of axioms was updated in 1921 by Abraham Fraenkel, adding to it the axiom of substitution (which states that the values of a function defined on a set also form a set). Since then, the axiomatic system of set theory is called the Zermelo-Fraenkel system (in short, ZF).

Fraenkel also proved the independence of the axiom of choice from the rest of the axioms, so that it plays in set theory a role analogous to Euclid's fifth postulate in geometry (the famous postulate of parallels). The ZF theory with the axiom of choice is called ZFC ('C' for 'Choice').

In 1923, Thoralf Skolem added another axiom: the axiom of grounding: a set cannot belong to itself.

In the 1960s Alexander Grothendieck added another axiom to guarantee the existence of the set of successive powers of an infinite set. Later new axioms were added to guarantee even larger sets, known as "large cardinals".


Critique of set theory

Set theory had a great impact and changed the landscape of mathematics. It is considered the most important mathematical concept, the foundation of mathematics, but this concept suffers from limitations:

Critique of the Zermelo-Fraenkel (ZF) axiomatics of set theory

Axiomatic set theory is considered the "mother of mathematics", the fundamental pillar of mathematics. Most mathematical objects (numbers, relations, functions, etc.) are defined in terms of sets.

Set theory has been of great help in formalizing many domains of mathematics. It has also contributed to the discovery of completely new fields, such as the field of transfinite numbers.

ZF set theory is the best known and most widely accepted set theory today, so it is considered the "standard" set theory. But philosophically it is unsatisfactory, since it does not answer fundamental questions: Anyway, the major and resounding criticism of axiomatic set theory (and axiomatics in general) was Gödel's incompleteness theorem (1931) which showed that any consistent formal axiomatic system that includes the natural numbers is incomplete, i.e., that there are propositions for which it cannot be proved whether they are true or false, since they are unattainable through axioms. He also showed that no formal axiomatic system can prove its own consistency.


The Algebraic Structures

In the 1930s, a group of (mainly French) mathematicians, known under the collective name of Nicolas Bourbaki, elaborates a structural theory of mathematics, which they reflect in a series of books (10 in total), between 1935 and 1998, under the general name of "Elements of Mathematics" (name clearly inspired by Euclid). A summary of his philosophy was published in 1949 in the article "Fundamentals of Mathematics for the Practical Mathematician", in which he argued that all mathematics could be grounded by the notion of algebraic structure.

An algebraic structure generalizes the structure of the set of real numbers and the properties of the operations of addition and product: The generalization is based on: Examples of algebraic structures are: monoids, groups, rings, and bodies. The real numbers are a particular case of a body.

Structuralist theory in mathematics inspired the movement of structuralism, a generalist movement that involved several disciplines, such as linguistics, psychology, and anthropology.


Limitations of algebraic structures
The Categories

The concepts of set and structure are too restrictive. In some domains they could not be applied, so a higher level of abstraction and generalization was necessary, which led to category theory.

Category theory is a mathematical theory that deals abstractly with mathematical structures and their relationships, with the aim of investigating what many domains have in common.

A category is an abstract concept, like that of a set. But in a set there are only vertical relationships: between each element and the set to which it belongs. There are no horizontal relations, that is, between the elements of the set. In a category, these horizontal relations do exist (the so-called "morphisms" or "arrows"), so we can imagine it as a kind of structured set.


The concept of category

A category consists of two parts: 1) a class or collection of objects, 2) some binary relationships (called "morphisms" or "arrows") between all objects in the class. For every pair of objects (the same or different) of the class, there is a set (can be empty) of morphisms that transform one object into another.

The notion of composition of morphisms generalizes fundamental concepts of mathematics, such as addition, product and exponentiation, as well as the basic mechanisms of logic.

A further abstraction was the concept of functor (functor). Just as sets can be related to each other by means of functions, it is also possible to relate categories to each other by means of functions that preserve their structure.


Analogies set theory - category theory

The following analogies can be drawn between set theory and category theory:

CharacteristicSet TheoryCategory Theory
Name of the groupSetClass or Collection
Components of the groupElementsObjects
Relationship (binary)Vertical (belonging of an element to the set)Horizontal (between two objects of the class)
Relationship valueBinary value: True (T) or False (F)Set of morphisms between two objects (can be empty set)


Origin of category theory

The concept of category was introduced in 1945 by Samuel Eilenberg and Saunders MacLane with the publication of the article "General Theory of Natural Equivalences" [Eilenberg & Mac Lane, 1945]. They found that all structures shared a number of common features: From this they deduced that there was no need to mention sets explicitly and that mathematics could be based solely on the concept of function and composition of functions, instead of the classical concepts of set and membership. In this way a more generic framework was created in which sets and structures would be particular cases of categories.

Around 1960, Alexander Grothendieck introduced the concept of "topos" (a word that is in the singular, the plural is "toposes" or "topoi"), a generalization of the concept of sheaf from algebraic geometry.

In 1996, William Lawvere extracted the logical structure of the topos concept and introduced axioms that led to its current notion. Lawvere's purpose was to construct a higher-order logic in terms of category theory, but the result was a kind of intuitionistic logic. According to Lawvere, category theory, especially the theory of toposes, unites analytic mathematics and intuitionistic mathematics.

Lawvere's final proposal is to ground mathematics in a reflexive concept: the category of categories, which includes category theory itself, set theory, and logic.


Critique of category theory

Category theory, because of its abstract and generic character, has many advantages: Category theory is currently playing a role analogous to that once played by set theory, providing a new vision and new foundation for mathematics, and contributing to its evolution on the path of increasing abstraction, generalization, and unification. The categories are intended to transcend, connect, unify and systematize the different domains of mathematics by applying abstract and generic concepts, and thus reveal their common deep structures.

However, numerous objections can be raised to category theory: To solve the problem of categories of categories, three solutions have been proposed:
  1. Consider only "small" categories, i.e., categories that are sets. The category of small categories generalizes the notion of class of all sets, but does not include the category of sets nor the category of structures.

  2. Add a new axiom to set theory so that hierarchies of classes (classes of classes, etc.) can be considered. In this way it is possible to obtain categories whose components are classes and hierarchies of classes, but without arriving at the category of all categories. This solution was proposed by Grothendieck.

  3. Axiomatize category theory itself, as was done with set theory. The axiomatic system of set theory would be a particular case of the axiomatic system of category theory when considering discrete categories (categories whose functions are only identity functions). This was the solution proposed by Lawvere in 1996.

The Functions

None of the three previous approaches (sets, structures, and categories) was satisfactory on a practical level, especially for computer scientists, who needed to work with functions (defining them as processes with parameters). Category theory uses functions that are simple relations between objects, functions that can be combined and that do not admit parameters. A general theory of functions was needed to enable their practical application.

Computer scientists turned to a theory developed in 1933 by Alonzo Church, the lambda calculus, a formal theoretical model for functional expressions, i.e. functions defined from other functions. The concept of function has mechanisms that have a certain analogy with set theory: Lambda calculus functions are mathematical objects with the following characteristics: Kleene and Rosser (1936) showed that the lambda calculus was inconsistent. Church then developed (1940) a functional theory of types, a simpler and more general theory than the one that appeared in Russell and Whitehead's Principia Mathematica. Church's original lambda calculus had no types, so the functions could be applied without restriction.

In Church's type theory, functional expressions are classified into types, which are categories of functions and which play a role analogous to that of set types in set theory. Types restrict the possible combinatorial forms of such expressions, as in set theory.

Church had at first a much more ambitious goal: to construct a complete formal system and a universal language for modeling all of mathematics. But when he saw that Russell's paradox was affecting him, he downgraded his initial goal to focus exclusively on modeling computability by means of functional expressions.

When Church invented the lambda calculus, computers did not yet exist. However, it can be considered the first functional language in history. It has been the formal theoretical model for many functional languages, having had great influence on the design of programming languages in general. Lisp was the first language to apply the lambda calculus, making it the oldest and most popular functional language. It is oriented to symbolic computation and is mainly applied to artificial intelligence topics.

In 1969, Dana Scott presented "denotational semantics for lambda calculus", which interpreted computer programs (built with functions) as true mathematical objects and thus showing that computer science could be considered a branch of mathematics. Dana Scott was the first to define the semantics of programming languages.


Limitations of functions

Most authors agree in attributing to Descartes the paternity of the abstract concept of function, although it was Leibniz who later introduced the term "function" (or its Latin equivalent), in 1964. The creative leap taken by Descartes was to conceive the function as an algebraic relation. This introduction of algebraic language as a language in which to express relations in a compact way constituted a great revolution in mathematics and a key concept in the development of science.

A function f, as defined in mathematics, is a correspondence (or application) between each element of a source set A (or domain) and an element of a target set B (codomain or range). When the source set is the Cartesian product of n sets A = A1×A2×. ..×An, we have a n-adic function, where n is the number of arguments of the function.

This function definition has certain limitations:
Limitations of the lambda calculation

The lambda calculus overcomes these limitations of mathematical functions, but it has limitations as well:
Conclusions

The Tale of the Blind Men and the Elephant

The story of the foundation of mathematics through its fundamental concepts recalls the story of the blind men and the elephant, the famous Indian folk tale attributed to Rumi, a 13th century Persian Sufi. The conclusion or moral of this story is that we cannot understand things based only on partial aspects. That the true nature is revealed when we contemplate the totality, when we have a global vision.

When Pythagoras affirmed that the essence of reality is numbers, what he really did was to discover an aspect of the "mathematical elephant," a dimension of inner and outer reality, that is, an archetype of consciousness. But reality consists of more dimensions. Mathematics is multidimensional.

Another dimension is the set dimension, the dimension that Cantor discovered. This dimension is essentially different from that of numbers, despite many attempts to unify them or to consider numbers as a concept derived from sets. And pretending to base mathematics on the concept of sets is like sitting in a one-legged chair, or like building a house only with sand.

Algebraic structures, categories and functions are very important concepts of mathematics, but it is impossible to base mathematics on any of them because they are not primitive concepts, they are derived concepts.

The attempt to base mathematics on the theory of categories must be considered unsuccessful because of its complexity. Moreover, the definition of category is too restrictive, since it imposes limits to the freedom of mathematical expression. And also the concept of topos is too complex and restrictive. Mathematics cannot be based on something complex and restrictive, but on simplicity and freedom. If something is complex at base is that it is ill-conceived.

In short, the foundation of mathematics must be based on simple, deep and universal concepts, not on superficial or partial concepts (as in the story of the elephant), on archetypes that facilitate the maximum degree of freedom and creativity. And with which it is possible to construct and describe all kinds of concrete mathematical expressions (numbers, sets, functions, structures, etc.), as well as categories of mathematical expressions.


MENTAL, the theoretical-practical foundation of mathematics

With MENTAL, the problem of the foundations of mathematics is solved in a simple way: MENTAL is a universal formal language that underlies mathematics. It is the realization of Church's old dream of creating a universal formal language to model all of mathematics. It is a universal paradigm, capable of expressing all kinds of paradigms, including functional.

John Wheeler used to say that "No physical theory that deals only with physics will ever explain physics". This statement can be generalized: "No theory that deals only with mathematics can ever explain mathematics". In this sense, MENTAL is on a higher level than mathematics, so it underlies all formal sciences (computer science, cybernetics, artificial intelligence, systemic, etc.).



Bibliography