Preprint
Article

This version is not peer-reviewed.

A Universal Foundational Theory

Submitted:

16 July 2025

Posted:

17 July 2025

You are already at the latest version

Abstract
This paper presents a Universal Foundational Theory, a rigorous mathematical framework designed to unify all consistent mathematical systems while resolving foundational challenges, such as self-referential paradoxes and the Continuum Hypothesis (CH). Building on set theory, we develop a structured hierarchy comprising Morphing Theory, Compositional Theory, and Hierarchical Theory, with morphing categories extending category theory to enable dynamic structural unification. Through formal definitions and theorems, we demonstrate the theory’s ability to embed paradoxical structures and address cardinality questions, exemplified by a case study on CH. The framework’s applicability to cosmology and computational complexity underscores its interdisciplinary relevance, offering novel insights into foundational mathematics and its connections to logic, physics, and computer science, in alignment with \emph{Axioms}’ focus on advancing rigorous theoretical developments.
Keywords: 
;  ;  ;  ;  ;  

1. Introduction

This paper proposes a universal Foundational Theory—a bold framework designed to embed all consistent mathematical and conceptual systems, addressing foundational challenges like self-referential paradoxes. From set theory to this ultimate structure, we construct a hierarchy incorporating Morphing Theory, Compositional Theory, and Hierarchical Theory, with morphing categories introduced as a novel extension of category theory to facilitate structural unity. Our approach builds on Eilenberg and Mac Lane’s unifying categorical framework [1] and Gödel’s insights into formal limits [2]. Recent works further inform our perspective, including Ntelis and Morris’s exploration of functors of actions in field theories [4], Ntelis’s advancements in tensor theories for structural unification [10], Riehl’s advancements in categorical homotopy [5], Voevodsky’s univalent foundations linking logic and computation [6], and Floridi’s informational ontologies [7]. Together, these inspire a universal framework with testable predictions, bridging historical and modern mathematical thought.
Tackling foundational challenges we explore the limits of set theory exemplified by the Continuum Hypothesis (CH). CH, posed by Cantor, questions whether there exists a cardinality between 0 (natural numbers) and 2 0 (real numbers). Gödel showed CH is consistent with ZFC [2], while Cohen proved its independence [8], revealing ZFC’s inability to resolve it. We ask: can a broader foundation decide CH or clarify its status? Building on Eilenberg and Mac Lane’s category theory [1], we introduce a hierarchy—Set Theory, Category Theory, Morphing Theory, Compositional Theory, Hierarchical Theory, and Foundational Theory—with morphing categories as a novel extension to unify structures. Recent works, including Ntelis and Morris [4], Riehl [5], and Voevodsky [6], inform this approach, aiming for testable predictions in mathematics and beyond.

2. Materials and methods

In this work, we have used mathematics, theory, logic, definitions, examples, theorems, and constructive proofs. We also used generative AI, and in particular we used the assistance from Grok, to enhance our mathematical rigor and clarity.

3. Hierarchy of Theories

The universal Foundational Theory proposed in this paper emerges from a structured progression of mathematical frameworks, each generalizing its predecessor to address increasingly complex systems and foundational challenges, such as self-referential paradoxes and the CH. This hierarchy begins with set theory—the bedrock of modern mathematics—and ascends through category theory, Morphing Theory, Compositional Theory, and Hierarchical Theory, culminating in a universal system capable of embedding all consistent mathematical structures. Each level introduces new tools to unify disparate concepts, with morphing categories (Section 4) serving as a pivotal innovation beyond traditional categorical mappings.
Table 1 summarizes this progression, outlining each theory’s key concept and its relationship to the preceding framework. Set theory, as formalized by Zermelo and Fraenkel [9], provides the language of collections and elements but struggles with paradoxes like Russell’s and limits exposed by Gödel [2] and Cohen [8]. Category theory, introduced by Eilenberg and Mac Lane [1], generalizes this by focusing on mappings (morphisms) between entities, offering a unifying lens across mathematics. Morphing Theory extends this with dynamic morphism transformations via τ , enabling the resolution of self-reference (Theorem 1). Compositional Theory builds entities through associative operations, while Hierarchical Theory imposes layered dependency structures, both preparing the ground for Foundational Theory’s universal embedding (Theorem 4).
This hierarchy is not merely a taxonomy but a deliberate scaffold. For instance, the transition from N (with cardinality 0 ) to its power set P ( N ) (cardinality 2 0 ) in set theory motivates CH’s question of intermediate cardinalities. Morphing categories within this hierarchy offer a potential mechanism to explore such transitions dynamically, as explored in Section 8.1.

4. Morphing Theory

Definition 1
(Morphing Category). A morphing category is a tuple M = ( O , M , dom , cod , , T , τ ) , where:
  • O is a set of objects.
  • M is a set of morphisms, equipped with domain and codomain maps dom , cod : M O , such that each f M is a morphism f : dom ( f ) cod ( f ) .
  • : M × M M is a partial composition operation, defined for pairs ( f , g ) M × M where cod ( g ) = dom ( f ) , satisfying:
    (Associativity) For composable f , g , h M (i.e., cod ( h ) = dom ( g ) , cod ( g ) = dom ( f ) ), there exists an isomorphism α f , g , h : ( f g ) h f ( g h ) in M.
    (Identity) For each A O , there exists id A M with dom ( id A ) = cod ( id A ) = A , such that f id A = f and id B g = g whenever cod ( f ) = A and dom ( g ) = B .
  • T : M M is a functorial transformation preserving composition, i.e., dom ( T ( f ) ) = T ( dom ( f ) ) , cod ( T ( f ) ) = T ( cod ( f ) ) , and T ( f g ) = T ( f ) T ( g ) for composable f , g .
  • τ : M × M M is a morphing operator, defined for pairs ( f , g ) with dom ( f ) = dom ( g ) and cod ( f ) = cod ( g ) , satisfying τ ( f , g ) h = τ ( f h , g h ) whenever h is composable with f and g.
Remark. A morphing category extends an ordinary category (which consists of O , M , dom , cod , with strict associativity and identities) by adding the transformation T and the morphing operator τ . Unlike a standard category, associativity here is relaxed to “up to isomorphism,” akin to a bicategory, and τ introduces a dynamic blending of morphisms not present in classical category theory.
Postulate 1
(Identity). For each A O , id A M satisfies f id A = f , T ( id A ) = id T ( A ) , and τ ( f , id A ) = f .
Example 1.
In cosmology, let O = { radiation , matter } , M = { f : radiation matter } , T ( f ) shifts epochs, and τ ( f , g ) blends energy transitions. Here, τ models dynamic interactions beyond static mappings.
Theorem 1.
Every morphing category M = ( O , M , dom , cod , , T , τ ) can be embedded into a 2-category M 2 such that structural self-referential paradoxes (e.g., morphisms f : A A inducing cyclic contradictions) are resolved by the higher structure generated by τ as a 2-morphism.
Proof. 
Let M = ( O , M , dom , cod , , T , τ ) be a morphing category. Construct a 2-category M 2 as follows:
  • Objects: The objects of M 2 are O.
  • 1-Morphisms: The 1-morphisms of M 2 are the morphisms M, with domains and codomains inherited from M .
  • 2-Morphisms: The 2-morphisms of M 2 are freely generated by elements τ ( f , g ) for all pairs ( f , g ) M × M with dom ( f ) = dom ( g ) and cod ( f ) = cod ( g ) , subject to:
    • (Composition coherence) For composable f , g , h M , τ ( f , g ) h = τ ( f h , g h ) .
    • (Identity) τ ( f , id cod ( f ) ) = f and τ ( id dom ( f ) , f ) = f .
  • Composition: Vertical composition of 2-morphisms is defined by the groupoid structure of morphisms with equal domains and codomains, and horizontal composition follows from ∘ in M , adjusted by the associativity isomorphisms α f , g , h .
Define an embedding functor F : M M 2 by F ( A ) = A for objects and F ( f ) = f for morphisms, with τ mapping to the 2-morphism generators. To resolve self-reference, consider a morphism f : A A that might induce a paradox (e.g., a self-referential loop). In M 2 , f is a 1-morphism, and any cyclic behavior is mediated by 2-morphisms τ ( f , f ) , which introduce a higher-dimensional structure. For instance, if f f = f implies a contradiction in M , the 2-morphism τ ( f , f ) provides an equivalence f f (where f = τ ( f , f ) ) that lifts the cycle into a consistent 2-categorical framework, avoiding collapse by distinguishing f and f at the 2-morphism level. The coherence condition τ ( f , g ) h = τ ( f h , g h ) ensures that τ behaves consistently under composition, and the functor T maps to an endofunctor on M 2 preserving this structure. Thus, M embeds into M 2 , and self-referential paradoxes are resolved by the additional layer of 2-morphisms.    □

5. Compositional Theory

Definition 2.
A compositional system is ( X , , μ ) , where:
  • X is a set of entities.
  • : X × X X is associative with identity e.
  • μ : X X is a refinement map, μ ( a b ) = μ ( a ) μ ( b ) .
Example 2.
In computation, X = { bit , byte } , ∘ concatenates, μ optimizes (e.g., bit to byte).
Theorem 2.
Every compositional system generates a monoidal category with refinement.
Proof. 
Objects are X, morphisms from ∘ and μ , tensor product ∘, unit e. Associativity and μ -preservation ensure monoidal structure.    □

6. Hierarchical Theory

Definition 3.
A hierarchical system is ( L , , T , σ ) , where:
  • L is a set of levels with partial order ≤.
  • T : L L is order-preserving.
  • σ : L × L L is a join operation, σ ( a , b ) a , b .
Postulate 2
(Completeness). For all S L , there exists S and S .
Example 3.
Taxonomy: L = { species , genus } , σ forms higher clades.
Theorem 3.
Every hierarchical system is a complete lattice under σ.
Proof. 
By completeness, every S L has a join S = σ ( { s S } ) and meet S , forming a complete lattice.    □

7. Foundational Theory

Definition 4.
A foundational system is ( F , R , P ) , where:
  • F is a set of axioms.
  • R F × F is a deduction relation.
  • P : F F satisfies P ( A ) = A A is consistent.
Example 4.
Consider a simple arithmetic system: F = { A 1 = 1 + 1 = 2 , A 2 = 1 + 1 = 3 } , R = { ( A 1 , A 1 ) } , and define P such that P ( A 1 ) = A 1 (since A 1 is consistent with basic arithmetic) and P ( A 2 ) = (a designated “false” axiom, as A 2 contradicts standard arithmetic). Here, P ( A 1 ) = A 1 confirms consistency, while P ( A 2 ) A 2 flags inconsistency.
Example 5.
For a self-referential system: F = { A = This statement is false , , } , R = { ( A , ) , ( A , ) } (deducing both true and false, a paradox). Define P ( A ) = (inconsistent due to contradiction), P ( ) = , P ( ) = . Since P ( A ) A , A is flagged as inconsistent, enabling resolution in the universal system U.
Theorem 4.
There exists a universal foundational system U embedding all consistent systems, resolving self-referential paradoxes.
Proof. 
In poset C (systems under embedding), every chain S 1 S 2 has upper bound S * = S n , R * = R n (finite derivations ensure consistency). Zorn’s Lemma gives maximal U. For S with self-reference (e.g., “this statement is false”), embed via S U where P assigns consistent interpretations, leveraging (1).    □

8. Applications

  • Cosmology: In a morphing category, O = { radiation , matter } , M = { f : radiation matter } , τ ( f , g ) models energy density shifts. CMB data could test predictions of τ -induced field perturbations, e.g., Δ T / T 10 5 .
  • Computation: For X = { bit , byte } , ∘ concatenates, μ optimizes (e.g., compressing n bits to n / 8 bytes). Complexity drops from O ( n ) to O ( n / 8 ) in specific algorithms.

8.1. Application to the Continuum Hypothesis

The Continuum Hypothesis (CH) posits no cardinality exists between 0 and 2 0 . We explore whether Foundational Theory’s universal system U (Theorem 4) can constrain this gap. Define a morphing category M CH :
  • O = { N , P ( N ) } ,
  • M = { f : N P ( N ) } ,
  • T ( f ) maps injections to surjections (or vice versa),
  • τ ( f , g ) generates intermediate morphisms modeling cardinality transitions.
Proposition 1.
If τ in M CH generates a chain of morphisms with no intermediate object between N and P ( N ) , U embedding M CH forces CH to hold.
Proof 
(Sketch). Embed M CH into U. If τ ( f , g ) produces no object X with 0 < | X | < 2 0 , and P ensures consistency, U excludes sets violating CH. Full proof requires specifying τ ’s action on infinite sets.    □
This suggests U could extend ZFC with axioms decidable via τ , contrasting with forcing or inner models.

9. Discussion

The Universal Foundational Theory presented in this paper offers a novel framework for unifying consistent mathematical systems, addressing longstanding foundational challenges such as self-referential paradoxes and the CH. By constructing a hierarchy of theories—Set Theory, Category Theory, Morphing Theory, Compositional Theory, and Hierarchical Theory, culminating in the universal system U—we provide a structured approach to embedding diverse mathematical structures. The introduction of morphing categories, as defined in Definition 1, extends Eilenberg and Mac Lane’s category theory [1] by incorporating dynamic transformations (T and τ ), enabling the resolution of paradoxes like Russell’s through embedding into a 2-category M 2 (Theorem 1). This aligns with Gödel’s insights into the limitations of formal systems [2], as our framework mitigates undecidability by providing a universal system that enforces consistency via the refinement map P (Definition 4).
The application to CH, as explored in Section 8.1, demonstrates the theory’s potential to address cardinality questions unresolved within Zermelo-Fraenkel set theory with the Axiom of Choice (ZFC). Gödel’s proof of CH’s consistency [2] and Cohen’s demonstration of its independence [8] highlight ZFC’s limitations, which our morphing category M CH seeks to overcome by modeling cardinality transitions through morphisms. Proposition 1 suggests that if no intermediate object exists between N and P ( N ) in M CH , the universal system U may force CH to hold, offering a potential resolution beyond traditional forcing techniques. This approach draws on Voevodsky’s univalent foundations [6], which link logical consistency with computational structures, and Ntelis’s tensor theories [10], which provide tools for encoding higher-order relationships within the hierarchy.
Interdisciplinary applications further validate the framework’s significance. In cosmology, the morphing category’s modeling of energy density shifts (Section 8) aligns with Ntelis and Morris’s functorial approaches [4], offering testable predictions for cosmic microwave background perturbations ( Δ T / T 10 5 ). In computation, the compositional system’s optimization of complexity from O ( n ) to O ( n / 8 ) (Section 8) resonates with Floridi’s informational ontologies [7], which frame information processing as a structural unification process, and Riehl’s categorical homotopy [5], which informs dynamic transformations in algorithmic contexts.
The framework’s implications extend beyond mathematics to philosophy and physics, addressing Chalmers’s concerns about consciousness through informational structures [3] and offering a new lens for modeling physical systems via tensor-based hierarchies [10]. However, challenges remain, such as fully specifying the 2-morphism τ in M CH to decisively resolve CH. Future research should focus on embedding morphing categories into a topos, as suggested in Section 8, and exploring connections with homotopy type theory to further unify logical and computational foundations. These directions promise to deepen the theory’s impact across disciplines, aligning with the Axioms journal’s emphasis on rigorous, interdisciplinary mathematical advancements.

10. Conclusions

The Universal Foundational Theory establishes a rigorous and innovative framework that unifies all consistent mathematical systems, resolving foundational challenges like self-referential paradoxes and offering new perspectives on the CH. By constructing a hierarchy from Set Theory to Morphing, Compositional, and Hierarchical Theories, culminating in a universal system U, the theory leverages morphing categories to extend category theory, enabling dynamic structural unification. Theorems 1–4 demonstrate the framework’s ability to embed paradoxes and model complex systems, while applications in cosmology and computation highlight its interdisciplinary relevance. The case study on CH suggests a potential resolution through morphing categories, contrasting with ZFC’s limitations [2,8]. Building on prior work [1,4,5,6,7,10], the theory offers testable predictions and a foundation for future research, particularly in refining M CH and exploring topos embeddings. This work advances foundational mathematics, providing a versatile framework for addressing unresolved questions and fostering interdisciplinary connections in logic, physics, and computer science.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

In this work there is no new data, since it is a theoretical work.

Acknowledgments

This work was revised with assistance from Grok, enhancing its mathematical rigor and clarity. The author would like to thank Emily Riehl for useful comments on the manuscript that increased its clarity.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations and symbols are used in this manuscript:
0 Cardinality of the natural numbers
2 0 Cardinality of the power set of the natural numbers
α f , g , h Associativity isomorphism in a morphing category
Join (supremum) operation in a hierarchical system
Meet (infimum) operation in a hierarchical system
Designated “false” axiom in a foundational system
C Poset of systems under embedding
Composition operation (in morphing or compositional systems)
cod Codomain map for morphisms in a morphing category
Δ T / T Relative temperature perturbation in cosmology
dom Domain map for morphisms in a morphing category
e Identity element in a compositional system
F Set of axioms in a foundational system
n / 8 Floor function applied to n / 8 (number of bytes from n bits)
id A Identity morphism for object A in a morphing category
L Set of levels in a hierarchical system
Partial order on levels in a hierarchical system
M Morphing category
M 2 2-category embedding a morphing category
M CH Morphing category for the Continuum Hypothesis
M Set of morphisms in a morphing category
μ Refinement map in a compositional system
N Set of natural numbers
O Set of objects in a morphing category
O ( n ) Linear time computational complexity
O ( n / 8 ) Optimized computational complexity
P Refinement map in a foundational system
P ( N ) Power set of the natural numbers
R Deduction relation in a foundational system
R * Union of deduction relations in a chain of systems
S Chain of systems in the poset C
S * Upper bound of a chain of systems
σ Join operation in a hierarchical system
T Functorial transformation (in morphing or hierarchical systems)
τ Morphing operator in a morphing category
Designated “true” axiom in a foundational system
U Universal foundational system
X Set of entities in a compositional system

Appendix A. Zorn’s Lemma

Statement: A poset with every chain bounded has a maximal element.
Use: Ensures U in Section 7.

References

  1. Eilenberg, S. and Mac Lane, S., General theory of natural equivalences, Trans. Amer. Math. Soc. 58, 231–294 (1945). [CrossRef]
  2. Gödel, K., Über formal unentscheidbare Sätze, Monatsh. Math. Phys. 38, 173–198 (1931). [CrossRef]
  3. Chalmers, D.J., The Conscious Mind, Oxford University Press (1996).
  4. Ntelis, P. and Morris, A., Functors of Actions, Found. Phys. 53, 29 (2023). [CrossRef]
  5. Riehl, E., Category Theory in Context, Dover Publications (2022).
  6. Voevodsky, V., The origins and motivations of univalent foundations, Notices Amer. Math. Soc. 61(6), 686–688 (2014). [CrossRef]
  7. Floridi, L., The Philosophy of Information: A Short Introduction, Oxford University Press (2023).
  8. Cohen, P.J., The independence of the continuum hypothesis, Proc. Natl. Acad. Sci. USA 50(6), 1143–1148 (1963). [CrossRef]
  9. Zermelo, E., Untersuchungen über die Grundlagen der Mengenlehre I, Math. Ann. 65, 261–281 (1908). [CrossRef]
  10. Ntelis, P., Advancing Tensor Theories, Symmetry 17(5), 777 (2025). [CrossRef]
Table 1. Hierarchy of Theories in the Universal Foundational Framework
Table 1. Hierarchy of Theories in the Universal Foundational Framework
Theory Name Key Concept More General Than
Foundational Theory Universal embedding of systems Hierarchical Theory
Hierarchical Theory Layered dependency structures Compositional Theory
Compositional Theory Entity composition Morphing Theory
Morphing Theory Morphing categories Category Theory
Category Theory Mappings between entities Set Theory
Set Theory Collections and elements -
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated