Manuscript Offprint
arXiv:2610.40812Merging and Evolution of Data Bases: A Many-Logic Approach
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Manuel A. Martins
CIDMA & Dep. of Mathematics University of Aveiro martins@ua.pt
Abilio Rodrigues
Federal University of Minas Gerais Minas Gerais, Brazil abilio.rodrigues@gmail.com
A new approach to information-based logics using many-logic modal structures (MLMSs) was recently proposed by Martins et al. In such a setting, it is possible to have worlds with different underlying logics within the same frame, all anchored to a base lattice that contains the semantics of each logic as a down-complete sublattice. In this paper, we take the lattice , defined by the six-valued semantics of the logic of evidence and truth , as our base lattice. We also consider four-, three-, and two-valued formal systems associated with down-complete sublattices of . These logics are capable of representing paracomplete, paraconsistent, and classical contexts with six, four, three, and two informational scenarios, respectively. As applications of MLMSs, we will discuss the merging and temporal evolution of databases whose underlying logics are two-, three-, four-, and six-valued. We will also investigate inconsistency measures in this context.
1 Introduction
An information-based logic is a logic suitable for processing information in the sense of taking a database as a set of premises and drawing conclusions from these premises in a sensible way. Nuel Belnap in [1] proposed an information-based interpretation of the logic of first-degree entailment (FDE), motivated by the idea of computer dealing with possibly inconsistent and incomplete databases, that is, situations in which there may be conflicting information or no information at all about a sentence . In the former scenario, explosion fails; in the latter, excluded middle fails. Such situations are not exceptional, but rather a common reality, often resulting from noise, uncertainty, and inaccuracies in the process of collecting information.
The computer conceived by Belnap 'modifies its current set-up' when it gets new information [1, p. 36]. A 'set-up', thus, is a specific configuration of the computer over time, and these configurations can be seen as information states represented by worlds in a Kripke model. The many-logic modal structures (MLMS) proposed in [7] and [12] are well-suited for representing the connections between information states viewed as databases with different underlying logics, the evolution of databases over time, and databases accessed by users with different privileges.
This framework considers frames whose worlds may be associated with different formal systems. Each of these systems is represented by a down-complete sublattice (dc-sublattice, for short) of a common base lattice. Modal relationships are then established through this shared algebraic structure, which embeds the semantics of the individual logics and provides a unified setting in which they can interact. As a consequence, connections between worlds can be understood as interactions between their underlying logics. In such a setting, the modalities are interpreted in a way that differs from the traditional Kripkean approach.
A. Indrzejczak, T. Jarmużek, M. Klonowski, & M. Zawidzki (Eds.): Twelfth International Conference on Non-Classical Logics. Theory and Applications (NCL'26) EPTCS 455, 2026, pp. 91–104, doi:10.4204/EPTCS.455.8
© M. Martins & A. Rodrigues This work is licensed under the Creative Commons Attribution License.
Merging and Evolution of Data Bases
92
In addition to introducing the general formal machinery of MLMSs¹, we will investigate a number of applications based on the lattice , which provides the six-valued semantics for the logic of evidence and truth , introduced by Coniglio and Rodrigues in [2]. Logics of evidence and truth () are equipped with a classicality operator that recovers classical logic for sentences in its scope. Thus, when holds, the sentence is subjected to classical logic, otherwise the underlying logic of is , or an extension of . can be interpreted in terms of information, and in this case a sentence means that the information conveyed by , positive or negative, is reliable. The connective , thus, can be thought of as a kind of certification. extends the well-known logical lattice , defined by the four-valued semantics of [1, p. 42], by adding a new top and a new bottom, which correspond to two additional semantic values intuitively interpreted as reliable positive information and reliable negative information (cf. [2, Sect. 4.1]). , as in general, is able to represent six scenarios: the four scenarios of plus two more scenarios of reliable information. A detailed study of logics defined by dc-sublattices of can be found in [12].
The aim of this article is to explore how dynamic interactions between distinct logical contexts can be formalized in richer computational settings, as a step toward extending the original proposal. In particular, we explore mechanisms for information merging and temporalization, enabling the representation not only of static accessibility relations between worlds, but also of the evolution, synchronization, and reconciliation of information states over time. By incorporating temporal dimensions into MLMSs, we allow logical structures to capture successive stages of knowledge acquisition, revision, and propagation, while merge operations provide formal tools for combining information originating from different sources. We introduce generalized modal and temporal operators capable of modeling transitions between paraconsistent, paraccomplete, and classical reasoning environments within a unified semantic architecture. These extensions reinforce the applicability of MLMSs to distributed databases, evolving knowledge systems, and multi-agent environments, where the continuous integration and temporal management of conflicting information are essential for coherent and reliable reasoning.
The remainder of this paper is structured as follows. Section 2 presents the general machinery of many-logic modal structures. In Section 3, we present the matrix logics considered in this paper. These include and some well-known two-, three-, and four-valued logics, which are capable of representing subsets of the six scenarios characterized by . The lattices associated with these logics are down-complete sublattices of . In Section 4, the main section of this paper, we propose further developments of MLMSs, namely: temporalization of MLMSs that allow to define temporal operators past, future, and next; merging of MLMSs, that intends to represent the merging of databases; analysis of inconsistencies and certified data in databases.
¹The development of MLMSs has recently emerged as a framework for extending modal reasoning beyond the classical setting. The foundational proposal was introduced by Freire and Martins in [7], who developed the notion of modality across different logical systems. The algebraic basis of the framework was later investigated by Freire, Madeira, and Martins in [6], who introduced lattice-based constructions relating the lattices associated with distinct logics. Further developments include the study of regular non-normal modal systems ([8]) and the institutional foundations of many-logic modal logic ([9]).
definition of the main concept of this section.
Definition 2.1. Let be a complete lattice with associated partial order . A down-complete sublattice (dc-sublattice) of is a complete lattice with associated partial order such that:
-
;
-
, i.e.: for every iff .
We denote by the set of all dc-sublattices of .
Definition 2.2 (The down-interpretation). Let be a complete lattice with associated partial order , and let be a dc-sublattice of . The down-interpretation of value in is defined as follows:
Definition 2.3 (Filtered -lattices). Let a filtered -lattice be a matrix logic such that is an algebra over with domain and , where the -reduce is a lattice.
Consider a propositional language , defined over a signature containing , and a set of sentential letters Var.
Definition 2.4 (Many-logic modal structures, MLMS). Let , such that , and the language obtained by extending with the unary connective . A many-logic modal structure over and is a tuple such that and:
-
is a set of matrix logics over such that -reduce of belongs to .
-
assigns a matrix logic to each world . By simplicity, and when there is no risk of confusion, we may write , where is the domain of .
-
is a relation from worlds to worlds, i.e. .
-
is a valuation function from the set Var of sentential letters to values in , i.e. for each world and , such that .
In each world a valuation () is extended to all formulas of based on the matrix logic related to the lattice assigned to , given by . To extend a valuation to all formulas of (i.e. to assign semantic values to formulas ) we interpret in a complete sublattice elements not necessarily in according to the down interpretation.
Let and be worlds, and the corresponding lattices, and and the values assigned to a formula in and by a valuation . We denote by and the values and 'seen' from the perspective of the worlds and respectively, according to the down-interpretation.
The semantic value of a formula in a world is the infimum of the set of values of in all the worlds accessed from as seen from the perspective of the local lattice . A clause for the connective is thus defined as follows:
Definition 2.5 (Semantic clause for ).
Merging and Evolution of Data Bases
According to the intuitive interpretation we propose, means ‘A has the semantic value for an agent accessing the information available in the accessible worlds ’.
We say that holds in in a structure , denoted by , if . It is to be observed that in the framework adopted here, saying that a formula has a specific value in a model and a world is generally more informative than saying that it holds (or does not hold). This is due to the multivalued semantics of the logics we will see in Section 3 below, which may involve multiple designated (or non-designated) values. Examples of many-logic modal structures based on these logics, together with their corresponding lattices, can be found in Section 5 of [12].
3 The logics
In this paper we consider the following matrix logics:
Let the set be the collection of algebras underlying the logics above. For the semantic characterization of these logics in terms of down-complete sublattices of the lattice , as well as for a detailed presentation of the corresponding lattices, their connection with the scenarios represented by each logic – which are subsets of the six scenarios represented by – and their characterization as information-based logics, we refer the reader to Sections 3 and 4 of [12]. Here, we only note that is the three-valued paraconsistent logic introduced in D'Ottaviano et al. [5], is the Lukasiewicz' three-valued paracomplete logic, and extend respectively and the logic of paradox with a material implication and a bottom particle. Moreover, extends Kleene's with a material implication, and may be viewed either as a paraconsistent version of or as a paracomplete version of .
4 Operations on information structures
In this section, we introduce operations on MLMSs, the evolution-structures that represent their development over time, and the tools for measuring inconsistency.
Let a generalized literal be a formula of the form , or , for a variable . A many-logic modal structure can be viewed as a -family () of generalized literals defined as the smallest set satisfying the following conditions:
An explanation of the notion of extended literals , and can be found in [2] and [13], where six valued logics of evidence and truth (LETs) are investigated. Belnap-Dunn logic works with two primitive notions, positive information and negative information, represented by literals and . The six-valued semantics of LETs adds one more primitive notion, reliable information, expressed by . Once again, we refer the reader in particular to the paper [13], where these concepts are explained in detail.
For any propositional variable :
An information state is thought of here as the set of formulas that hold in a world , which is the set of generalized literals closed under the notion of logical consequence related to the lattice .
4.1 Merging many-logic modal structures
The merging of two compatible many-logic modal structures can be defined in a natural way. The general idea is as follows: given two structures and and a world that belongs to both and , the merging yields a structure in which contains the generalized literals that belong to in and . This operation, of course, cannot yield a trivial world. Thus, and have to be compatible in the sense that in the resulting structure there cannot be a world with literals and .
Definition 4.1. Two many-logic modal structure and are said to be incompatible if for some there is a sentential letter such that one of the following conditions hold:
When they are not incompatible, they are called compatible.
The definition above ensures that there is no world in which for a sentential letter , . Note that two weak worlds are always compatible, since there is no formula in the respective sets . Besides, it is not required that a world be assigned the same lattice in and .
The merging of two compatible structures and results in the many-logic modal structure as defined below.
Definition 4.2. Given two compatible many-logic modal structure and , the merging of with is the many-logic modal structure where:
-
is defined using and according to the Table 1 below.
-
is defined as follows:
-
For is defined using and as defined in Table 2 below, where the indicates that the merging cannot be done.
-
For
-
For :
Merging and Evolution of Data Bases
| L6 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| L6 | L6 | L6 | L6 | L6 | L6 | L6 | L6 | ||
| L6 | L6 | L6 | L6 | L6 | |||||
| L6 | L6 | L6 | |||||||
| L6 | L6 | L6 | |||||||
| L6 | L6 | L6 | L6 | L6 | |||||
| L6 | L6 | L6 | |||||||
| L6 | L6 | L6 |
Table 1: Merging lattices
| T | b | n | F | |||
|---|---|---|---|---|---|---|
| T | T | T | X | T | X | X |
| T | b | b | X | |||
| b | X | b | b | b | b | X |
| n | T | b | n | F | ||
| X | b | b | F | |||
| F | X | X | X | F | F | F |
Table 2: Merging valuations
The definition of merging, alternatively, can be done in terms of the W-family :
For each world , the set defines the valuation according to the Table 2. For worlds in , it is not required that the associated lattice be the same.
The rationale for the Table 1 is as follows. Two weak worlds w and are always compatible, but when merged the result may be a lattice different from and . Merging with yields a : there cannot be any incompleteness in the resulting world, but there may be contradictions. Merging with yields a : there may be incompleteness as well as contradictions in the resulting world. Merging with yields a : there cannot be any incompleteness in the resulting world, but there may be contradictions. And so on.
Merging always yields , except in the case of and . In the former, for every , either both and or both and belong to ; in the case of , either and , or and , or and belong to . So, clearly the resulting world must be and , respectively. It is unlikely, however, that worlds and will be compatible with .
Another case that is worth mentioning is the merging of with . The resulting world may have incompleteness from both and , and contradictions from , as well as certified information from and non-certified information from . Thus, such a merging yields L6.
Example 4.1. Consider the structures and :


The merging of and yields the structure below:

When applying the merging operation in a real-world situation, names may be assigned to databases so as to indicate which of them are to be merged. Databases sharing the same name are intended to be merged into a single database. In the example above, the idea was to keep the -database of unchanged while merging the L6-database of with the -database of , and the -database of with the -database of . The names assigned to the worlds reflect the intended merging process: databases given the same name are merged together.
Proposition 4.1
(i) Let and be two many-logic modal structures. Then for any and any formula , or imply .
(ii) The merging operation is commutative and associative, but not idempotent.
Proof. Regarding item (i), it is easy to see that if is assigned designated value by or , which is a value represented by a snapshot such that , the value assigned to by will also be designated. As for (ii), it is clear to see that commutativity follows from the fact that and are commutative and the Table 1 is commutative. Associativity follows from the fact that and are associative and the Table 1 in each case the resulting value depends
Merging and Evolution of Data Bases
on . To see that idempotency does not hold, consider the merging of two -worlds, which yields a -world.
4.2 Temporalising many-logic modal structures
In Example 5.4 of [12], we showed how the temporal evolution of information states over time can be represented using only the tools already available in the definition of MLMSs. However, the temporal evolution of information states may also be represented by means of what we call here -evolution structures.
Consider now the language , obtained by extending the language with the unary operators and with the following meanings:
: the semantic value of in the past,
: the semantic value of in the future.
The semantic values of in the past and in the future are given, respectively, by the infimum of the values that assumes in the past and by the infimum of the values that assumes in the future.
Definition 4.3. A pointed many-logic modal structure is a pair , where is a many-logic modal structure and . is called the reference world of .
A pointed many-logic modal structure is a many-logic modal structure together with a distinguished world. The purpose of introducing pointed structures is to make explicit the world at which formulas are evaluated in -evolution structures. Let be a set of pointed many-logic modal structures .
Definition 4.4 (T-evolution structures). A -evolution structure is a triple , where is a flow of time (that is, is a non-empty set and is a partial order on ), and is a function mapping each time point in to a structure in PAT.
The value of a formula in a structure at a time point is determined by a mapping , defined as follows:
-
, where is the reference world of ,
-
,
-
,
-
,
-
,
-
,
-
.
A path in a -evolution structure is a subset such that the elements of are linearly ordered with respect to the ordering defined on .
Some remarks are in order here:
(i) If is linear, discrete, and without end point, a next operator can be added with the following semantic clause:
(ii) A path can be any sequence of worlds linearly ordered, and a path can be contained in another path. Paths will be used below to define increasing and decreasing of consistency and certification (Definition 4.8).
(iii) The order < applies only to the reference worlds of the structures in PAT. In each structure , the reference world can intuitively be interpreted as a sort of ‘central database’ that accesses every other database.
(iv) The value in a structure is the value of at the reference world of the structure assigned to in . The values of and are given by the infimum of the values of after and before respectively.
Example 4.2. Consider the set of pointed many-logic structures.

Consider the T-evolution structure :

The intuitive interpretation can be as follows. The path represents a circumstance in which all the information available in the reference world of the structure has been refined.
Merging and Evolution of Data Bases
The resulting database, which corresponds to reference world of the structure , has certified information that is the same in the worlds and . The uncertainty has decreased.
The path , on the other hand, represents an inverse circumstance in which the uncertainty has increased. Different information came from the database represented by the worlds in the stages . This uncertainty is represented in the stage by the value n in both worlds.
4.3 Measuring inconsistency
The quality of information in a database depends on both its inconsistencies and the reliability of the information it contains. The logic distinguishes reliable from unreliable information by means of the connective , which is intuitively understood as a form of data certification.
In this section, we define measures of inconsistency and certification within a structure , based on the number of occurrences of pairs of sentences as well as instances of in the respective -family (cf. [3, 4, 10, 11]). Although these measures are related, they remain independent in the sense that, except in the logics and , it is possible to have no contradiction regarding , yet does not hold. We further extend these concepts to -evolution structures and introduce the notions of consistency improvement and certification improvement over time.
Definition 4.5
Let be a many-logic modal structure where is finite.
(i) The inconsistencies at , , is the number of variables p such that are in the database, that is:
(ii) The certificated data at w, cert(w), is the number of variables p such that is in the database, that is:
(iii) The inconsistencies in , , is the sum of the inconsistencies in the worlds such that , that is:
(iv) The certificated data in , , is the sum of the certified data in the worlds such that , that is:
(v) The relative inconsistency of , , is the sum of the inconsistencies in divided by the cardinality of , that is:
(vi) The relative certified data in , , is the sum of the certified data in divided by the cardinality of , that is:
In particular cases data do not have the same relevance and we must consider this in the previous definition. Let be a scale of relevance for data and .
Definition 4.6. Let be a many-logic modal structure where is finite and .
(i) The inconsistencies at modulo , , is the -weighted sum of the number of variables such that are in the database, that is:
(ii) The certificated data at w modulo , , is the -weighted sum of the number of variables such that is in the database, that is:
The other definitions can also be extended with weights for the proposition symbols.
The point of the notions of relative inconsistency and certification is to obtain a normalized result proportional to the size of . Note that the Definition 4.5 above imposes no restrictions on the cardinality of the sets , , and . However, if they are not finite, the values of and will be .
Proposition 4.2. Let and be two compatible many-logic modal structure. Then:
(i) ,
(ii) ,
(iii) If then and .
Proof. Item (i) follows from the fact that . The remaining cases are left to the reader.
Below we extend these ideas to T-evolution structures.
Definition 4.7. Let be a flow of time and a -evolution structure, where is finite for every .
(i) The relative inconsistent measure at t is the function defined as
(ii) The certification ratio is the function
Some useful properties of T-evolution structures may be defined.
Merging and Evolution of Data Bases
Definition 4.8. Let be a path in a T-evolution structure. We say that:
(i) Consistency increases along if and only if for any , implies ,
(ii) Consistency decreases along if and only if for any , implies ,
(iii) Certification increases along if and only if for any , implies ,
(iv) Certification decreases along if and only if for any , implies .
We say that a T-evolution structure:
(v) Improves consistency if and only if for any , implies ,
(vi) Improves certification if and only if for any , implies .
In the example below we illustrate the measures of inconsistency, certification, relative inconsistency and certified data in a T-evolution structure.
Example 4.3. Consider the set



Now consider the T-evolution structure where , , , .

Consistency increases and certification decreases along the path , while consistency decreases and certification increases along the path . However, with regard to the -structure , neither consistency nor certification increases or decreases.
Final remarks
In this paper, we discussed mechanisms for database merging and temporal evolution, emphasizing how informational refinement may be modeled through changes in the underlying lattices. In this setting, inconsistency measures play an important role in characterizing the informational state of databases and in guiding their evolution toward more consistent and certified forms of knowledge.
Future research includes the investigation of refinement processes capable of capturing database evolution in terms of certification and inconsistency levels through (T)-evolution structures. Another relevant direction concerns the extension of the lattice (L6) by iteratively introducing new maximal and minimal elements, allowing the representation of finer degrees of certification. Determining the logics generated by the corresponding filters in these extended structures remains an open and promising problem.
Acknowledgments. This work is supported by CIDMA (https://ror.org/05pm2mw36) through the Portuguese Foundation for Science and Technology (FCT, https://ror.org/00snfqn58), under grant UID/04106/2025 (https://doi.org/10.54499/UID/04106/2025) and by Project Banksy with reference COMPETE2030-FEDER-00892000. The second author acknowledges support from the National Council for Scientific and Technological Development (CNPq), Brazil, research grant 307889/2025-4.
References
[1] N. Belnap (1977): How a computer should think. In G. Ryle, editor: Contemporary Aspects of Philosophy, Oriel Press. Reprinted in New Essays on Belnap-Dunn Logic, Springer, 2019.
[2] M. Coniglio & A. Rodrigues (2024): From Belnap-Dunn Four-Valued Logic to Six-Valued Logics of Evidence and Truth. Studia Logica 112(3), pp. 561–606. Available at https://doi.org/10.1007/s11225-023-10062-5.
[3] D. Costa & M. A. Martins (2017): Paraconsistency in hybrid logic. J. Log. Comput. 27(6), pp. 1825–1852. Available at https://doi.org/10.1093/logcom/exw027.
[4] D. Costa & M. A. Martins (2018): Inconsistency measures in hybrid logics. In: Measuring inconsistency in information, London: College Publications, pp. 169–194.
[5] I. D’Ottaviano & N. da Costa (1970): Sur un problème de Jaśkowski. Comptes Rendus de l’Académie des Sciences 270(A), pp. 1349–1353. Available at https://gallica.bnf.fr/ark:/12148/bpt6k480298g/f1359.item.
Merging and Evolution of Data Bases
104
[6] A. Freire, A. Madeira & M. A. Martins (2025): Lattices for many-logics modal logic: constructions and representations. In: Artificial intelligence logic and applications. The 4th international conference, AILA 2024, Lanzhou, China, August 10–11, 2024. Proceedings, Singapore: Springer, pp. 32–46. Available at https://doi.org/10.1007/978-981-96-0354-1_3.
[7] A. Freire & M. A. Martins (2025): Modality across different logics. Logic Journal of the IGPL 33(3), p. jzae082. Available at https://doi.org/10.1093/jigpal/jzae082.
[8] A. Freire & M. A. Martins (2026): Regular non-normal modal classicalities. In print. Available at https://doi.org/10.48550/arXiv.2602.20287.
[9] A. Freire, M. A. Martins & A. Madeira (2024): The Institution of Many-Logics Modal Logic. In: Recent Trends in Algebraic Development Techniques: 27th IFIP WG 1.3 International Workshop, WADT 2024, Enschede, The Netherlands, July 8, 2024, Revised Selected Papers, Springer-Verlag, Berlin, Heidelberg, p. 94–110. Available at https://doi.org/10.1007/978-3-031-88930-1_5.
[10] J. Grant & A. Hunter (2006): Measuring inconsistency in knowledgebases. Journal of Intelligent Information Systems 27(2), p. 159–184. Available at https://doi.org/10.1007/s10844-006-2974-4.
[11] J. Grant & M.V. Martinez, editors (2018): Measuring inconsistency in information. 73, London: College Publications.
[12] M. A. Martins, A. Rodrigues, M. E. Coniglio & A. R. Freire (2026): On Many-logic Modal Structures and Information-based Logics. Journal of Logic, Language and Information 35, p. 203–231. Available at https://doi.org/10.1007/s10849-026-09467-x.
[13] A. Rodrigues & M. Coniglio (2026): Positive, Negative, and Reliable Information in a First-Order Logic of Evidence and Truth. arXiv preprint arXiv:2604.18526. arXiv:2604.18526.