Dedicated to my daughters, Viviana and Sofia
Dwell on the beauty of life. Watch the stars, and see yourself running with them.
Meditations, Antonius Marcus Aurelius, Emperior of Rome, 121–180
“You gods,” Calipso exclaimed, “ought to be ashamed of yourselves. You are always jealous, and hate seeing a goddess take a fancy to a mortal man, and live with him in open matrimony. So when rosy-fingered Dawn made love to Orion, you precious gods were all of you furious till Diana went and killed him in Ortygia. So again when Ceres fell in love with Jason, and yielded to him in a thrice-ploughed fallow field, Jove came to hear of it before so very long and killed Jason with his thunderbolts.
And now you are angry with me too because I have a man here. I found the poor creature sitting all alone astride of a keel, for Jove had struck his ship with lightning and sunk it in mid ocean, so that all his crew were drowned, while he himself was driven by wind and waves on to my island. I got fond of him and cherished him, and had set my heart on making him immortal, so that he should never grow old all his days.”
The Odyssey, book 5, by Homer
I thought how each and every one of us is just such a tree: the taller we grow toward the sky, through the wind and rain toward God, the deeper we must sink our roots through the mud and subterranean waters toward hell.
Milorad Pavić, Dictionary of the Khazars: A Lexicon Novel, 1984
Preface
Mathematics, rightly viewed, possesses not only truth, but supreme beauty—a beauty cold and austere, like that of sculpture, without appeal to any part of our weaker nature, without the gorgeous trappings of painting or music, yet sublimely pure, and capable of a stern perfection such as only the greatest art can show. The true spirit of delight, the exaltation, the sense of being more than Man, which is the touchstone of the highest excellence, is to be found in mathematics as surely as poetry.
Bertrand Russel, p. 60, The Study of Mathematics [ 1 ]
Most related philosophical questions deal with specific symmetries, objectivity, interpreting limits on physical theories, classification and laws of nature. The recent history of the philosophy of mathematics is largely focused on grasping and defining the nature and essence of mathematics and its objects. Attempts to do this include explicating versions of: mathematics is just logic, mathematics is just structure, mathematics is a meaningless game, mathematics is a creation of the mind, mathematics is a useful fiction, etc. For example, the basic principles of general semantics, which include time binding, are described in the publication Science and Sanity, published in 1933 by Alfred Korzybski, where he wrote these ideas:
In general physical abstractions, including daily-life abstractions are such that—we proceed by a process of forgetting. In other words, no description or ‘definition’ will ever include all particulars… In mathematics, however, we build for ourselves a fictitious and over-simplified verbal world, with abstractions which have all particulars included. If we compare mathematics, taken as a languages, with our daily language, we see readily that in both verbal activities we are building for ourselves forms of representation for this something-going-on, which is not words.
Considered as a language, mathematics appears as a language of the highest perfection, but at its lowest development…
Our other languages would appear, then, as the other extreme, as the highest mathematics, but also at their lowest development—highest mathematics, because in them we can speak about everything; at their lowest development because they are still A and not based on asymmetrical relations. Between two languages there exists a yet a large unbridged structural gap. The bridging of this gap is the problem of the workers of the future. Some will work in the direction of inventing new mathematical methods and systems, bringing mathematics closer in scope and adaptability to ordinary language (for instance, the tensor calculus, the theory of groups, the theory of sets, the algebra of states and observables,…). Other will undertake linguistic researches designed to bring ordinary language closer to mathematics…
The mathematicians who discover or invent new methods for relating and structures are the biggest ‘mental’ giants we have had, or ever shall have.
p. 69, [ 2 ]
Symmetries play a fundamental role in physics because they are related to conservation laws. For instance, the conservation of the momentum vector is associated with translations (Poincare transformations, which treats time and space on an equal footing, in contrast with traditional approaches where one aims directly for a description of the “time evolution”) invariance of the Lagrangian with Noether’s current and conservation of the Noether’s charge. Lagrangian (density) is a fundamental concept in physics, which determines the principal property (phenomena) of the objects in physics: their time-space path derived by the variational principle from Lagrangian into the Euler–Lagrange equations. Recall that a global symmetry is defined as a transformation that keeps the action invariant (like Maupertious’ principle in mechanics and Fermat’s principle in optics).
As Professor J. B. Shaw says [ 3 ]:
We find in the invariants of mathematics a source of objective truth. So far as the creations of the mathematician fit the objects of the nature, just so far must the inherent invariants point to objective reality. Indeed, much of the value of mathematics in its applications lies in the fact that its invariants have an objective meaning.
But what happens if we apply this method not to the objects of nature but to the mathematical abstract objects?
If we use this general pattern for the category theory, which is an abstract mathematical theory, we first have to find the useful analogies with that physics, and first of all the fundamental transformations (at the place of the Poincare transformations in physics) of a given category C . One of the fundamental transformations, provided in quasi all introductions to category theory, is the transformation of C into its Cartesian products
C × ⋯ × C ︷ n
for n ≥ 2 , but this transformations are not characteristic for the category theory because they are only a heredity from the set-based mathematical theory where a given set is transformed into its Cartesian products.
Just because of that, in my second PhD thesis in Computer Science [ 4 ], I analyzed in 1994 (thanks to my previous knowledge of symmetry theory in physics, obtained when I worked as an Assistant Professor at ETF, Belgrade, in electromagnetic theory, from 1979 to 1981 and prepared my first PhD thesis), from my point of view, the most characteristic transformation of a base category C into the infinite hierarchy of the arrow categories (such a transformation does not exist in the set-based theory of mathematics) denominated by n -dimensional levels.
So, if we consider a given base category C as a space with a set of its properties as a “physics field theory” with specific properties expressed by a Lagrangian , the question is to establish, which are these different “Lagrangian” of the base category, which remain invariant under particular categorial transformations. Obviously, the more general and important properties (“Lagrangian”) of a given category are its universal categorial properties, like its universal arrows. This intuitive idea, shortly presented in [ 4 ], here will be presented in much more details and in relationships with a number of applications in computer science, especially with the more recent developments presented in my book [ 5 ].
Recently, in [ 6 ] is presented, the Space, time and number in the brain (henceforth: STNB) searches for the foundations of mathematical thought across collection of articles, with five sections: (1) Mental magnitudes and their transformations, (2) Neural codes for space time and number, (3) Shared mechanisms for space, time and number, (4) Origins of proto-mathematical intuitions, (5) Representational change and education. This evidence provides new vistas into the area of cognitive-epistemic Foundations of Mathematics (ceFOM).
Another reason why a nonmathematician cannot study psychological phenomena adequately is that mathematics is the only science which has no physical content and, therefore, when we study the performances of Smith and Brown when they mathematize, we study the only available working of ‘pure-mind’. Moreover, mathematics is the only language which at present has a structure similar to that of the world and the nervous system… Mathematics and what is called “sublimation” in psychiatry have a similar neural mechanism, which is expressed structurally in the spiral theory, or the cyclic chain of nerve currents, where the end-product of one process becomes the starting point of the next.
Alfred Korzybski, p. 73, p. 304, Science and Sanity [ 2 ]
Questions about how we can know numbers, shapes and rules, and how it is even possible to prove necessary arithmetical, algebraic and geometric relations; about whether mathematics is an internal cognitive structure (that evolved), a learned one and/or one existing in an independent realm; and about whether we can build a machine or a computer simulation that emulates our knowledge structures and conscious experience, are quite old.
The identity is usually added to the First-Order Logic (FOL) as a primitive logical binary predicate satisfying the properties of reflexivity, symmetry and transitivity of its arguments. It is a built-in primitive concept, which does not depend on Tarski’s interpretations, different from the concept of logic equivalence, which is a derivable concept inside the logic: two sentences A and B are logically equivalent if have the same truth value for each Tarski’s interpretation of a given logic theory. In an analog way, in category theory, the identity arrows are primitive arrow concepts assigned to each object in the category, and any such identity arrow is reflexive and symmetric for the source and domain object of such an arrow (if the arrow id 1 : a → b is well-defined in the category, then also the arrow id 2 : b → a is a well-defined arrow of this category, and if also the identity arrow id 3 : b → c is well-defined then the composed arrow id 3 ∘ id 1 : a → c is well-defined in this category and represents the transitivity property). This built-in categorial concept is not derivable by other arrows in a given category, but is a priori introduced to a given category (a model of some mathematical theory) in the moment of definition of the objects of this category: each object in a given category is unique, and hence identical to itself only. What we are able after this initial definition of the objects of a given category and the kind of arrows between them, is only to recognize if two diferent object are isomorphic objects of such a category (so, isomorphism is generally an abstract kind of equivalence different from equality): in any commutative diagram of a given category, any particular object can be replaced by another object isomorphic to it. So, the isomorphism of the objects is stricltly determined by the expressive power of the arrows in a given category. Thus, the isomorphism in category theory corresponds, for example, to the logical equivalence in a given logic theory (which depends on the expressive power of logic deduction of such a logic). Consequently, both are derivable relationships inside their formalized theories.
Usually, in mathematics, we are using the same binary symbol ′ \= ′ for the two fundamentally different relationships, without an explicit distinction between a primitive built-in identity concept and derived equality concept. The difference between the primitive concept of identity and derived concepts of various kinds of equivalences can be easily shown in the algebra of natural numbers: the statement 1=1 expresses the primitive (self) identity concept of the number 1, while the statement x 2 + 2 x y + y 2 \= ( x + y ) 2 is a derivable relationship of this algebra based on two operations of addition and multiplication. We can verify this derivable equality relationship, inside this theory, by assigning the natural numbers to the variables x and y . For example, value 1 to x and value 2 to y , so that the equation above reduces to identity 9=9. That is, we need the built-in relationship of identity inside this mathematical theory in order to derive more complex relation of equality of algebraic terms with variables.
Analogously, the isomorphism of two objects in a given category is demonstrated by using the built-in identity arrow concepts of a given category. The famous statement “ up to isomorphism ” in category theory just provides explicitly this fact: what we can derive inside any well-defined category are (only) the isomorphisms (substitutivity of the objects) of its objects, but not the identity of the objects. The isomorphism is a more abstract equivalence relationship than the primitive identity, so that two nonidentical objects can be isomorphic (nonrecognizable inside this category as a different object, and hence one can be substituted by another isomorphic (but different) to it): in this case, the “abstraction” means that we forget some specific internal properties of the objects (they remain hidden to the expressive power of the arrows).
However, independently, how complex is the internal structure of a given object a of a given category, the identity arrow does not give any other useful information about this internal structure. An identity arrow only tells us that the domain an codomain objects of this arrow are equal, so that such an arrow in any diagram of arrow compositions of this category can be eliminated. In effect, in the category theory usually we avoid to explicitly represent the identity arrows, and use them only in rare and particular cases. Note that any property of the objects (of their internal structure) are defined by particular commutative diagrams in which this object participates as a node of this diagram, usually with universal arrows as a part of such commutative diagrams. So, it holds that the representation of the internal, possibly complex, structure of an object depends on the expressive power of the arrows of a category: usually, such arrows can show only a part of the structure of complex objects, while the rest remains hidden. That is, in effect, the reason that the category theory is fundamentally abstract. So, by choosing the expressive power of the arrows in a given category, we establish the level of abstraction for its objects (the level of “observable” properties of the object in this category). The significant example of this abstraction is provided here in Chapter 7 , dedicated to conceptual symmetry of the database DB category.
It is similar, generally, to the object-oriented databases, where the objects can be very complex and within reach to internal structures, but we define only the methods for this object (representable by the arrow in a particular category) that show a part of the information encapsulated in this object to other objects (the codomain of such arrow-methods) in an object-oriented application. Thus, we cannot distinguish, in such an object-oriented application, two different objects, which offer the same observations of their internal structures for a given set of implemented methods (set of arrows in a category expressing this object-oriented application). Thus, in such an object-oriented application, we have the observationally-equivalent objects also if they have different hidden parts of their internal structure. An example for these observational equivalences is provided in Section 7.2 (and its subsections) of Chapter 7 . This phenomena of “observationally-equivalent” objects in a given category is expressed by the categorial notion of isomorphism . However, we are able to define different observational equivalences (strong, weak, etc.), but only one of them corresponds to the isomorphism in a given category.
To show an isomorphism of two objects a and b of a category, we need to explicitly use their identity arrows, id a and id b , relatively: in order to specify that these objects are isomorphic (so that one can be replaced by other one), denoted by a ≃ b , we must have two arrows f : a → b and g : b → a , such that f ∘ g \= id b and g ∘ f \= id a . So, the identity arrows are necessary in order to establish that two objects are abstractly equal (or observationally equal in a category with fixed expressive power of its arrows), or isomorphic , i. e., “equal up to isomorphism. ” Consequently, also if two objects a and b are really equal (but we defined them by two different labels), we are not able to discover (by the categorial means) that they are equal really, but only that they are isomorphic. In effect, by any declaration of some object in a category by its label (concrete symbol or name), we automatically insert its identity arrow in this category as well, and there is not any other way to derive identity arrows different from the composition of already defined equal arrows (by the transitive property of identity arrows).
However, also this observation does not legitimate us to identify any concrete object in a category by its identity arrow, from the fact that such identity arrow does not tell anything about real internal structure of this object.
Moreover, we have the following categorial asymmetry: in any category, for each its object there exists also its identity arrow, while generally for each arrow in the category we have not an object of the same category representing this arrow at least “up to observational equivalence.” Only in some particular category, like Set (with small sets as objects and small functions as arrows), each function f : a → b from the small set a into the small set b , can be “up to observational equivalence” represented by the small set (thus an object), c \= { ( x , f ( x ) ) ∣ x ∈ a } , that is with the graph of this function. This term “ up to observational equivalence ” used for the representation of the arrow (function) f by the object (set) c means that they are not equal : in effect, in the codomain b of the arrow (function) f there are also the elements, which are not present in the set (object) c .
This observation was one of the start points for the investigation of the categorial symmetry in my PhD work. 1 The initial motivation of transformation of the arrows in the representative objects was connected with deductive systems as categories (not necessarily the preorder categories) where the objects are logic sentences and the arrows between them are the deduction paths (derivations) from a given (source) sentence A to effectively derived sentence B (we accept the number of different deduction paths from A into B as well). For example, in constructive mathematics (as intuitionistic logic, for example), the sentence A ⇒ B is true if there is an effective deductive process of derivation of sentence B from the sentence A , represented by an arrow f : A → B in this category. The relative problem, of how to define functorially the implication for such constructive logic from the effective deductions (arrows in such a category), will be presented in this book as well.
What is important in such functorial method, for derivation of the objects in a given category C from its arrows, is that it needs to use necessarily the arrow categories C ↓ C where the arrows g : a → b of C are encapsulated as the objects in C ↓ C denoted by J ( g ) . Thus, the functorial representation has to be provided by a functor F : C ↓ C → C , and hence, for each arrow g : a → b of C , the object F ( J ( g ) ) of C has to be, “up to observational equivalence,” the representation of the arrow g in the same category C . With this method, we introduce the infinite hierarchy of the arrow categories, for a given base category C , as follows:
The notion of hierarchy of the arrow categories, for a given base category C , is defined inductively for n ≥ 1 by
(1) ( C ↓ C ) 1 ≜ C ↓ C , ( C ↓ C ) n + 1 ≜ ( C ↓ C ) n ↓ ( C ↓ C ) n
and, derived from it, the n-dimensional levels based only on the base category C , instead on the its first arrow category ( C ↓ C ) used in ( 1 ) for n ≥ 1 , denoted by C n + 1 ≜ ( C ↓ C ) n . That is, the n -dimensional levels are defined inductively, for n ≥ 1 , by
(2) C 1 ≜ C , C n + 1 ≜ C n ↓ C n
i. e., inductively, ( n + 1 ) -dimensional level is the arrow category obtained from the n -dimensional level, where the arrows of the n -dimensional level are composed by 2 n − 1 arrows of the base category C (considered as the first 1-dimensional level as well, which represents the leafs of the binary tree of this n -dimensional syntax structure).
Remark.
Note that such an infinitary hierarchy of n -dimensional levels there exist for any category. So, it holds also for the minimal (nonempty) discrete category 1 composed by one unique object and unique identity arrow of this object. This infinitary n -dimensional levels of the base category 1 there exist just on the compositionality of the identity arrow with itself, and show to us how also such atomic (minimal) category generates the infinite hierarchy of the arrow categories derived from 1 . The existence of the identity arrows of the objects, in any other finite or infinite category, guarantees the existence of the infinitary n -dimensional hierarchy for each category as well. □
So, this phenomena is a foundational and characteristic (distinguishable) property of each category, and hence of the category theory , and similar to the foundational role of sets in the traditional set-based mathematics, or to the role of primitive built-in binary identity predicate in the first-order logic. In what follows, it will be used for the new multidimensional categorial definition of the set of natural numbers N , different from the standard von Neumann set-based flat bidimensional definition. 2
Thus, we can define inductively the set of natural numbers in a categorial way, based on the base category C \= 1 (and hence in a nonset-based way, as in von Neumann inductive definition), in the following way: the number zero is defined by empty category 0 , while others are defined inductively from the base category 1 , i. e.,
0 \= 0 1 \= 1 2 \= 1 ↓ 1 3 \= ( 1 ↓ 1 ) ↓ ( 1 ↓ 1 ) 4 \= ( ( 1 ↓ 1 ) ↓ ( 1 ↓ 1 ) ) ↓ ( ( 1 ↓ 1 ) ↓ ( 1 ↓ 1 ) ) , etc.
The fact that this inductive definition is not set-based, but an n -dimensional geometric definition, it is easy to verify by the consideration of what geometrically represent the arrows in the hierarchy of the arrow-categories that define the natural numbers. More intuitive geometrical/algebraic representation of the pattern above, used for definition of natural numbers, will be provided in first Section 1.1 .
In this book, we will investigate two kinds of the transformations with mathematical symmetries in the category theory [ 4 ]:
1.
The first one, provided in Chapter 2 , regards the invariant categorial properties (adjunctions, (co)limits) under comma-propagation transformations from a given n -dimensional level category C n into ( n + 1 ) -dimensional level, representing a global symmetry .
2.
The second one, provided in Chapter 3 , regards the transformation of the arrows into conceptualized objects. In most cases, they are descending functorial transformations (by a closure functor T e ) from a ( n + 1 ) -dimensional level into n -dimensional level: the process of conceptualization of the arrows into objects of a given n -dimensional level. This kind of internal symmetry regards the relationship between two primitive concepts of the category theory: objects and arrows.
Symmetries play a fundamental role in physics because they are related to conservation laws. This is stated in Noether’s theorem, which says that invariance of the action under a symmetry transformation implies the existence of a conserved quantity. Albert Einstein once said, about “ the world of our sense experiences, ” and “ the fact that it is comprehensible is a miracle ” (1936, p. 351). A few decades later, another physicist, Eugene Wigner, wondered about the unreasonable effectiveness of mathematics in the natural sciences, concluding that “ the miracle of the appropriateness of the language of mathematics for the formulation of the laws of physics is a wonderful gift, which we neither understand nor deserve ” (1960, p. 14). At least three factors are involved in Einstein’’s and Wigner’’s miracles: the physical world, mathematics and human cognition.
It is interesting fact that both of them considered the standard quantum mechanics (QM) as an incomplete and statistical theory, so that for the description of the individual particles we needed a new more sophisticated theory with hidden variables. This was a starting point for me to develop this new and complementary part of QM from 2010 to 2019 published in three volumes [ 8 ], [ 9 ], [ 10 ] for completion of QM and unification with Einstein’s General Relativity. 3
The approach to the analogy relationship between physics and category theories assumed can be summarized as “adjunction-as-field” in the following table:
| Physics Theory | Category Theory |
|---|---|
| Continuous time space with points p i | Category C as a flat space with objects p i as points and arrows as directed paths between them |
| Scalar field Ψ of a given type J | Adjunction ( △ , G , ε , η ) with diagonal functor △ : C → C J of type defined by small index category J |
| Lagrangian density L ( Ψ , p i ) | Universal arrow ( △ ( p i ) , η ( p i ) ) at a point p i |
| Action S \= ∫ Ω g L ( Ψ , p i ) | Set of displacements of each point p i (path integrals) represented by arrows with domain objects at p i |
| Principle of minimal action | Property that for each cone of a diagram d ′ in C J there is a unique arrow to the limit cone |
| Euler–Lagrange equation with position variable p i of a material object | Commutative diagram in C of the adjunction for a fixed diagram d ′ (“material object”) in C J and for each position variable p i |
This interpretation of categorial symmetry, based on the comma-propagation transformations is discussed in detail in Section 2.5 .
Dependencies between the chapters
This book considers two kinds of symmetry. In Part I, included in Chapters 1 and 2 , is dedicated to the development of abstract category theory for the arrow categories and global symmetries of comma-propagation transformations. Chapter 1 is an introduction of the infinite hierarchy of the arrow categories considered as “ Galilean reference frames ” of a given base category C (the n -dimensional levels C n , for n ≥ 1 ), the two fundamental comma projection-functors with natural transformation ψ between them and inverse to it is an encapsulation operator J . We provide a new categorial-based (nonset-based) definition of natural numbers. Then we introduce the basic transformation of functors and natural transformations along this sequence of n -dimensional levels, from n -dimensional to ( n + 1 ) -dimensional level, denominated as “comma lifting,” and the “comma-induction” (the consecutive iteration of comma lifting) with particular application to the adjunctions of functors.
Chapter 2 is dedicated to the more general phenomena of comma-propagation transformations (a “Galilean boost” of “uniform motion” between two n -dimensional levels seen as different reference frames) and its invariant properties. Comma-propagation is a general transformation between n -dimensional levels, applied to the functors and natural transformations. If we consider the universal properties of a base category (universal arrows, adjunctions) as a kind of different “Lagrangian” in the category theory, then we will consider their invariance under this comma-propagation transformation: a global symmetry in this case means that these categorial universal structures are preserved under these general transformations in all n -dimensional levels (the law of conservation). The application of this kind of symmetry is provided as well in dedicated sections of this chapter.
Part II from Chapter 3 to Chapter 7 , is dedicated to another fundamental, categorial internal symmetry between two primitive categorial concepts, objects and arrows. Chapter 3 is theoretical definition of this internal symmetry and categorial invariance, relative to the transformation of arrows into the objects , and can be done only for the categories, which satisfy particular conditions (the transformation of objects into arrows of a given category is a standard one: transforming a given object into its identity arrow, and is valid for all categories). It provides a particular hierarchy for the quality of the symmetry between arrow and objects and the relative properties of the categories that must be satisfied in each level of hierarchy. Other chapters are dedicated to a number of applications of this symmetry in a complex-incremental way: Chapter 4 is dedicated to logical deduction (to natural deduction and propositional intuitionistic logic), Chapter 5 to lambda calculus, Chapter 6 to the Labeled Transition Systems (LTS), and the final Chapter 7 to data integration theory. Additional material for these applications is provided in the Appendix A .
Detailed plan
Chapter 1 : In Section 1.1 , after the introduction of the n -dimensional levels (the hierarchy of the arrow categories for a given base category C ), we define two basic operations: the natural transformation ψ between first and second comma projection functors F st , S nd : C n + 1 → C n , which defines arrows from the objects, and its inverse encapsulation operation J . Then we introduce a new categorial definition of natural numbers. Section 1.2 introduces the “comma lifting” of categories, functors and natural transformations from a n -dimensional level into next ( n + 1 ) -dimensional level, and diagonal functor ▲ : C n → C n + 1 . Then we show that, for each n -dimensional level C n , n ≥ 2 , and its identity endofunctor Id C n , there exist two natural transformations ․ σ : ▲ ∘ F st ․ Id C n and ․ σ − 1 : Id C n ․ ▲ ∘ S nd , such that their vertical composition satisfies σ − 1 ∙ σ \= ( ψ ; ψ ) . Based on this comma lifting, in Section 1.3 we provide the comma-induction along the n -dimensional levels hierarchy, in four different possible cases, for the functors and natural transformations. The distributive low for the comma-induction w.r.t the composition of functors, horizontal and vertical composition of natural transformations and the property of closure for the strict comma-induction is shown. Finally, in Section 1.4 we prove that the comma-induction preserves the adjunctions between the functors.
Chapter 2 : In the previous chapter, we only considered the pure arrow categories ( n -dimensional levels hierarchy) in order to show the basic properties of the coma-induction (the propagation of functors and natural transformations from base categories to all higher n -dimensional levels). Here, in this chapter, we will introduce also the functor categories C n J , where J is any small index category. In this way, we can consider the propagation of the (co)limits (from a base category) inside the infinite hierarchy of n -dimensional levels. Consequently, in Section 2.1 we define the comma-propagation as a generalization of the comma-inductions provided in Chapter 1 : comma-induction is a specific case of this more general comma-propagation (the case when the index category J \= 2 is the preorder category with two objects 0 and 1). So, we introduce also a generalized (w. r. t. the standard) diagonal functor △ : D → C J , and two auxiliary functors, L : ( C n J ↓ C n J ) → ( C n ↓ C n ) J and K : ( C n ↓ C n ) J → ( C n J ↓ C n J ) , such that their compositions K ∘ L and L ∘ K are equal to identity endofunctors. Based on these two auxiliary functors, in Section 2.2 we define the comma-propagation transformations as a generalization of comma-induction provided in Chapter 1 . Consequently, in Section 2.3 we consider the comma-propagation of the adjunctions and (co)limits in all infinite hierarchy of n -dimensional levels, and we provide some examples (for generalized diagonal functor). The examples of comma-propagation of the (co)products and equalizers are provided in Section 2.4 of this chapter. Finally, in Section 2.5 , we analyze the global symmetries for the categorial “Lagrangians,” i. e., universal structures like universal arrows and adjunctions, w.r.t to the comma-propagation transformations, and in relationship with the Galilean boosts in physics.
Chapter 3 : In this chapter, we introduce a kind of internal symmetry based on the invariant transformation of the arrows into the “conceptualized” objects. This invariance means that in the categories able for such transformations, this transformation does modify them. Each object obtained as a transformation of some arrow of the category is “equivalent” to this arrow (in an analog way in which each object of a category can be represented by its identity arrow), and the composition of the arrows in this category can be equivalently represented by analog composition of their conceptualized objects. Thus, we consider the categories for which there is this symmetry between primitive categorial concepts: arrows and objects. Then, in Section 3.1 , we introduce also a quality-hierarchy of such internal symmetry for the categories. In this section, we provide also a simple example: A category for predicate logic with intensional abstraction. After this introduction, in Section 3.2 we define the metacategory for such perfectly symmetric categories, provided with the operator B ⊤ for transformation of the arrows into the conceptualized objects and the new operation “∗” for composition of these conceptualized objects, and we also present some examples for the two lowest, quality-level internal symmetry. Then, in Section 3.3 , we define the 3rd symmetry quality-level, for the so-called Conceptually Closed Categories (CoCC) when there exist a symmetry closure functor T e : C ↓ C → C , with the natural isomorphism φ : T e ∘ ▲ ≃ I C (when the transformation of the identity arrow of an object is equal up to the isomorphism to this object). We show that the category Set is an example for this symmetry quality level. We prove that, for each CoCC category, there exist two natural transformations ․ τ : F st ․ T e and ․ τ − 1 : T e ․ S nd , defined by τ \= ( T e σ ) ∙ ( φ − 1 F st ) and τ − 1 \= ( φ S nd ) ∙ ( T e σ − 1 ) . Next, Section 3.4 is dedicated to the higher quality level of categorial internal symmetry: the symmetry extended categories, for which is satisfied the vertical composition property ․ τ − 1 ∙ τ \= ψ : F st ․ S nd . In such categories, each arrow f : a → b is split into the composition τ − 1 ( J ( f ) ) ∘ τ ( J ( f ) ) of two arrows τ ( J ( f ) ) : a → f ˜ and τ − 1 ( J ( f ) ) : f ˜ → b , where f ˜ is the conceptualized object obtained from the arrow f . We prove that this symmetry property is an invariant w. r. t. comma-induction transformation, i. e., and it is valid in all higher n -dimensional levels. Finally, in Section 3.5 , we consider the upper limit for this symmetry property: the imploded categories, when ▲ ∘ T e ≃ I C ↓ C as well. In this extremal categorial symmetry case, we obtain that all n -dimensional levels are equivalent to their base category. That is, all infinite hierarchies of n -dimensional levels are flattened inside their base category.
Chapter 4 : This chapter provides an example of conceptual (internal) categorial symmetry applied to the propositional logics. In Section 4.1 , we introduce the natural deduction of the positive fragment of propositional logic (without a negation logical operation), with two different tagging techniques: the Gentzen/Prawitz deduction trees and the sequent-based deduction method. Both of these are traduced into a categorial framework by the definition of the category ND . In Section 4.2 , we demonstrate that each category ND , given an initial set of assumptions Γ, is a symmetry-extended category by defining the closure-symmetry functor T e : ND ↓ ND → ND . Then we show that the logical implication has the constructive I. E. Brower interpretation, represented by the covariant functor T e . The properties of this covariant implication functor are provided in Section 4.2.1 and we show that ND is not a Cartesian Closed Category (CCC), but there is a partial adjunction (p-adjunction) between T e and the categorial product functor (shown in Section 4.2.2 ) so that ND is a partial CCC (pCCC) with a maximal p-adjunction and corresponding exponentiation diagrams. Then, in Section 4.2.3 we prove that such categorial property is preserved under comma-induction transformations to all n -dimensional levels of the base category ND . In Section 4.3 , we use the Gentzen LJ Sequent System, with the negation logical operation as well, and hence we extend ND into new propositional intuitionistic logic category IC provided also by the symmetric tensor product ⊗ for categorial interpretation of the structural “comma” syntax operation used in the sequents, and two new constraints for the inference rules dedicated to the negation logical operation.
Chapter 5 : This chapter provides an example of conceptual categorial symmetry applied to the lambda calculus. In Section 5.1 , we introduce the proposition-as-types interpretation of the expressions M : a of typed lambda calculus, where “ a ” is a type (a proposition) of a term M (a proof of this proposition “ a ”), with the set of equational axiom schemas (rewriting rules). It is well known that a categorial model is a Categorial Closed Category (CCC) with products and exponentiation objects for types and lambda terms as its arrows. Then we consider how an intuitionistic sequent in Section 4.3 can be used for the lambda calculus, and the fixed-point operator extensions for the untyped lambda calculus. With such an extension, we can simulate recursive definitions, and hence obtain the full computational power for such a programming language. So, in Section 5.2 we introduce the reflexive objects in the CCC for a categorial interpretation of fixed-point operators. Then we show how we can use a CCC category C provided by the categorial symmetry (CoCC) with the symmetry-closure functor T e : C ↓ C → C , in order to define for each its reflexive object b a subcategory ER b of idempotents on b . Such a category ER b of idempotents on b is used in the next Section 5.3 to support the fixed-point operators. In fact, we show that this conceptually closed category ER b by the symmetry-closure functor T e is a CCC as well.
In Section 5.4 , we demonstrate that each idempotent object of ER b , f ˜ \= T e ( J ( f ) ) , where f is an idempotent arrow (a term of untyped lambda calculus) in a CCC category C , has a fixed-point operator. Thus, a CCC category C with reflexive objects, having categorial symmetry (CoCC), is a model for untyped lambda calculus with fixed-point operators. The categorial symmetry permits to distinguish a program (an arrow f of C ) viewed as such, from the same program viewed as data (a conceptualized object f ˜ \= T e ( J ( f ) ) of C ).
Finally, in Section 5.5 we generalize the application of internal symmetry to idempotent completion, topological K-theory and the universal property of the Karoubi envelope.
Chapter 6 : This chapter provides an example of conceptual categorial symmetry applied to the Labeled Transition Systems (LTS). In Section 6.1 , we introduce the transition systems (directed graphs) and their bisimulations. We provide an example of nondeterministic mobile processes as well. In Section 6.2 , we consider the finite trees obtained by unfolding LTS. These finite trees are based on the meet-semilattice monoid of labels A ∗ ordered by prefix, which defines a locally posetal 2-category A , and hence we show that it is just a symmetry-extended category. So, we introduce the finite labeled trees (FLT) as a set X of paths in which extensions are the stings in A ∗ . Then, in Section 6.3 we define a new category Z with the objects FLTs, and arrows betweem them such that increment the agreement between the paths of FLTs (for each arrow, its target FLT object has better agreement (of proper paths) than its source FLT object), and we show that it is a symmetry-extended and locally posetal 2-category such that the 2-cells are 1-cells as well. We define the coproducts (a nondeterministic gluing the roots of two LFTs) and tensorial products in this symmetry-extended category Z .
The second part of this chapter is dedicated to the strong bisimulations between FLTs. So, in Section 6.4 we introduce the category of relations Rel and its n -dimensional levels, in order to be able to represent the transition systems and strong bisimulation as the greatest fixed points in the n -dimensional level Rel 3 , and show that Rel is a symmetry-extended category with the pullback square diagrams. In the next Section 6.5 , we show that each transition system, represented by a finite tree M with nodes labeled by a monoid N ∗ of natural numbers (a tree M ⊂ N ∗ is a prefix closed subset), defines a pullback square diagram in Rel , which is an object in Rel 3 , and hence in Rel 3 we can represent this transition system as a fixed-point object. Finally, in Section 6.6 we also define the strong bisimulation as the greatest fixed point in the n -dimensional level Rel 3 . In this proof, we use the coinductive definition of bisimilarity rules, and we discuss this bisimulation in the context of modal logic as well. The next two subsections are provided as interesting examples of logics for the application of bisimulation, by considering the mathematical concept of symmetry (knowledge invariance) for the transformation of many valued into 2-valued logic programs. We provide a new method of ontological encapsulation of a many-valued logic (e. g., based on Belnap’s bilattice) into 2-valued modal logic using semantic reflection transformations.
Chapter 7 : This chapter provides an example of conceptual categorial symmetry applied to the data integration theory, based on the DB theory given in the Appendix A , Section A.3 . In Section 7.1 , we introduce the category DB [ 5 ] with the database’s instances as object and morphisms, which are atomic and complex arrows f with their semantic based on the information flux f ˜ \= B ⊤ ( f ) where B ⊤ is the duality operator of internal symmetry, which transforms arrows (DB mappings) into objects (databases composed by all views transferred from the domain into codomain database). The identity of two arrows is defined by equality of their information fluxes. In next three subsections, we define canonical form and show the properties of the morphisms of this category and that DB is not a topos. Then we define the powerview endofunctor and monad T : DB → DB , and demonstrate the duality property of the DB category. In Section 7.2 , we consider the properties of the objects of the DB category, database federation and separation operators for the objects of DB , and the strong (behavioral) and weak observational equivalences between the objects (databases) of DB .
The principal part of this chapter is presented in Section 7.3 , dedicated to the internal symmetry of DB with a fundamental theorem, which demonstrates that DB is a symmetry-extended category. In Subsection 7.3.1 , we introduce the (co)products, while in Subsection 7.3.2 it is extended to all (co)limits and to exponentiation, and we show that DB is not a CCC. The final Subsection 7.3.3 is dedicated to Kleisli semantics, by considering the monad T (introduced in Section 7.1 ) as denotational semantics for database mappings. It is shown that the Kleisly category DB T is isomorphic to DB and can be “internalized” in DB by the faithful and forgetful functor. In Section 7.4 , we define the partial ordering ⪯ for objects (databases) of DB , extended to morphisms (based on categorial symmetry) as well: 2-cells of the 2-category DB are elements of this partial ordering. Each 2-cell is represented in DB as an ordinary monomorphism (1-cell). In Subsection 7.4.1 , we introduce the matching tensor product ⊗ : DB × DB → DB and we show that DB is a strictly symmetric idempotent monoidal category. The merging operator is defined for each database (object) A by endofunctor A ⊕ _ : DB → DB in Subsection 7.4.2 , while in Subsection 7.4.3 , we provide the universal algebraic properties of the DB category. The matching and merging operators are meet and join operators of the database lattice w.r.t partial database ordering ⪯. So, in Subsection 7.4.4 , we introduce the complete lattice L DB for the partial ordering ⪯ of the objects (databases) of DB with bottom ⊥ 0 and top Υ objects. This complete lattice is just a subcategory DB I of DB , composed by only monomorpisms (partial ordering ⪯), and we show that DB I is an algebraic lattice of databases. Finally, we show that DB is concrete, locally small and a locally, finitely presentable category. The top object Υ, which is the matching monoidal unit, is finitely presentable as well.
Finally, in Section 7.5 we define the hom-objects in DB and we demonstrate that DB with matching tensor product ⊗ is an enriched monoidal closed category. So, in Subsection 7.5.1 we show that DB is a V-category enriched over itself: the category DB is an object of V-cat and the powerview endofunctor (enriched monad) T : DB → DB is an arrow in V-cat. In Subsection 7.5.2 , instead, we provide an internalized Yoneda embedding to the DB category, by the contravariant functor H ‾ : DB OP → DB DB .
Acknowledgments and short history of this book
This book is an extension of the basic work published in my second PhD thesis from 1994 to 1998 at “La Sapienza,” Roma. I worked with a number of good professors and research in logic-based AI, and especially in the research group of my PhD advisor, Professor M. Lenzerini, who in that period was the chief of the PhD programs and research in knowledge basis and AI. However, another department of mathematics organized a seminar (a graduate course) for Professor Giuseppe Longo, Director of Ecole Normal at Paris, for his recent book in category theory [ 11 ]. I was one of the rare PhD students from computer science to follow this optional seminar, because a major part has been constituted by professors and senior post-doc research in mathematics. My background in category theory was at a very abstract level [ 12 ], by studding it by myself both with universal algebra in the second part of the 1980s, so I could follow it with good understanding. This course was prevalently based on the significative applications of the category theory in various fields of computer science (as CCC models of typed lambda calculus, for example). This was probably the reason that Giuseppe noted my presence and, at the end of his seminar, offered me his book with personal dedication.
This event completely changed my original PhD program. I abandoned all of my previously developed work on my thesis and decided to begin this new scientific adventure for my new thesis in pure and applied category theory. I informed my adviser, Lenzerini, about this my decision, but at this point I remained alone without any help from my department, because not one of them had the specific knowledge in this abstract mathematics field. I warmly thank Giuseppe Longo, who immediately confirmed the originality of my mathematical work and was accepted to become my second advisor after the first version of my PhD thesis at the end of 3 years in the standard PhD program. Longo also invited Professor Sergei Soloviev to verify the mathematical correctness of my first version. In this first version, Sergei found one erroneous application of this new developed category theory, but with his help, I obtained one more year in order to improve, extend and finish my thesis.
Note that during these 4 years that were dedicated to the PhD exams and development my original thesis, I was obligated to work full-time as a free-lance IT consultant for IBM, in order to economically support my family. So, after the official presentation of my thesis at the University of Torino, and the deposition of my thesis in the national Florence University Library, I was very tired and did not have the possibility for dissemination of the obtained results to the scientific community, nor the possibility to present it in the appropriate conferences. Moreover, I did not have enough experience for Latex, and hence my PhD thesis was written (with difficulty) with MS Word. After a number of years, I also lost the portable disc with original electronic copy of my PhD.
I returned again to Lenzerini’s department in 2002 as a post-doc researcher, 4 years after my PhD, to work for the European interuniversity project of Semantic Web, called the SEWASIE project IST-2001-34825. During that period, Lenzerini was the chief research leader in data integration, and it was also the very beginning of P2P data integration systems, based on first-order logic and its second-order extensions for the interdatabase mappings. All of my work in this project was just in this working logic framework, but I tried to consider many-valued logics to overcome intricate problems for the inconsistences and to find a more robust data integration P2P system, trying to overcome the strong (extensional) mapping between databases by using intensional first-order logic [ 7 ]. With support of the department, I published a dozen papers, and I developed clear ideas about the development of a new DB category for semantic mappings between databases. I warmly thank Eugenio Moggi and Giuseppe Rosolini for their invitation to a seminar at DISI Computer Science, University of Genova, Italy, December 2003, and for useful discussion that has offered me the opportunity to make some corrections and to improve an earlier version of that research.
However, no one in the department followed my ideas, and after an invitation by the Director V. S. Subrahmaninan at the UMIACS Laboratory, College Park University (Washington D. C.) in January 2005, I stopped this research for 2 years to dedicate time for mathematical problems with algebra for a generation of aggregates in temporal-probabilistic (TP) databases. We published two papers [ 13 ], [ 14 ], and I finished this work by a fundamental revision of the erroneous Subrahmaninan’s fixed-point semantics of TP-logic programs [ 15 ].
So, only after 2007 I finished the development of categorial methods applied to data integration. This work was provided in my book [ 5 ] in 2014, based on the behavioral point of view for databases. 4 This book [ 5 ] presented partially the first time the categorial symmetry to wide scientific community, as a fundamental part of my PhD thesis, and hence a number of different people asked me the electronic copy of my original PhD thesis. But I did not have it after more than 16 years, and hence I could not satisfy their interest to this pure theoretical categorial work.
Thus, I finally decided to write this book by extending the original work developed in my PhD thesis in 1998. A lot of work in category theory in last 20 years offered me also the possibility to better explain the ideas and motivation, determined intuitively by my reflections more than 20 years ago. From this distance of time, these initial intuitions appear in a new and more clear light; so that this book is not a simple rewriting of my previous work, but a deeper insight on the fundamental nature of category theory and its hidden relationships with the human mind structure and functionalities developed during a long human evolution.
Roma 2022
Zoran Majkić
Notation conventions
The symbol ≜ will be used for the explicit definition of the mathematical concepts, while the symbol “=” (also it will be used sometimes for the same fact when it is clear from the context) for the usual meaning of the equivalence of the left- and right-hand sides in the equations.
The symbol ≡ denotes standard logical equivalence, while ≐ for the binary identity predicate in the first-order logic. We denote by R \= the Tarski’s interpretation of ≐. So, for the equality we will use the standard symbol =, while for different equivalence relations we will employ the symbols ≃,≈,≖, etc. The term “iff” is used for “if and only if.”
We use logical symbols both in our formal languages and in the metalanguage. The notation slightly differs: in classical propositional and FOL, we use ∧,∨,⇒,¬ (and ∃,∀ for the FOL quantifiers). As the metasymbol for conjunction, the symbol & will be used.
In our terminology, we distinguish functions (graphs of functions) and maps. A (graph of) function from X to Y is a binary relation F ⊆ X × Y (subset of Cartesian product of the sets X and Y ) with domain A satisfying the functionality condition ( x , y ) ∈ F & ( x , z ) ∈ F implies y \= z , and the triple ⟨ f , X , Y ⟩ is then called a map (or morphism in a category) from A to B , denoted by f : X → Y as well. The composition of functions is denoted by g · f , so that ( g · f ) ( x ) \= g ( f ( x ) ) , while the composition of mappings (in a given category) by g ∘ f . N denotes the set of natural numbers. Here is some other set-theoretic notation:
-
The symbol N is used for the set of natural numbers, while ∅ denotes the empty set;
-
P ( X ) denotes the power set of a set X , and X n ≜ X × ⋯ × X ︷ n the n -ary Cartesian product, and Y X denotes the set of all functions from X to Y ;
-
We use ⊆ for inclusion, ⊂ for proper inclusion (we use ≤,⪯,⊑ for partial orders), and X ⊆ ω Y denotes that X is a finite subset of an infinite set Y . By X \ Y or X − Y , we denote the set difference between the set X and set Y ;
-
R − 1 is the converse of a binary relation R ⊆ X × Y and R ‾ is the complement of R (equal to ( X × Y ) \ R );
-
id X is the identity map on a set X . | X | denotes the cardinality of a set (or list) X ;
-
For a set of elements x 1 , … , x n ∈ X , we denote by x the sequence (or tuple ) ( x 1 , … , x n ) , and if n \= 1 simply by x 1 , while for n \= 0 the empty tuple <>. An n -ary relation R , with n \= ar ( R ) ≥ 1 , is a set (also empty) of tuples x i with | x i | \= n , with < > ∈ R (the empty tuple is a tuple of every relation);
-
By π K ( R ) , where K \= [ i 1 , … , i n ] is a sequence of indexes with n \= | K | ≥ 1 we denote the projection of R with columns defined by ordering in K . If | K | \= 1 , we write simply π i ( R ) .
A relational symbol (a predicate letter in FOL) r and its extension (relation table) R will be called often shortly as a “relation,” where it is clear from the context. If R is the extension of a relational symbol r , we write R \= ‖ r ‖ .