Next Article in Journal
Multi-Objective Optimal Sizing of HRES under Multiple Scenarios with Undetermined Probability
Next Article in Special Issue
The Axiomatic Approach to Non-Classical Model Theory
Previous Article in Journal
A Deep Neural Network Approach to Solving for Seal’s Type Partial Integro-Differential Equation
Previous Article in Special Issue
Logics of Statements in Context-Category Independent Basics
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Representing 3/2-Institutions as Stratified Institutions

by
Răzvan Diaconescu
Simion Stoilow Institute of Mathematics of the Romanian Academy, 010702 Bucharest, Romania
Mathematics 2022, 10(9), 1507; https://doi.org/10.3390/math10091507
Submission received: 26 February 2022 / Revised: 25 April 2022 / Accepted: 28 April 2022 / Published: 1 May 2022
(This article belongs to the Special Issue Logic and Computation)

Abstract

:
On the one hand, the extension of ordinary institution theory, known as the theory of stratified institutions, is a general axiomatic approach to model theories where the satisfaction is parameterized by states of the models. On the other hand, the theory of 3 / 2 -institutions is an extension of ordinary institution theory that accommodates the partiality of the signature morphisms and its syntactic and semantic effects. The latter extension is motivated by applications to conceptual blending and software evolution. In this paper, we develop a general representation theorem of 3 / 2 -institutions as stratified institutions. This enables a transfer of conceptual infrastructure from stratified to 3 / 2 -institutions. We provide some examples in this direction.

1. Introduction

1.1. Stratified Institutions

Institution theory is a general axiomatic approach to model theory that was originally introduced in computing science by Goguen and Burstall [1]. In institution theory, all three components of logical systems—namely the syntax, the semantics, and the satisfaction relation between them—are treated fully abstractly by relying heavily on category theory. This approach has impacted significantly both theoretical computing science [2] and model theory as such [3] (Both mentioned monographs rather reflect the stage of development of institution theory and its applications at the moment they were published or even before that. In the meantime, a lot of additional important developments have already taken place. At this moment, the literature on institution theory and that around it has been developed over the course of four decades or so and is rather vast.) In computing science, the concept of institution has emerged as the most fundamental mathematical structure of logic-based formal specifications, a great deal of theory being developed at the general level of abstract institutions. In model theory, the institution theoretic approach meant an axiomatic-driven redesign of core parts of model theory at a new level of generality—namely that of abstract institutions—independent of any concrete logical system. institution theoretic approach Moreover, there is a strong interdependency between the two lines of developments.
The institution theoretic approach to model theory has also been refined in order to address directly some important nonclassical model theoretic aspects. One such direction is motivated by models with states, appear in myriad forms in computing science and logic. A typical important class of examples is given by the Kripke semantics (of modal logics), which itself comes in a wide variety of forms. Moreover, the concept of model with states goes beyond Kripke semantics, at least in its conventional acceptations. For instance, various automata theories provide another important class of examples. The institution theory answer to “models with states” is given by the theory of stratified institutions introduced in [4,5] and further developed or invoked in works such as [6,7,8], etc.

1.2. 3/2-Institutions

Although in mainstream institution theory signature morphisms are considered in their full generality, they are always implicitly assumed to be total. However, there are few contexts that on the one hand require partial translations between signatures, and on the other hand require an institution theoretic treatment. Two such contexts are conceptual blending [9,10,11] and software evolution [12]. In [13], we have developed an extension of the ordinary concept of institution [1,3] that accommodates implicitly partiality of the signature morphisms in order to constitute foundations for the above-mentioned application domains. This new structure is called 3 / 2 -institution, and mathematically, is significantly more complex than ordinary institutions. One way to develop the theory of 3 / 2 -institutions is by representing them in another institution theory that enjoys a higher level of development, and through such a representation to import concepts and results from there. With this paper, we take a few steps in this direction.
The semantic effect of the (implicit) partiality of the signature morphisms in 3 / 2 -institutions is that the reduct of a model with respect to a given signature morphism is a set of models rather than a single model. This goes at the heart of our representation of 3 / 2 -institutions as stratified institutions: in the representation the states of a model consists of the set of its reducts (with respect to a given signature morphism).

1.3. Summary and Contributions

  • In a preliminary section, we review (1) the category theory required by our work, (2) the concept of institution, (3) the concept of stratified institution, and (4) the concept of 3 / 2 -institution. Examples are also discussed briefly.
  • The main section of the paper defines a representation of 3 / 2 -institutions as stratified institutions. We prove the correctness of this representation, i.e., that it satisfies the axioms of a stratified institution.
  • One consequence is a further representation to ordinary institution theory via the adjunction from stratified institutions to ordinary institutions defined in [14] (formerly presented as a mere representation in [6]). Another consequence is the import of concepts of semantic connectives. The last consequence that we develop is about the relationship between model amalgamation properties in the representation and in the original 3 / 2 -institution.

2. Preliminaries

2.1. Categories

In general, we stick to the established category theoretic terminology and notations, such as in [15]. However, unlike there, we prefer to use the diagrammatic notation for compositions of arrows in categories, i.e., if f : A B and g : B C are arrows, then f ; g denotes their composition. The domain of an arrow/morphism f is denoted by f while its codomain is denoted by f . S et denotes the category of sets and functions and C A T the “quasi-category” of categories and functors (this means it is bigger than a category since the hom-sets are classes rather than sets). The class of objects of a category C is denoted by | C | , and its class of arrows simply by C (so by f C we mean that f is an arrow in C ).
The dual of a category C (obtained by formally reversing its arrows) is denoted by C .
The following functor from [13] extends the well-known power-set construction from sets to categories. Given a category C , the power-set category P C is defined as follows:
  • | P C | = { A A | C | } and P C ( A , B ) = { H C h A , h B f o r e a c h h H } ;
  • Composition is defined by H 1 ; H 2 = { h 1 ; h 2 h 1 H 1 , h 2 H 2 , h 1 = h 2 } ; then 1 A = { 1 a a A } are the identities.
A partial function  f : A B is a binary relation f A × B such that ( a , b ) , ( a , b ) f implies b = b . The definition domain of f, denoted dom ( f ) is the set { a A b ( a , b ) f } . A partial function f : A B is called total when dom ( f ) = A . We denote by f 0 the restriction of f to dom ( f ) × B ; this is a total function. Partial functions yield a subcategory of the category of binary relations, denoted P f n . Note that dom ( f ; g ) = { a dom ( f ) f 0 ( a ) dom ( g ) } . If A A by f ( A ) , we denote the set { b a A , ( a , b ) f } . Then, f ( A ) is denoted by Im ( f ) . It is easy to check the following (though not as immediate as in the case of the total functions): given partial functions f : A B and g : B C and A A , we have that ( f ; g ) ( A ) = g ( f ( A ) ) .
A 3 / 2 -category is just a category such that its hom-sets are partial orders, and the composition preserves these partial orders. In the literature, 3 / 2 -categories are also called ordered categories or locally ordered categories. In terms of enriched category theory [16], 3 / 2 -category are just categories enriched by the monoidal category of partially ordered sets.
Given a 3 / 2 -category C by C , we denote its “vertical” dual which reverses the partial orders, and by C its double dual C . Given 3 / 2 -categories C and C , a strict 3 / 2 -functor  F : C C is a functor C C that preserves the partial orders on the hom-sets. Lax functors relax the functoriality conditions F ( h ) ; F ( h ) = F ( h ; h ) to F ( h ) ; F ( h ) F ( h ; h ) (when h = h ) and F ( 1 A ) = 1 F ( A ) to 1 F ( A ) F ( 1 A ) . If these inequalities are reversed, then F is an oplax functor. This terminology complies to [17] and to more recent literature, but in earlier literature [18,19] this is reversed. Note that oplax + lax = strict. In what follows, whenever we say “ 3 / 2 -functor” without the qualification “lax” or “oplax” we mean a functor which is either lax or oplax.
Lax functors can be composed like ordinary functors; we denote by 3 / 2 C A T the category of 3 / 2 -categories and lax functors.
Most typical examples of a 3 / 2 -category are P f n —the category of partial functions in which the ordering between partial functions A B is given by the inclusion relation on the binary relations A B and P o S E T —the category of partially ordered sets (with monotonic mappings as arrows) with orderings between monotonic functions being defined point-wise ( f g if and only if f ( p ) g ( p ) for all p).
The following 3 / 2 -category of [13] is instrumental for the concept of 3 / 2 -institution. The category C A T P has categories as objects and has arrows/morphisms C C as mappings C P C . The composition in C A T P is defined as follows: given F : C C and F : C C in C A T P , then their composition is the mapping C P C that maps each arrow f C to the set f F f F f .
By considering the point-wise partial order on the class of the mappings C P C , we obtain a 3 / 2 -category denoted 3 / 2 ( C A T P ) . Note that in the above definition, we do not require that the mappings C P C are functors of any kind, not even morphisms of graphs, they are just mappings between classes of arrows. In fact, the above composition in general does not preserve functoriality properties.

2.2. Institutions

The original standard reference for institution theory is [1]. An institution
I = ( Sign I , Sen I , Mod I , I )
consists of:
  • A category Sign I whose objects are called signatures.
  • A sentence functor Sen I : Sign I S et defining for each signature a set whose elements are called sentences over that signature and defining for each signature morphism a sentence translation function.
  • A model functor Mod I : ( Sign I ) C A T defining for each signature Σ the category Mod I ( Σ ) of Σ-models and Σ -model homomorphisms, and for each signature morphism φ the reduct functor Mod I ( φ ) .
  • For every signature Σ , a binary Σ-satisfaction relation  Σ I | Mod I ( Σ ) | × Sen I ( Σ ) .
Such that for each morphism φ , the satisfaction condition
M Σ I Sen I ( φ ) ρ   i f   a n d   o n l y   i f   Mod I ( φ ) M Σ I ρ
holds for each M | Mod I ( φ ) | and ρ Sen I ( φ ) . This can be expressed as the satisfaction relation ⊨ being a natural transformation:
Mathematics 10 01507 i001
( [ | Mod ( Σ ) | 2 ] represents the “set” of the “subsets” of | Mod ( Σ ) | ).
We may omit the superscripts or subscripts from the notations of the components of institutions when there is no risk of ambiguity. For example, if the considered institution and signature are clear, we may denote Σ I just by ⊨. For M = Mod ( φ ) M , we say that M is the φ-reduct of M . The institution is called discrete when the model categories Mod ( Σ ) are discrete (i.e., do not posses nonidentity arrows).
The literature (e.g., [2,3]) shows myriads of logical systems from computing or from mathematical logic captured as institutions. In fact, an informal thesis underlying institution theory is that any “logic” may be captured by the above definition. While this should be taken with a grain of salt, it certainly applies to any logical system based on satisfaction between sentences and models of any kind.

2.3. Stratified Institutions

Informally, the main idea behind the concept of stratified institution, as introduced in [5], is to enhance the concept of institution with “states” for the models. Thus, each model M comes equipped with a set [ [ M ] ] that has to satisfy some structural axioms. The following definition has been given in [6] and represents an important upgrade of the original definition from [5], the main reason being to make the definition of stratified institutions really usable for doing in-depth model theory. The latter has suffered another different upgrade in [7], which is, however, strongly convergent to the upgrade proposed in [6].
A stratified institution  S is a tuple
( Sign S , Sen S , Mod S , [ [ _ ] ] S , S )
consisting of:
  • Category Sign S of signatures;
  • A sentence functor Sen S : Sign S S et ;
  • A model functor Mod S : ( Sign S ) C A T ;
  • A “stratification” lax natural transformation [ [ _ ] ] S : Mod S SET , where SET : Sign S C A T is a functor mapping each signature to S et ;
  • A satisfaction relation between models and sentences which is parameterized by model states, M ( S ) Σ w ρ , where w [ [ M ] ] Σ S such that the following satisfaction condition
    Mod S ( φ ) M ( S ) Σ [ [ M ] ] φ w ρ   i f   a n d   o n l y   i f   M ( S ) Σ w Sen S ( φ ) ρ
    holds for any signature morphism φ , M | Mod S ( φ ) | , w [ [ M ] ] φ S , ρ Sen S ( φ ) .
Like for ordinary institutions, when appropriate, we also use simplified notations without superscripts or subscripts that are clear from the context.
The lax natural transformation property of [ [ _ ] ] is depicted in the diagram below
Mathematics 10 01507 i002
with the following compositionality property for each Σ -model M :
[ [ M ] ] ( φ ; φ ) = [ [ M ] ] φ ; [ [ Mod ( φ ) M ] ] φ .
Moreover, the natural transformation property of each [ [ _ ] ] φ is given by the commutativity of the following diagram:
Mathematics 10 01507 i003
The satisfaction relation can be presented as a natural transformation : Sen [ [ Mod ( _ ) S et ] ] , where the functor [ [ Mod ( _ ) S et ] ] : Sign S et is defined by
For each signature Σ | Sign | , [ [ Mod ( Σ ) S et ] ] denotes the set of all the mappings f : | Mod ( Σ ) | S et such that f ( M ) [ [ M ] ] Σ ;
For each signature morphism φ : Σ Σ
[ [ Mod ( φ ) S et ] ] ( f ) ( M ) = [ [ M ] ] φ 1 ( f ( Mod ( φ ) ( M ) ) ) .
A straightforward check reveals that the satisfaction condition (2) appears exactly as the naturality property of ⊨:
Mathematics 10 01507 i004
Ordinary institutions are the stratified institutions for which [ [ M ] ] Σ is always a singleton set. In the upgraded definition, we have removed the surjectivity condition on [ [ M ] ] φ from the definition of the stratified institutions of [5] and rather make it explicit when necessary. This is motivated by the fact that most of the results developed do not depend upon this condition which, however, holds in all examples known by us. On the one hand, when modelling Kripke semantics abstractly, [ [ M ] ] φ are even identities, which makes [ [ _ ] ] a strict rather than a lax natural transformation. However, on the other hand, there are interesting examples when the stratification is properly lax. One such example is provided by the representation result of this paper.
The following very expected property does not follow from the axioms of stratified institutions, hence we impose it explicitly.
Assumption 1.
In all considered stratified institutions, the satisfaction is preserved by model isomorphisms, i.e., for each Σ-model isomorphism h : M N , each w [ [ M ] ] Σ , and each Σ-sentence ρ,
M w ρ i f   a n d   o n l y   i f N [ [ h ] ] w ρ .
The literature on stratified institutions shows many model theories that are captured as stratified institutions. Here, we recall some of them in a very succinct form; in a more detailed form, one may find them in [6,14].
  • In modal propositional logic ( M P L ), the category of the signatures is S et ; Sen ( P ) is the set of the usual modal sentences formed with the atomic propositions from P, and the P-models are the Kripke structures ( W , M ) , where W = ( | W | , W λ ) consists of a set of “possible worlds” | W | and an accessibility relation W λ | W | × | W | , and M : | W | 2 P . The stratification is given by [ [ ( W , M ) ] ] = | W | .
  • In first-order modal logic ( M F O L ), the signatures are first-order logic ( F O L ) signatures consisting of sets of operation and relation symbols structured by their arities. The sentences extend the usual construction of F O L sentences with the modal connectives □ and ⋄. The models for a signature Σ are Kripke structures ( W , M ) , where W is like in M P L but M : | W | | Mod F O L ( Σ ) | subject to the constraint that the carrier sets and the interpretations of the constants are shared across the possible worlds. The stratification is like in M P L .
  • Hybrid logics refine modal logics by adding explicit syntax for the possible worlds such as nominals and @. Institutions of hybrid logics upgrade the syntactic and the semantic components of the institutions of modal logics accordingly.
  • Multimodal logics exhibit several modalities instead of only the traditional ⋄ and □ and, moreover, these may have various arities. If one considers the sets of modalities to be variable, then they have to be considered as part of the signatures. Each of the stratified institutions discussed in the previous examples admit an upgrade to the multimodal case.
  • In a series of works on modalization of institutions, Refs. [20,21,22] modal logic and Kripke semantics are developed by abstracting away details that do not belong to modality, such as sorts, functions, predicates, etc. This is achieved by extensions of abstract institutions (in the standard situations meant in principle to encapsulate the atomic part of the logics) with the essential ingredients of modal logic and Kripke semantics. The result of this process, when instantiated to various concrete logics (or to their atomic parts only), generates uniformly a wide range of hierarchical combinations between various flavors of modal logic and various other logics. Concrete examples discussed in [20,21,22] include various modal logics over nonconventional structures of relevance in computing science, such as partial algebra, preordered algebra, etc. Various constraints on the respective Kripke models, many of them having to do with the underlying nonmodal structures, have also been considered. All these arise as examples of stratified institutions, such as the examples presented above in the paper. An interesting class of examples that has emerged quite smoothly out of the general works on hybridization (i.e., modalization including also hybrid logic features) of institutions is that of multilayered hybrid logics that provide a logical base for specifying hierarchical transition systems (see [23]).
  • Open first order logic ( O F O L ). This is a F O L instance of S t ( I ) , the “internal stratification” abstract example developed in [5]. An O F O L signature is a pair ( Σ , X ) consisting of F O L signature Σ and a finite block of variables. To any O F O L signature ( Σ , X ) , there corresponds a F O L signature Σ + X that adjoins X to Σ as new constants. Then, Sen O F O L ( Σ , X ) = Sen F O L ( Σ + X ) , Mod O F O L ( Σ , X ) = Mod F O L ( Σ ) , [ [ M ] ] Σ , X = M X , i.e., the set of the “valuations” of X to M and for each ( Σ , X ) -model M, each w M X , and each ( Σ , X ) -sentence ρ , we define ( M ( Σ , X O F O L ) w ρ ) = ( M w Σ + X F O L ρ ) , where M w is the expansion of M to Σ + X such that M X w = w (i.e., the new constants of X are interpreted in M w according to the “valuation” w).
  • Various kinds of automata theories can be presented as stratified institutions. For instance, the deterministic automata (for regular languages) have the set of the input symbols as signatures, the automata A are the models and the words are the sentences. Then, [ [ A ] ] is the set of the states of A and A s α if and only if α is recognized by A from the states s.

2.4. 3 / 2 -Institutions

The concept of 3 / 2 -institution has been introduced in [13]. Our presentation of 3 / 2 -institutions follows that paper. A 3 / 2 -institution  I = ( Sign I , Sen I , Mod I , I ) consists of
  • A 3 / 2 -category Sign I —called the category of the signatures;
  • A 3 / 2 -functor Sen I : Sign I P f n —called the sentence functor;
  • A lax 3 / 2 -functor Mod I : ( Sign I ) 3 / 2 ( C A T P ) — called the model functor, such that Mod ( φ ) is a lax functor for each signature morphism φ ;
  • For each signature Σ | Sign I | , a satisfaction relation  Σ I | Mod I ( Σ ) | × Sen I ( Σ ) .
Such that for each morphism φ Sign I , the satisfaction condition
M φ I Sen I ( φ ) ρ i f   a n d   o n l y   i f M φ I ρ
holds for each M | Mod I ( φ ) | , each M | Mod I ( φ ) M | , and each ρ dom ( Sen I ( φ ) ) .
The difference between 3 / 2 -institutions and ordinary institutions, from now on called 1-institutions, is determined by the 3 / 2 -categorical structure of the signature morphisms which propagates to the sentence and to the model functors. Consequently, the satisfaction condition (5) takes an appropriate format. Thus, for each signature morphism φ , its corresponding sentence translation Sen ( φ ) is a partial function Sen ( φ ) Sen ( φ ) and, moreover, whenever φ θ , we have that Sen ( φ ) Sen ( θ ) . The sentence functor Sen can be either lax or oplax, and depending on how this is, we may call the respective 3 / 2 -institution a lax or oplax 3 / 2 -institution. In many concrete situations, it happens that Sen is strict, while some general results require it to be either lax, oplax or strict.
The model reduct Mod ( φ ) is a lax functor Mod ( φ ) P Mod ( φ ) , implying that for each Σ -model M we have a class of reductsM rather than a single reduct. In concrete examples, this is a direct consequence of the partiality of φ : in the reducts, the interpretation of the symbols on which φ is not defined is unconstrained, therefore there may be many possibilities for their interpretations. “Many” here includes also the case when there is no interpretation.
The fact that Mod is a 3 / 2 -functor implies also that whenever φ θ we have Mod ( θ ) Mod ( φ ) , i.e., Mod ( θ ) M Mod ( φ ) M , etc.
The lax aspect of Mod means that for signature morphisms φ and φ , such that φ = φ , and for any φ -model M , we have that
Mod ( φ ) ( Mod ( φ ) M ) Mod ( φ ; φ ) M
and for each signature Σ and for each Σ -model M that
M Mod ( 1 Σ ) M .
The lax aspect of the reduct functors Mod ( φ ) means that for model homomorphisms h 1 , h 2 , such that h 1 = h 2 , we have that
Mod ( φ ) ( h 1 ) ; Mod ( φ ) ( h 2 ) Mod ( φ ) ( h 1 ; h 2 )
and for each M Mod ( φ ) and each M Mod ( φ ) M that
1 M Mod ( φ ) 1 M .
The model homomorphisms do not yet play any role in conceptual blending or in other envisaged applications of 3 / 2 -institutions. Hence, the lax aspect of model functors is for the moment a purely theoretical feature which is, however, supported naturally by all examples. Another technical note: according to the definition of 3 / 2 -institutions. At the abstract level, there are several implicit ways to consider the “totality” of signature morphisms in terms of their syntactic and semantic effects. The following concepts have been introduced in [13]. A signature morphism φ in a 3 / 2 -institution
  • Is Sen -maximal when Sen ( φ ) is total;
  • Is Mod -maximal when for each φ -model M , Mod ( φ ) M is a singleton;
  • Is total when it is both Sen -maximal and Mod -maximal;
  • Is Mod -strict when for each signature morphism θ , such that θ = φ , we have that
    Mod ( φ ) ; Mod ( θ ) = Mod ( θ ; φ ) .
In general, in many concrete situations of interest, a signature morphism is Mod -strict whenever it is total. In [13], there is even a result of a general nature that supports this fact.
The seminal paper [13] presents in detail a series of examples of 3 / 2 -institutions. Here, we recall from there three classes of examples in a very succinct form.
  • Common examples of institutions can be turned into 3 / 2 -institutions by introducing explicit partiality at the level of the signature morphisms. This means that certain sort/operation/relation symbols are skipped by the respective (partial) signature morphism. This induces a further partiality on the sentence translations as only the sentences that does not contain “skipped” symbols can be translated. The model reducts may interpret freely the “skipped” symbols, hence in principle one model may have several reducts along the same signature morphisms. In [13], this procedure was illustrated on the institutions of propositional logic (hence 3 / 2 P L ) and of many-sorted algebra (hence 3 / 2 M S A ). In the latter case, several degrees of partiality can be introduced.
  • The 3 / 2 -institutional seeds of [13] provide a generic way to define 3 / 2 -institutions. Some of the 3 / 2 -institution that are based on some form of explicit partiality can also be presented in this way.
  • We may turn any abstract institution into a proper 3 / 2 -institution by adding weights to the signature morphisms, which means that the signature morphisms come as pairs ( φ , k ) (in [13] denoted φ k ), where φ is a signature morphism of the ordinary institution and k { 0 , 1 } . The signatures stay the same. This construction is extended to sentences and models in a way that yields the sentence and the model functors proper lax functors. Although this is a mere technical construction without any known applications, it has an important theoretical significance because it provides a class of examples where the 3 / 2 -categorical structures involved have nothing to do with any form of partiality.

3. The Canonical Stratified Institution Associated to a 3 / 2 -Institution

The representation of 3 / 2 -institutions as stratified institutions is in general partial in the sense that the signature morphisms that are subject to the representation have to satisfy certain technical conditions. Two of these are defined below. The second one appears as a 3 / 2 -institution theoretic replica of a property from ordinary institution theory [3] with the same name but in a somewhat reverse form. While the former concept is a lifting concept, the 3 / 2 -institution theoretic one may have an opposite appearance because it goes along the direction of the model reduct. However, this is misleading because in 3 / 2 -institutions, due to the implicit partiality of the signature morphisms, reducts also have a nature of expansion. Towards the end of this section, we discuss what these two properties mean in concrete situations. The constructions and the results in this section are developed at the abstract level. It would be helpful if the reader would interpret them in the context of the examples of 3 / 2 -institutions listed above. This should be a rather straightforward exercise, especially if one considers the discussion on the technical conditions at the end of this section.
Definition 1.
In any 3 / 2 -institution, a signature morphism χ
  • Is fiber-small when for each χ -model M we have that Mod ( χ ) M is a set;
  • Is quasi-representable when for each χ -model homomorphism h : M M 0 , and for each N Mod ( χ ) M there exists and unique model homomorphism h N Mod ( χ ) h , such that h N = N .
We now fix a 3 / 2 -institution I = ( Sign , Sen , Mod , ) and gradually build the entities that define its associated stratified institution I s = ( Sign s , Sen s , Mod s , [ [ _ ] ] , s ) . The main idea of this representation is that the reducts of a model M are considered to be its states. In order to make precise sense of this idea, we have to change the concept of signature: in the stratified institution, a signature is a certain signature morphism χ in I , such that M is a χ -model. It is the abstract nature of the concept of institution that allows for such a conceptual twist.
Definition 2
(The category of the signatures). The category Sign s has the objects the fiber-small quasi-representable signature morphisms χ of Sign . The arrows χ χ in Sign s are pairs of signature morphisms ( φ , θ ) , such that
  • Both φ and θ are total and Mod -strict;
  • χ ; θ φ ; χ .
    Mathematics 10 01507 i005
The composition in Sign s is defined as pairwise composition in Sign , i.e., ( φ , θ ) ; ( φ , θ ) = ( φ ; φ , θ ; θ ) , as shown in the following diagram:
Mathematics 10 01507 i006
An arrow ( φ , θ ) : χ χ is strict when χ ; θ = φ ; χ .
We have the correctness of definition 1:
Proposition 1.
Sign s is a category.
Proof. 
We have to prove that the composition preserves the preorder property. This follows from the monotonicity of the composition in Sign (we use the notations from (7)):
χ ; θ ; θ φ ; χ ; θ φ ; φ ; χ .
It remains to note that totality and Mod -strictness when considered together are preserved by the composition of the signature morphisms. ( Mod -strictness supports the preservation of Mod -maximality by the composition of signature morphisms.) □
Definition 3
(The sentence translation functor). For any Sign s signature χ, we define Sen s ( χ ) = Sen ( χ ) and for any Sign s -morphism ( φ , θ ) , we define Sen s ( φ , θ ) = Sen ( φ ) .
Proposition 2.
Sen s is a functor Sign s S et .
Proof. 
This is an immediate consequence of the functoriality of Sen and of the totality hypothesis, which guarantees that Sen ( φ ) is indeed a total function. □
Definition 4
(The model reduct functor). For any Sign s signature χ, we define Mod s ( χ ) = Mod ( χ ) and for any Sign s -morphism ( φ , θ ) we define Mod s ( φ , θ ) = Mod ( θ ) .
Proposition 3.
Mod s is a functor ( Sign s ) C A T .
Proof. 
This is an immediate consequence of the functoriality of Mod and of the Mod -maximality and Mod -strictness hypothesis (on θ ). □
Definition 5
(The stratification). For any Sign s signature χ, we define
  • [ [ M ] ] χ = Mod ( χ ) M for any M | Mod s ( χ ) | ( = | Mod ( χ ) | ) ;
  • [ [ h ] ] χ N = h N for any χ -model homomorphism h Mod s ( χ ) ( = | Mod ( χ ) | ) and χ -model N Mod ( χ ) ( h ) .
For each signature morphism ( φ , θ ) : χ χ in Sign s , we define:
  • [ [ M ] ] ( φ , θ ) N = Mod ( φ ) N for any M | Mod s ( χ ) | and any N [ [ M ] ] χ .
Proposition 4.
[ [ _ ] ] is a lax natural transformation Mod s SET .
Proof. 
The correctness of definition 5 is justified as follows:
  • [ [ M ] ] χ is a set by the fiber-small assumption on χ .
  • The definition of [ [ h ] ] χ N relies on the quasi-representability assumption on χ .
  • [ [ M ] ] ( φ , θ ) N represents a single model because φ is Mod -maximal.
  • That [ [ M ] ] ( φ , θ ) ( [ [ M ] ] χ ) [ [ Mod s ( φ , θ ) M ] ] χ is shown as follows:
    [ [ M ] ] ( φ , θ ) ( [ [ M ] ] χ ) = Mod ( φ ) ( Mod ( χ ) M ) definition of [ [ _ ] ] Mod ( φ ; χ ) M Mod lax Mod ( χ ; θ ) M χ ; θ φ ; χ , Mod monotone = Mod ( χ ) ( Mod ( θ ) M ) θ Mod - strict = [ [ Mod ( θ ) M ] ] χ definition of [ [ _ ] ] χ , θ Mod - maximal = [ [ Mod s ( φ , θ ) M ] ] χ definition of Mod s .
The functoriality of [ [ _ ] ] χ : Mod s ( χ ) S et means two things:
  • That [ [ 1 M ] ] χ N = N for each χ -model M and each N Mod ( χ ) M . This is shown by the following argument. Since Mod ( χ ) is lax, it follows that 1 N Mod ( χ ) 1 M , which by the uniqueness aspect of the quasi-representability property implies that 1 N = ( 1 M ) N . Since 1 N = N , the conclusion follows.
  • That [ [ h ; h 0 ] ] χ = [ [ h ] ] χ ; [ [ h 0 ] ] χ for any χ -model homomorphisms h : M M 0 and h 0 : M 0 M 1 . In order to show that, we consider any model N Mod ( χ ) M and denote by N 0 = h N . We have that:
    h N ; h 0 N 0 Mod ( χ ) h ; Mod ( χ ) h 0 definitions of h 0 N , h 0 N 0 Mod ( χ ) ( h ; h 0 ) Mod ( χ ) lax .
    From the uniqueness aspect of the quasi-representability property of χ , it follows that
    h N ; h 0 N 0 = ( h ; h 0 ) N .
    Hence,
    [ [ h ; h 0 ] ] χ N = ( h ; h 0 ) N definition of [ [ h ; h 0 ] ] χ N = ( h N ; h 0 N 0 ) ( 8 ) = h 0 N 0 = [ [ h 0 ] ] χ ( [ [ h ] ] χ N ) definitions of N 0 , [ [ h 0 ] ] χ N 0 , [ [ h ] ] χ N .
For proving the lax natural transformation property of [ [ _ ] ] (relation ((3))), we consider a composition of signature morphisms in Sign s such as in diagrams (7), an Ω -model M , and N [ [ M ] ] χ = Mod ( χ ) M . Note that since N [ [ M ] ] χ , we have that
Mod ( φ ) N = [ [ M ] ] ( φ , θ ) N [ [ Mod s ( φ , θ ) M ] ] χ = [ [ Mod ( θ ) M ] ] χ
Then, we have:
[ [ M ] ] ( φ , θ ) ; ( φ , θ ) N =
= [ [ M ] ] ( φ ; φ , θ ; θ ) N definition of Sign s = Mod ( φ ; φ ) N definition of [ [ _ ] ] = Mod ( φ ) ( Mod ( φ ) N ) Mod functor , φ Mod - strict = [ [ Mod ( θ ) M ] ] ( φ , θ ) ( Mod ( φ ) N ) ( 9 ) , definition of [ [ _ ] ] = [ [ Mod s ( φ , θ ) M ] ] ( φ , θ ) ( Mod ( φ ) N ) definition of Mod s = [ [ Mod s ( φ , θ ) M ] ] ( φ , θ ) ( [ [ M ] ] ( φ , θ ) N ) definition of [ [ _ ] ] .
For proving the natural transformation property of [ [ _ ] ] ( φ , θ ) , under the notations from diagrams (7) by considering an Ω -model homomorphism h : M M 0 , we have to show that the diagram below commutes:
Mathematics 10 01507 i007
Let N Mod ( χ ) M , and let us denote N = Mod ( φ ) N and h = Mod ( θ ) h . Let us first prove that
Mod ( φ ) h N = h N .
On the one hand, we have:
Mod ( φ ) h N Mod ( φ ) ( Mod ( χ ) h ) definition of h N Mod ( φ ; χ ) h Mod lax Mod ( χ ; θ ) h Mod monotone , χ ; θ φ ; χ = Mod ( χ ) ( Mod ( θ ) h ) θ Mod - strict = Mod ( χ ) h .
On the other hand, we have:
Mod ( φ ) h N = Mod ( φ ) ( h N ) = Mod ( φ ) N = N .
Then, (11) follows from Mod ( φ ) h N Mod ( χ ) h and Mod ( φ ) h N = N and from the uniqueness aspect of the quasi-representability property of χ . Now, the following argument completes the proof of the natural transformation property of [ [ _ ] ] ( φ , θ ) :
[ [ Mod ( θ ) h ] ] χ ( [ [ M ] ] ( φ , θ ) N ) = [ [ Mod ( θ ) h ] ] χ ( Mod ( φ ) N ) definition of [ [ M ] ] ( φ , θ ) = h N definition of [ [ Mod ( θ ) h ] ] χ = [ [ h ] ] χ = ( Mod ( φ ) h N ) ( 11 ) = Mod ( φ ) ( h N ) Mod ( φ ) functor = [ [ M 0 ] ] ( φ , θ ) ( h N ) definition of [ [ M 0 ] ] ( φ , θ ) = [ [ M 0 ] ] ( φ , θ ) ( [ [ h ] ] χ N ) definition of [ [ h ] ] χ .
Definition 6
(The satisfaction relation). For each signature χ in Sign s , each χ -model M, each χ -model N [ [ M ] ] χ , and each χ -sentence ρ,
M ( s ) χ N ρ i f   a n d   o n l y   i f N χ ρ .
Proposition 5.
For any signature morphism ( φ , θ ) : χ χ in Sign s , any χ -model M , any N [ [ M ] ] χ , and any χ-sentence ρ:
M χ N Sen s ( φ , θ ) ρ i f   a n d   o n l y   i f Mod s ( φ , θ ) M χ ρ .
Proof. 
By similarity to (9), we have that:
Mod ( φ ) N [ [ Mod ( θ ) M ] ] χ
Then, we have:
M ( s ) χ N Sen s ( φ , θ ) ρ N χ Sen ( φ ) ρ definition of s Mod ( φ ) N χ ρ Satisfaction Condition of I Mod ( θ ) M ( s ) χ Mod ( φ ) N ρ ( 12 ) , definition of s Mod ( θ ) M ( s ) χ [ [ M ] ] ( φ , θ ) N definition of [ [ _ ] ] Mod s ( φ , θ ) M ( s ) χ [ [ M ] ] ( φ , θ ) N definition of Mod s .
By putting together propositions 1–5, we obtain:
Corollary 1.
I s = ( Sign s , Sen s , Mod s , [ [ _ ] ] , s ) is a stratified institution.
The technical conditions underlying the construction of I s imposes some restriction both on the I signature morphisms χ that play the role of Sign s -signatures and on the I signature morphisms that make up the Sign s morphisms. Let us see their significance and what they might mean in concrete situations.
  • The I signature morphisms that stand as Sign s signatures implicitly represent genuine partiality. By contrast, the I signature morphisms used for the Sign s morphisms implicitly represent genuine totality, the reason being that we want to achieve totality for the syntactic and of the semantic translations at the level of the resultant stratified institution.
  • The I signature morphisms standing as Sign s signatures have to be fiber-small and quasi-representable. The former condition is necessary for the stratifications to be sets, and in the concrete situations is very mild. Only when we are in a many-sorted context doe it amount to a certain restriction, namely that there is no partiality of the translation of the sorts.
  • In the applications, the quasi-representability condition on a signature morphism χ is less stringent than how it appears in principle.
    -
    As it is about (proper) model homomorphisms, it holds trivially in their absence. This degenerated situation is in fact the norm in the applications of the 3 / 2 -institutions, as until now there are not known applications that involve proper model homomorphisms.
    -
    When χ admits partiality only on the constants, then the quasi-representable holds.
    -
    When χ admits partiality only on the relation symbols and the model homomorphisms are “strong” (in the sense of [3]), then χ is quasi-representable, too.
  • As an example that puts together some of the situations discussed above, if we consider the 3 / 2 -institution of many sorted first-order logics with “strong” model homomorphisms, then any signature morphism that is total on the sorts and on nonconstant operation symbols qualifies as a Sign s signature.

4. Consequences of the Representation

4.1. Representing 3 / 2 -Institutions as Ordinary Institutions

In [6], a general representation of stratified institutions as ordinary institutions was developed. In [14], it is shown that this constitutes a left adjoint functor from the category S IN S of stratified institution morphisms to the category IN S of ordinary institution morphisms. Let us recall this representation from either [6] or [14]. Given a stratified institution S = ( Sign , Sen , Mod , [ [ _ ] ] , ) , the following institution S = ( Sign , Sen , Mod , ) is defined by
  • The objects of Mod ( Σ ) are the pairs ( M , w ) , such that M | Mod ( Σ ) | and w [ [ M ] ] Σ ;
  • The Σ -homomorphisms ( M , w ) ( N , v ) are the pairs ( h , w ) , such that h : M N and [ [ h ] ] Σ w = v ;
  • For any signature morphism φ : Σ Σ and any Σ -model ( M , w )
    Mod ( φ ) ( M , w ) = ( Mod ( φ ) M , [ [ M ] ] φ w ) ;
  • For each Σ -model M, each w [ [ M ] ] Σ , and each ρ Sen ( Σ )
    ( ( M , w ) Σ ρ ) = ( M Σ w ρ ) .
By “composing” the representation of 3 / 2 -institutions as stratified institutions with the representation of stratified institutions as ordinary institutions, we obtain the following representation of 3 / 2 -institutions as ordinary institutions.
Corollary 2.
Let I = ( Sign , Sen , Mod , ) be a 3 / 2 -institution. Then,
( I s ) = ( Sign s , Sen s , ( Mod s ) , )
defines an ordinary institution where
  • Sign s and Sen s are given by definitions 2 and 3, respectively.
  • For each χ | Sign s | :
    -
    A ( Mod s ) χ-model is pair ( M , N ) such that M | Mod ( χ ) | , N Mod ( χ ) M ;
    -
    A χ-model homomorphism ( M , N ) ( M 0 , N 0 ) is a model homomorphism h : M M 0 , such that N 0 = h N .
  • For each ( φ , θ ) : χ χ and any ( Mod s ) χ -model ( M , N )
    ( Mod s ) ( φ , θ ) ( M , N ) = ( Mod ( θ ) M , Mod ( φ ) N ) .
  • For each ( Mod s ) χ-model ( M , N ) and each Sen s χ-sentence ρ
    ( M , N ) χ ρ i f   a n d   o n l y   i f N χ I ρ .

4.2. Semantic Connectives

Institution theory has developed its own general approach to logical connectives [3,24,25]. This was refined in [6] to stratified institution theory. With 3 / 2 -institutions, there are two ways to approach this issue.
  • The straightforward way that mimics the semantic treatment of connectives from ordinary institution theory.
  • By using the stratified institution theoretic approach via the representation result given by corollary 1.
We argue that the straightforward approach does not work, which means that in order to have sound semantic connectives, we have to rely on the representation result. Our argument is based on an important property of the semantic connectives, namely that they should be preserved by the translations along signature morphisms. For instance, for a signature morphism φ , if ρ is a semantic disjunction of ρ 1 and ρ 2 in the signature φ , then Sen ( φ ) ρ should be a semantic disjunction of Sen ( φ ) ρ 1 and Sen ( φ ) ρ 2 in φ . This holds naturally in ordinary institution theory as well as in stratified institution theory, the proof of this relying on the satisfaction condition. In fact, in the stratified institutions case, this property can be established from the corresponding ordinary institution theory property via the S representation, since as noticed in [6], the common propositional connectives and the quantification connectives do coincide in S and in S .
In order to understand what is wrong with the straightforward approach to the semantic connectives in 3 / 2 -institutions, let us attempt to establish the preservation property for the semantic disjunction. Let φ be a signature morphism and assume that ρ is a semantic disjunction of ρ 1 and ρ 2 in φ , which means that for each φ -model M, M ρ if and only if M ρ k for some k { 1 , 2 } . We have to establish the same property for Sen ( φ ) ρ , Sen ( φ ) ρ 1 , and Sen ( φ ) ρ 2 . A first issue with this is the existence of these translations. We can overcome this by requiring that Sen ( φ ) ρ is a semantic disjunction of Sen ( φ ) ρ 1 and Sen ( φ ) ρ 2 when all three translations do exist. Let us attempt to prove the property under this new formulation. We have to prove that for any φ -model M ,
M Sen ( φ ) ρ i f   a n d   o n l y   i f M Sen ( φ ) ρ k f o r s o m e k { 1 , 2 } .
However, M Sen ( φ ) ρ means M ρ for all M Mod ( φ ) M . Since ρ is the semantic disjunction of ρ 1 and ρ 2 , this further means that for each M Mod ( φ ) M , there exists k { 1 , 2 } , such that M ρ k . At this point, we have to get back to φ , i.e., to establish that there exists k { 1 , 2 } such that M Sen ( φ ) ρ k , which means that for all M Mod ( φ ) M , M ρ k for the samek. This is a gap because for one M we may have M ρ 1 and for another M we may have M ρ 2 . So, the property cannot be established.
This failure to prove the preservation of semantic disjunctions along signature morphisms also tells us about the crucial role played by the reducts; that in fact the satisfaction in 3 / 2 -institutions has the reducts as an implicit parameter. This perspective provides a solution to our problem. Additionally, here we are; this situation calls for a stratified institution approach. In the particular case of the semantic disjunctions, this means that, under the representation given by corollary 1, we should define ρ as a semantic disjunction of ρ 1 and ρ 2 , when for each χ -model M:
{ N [ [ M ] ] χ N ρ } = { N [ [ M ] ] χ N ρ 1 } { N [ [ M ] ] χ N ρ 2 } .
Similar definitions can be derived in the case of the other semantic connectives by following the stratified institutions approach [6].

4.3. Model Amalgamation

Model amalgamation is one of the most important concepts/properties in institution theory. The institution theory literature contains numerous works where model amalgamation is used decisively. Refs. [2,26], etc., are representative for computing science-oriented works, especially in the area of software modularisation, while in [3] and many other articles, one may find an abundance of uses of model amalgamation in institution-independent model theory. Regarding its role in 3 / 2 -institution theory and applications, in [13], it is argued that model amalgamation squares in 3 / 2 -institutions constitute a superior approach to the categorical modeling of conceptual blending than 3 / 2 or lax colimits.
The most notorious form of model amalgamation comes from ordinary institution theory. Given a diagram of signature morphisms, a model of that is a family ( M i ) i I of models, indexed by the nodes of the diagram, such that M i is a Σ i -model, where Σ i is the signature at node i, and such that for each signature morphism φ : Σ i Σ j in the diagram, M i = Mod ( φ ) M j . A cocone μ of the diagram has the model amalgamation property when for each model ( M i ) i I of the diagram there exists an unique model M of the vertex of the colimit, such that Mod ( μ i ) M = M i , i I . Then M is called the amalgamation of ( M i ) i I .
The most frequent use of model amalgamation is for cocones of spans of signature morphisms (which are in fact commutative squares of signature morphisms). There are also variations of the concept of model amalgamation: when we do not require the uniqueness of the amalgamation M (called weak model amalgamation), or when we refer only to colimits (called exactness) or even to particular colimits such as pushout squares (called semiexactness).
In stratified institution theory, there is a specific concept of model amalgamation called stratified model amalgamation, which corresponds to model amalgamation in the flattening S of the respective stratified institution S . This has been introduced in [14]. When the stratified institution is strict, stratified model amalgamation collapses to ordinary model amalgamation. Though in our context, this does not happen because the stratifications of the representations of 3 / 2 -institutions as stratified institutions are proper lax natural transformations.
The 3 / 2 -institution theoretic concept of model amalgamation [13] represents another refinement of the ordinary concept of model amalgamation. Its definition just replaces the ordinary definition of model amalgamation equalities relations with membership relations (for instance M i = Mod ( φ ) M j becomes M i Mod ( φ ) M j ) and strict commutativity with lax commutativity. 3 / 2 -institutional model amalgamation goes at the heart of the applications of 3 / 2 -institutions because the 3 / 2 -institution theoretic approach to conceptual blending comes with the proposal [13] to replace the original approach based on 3 / 2 -categorical colimits [10,11] with model amalgamation cocones.
The following result establishes an equivalence relationship between stratified model amalgamation in I s and 3 / 2 -model amalgamation in I .
Proposition 6.
Let I = ( Sign , Sen , Mod , ) be a stratified institution and let I s = ( Sign s , Sen s , Mod s , [ [ _ ] ] , s ) be its representation as a stratified institution. Let the left hand square below represent a commutative diagram in Sign s , such that its projection on the first component (the right hand side square below) is a model amalgamation square in I .
Mathematics 10 01507 i008
Then, the square of I s -signature morphisms is a stratified model amalgamation square if and only if the following lax cocone of I -signature morphisms has the model amalgamation property.
Mathematics 10 01507 i009
Proof. 
In this proof, we rely on the fact that stratified model amalgamation in I s is the same as model amalgamation in ( I s ) . First, we show that the model amalgamation in I implies that in ( I s ) .
In ( I s ) , we consider a χ -model ( M , N ) and a χ 1 -model ( M 1 , N 1 ) , such that
( Mod s ) ( ζ , η ) ( M 1 , N 1 ) = ( M , N ) a n d ( Mod s ) ( ζ , η ) ( M , N ) = ( M , N ) .
Let the Σ 1 -model N 1 be the unique amalgamation of N and N 1 . Then, ( M 1 , M , M , N 1 , N , N , N 1 ) is a model for the Sign s diagram with 7 vertices and 9 (full) arrows in (15). Let M 1 be the Ω 1 -model that is the unique amalgamation of ( M 1 , M , M , N 1 , N , N , N 1 ) . We have that ( M 1 , N 1 ) is a χ 1 -model and that:
( Mod s ) ( φ 1 , θ 1 ) ( M 1 , N 1 ) = ( M 1 , N 1 ) a n d ( Mod s ) ( ζ , η ) ( M 1 , N 1 ) = ( M , N ) .
The uniqueness of the amalgamation ( M 1 , N 1 ) follows from the uniquenesses of the amalgamations N 1 and M 1 .
Conversely, we now assume the amalgamation property in I s and prove it at the level of I . Any model ( M 1 , M , M , N 1 , N , N , N 1 ) for the Sign s diagram with 7 vertices and 9 arrows determines two ( I s ) models: an χ -model ( M , N ) and an χ 1 -model ( M 1 , N 1 ) , such that (16) holds. By the stratified model amalgamation property in I s , interpreted in ( I s ) , there exists an unique amalgamation ( M 1 , N 1 ) of ( M , N ) and of ( M 1 , N 1 ) . Since Mod ( η ) N 1 = Mod ( θ ) N , Mod ( θ 1 ) N 1 = N 1 , Mod ( η ) N 1 = N , and because the same holds for N 1 in the place of N 1 by the uniqueness property of the I -model amalgamation square (14), we have that N 1 = N 1 .
Now, we show that M 1 is the amalgamation of ( M 1 , M , M , N 1 , N , N , N 1 ) .
  • N 1 Mod ( χ 1 ) M 1 holds by the definition of ( Mod s ) because ( M 1 , N 1 ) is an ( I s )   χ 1 -model.
  • Since ( M 1 , N 1 ) is the amalgamation of ( M 1 , N 1 ) and ( M , N ) , it follows that Mod ( θ 1 ) M 1 = M 1 and Mod ( η ) M 1 = M . It further follows that Mod ( η ; θ 1 ) M 1 = Mod ( θ ; η ) M 1 = M .
  • We also have that:
    N = Mod ( ζ ) N 1 definition of N 1 Mod ( ζ ) ( Mod ( χ 1 ) M 1 ) N 1 Mod ( χ 1 ) M 1 Mod ( ζ ; χ 1 ) M 1 Mod lax .
  • By a similar argument to the above one, we establish that N 1 Mod ( φ 1 ; χ 1 ) M 1 .
  • Finally,
    N = Mod ( ζ ; φ 1 ) N 1 N = Mod ( ζ ) N 1 , N 1 = Mod ( φ 1 ) N 1 Mod ( ζ ; φ 1 ) ( Mod ( χ 1 ) M 1 ) N 1 Mod ( χ 1 ) M 1 Mod ( ζ ; φ 1 ; χ 1 ) M 1 Mod lax Mod ( ζ ; χ 1 ; θ 1 ) M 1 χ 1 ; θ 1 φ 1 ; χ 1 , Mod 3 / 2 - functor Mod ( χ ; η ; θ 1 ) M 1 χ ; η ζ ; χ 1 , Mod 3 / 2 - functor .
The uniqueness of M 1 follows from the uniqueness of the amalgamation ( M 1 , N 1 ) by relying on the first implication of the proposition. □
In the context of proposition 6, the following general result provides a sufficient condition for the lax cocone of I -signature morphisms to have the model amalgamation property. Then, by the conclusion of proposition 6, this leads to the left-hand side square of diagrams (14) to be a stratified model amalgamation square. We need to recall from [13] two concepts as follows:
  • In any 3 / 2 -category, a strict commutative square
    Mathematics 10 01507 i010
    is a 3 / 2 -pushout when for any strict cocones ( θ 1 , θ 2 ) and ( θ 1 , θ 2 ) over the span ( φ 1 , φ 2 ) , if θ k θ k , k = 1 , 2 ¯ , there exists unique mediating arrows μ μ , such that θ k ; μ = θ k and θ k ; μ = θ k , k = 1 , 2 ¯ . Note that 3 / 2 -pushouts are stronger than ordinary pushouts.
  • 3 / 2 -institutional seeds were mentioned above when we discussed examples of 3 / 2 -institutions. For the full definition, see [13]. For the purpose of proposition 7 below, we only need the property that there exists a signature Π , such that for each signature Σ
    | Mod ( Σ ) | = { M : Σ Π Sen ( M ) total }
    and for each signature morphism φ and for each φ -model M ,
    Mod ( φ ) M = { M | Mod ( φ ) | φ ; M M } .
Proposition 7.
Let us assume a 3 / 2 -institution I , such that when we remove its model homomorphisms it is generated by a 3 / 2 -institutional seed. Let us consider a lax cocone of I signature morphisms such as in diagrams (15) with the following properties:
  • The inner square (also known as the right-hand side square of diagram (14)) is a 3 / 2 -pushout square;
  • The outer square ( η , θ , η , θ 1 ) is a model amalgamation square;
  • ( φ 1 , θ 1 ) : χ 1 χ 1 and ( ζ , η ) : χ χ 1 are strict.
Then, the lax cocone of diagram (15) has the model amalgamation property.
Proof. 
Let us consider ( M 1 , M , M , N 1 , N , N , N 1 ) , a model of the diagram of 7 vertices and 9 arrows of diagrams (14). Let M 1 be the amalgamation of M and M 1 by using the model amalgamation property of the outer square ( η , θ , η , θ 1 ) . We show that M 1 is also the amalgamation of ( M 1 , M , M , N 1 , N , N , N 1 ) , and its uniqueness follows from the uniqueness as amalgamation of M and M 1 only.
We first prove that N 1 Mod ( χ 1 ) M 1 . This goes as follows. Since N Mod ( χ ) M , this means that χ ; M N . It follows that:
ζ ; χ 1 ; M 1 = χ ; η ; M 1 = χ ; M N = Mod ( ζ ) N 1 = ζ ; N 1 .
Similarly,
φ 1 ; χ 1 ; M 1 φ 1 ; N 1 .
Because the inner square of diagram (15), i.e., the square ( φ , ζ , ζ , φ 1 ) , is a 3 / 2 -pushout square, from (17) and (18), we obtain that χ 1 ; M 1 N 1 , which means N 1 Mod ( χ 1 ) M 1 . From here, the proof that M 1 is an amalgamation of ( M 1 , M , M , N 1 , N , N , N 1 ) follows the same steps as in the second part of the proof of proposition 6. In particular, this means that the three specific conditions of the current proposition are not used anymore. □
In concrete situations, it is quite common that the 3 / 2 -pushout condition on the inner square in proposition 7 implies the model amalgamation condition on the same square in proposition 6, a fact that enhances the applicability of proposition 7 within the context of the equivalence established by proposition 6.
Proposition 8.
In the context of a 3 / 2 -institution generated by a 3 / 2 -institutional seed, let us assume that Sen preserves and reflects maximality (i.e., φ is maximal if and only if Sen ( φ ) is total). Then, any pushout cocone of signature morphisms determines a model amalgamation square.
Proof. 
Let ( φ 1 , ζ ) be a pushout cocone for a span ( φ , ζ ) of signature morphisms (such as in the diagram below).
Mathematics 10 01507 i011
Given a Σ -model N and a Σ 1 -model N 1 , such that Mod ( φ ) N = Mod ( ζ ) N 1 , we obtain a strict cocone ( N , N 1 ) for the span ( φ , ζ ) . By the pushout property of ( φ 1 , ζ ) , there exists an unique N 1 : Σ 1 Π , such that N = ζ ; N 1 and N 1 = φ 1 ; N 1 . It remains to prove that N 1 qualifies as a Σ 1 -model, i.e., that Sen ( N 1 ) is total.
By the hypothesis on Sen that it preserves maximality, it is enough to prove that N 1 is maximal. Consider any x : Σ 1 Π , such that N 1 x . It follows that N ζ ; x and N 1 φ 1 ; x . By the hypothesis on Sen that it reflects maximality, we have that both N and N 1 are maximal, hence ζ ; x = N and φ 1 ; x = N 1 . By the pushout hypothesis, it follows that x = N 1 . □
With respect to the conditions underlying proposition 8, note that:
  • There are no restrictions on the signature morphisms that form the pushout square.
  • Then, the condition of proposition 8 that Sen preserves and reflects maximality applies well in concrete situations. As an example, let us consider the case of 3 / 2 P L . There, Sign = P f n , and therefore it is evident that for any signature morphism φ Sen ( φ ) is total if and only if φ is total.
  • The 3 / 2 -pushout condition of proposition 7 in general is stronger than the pushout condition of proposition 8.
Often, in concrete situations that are related to the basic context of proposition 6, the pushout squares of signature morphisms are already 3 / 2 -pushout squares. The following result illustrates such a case that is emblematic for the concrete applications not only because it is sometimes involved as such (e.g., in 3 / 2 P L ) but also because when it is not the case then the respective category of signature morphisms can be often treated in a similar way.
Proposition 9.
Any pushout square in S et is a 3 / 2 -pushout square in P f n .
Proof. 
For this proof, it is convenient to use the representation of partial functions as homomorphisms between pointed sets. A pointed set A is a set with a universally designated element ⊥. A homomorphism f : A B of pointed sets is a function that preserves the designated element ⊥, i.e., f = . This yields a category S et and a canonical isomorphism P f n S et that:
  • Maps any set A to the set A = A { } (disjoint union);
  • Maps any partial function f : A B to the homomorphism f : A B defined for each x A by:
    f x = f x , f x defined , f x undefined .
Now, let us consider a pushout square in S et as follows.
Mathematics 10 01507 i012
By mapping the pushout square (19) to S et , we obtain the commutative square
Mathematics 10 01507 i013
This is a pushout square because ( _ ) : S et S et is a left adjoint to the forgetful functor S et S et and left adjoint functors preserve all colimits [15]. This left adjoint property can be either checked directly, or else, it can be established by noticing that it is a special case of a free algebra construction corresponding to a reduct functor of categories of algebras for the signature inclusion of the signature consisting of one sort into the signature consisting of one sort and one constant.
This showed that (19) is a pushout square in P f n . In order to prove that this is a 3 / 2 -pushout square in P f n , we let ( a , a 1 ) and ( b , b 1 ) be strict cocones for the span ( φ , ζ ) , such that a b and a 1 b 1 . Let α and β be the unique mediating partial functions for ( a , a 1 ) and ( b , b 1 ) , respectively. We have to show that α β . Note that α β means that for each x Σ 1 , α x implies α x = β x . However, α implies x . By the pushout property of (19), it follows that there exists y in Σ or in Σ 1 , such that ζ y = x or φ 1 x = y . By symmetry, without any loss of generality, we may assume that y Σ and ζ y = x . We have that:
α x = α ( ζ y ) = a y = b y ( s i n c e   a b ) = β ( ζ y ) = β x .

5. Conclusions and Future Work

We have defined a representation of 3 / 2 -institutions as stratified institutions in which the set of the reducts of a model with respect to a fixed signature morphism is assimilated to the set of its states. This representation is subject to some conditions on the signature morphisms. Then, we have explored three consequences of this general representation: a further representation to ordinary institutions, (stratified) semantic connectives in 3 / 2 -institutions, and stratified model amalgamation in 3 / 2 -institutions.
The results of our work also raise a series of issues to be addressed in the future. We mention a couple of them:
  • The import of more model theory from stratified institution theory to 3 / 2 -institutions.
  • Find general ways, with good applicability in concrete situations, to generate model amalgamation cocones such as in diagrams (15).
As stratified institution theory continues to develop, our representation result may provide new enhancements of the theory of 3 / 2 -institutions with concepts and results that come from stratified institutions.

Funding

This work was supported by a grant of the Romanian Ministry of Education and Research, CNCS—UEFISCDI, project number PN-III-P4-ID-PCE-2020-0446, within PNCDI III.

Acknowledgments

The comments of the reviewers helped improve the presentation of the results in the paper.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Goguen, J.; Burstall, R. Institutions: Abstract Model Theory for Specification and Programming. J. Assoc. Comput. Mach. 1992, 39, 95–146. [Google Scholar] [CrossRef]
  2. Sannella, D.; Tarlecki, A. Foundations of Algebraic Specifications and Formal Software Development; Springer: Berlin/Heidelberg, Germany, 2012. [Google Scholar]
  3. Diaconescu, R. Institution-Independent Model Theory; Birkhäuser: Basel, Switzerland, 2008. [Google Scholar]
  4. Diaconescu, R.; Stefaneas, P. Modality in Open Institutions with Concrete Syntax. Bull. Greek Math. Soc. 2004, 49, 91–101, Previously published as JAIST Tech Report IS-RR-97-0046, 1997.. [Google Scholar]
  5. Aiguier, M.; Diaconescu, R. Stratified institutions and elementary homomorphisms. Inf. Process. Lett. 2007, 103, 5–13. [Google Scholar] [CrossRef]
  6. Diaconescu, R. Implicit Kripke Semantics and Ultraproducts in Stratified Institutions. J. Log. Comput. 2017, 27, 1577–1606. [Google Scholar] [CrossRef] [Green Version]
  7. Aiguier, M.; Bloch, I. Logical dual concepts based on mathematical morphology in stratified institutions: Applications to spatial reasoning. J. Appl. Non-Class. Log. 2019, 29, 392–429. [Google Scholar] [CrossRef]
  8. Găină, D. Forcing and Calculi for Hybrid Logics. J. Assoc. Comput. Mach. 2020, 67, 25:1–25:55. [Google Scholar] [CrossRef]
  9. Fauconnier, G.; Turner, M. Conceptual integration networks. Cogn. Sci. 1998, 28, 133–187. [Google Scholar] [CrossRef]
  10. Goguen, J. An Introduction to Algebraic Semiotics, with Application to User Interface Design. In Computation for Metaphors, Analogy, and Agents; Lecture Notes in Computer, Science; Nehaniv, C.L., Ed.; Springer: Berlin/Heidelberg, Germany, 1999; Volume 1562, pp. 242–291. [Google Scholar]
  11. Goguen, J.A. What Is a Concept? In Conceptual Structures: Common Semantics for Sharing Knowledge. ICCS 2005; Lecture Notes in Computer, Science; Dau, F., Mugnier, M.L., Stumme, G., Eds.; Springe: Berlin/Heidelberg, Germany, 2005; Volume 3596, pp. 52–77. [Google Scholar]
  12. Goguen, J. Categorical Approaches to Merging Software Changes. Unpublished draft.
  13. Diaconescu, R. Implicit Partiality of Signature Morphisms in Institution Theory. In Hajnal Andréka and István Németi on Unity of Science: From Computing to Relativity Theory Through Algebraic Logic; Outstanding Contributions to Logic; Madarász, J., Székely, G., Eds.; Springer: Berlin/Heidelberg, Germany, 2021; Volume 19, pp. 81–123. ISBN 978-3-030-64186-3. [Google Scholar]
  14. Diaconescu, R. Decompositions of Stratified Institutions. arXiv 2021, arXiv:2112.12993. [Google Scholar]
  15. Mac Lane, S. Categories for the Working Mathematician, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 1998. [Google Scholar]
  16. Kelly, M. Basic Concepts of Enriched Category Theory; Cambridge University Press: Cambridge, UK, 1982. [Google Scholar]
  17. Borceux, F. Handbook of Categorical Algebra; Cambridge University Press: Cambridge, UK, 1994. [Google Scholar]
  18. Kelly, M.; Street, R. Review of elements of 2-categories. In Category Seminar Sydney 1972/1973; Lecture Notes in Mathematics; Springer: Berlin/Heidelberg, Germany, 1974; pp. 75–103. [Google Scholar]
  19. Jay, C.B. Partial Functions, Ordered Categories, Limits and Cartesian Closure. In IV Higher Order Workshop, Banff 1990: Proceedings of the IV Higher Order Workshop, Banff, AB, Canada 10–14 September 1990; Birtwistle, G., Ed.; Springer: London, UK, 1991; pp. 151–161. [Google Scholar]
  20. Diaconescu, R.; Stefaneas, P. Ultraproducts and Possible Worlds Semantics in Institutions. Theor. Comput. Sci. 2007, 379, 210–230. [Google Scholar] [CrossRef] [Green Version]
  21. Martins, M.A.; Madeira, A.; Diaconescu, R.; Barbosa, L. Hybridization of Institutions. In Algebra and Coalgebra in Computer Science; Lecture Notes in Computer, Science; Corradini, A., Klin, B., Cîrstea, C., Eds.; Springer: Berlin/Heidelberg, Germany, 2011; Volume 6859, pp. 283–297. [Google Scholar]
  22. Diaconescu, R. Quasi-varieties and initial semantics in hybridized institutions. J. Log. Comput. 2016, 26, 855–891. [Google Scholar] [CrossRef] [Green Version]
  23. Madeira, A. Foundations and Techniques for Software Reconfigurability. Ph.D. Thesis, Universidades do Minho, Aveiro and Porto (Joint MAP-i Doctoral Programme), Aveiro, Portugal, 2014. [Google Scholar]
  24. Tarlecki, A. On the Existence of Free Models in Abstract Algebraic Institutions. Theor. Comput. Sci. 1986, 37, 269–304. [Google Scholar] [CrossRef] [Green Version]
  25. Diaconescu, R. Institution-independent Ultraproducts. Fundam. Inform. 2003, 55, 321–348. [Google Scholar]
  26. Diaconescu, R.; Goguen, J.; Stefaneas, P. Logical Support for Modularisation. In Logical Environments; Huet, G., Plotkin, G., Eds.; Cambridge University Press: Cambridge, UK, 1993; pp. 83–130. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Diaconescu, R. Representing 3/2-Institutions as Stratified Institutions. Mathematics 2022, 10, 1507. https://doi.org/10.3390/math10091507

AMA Style

Diaconescu R. Representing 3/2-Institutions as Stratified Institutions. Mathematics. 2022; 10(9):1507. https://doi.org/10.3390/math10091507

Chicago/Turabian Style

Diaconescu, Răzvan. 2022. "Representing 3/2-Institutions as Stratified Institutions" Mathematics 10, no. 9: 1507. https://doi.org/10.3390/math10091507

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop