Truth-preservation under fuzzy pp-formulas
Pilar Dellunde, Amanda Vidal

TL;DR
This paper explores how non-classical fuzzy logic can be used to analyze the complexity of fuzzy constraint satisfaction problems through a model-theoretic approach, providing algebraic characterizations of certain logical classes.
Contribution
It introduces an algebraic characterization of classes defined by fuzzy positive-primitive sentences, advancing understanding of fuzzy logic's role in complexity analysis.
Findings
Algebraic characterization of fuzzy positive-primitive classes
Use of homomorphisms and direct products in analysis
Insights into expressiveness of non-classical languages
Abstract
How can non-classical logic contribute to the analysis of complexity in computer science? In this paper, we give a step towards this question, taking a logical model-theoretic approach to the analysis of complexity in fuzzy constraint satisfaction. We study fuzzy positive-primitive sentences, and we present an algebraic characterization of classes axiomatized by this kind of sentences in terms of homomorphisms and direct products. The ultimate goal is to study the expressiveness and reasoning mechanisms of non-classical languages, with respect to constraint satisfaction problems and, in general, in modelling decision scenarios. fuzzy constraint satisfaction, fuzzy logics, model theory.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Truth-preservation under fuzzy pp-formulas
Pilar Dellunde
Philosophy Dpt. of the Autonomous University of Barcelona,
Graduated School of Mathematics & IIIA - CSIC
Bellaterra, Spain
and
Amanda Vidal
Institute of Computer Science, Czech Academy of Sciences
Praha, Czech Republic
Truth-preservation under fuzzy pp-formulas
Pilar Dellunde
Philosophy Dpt. of the Autonomous University of Barcelona,
Graduated School of Mathematics & IIIA - CSIC
Bellaterra, Spain
and
Amanda Vidal
Institute of Computer Science, Czech Academy of Sciences
Praha, Czech Republic
Abstract.
How can non-classical logic contribute to the analysis of complexity in computer science? In this paper, we give a step towards this question, taking a logical model-theoretic approach to the analysis of complexity in fuzzy constraint satisfaction. We study fuzzy positive-primitive sentences, and we present an algebraic characterization of classes axiomatized by this kind of sentences in terms of homomorphisms and direct products. The ultimate goal is to study the expressiveness and reasoning mechanisms of non-classical languages, with respect to constraint satisfaction problems and, in general, in modelling decision scenarios.
Key words and phrases:
fuzzy constraint satisfaction, fuzzy logics, model theory.
1. Introduction
It is an natural question to observe the way in which mathematical non-classical logics can contribute to the study of certain phenomena, including complexity questions, in computer science. In particular, since many of the questions in CS are formulated over relational structures, the understanding of many-valued model theory, still in an early research stage, is very relevant for that purpose.
If we focus in computational complexity questions, a first approach to the topic can be found in [28] where some open problems are proposed by the authors about the relationship between fuzzy logic and valued constraint satisfaction. In our opinion, a research oriented to find a non-classical logical approach to complexity, should address, at least, the following three issues:
- (1)
Show that there is a good trade-off between algebra and logic in the relevant fragments. 2. (2)
Identify which problems in complexity theory are naturally expressed as questions about the expressive power of the non-classical logic. 3. (3)
Prove that these complexity problems are not better addressed in other known logical formalisms.
These issues are naturally interrelated. To evaluate the trade-off between algebra and logic, it is important to identify which are the relevant fragments of the non-classical logic where the complexity problems have to be expressed; and to prove the relevancy of the fragments, a comparative study of different logical formalisms with respect to their expressive power has to be performed.
Constraint-based modelling has become a central research area in computational social choice, and in particular in preference modelling, where preferences can be seen as soft constraints [23] . Different soft constraint formalisms can be found in the literature, among which fuzzy constraint satisfaction ([12] [31],), possibilistic [24] and probabilistic [15] as well as a very general formulation over semirings [4] that has not been, however, thoughtfully studied after. The most prominent case is that of Valued CSP ([32] [22],[21],), intensively studied with algebraic techniques and over which a plethora of complexity results have been proven.
The classical constraint satisfaction problem (CSP) is known to have strong connections with various problems in database theory and classical finite-model theory [20] where CSP can be rephrased as the homomorphism problem, the conjunctive-query evaluation problem, or the join-evaluation problem (among others). Some problems in complexity theory are naturally expressed as questions about the expressive power of certain classical logics. For instance, Fagin’s Theorem in Descriptive Complexity Theory (see [14]), shows that existential second-order logic captures NP on the class of all finite structures, that is, given an isomorphism-closed class K of finite structures of some fixed non-empty finite vocabulary, K is in NP if and only if K is definable by an existential second-order sentence.
When relaxation of constraints is considered, it is natural to ask for the relationship between the existing weighted CSP formalisms and the non-classical logical ones. In particular, as pointed out in [28] the most usual weighted CSP formalisms (valued CSP and fuzzy CSP) can be equivalently formulated over predicate structures respectively of the product standard algebra and of Gödel logic. This leads naturally to wonder the interests of model theory of predicate fuzzy logics in the understanding of relaxed constraint satisfaction questions. However, only in recent times, model theory of predicate fuzzy logics has been developed as a subarea of MFL (see for instance [6] or [11]), leaving the important area of fuzzy finite-model theory -the one nearest to the above questions- yet unexplored. Considering a general semantics for MFL, a plethora of left continuous t-norms can be defined, we can go far beyond of the minimum t-norm in the interval of the reals (most commonly used in FCSP) or the bounded addition in the negative natural numbers with bottom (arising in VCSP). We would like rather to explore the logical properties of fuzzy languages in general, their expressiveness, and reasoning mechanisms with respect to constraint satisfaction problems.
Positive-primitive formulas are one of the key elements in the logical study of classical CSP (see for instance [20]). In model theory applied to algebra, they have been also extensively studied. Algebraically, a pp-formula expresses the solvability of a system of linear equations, by asking for the existence of an assignment satisfying all atomic formulas conforming the pp-sentence. Particularly relevant is the use of pp-formulas in model theory of modules, where every definable subset of a module is a boolean combination of pp-definable cosets. This fact is used to prove that the theory of modules has pp-elimination of quantifiers, introducing a useful logical tool to study these mathematical structures (for a reference see [26]).
In CSP, it is very important the relation of constraints (expressed with pp-formulas) and the clone of polymorphisms of the structure, which has led, among many other results, to conclude a remarkable complexity dichotomy of the CSP question for a given structure ([3] [34],). In the VCSP framework, the usual formulation of a constraint instance is that related to existential formulas of (strong conjunction) of atomic formulas [21] [22], and a parallel relation with the so-called fractional polymorphisms is developed towards the complexity study of said problems. On the other hand, in [28] a larger class of problems is treated (over certain algebraic classes), which are those related to existential formulas with both strong and weak conjunctions.
The present paper revises and extends the results presented at the MDAI’18 Conference (see [10]). The original contribution of the article is the mathematical proof of two axiomatization theorems (for primitive-positive theories, and for existential positive theories).
2. Preliminaries
2.1. Predicate Fuzzy Logics
Now we present the syntax and semantics of the predicate fuzzy logic MTL, one of the predicate extensions of the left-continuous t-norm based logic MTL introduced in [13] and we refer to [Section 5, Chapter 1][7] for a complete and extensive presentation of MTL.
Definition 0.1**.**
Syntax of Predicate Languages A predicate language is a triple , where is a nonempty set of predicate symbols, is a set of function symbols (disjoint from ), and represents the arity function, which assigns a natural number to each predicate symbol or function symbol. We call this natural number the arity of the symbol. The predicate symbols with arity zero are called truth constants, while the function symbols whose arity is zero are named individual constants.
The set of -terms, -formulas and the notions of free occurrence of a variable, open formula, substitutability and sentence are defined as in classical predicate logic. We asume that the equality symbol of the language is interpreted in every structure as the crisp identity. Notice that, in the language we have introduced there are also function symbols. The results we present in this paper hold also for arbritrary languages, and for this reason we have presented a general proof, that could be used in further applications of pp-definability in non-relational structures, not necessarily related to Constraint Satisfaction Problems.
Definition 0.2**.**
We introduce an axiomatic system for the predicate logic MTL
**(): **
Instances of the axioms of the propositional logic MTL.
**(): **
, where the term is substitutable for in .
**(): **
, where the term is substitutable for in .
**(): **
, where is not free in .
**(): **
, where is not free in .
**(): **
, where is not free in .
**(Ref=): **
**(LP): **
**(CRISP=): **
The deduction rules of MTL are those of MTL and the rule of generalization: from infer . The definitions of proof and provability are analogous to the classical ones. A set of formulas is consistent, if .
Definition 0.3**.**
Semantics of Predicate Fuzzy Logics Consider a predicate language and A an MTL-algebra. We define an -structure for as a triple , where is a nonempty domain, is an -ary fuzzy relation for each -ary predicate symbol, identified with an element of A, if ; and is a function from to , identified with an element of , if .
As usual, if is an -structure for , an -evaluation of the object variables is a mapping assigning to each object variable an element of . The set of all object variables is denoted by . If is an -evaluation, and , we denote by the -evaluation so that and for an object variable such that . If is an -structure and is an -evaluation, we define the values of terms, and the truth values of formulas in for an evaluation recursively as follows:
- •
;
- •
, for ;
- •
, for ;
- •
, for every connective ;
- •
;
- •
.
If the infimum or supremum does not exist, we take the truth value of the quantified formula as undefined. We say that the -structure is safe if is defined for every formula and every evaluation. We restrict only to safe models.
We assume that the language has an equality symbol , interpreted as a crisp identity. We denote by the fact that for all -evaluation ; and given a set of sentences , we say that is a model of , if for every , . A theory is a set of sentences, and we denote by () the set of -models of , and by Th(), the theory of , that is, the set of sentences evaluated 1 in . We say that two models are elementary equivalent, if they have the same theory.
From now on we fix a finite linearly ordered MTL-algebra A and consider only structures over this algebra. Examples of this type of finite algebras are all the Łukasiewicz finite-valued algebras. Since we work with structures over a fixed finite linearly ordered MTL-algebra, the infimum and the supremum in Definition 0.3 always exist, and they coincide with the minimum and maximum. Not only this, but the linear ordering of the underlying algebra makes this values coincide with one of the elements in consideration. This is called witnessing condition, and in particular for the development of this article, we are interested in the -witnessing: for every formula of the form , there are such that . The witnessing condition, not necessarily holding neither over non-linearly ordered algebras nor over infinite ones333Though there are some particular cases of logics whose models are not necessarily witnessed, but they enjoy completeness with respect to witnessed models of the class [17, 18]., is an important requirement in the results presented below. It allows to preserve truth under transformations that are only determining the behaviour of atomic formulas over the top element of the algebra, while in the case of not witnessed structures, that is not specific enough to conclude analogous results.
Another important property when we work with structures over a finite linearly ordered MTL-algebras is compactness, both for satisfiability and consequence (the proof can be found in [Th. 4.4][9]). Remark that, in fuzzy logic it is not always the case, for instance the product predicate logic is neither satisfiability nor consequence compact with respect to its standard algebra. Given a set of sentences , and a sentence , we denote by the fact that every A-model of is also an A-model of .
Theorem 0.4**.**
A-compactness. For every set of sentences and sentence , the following holds:
- (1)
[Satisfiability]* If for every finite subset , has an A-model, then has also an A-model.* 2. (2)
[Consequence]* If , then there is a finite subset such that .*
Definition 0.5**.**
Let be a predicate language and let an expansion of that contains constant symbols for some elements of the algebra . We say that a structure for the expanded language is standard if every algebra constant symbol is interpreted as the corresponding element of the algebra.
In the present paper we will make an extensive use of modelo-theoretic techniques (such as the diagrams method, for instance) that work with expanded languages. The compactness result of [Th. 4.4][9] hold also for languages expanded adding new algebra constant symbols for the elements of A. The important fact we want to point out here is that, if every finite subset has an standard model, we can guarantee that, using A-compactness, will also have an standard model. This is because the proof of [Th. 4.4][9] uses an ultraproduct construction, and by the same definition of ultraproduct [Def. 3.2] [9] if we have a set of structures where every algebra constant symbol is interpreted as the element of the algebra , then the ultraproduct of this set of structures also interprets every as the corresponding element of the algebra . Otherwise stated, from now on we assume that all the structrures for the expanded languages with algebra constant symbols are standard (in the sense of Definition 0.5). Also, for the sake of simplicity, when it is clear from the context, we will refer to A-structures simply as structures, because all the structures we consider will be over the same algebra A.
3. Fuzzy Positive-Primitive Formulas
In (classical) CSP, pp-formulas understood as an existential positive (with only -operation, see [19] for a general reference of the classical positive-primitive fragment) faithfully represent the CSP instances, since these are usually understood simply as a set of atomic formulas (constraints) and a solution for it is a tuple of elements that satisfy all the constraints at the same time. On the other hand, when relaxing this question to a valued setting, there is more than one natural definition of an instance of a valued constraint problem. While the most general definition of a VCSP instance (see eg. [22]) is analogous to that of CSP (a set of constraints, that now will be fuzzy and whose weights will be combined in some uniform way), we can also consider combinations of both conjunctions (as in [28]), to combine the constraint weights in two different levels. Along this section we will introduce and study what we consider to be the three natural generalisations of pp-formulas to the valued context. In particular, we see that homomorphisms and direct products preserve all these positive-primitive formulas.
Definition 0.6**.**
Fuzzy Positive-Primitive Formula Given a predicate language , and a -formula , it is said that is
- (1)
-primitive formula if is of the form , where is a quantifier-free formula built from atomic formulas by using only the connective . 2. (2)
-primitive formula if is of the form , where is a quantifier-free formula built from atomic formulas by using only the connective . 3. (3)
-primitive formula if is of the form , where is a quantifier-free formula built from atomic formulas by using only the connectives and .
Observe that clearly -primitive formulas and -primitive formulas are both -primitive formulas too, so in order to simplify the reading we will sometimes refer to -primitive formulas by pp-formulas.
Using the following proposition of [13] it can be proved that there is a canonical normal form for -primitive formulas. That is, every -primitive formula is equivalent to one of the form , where for every , is an atomic formula.
Proposition 0.7**.**
[Prop. 1.30 [13]] Let be a predicate language, for every -formulas and , the formula is an MTL theorem.
Let us recall now the definition of homomorphism introduced in [11] as a generalization of the notion of classical homomorphism.
Definition 0.8**.**
Homomorphism Let be a predicate language, and be two structures for , and a mapping from to . We say that is a homomorphism from to if and only if
- (1)
For every -ary function symbol , and ,
[TABLE] 2. (2)
For every -ary predicate symbol , and ,
if , then .
Moreover, we say that is an embedding, if is one-to-one, and that is an isomorphism, if is a surjective embedding.
In the following lemma we prove that primitive positive formulas are preserved under homomorphisms.
Lemma 0.9**.**
Let be a predicate language, and be two structures for , a homomorphism from to , and a pp-formula. Then, for every ,
if , then .
Proof.
By induction on the complexity of .
Atomic step. Let be an atomic formula of the form , where is a predicate symbol, and are -terms. Since is a homomorphism, we have that, in general, for every -term , and , and thus
\begin{array}[]{lr}||P(t_{1}\ldots,t_{k})(d_{1},\ldots,d_{n})||_{\mathfrak{M}}=1\Rightarrow\par\\[4.30554pt] ||P(t_{1\textbf{M}}(d_{1},\ldots,d_{n}),\ldots,t_{k\textbf{M}}(d_{1},\ldots,d_{n}))||_{\mathfrak{M}}=1\Rightarrow\par\\[4.30554pt] ||P(g(t_{1\textbf{M}}(d_{1},\ldots,d_{n})),\ldots,g(t_{k\textbf{M}}(d_{1},\ldots,d_{n})))||_{\mathfrak{N}}=1\Rightarrow\par\\[4.30554pt] ||P(t_{1\textbf{N}}(g(d_{1}),\ldots,g(d_{n})),\ldots,t_{k\textbf{N}}(g(d_{1}),\ldots,g(d_{n}))||_{\mathfrak{N}}=1\Rightarrow\par\par\\[4.30554pt] ||P(t_{1}\ldots,t_{k})(g(d_{1}),\ldots,g(d_{n}))||_{\mathfrak{N}}=1.&\end{array}
Quantifier-free. Assume inductively that the property holds for and for , then we have:
\begin{array}[]{lr}1=||\psi\&\chi(d_{1},\ldots,d_{n})||_{\mathfrak{M}}=||\psi(d_{1},\ldots,d_{n})||_{\mathfrak{M}}*||\chi(d_{1},\ldots,d_{n})||_{\mathfrak{M}}\Rightarrow\\[4.30554pt] ||\psi(d_{1},\ldots,d_{n})||_{\mathfrak{M}}=1\mbox{ and }||\chi(d_{1},\ldots,d_{n})||_{\mathfrak{M}}=1\Rightarrow\\[4.30554pt] ||\psi(g(d_{1}),\ldots,g(d_{n}))||_{\mathfrak{N}}=1\mbox{ and }||\chi(g(d_{1}),\ldots,g(d_{n}))||_{\mathfrak{N}}=1\Rightarrow\\[4.30554pt] ||\psi(g(d_{1}),\ldots,g(d_{n}))||_{\mathfrak{N}}*||\chi(g(d_{1}),\ldots,g(d_{n}))||_{\mathfrak{N}}=1\Rightarrow\\[4.30554pt] ||\psi\&\chi(g(d_{1}),\ldots,g(d_{n}))||_{\mathfrak{N}}=1.&\end{array}
Observe that the same argument holds for the weak conjunction .
Existential step. Assume inductively that the property holds for . Since is an -witnessed structure, we have that for some ,
[TABLE]
Thus, if , then and, by inductive hypothesis,
[TABLE]
∎
Observe also formulas closed under are preserved under the previous family of homomorphisms. However, that is not the case with other operations (namely and ). While taking subjective homomorphisms allows to preservve universal formulas too, the implication is hardly to have a regular behaviour.
Let us now introduce the notion of direct product. Unlike other definitions introduced in the literature, for instance in [28] we are interested in products resulting in structures over the same algebra A.
Definition 0.10**.**
A-direct product Let be a predicate language, a nonempty set, and for every , is a structure for . The direct product of the family , denoted by , is the structure that has as domain the usual classical direct product, the usual classical interpretation for constants and function symbols, and for every n-adic predicate symbol and tuple of elements of ,
[TABLE]
Notice that the product is well-defined because the algebra is finite. Moreover, observe that, so defined, the -projection of the direct product onto is a homomorphism, and thus, by Lemma 0.9, preserves pp-formulas. Focusing in truth-preservation only, a second kind of product-like construction can be done, obtaining a class of structures of which A-direct product are a particular case.
Definition 0.11**.**
Weak A-direct product Let be a predicate language, a nonempty set, and for every , is a structure for . A weak A-direct product of the family is any structure that has as domain the usual classical direct product, and the usual classical interpretation for constants and function symbols, and for every n-adic predicate symbol , and tuples of elements of ,
[TABLE]
We will denote by the family of weak A-direct products of
Observe that given a family of models, its A-direct product (in the sense of Definition 0.10) is always a weak -directed product.
Lemma 0.12**.**
Let be a predicate language, a nonempty set, and for every , a -structure. Assume that is a positive-primitive -formula, and are tuples of elements of . Then for every the following holds: for every ,
[TABLE]
Proof.
By induction on the complexity of . The proof of the atomic and quantifier-free step is similar to the corresponding proof in Lemma 0.9, by using the fact that for every -term ,
[TABLE]
For the existential step, assume inductively that the property holds for . For every , (because the structures are -witnessed) if and only if for every , there is such that
[TABLE]
Then, by using the inductive hypothesis, this happens if and only if
[TABLE]
∎
As a particular case, the previous holds for the -directed products.
4. Fuzzy Positive-Primitive Sets of Axioms
Axiomatization theorems provide a correspondence between syntactic and semantic notions in logic. Diagrams are the building blocks that, glued with compactness, allow us to build extensions of structures, and prove these axiomatization theorems. Let us thus to introduce the method of diagrams in this fuzzy setting in order to characterize homomorphisms, and prove an equivalent condition to the preservation of pp-formulas between structures.
Definition 0.13**.**
Let be a predicate language, and a structure for . The expansion of the language by adding an individual constant symbol for every , is denoted by ; and the expansion of the structure to is denoted by , where for every , .
Definition 0.14**.**
Let be a predicate language. For every structure for , we define Diag as the set of atomic -sentences such that .
Following the same lines of the proof of [Prop. 32][8] we can obtain this characterization of homomorphisms in terms of diagrams.
Lemma 0.15**.**
Let be a predicate language, and be two structures for . The following are equivalent:
- (1)
There is an expansion of that is a model of Diag. 2. (2)
There is a homomorphism from to .
Notice that, since the Diag contains equalities but not inequalities, the obtained homomorphism does not need to be an embedding. Now we present a characterization in terms of extensions, of when two structures preserve pp-formulas. Given a structure for a language , we denote by , the expansion of to a language obtained adding to a new truth constant for every element of the algebra, and such that is interpreted as the corresponding element .
Proposition 0.16**.**
Let be a predicate language, and and be two structures for . Then, every pp-sentence which is evaluated in , is also evaluated in if and only if there is a structure for , elementary equivalent to , and a homomorphism from to .
Proof.
The direction from left to right is clear. Now assume that every pp-sentence which is evaluated in , is also evaluated in . First we show that DiagTh has a model. We prove that for every finite subset of Diag, Th has a model. Let be the object constants of the expanded language that occur in . For every , let be the formula obtained from by substituting the constants by new variables . Then we have that and thus, since every pp-sentence which is evaluated in , is also evaluated in , and is a pp-sentence, we obtain .
Since is a -witnessed structure, we have a sequence of elements of N, , such that . If we assign to every constant the corresponding element we obtain an expansion of that satisfies Th.
By -compactness for satisfiability, there is a structure for that has an expansion which is a model of DiagTh. By Lemma 0.15, there is a homomorphism from to . Moreover, since is a model of Th, is elementary equivalent to . ∎
Notice that the previous proposition is true also when we subtitute in its statement pp-sentences by -primitive sentences or by -primitive sentences.
Now we prove an axiomatization theorem for theories closed under homomorphisms and weak direct products. Recall that a theory is closed under an operator , if the class of its -models, (), is closed under , that is, if is an n-adic operator, and are -models of , then is also an -model of . And it is said that a theory is axiomatized by a set of sentences , if ()().
Theorem 0.17**.**
Let be a predicate language and be a consistent theory. Then, is closed under homomorphisms and direct products if and only if is axiomatized by a set of positive primitive sentences.
Proof.
is immediate. For the other direction, consider the sets of formulas is a pp-sentence and , and is a pp-sentence and . We aim to prove that . Clearly . Now, consider a model of . Assume first that . Then for each , let be a model of but not a model of , and let .
Since is closed under direct products, is a model of too. From Proposition 0.16 we know that for any pp-sentence , is valid in if and only if is valid in for all . Allow us to call the set of pp-sentences valid in . It is easy to see that . Indeed, is trivial, since all are models of . On the other hand, for any pp-sentence not in , , and thus, by definition, .
Now, we know that the pp-sentences valid in are exactly . Thus, validates all the pp-sentences valid in . From Proposition 0.16, there is a structure elementarily equivalent to and a homomorphism . Since is closed under homomorphisms, and is a model of , so is . Moreover, since is elementarily equivalent to , then is also a model of , proving that .
In the case that , given that is consistent, for any model of it holds that validates all the pp-sentences valid in this model (i.e., all possible pp-sentences of , in fact). Then we proceed as above. ∎
Observe that, on the one hand, it is clear that a theory is axiomatized by -sentences if and only if it is axiomatized by -positive sentences and if and only if it is axiomatized by -positive sentences. Moreover, since all these formulas are also preserved under weak -directed products, we get the following corollary.
Corollary 0.18**.**
Let be a consistent theory over . Then the following are equivalent:
- •
* is closed under weak direct products and homomorphisms,*
- •
* is closed under direct products and homomorphisms,*
- •
* is axiomatized by -positive formulas,*
- •
* is axiomatized by -positive formulas,*
- •
* is axiomatized by pp-formulas.*
Using -compactness for consequence we can obtain the following corollary of Theorem 0.17. We introduce here the notation of two sentences and being 1-equivalent if and only if ()().
Corollary 0.19**.**
Let be a predicate language and be a consistent sentence. Then, is 1-equivalent to a pp-sentence if and only if is closed under homomorphisms and weak direct products.
Proof.
One direction is clear. Assume that is a consistent sentence such that Mod() are closed under homomorphisms and weak direct products. By Theorem 0.17, the set of consequences of is axiomatized by a set of pp-sentences . By Theorem 0.4, since , there is a finite subset such that . Since pp-sentences are closed under , a pp-sentence equivalent to the conjunction of all sentences in , is 1-equivalent to . ∎
5. Fuzzy Existential Positive Sets of Axioms
It is a natural question to ask which kind of sentences axiomatize those classes closed simply under homomorphisms. Using some previous results, we show that these kind of classes are axiomatized by fuzzy existential positive sentences.
Definition 0.20**.**
Fuzzy Existential Positive Formula Given a predicate language , and a -formula , it is said that is existential positive, if is of the form , where is a quantifier-free formula built from atomic formulas by using only the connectives , and .
Notice that the set of existential formulas is closed under weak disjunction, that is, any finite disjunction of existential formulas in equivalent in MTL to an existential formula (for a reference see p. 281 item (16) of [13]). Using this fact, the following result of [13] and the next proposition, it can be proved that every existential positive formula is equivalent to a disjunction of pp-formulas.
Proposition 0.21**.**
Prop. 1.30 and 1.31, [13] Let be a predicate language, for every -formulas and , the formulas , and are MTL theorems.
Now we prove an axiomatization theorem for classes closed under fuzzy homomorphisms.
Theorem 0.22**.**
Let be a predicate language and be a consistent theory. Then, is closed under homomorphisms if and only if is axiomatized by a set of existential positive sentences.
Proof.
is immediate. For the other direction, consider the set of sentences is a disjunction of pp-sentences and . We aim to prove that . Clearly . Consider a model of . Notice that, for every pp-sentence , if , then there is a model of such that , otherwise .
Now expand the language adding a new constant symbol , for the coatom of the algebra (the maximum element such that ). Let us denote by this expanded language. Consider the following set of -sentences:
[TABLE]
We show that has a standard model for the language . By -compactness for satisfiability, it is enough to prove that for every finite subset , , has an standard model for the language .
Assume, searching for a contradiction, that has no standard model in the expanded language. That is, in every standard model of for , for every , the sentence is valid. Observe that every model of for can be expanded to a standard model for the new language in a natural way (by interpreting the new constant as the corresponding element of the algebra). Consequently, since for every , is a -sentence, in every model of for the ’s will be valid. Therefore we will got to a contradiction, we will have that .
By -compactness for satisfiability, there is a standard model of , whose reduction to the original language has the property that validates all the pp-sentences valid in . From Proposition 0.16, there is a structure elementarily equivalent to and a homomorphism . Since is closed under homomorphisms, and is a model of , so is . Moreover, since is elementarily equivalent to , then is also a model of , proving that . ∎
Following the proof of Theorem 0.22 one can see that it is possible to subtitute in its statement existential positive sentences by existential positive sentences when only the weak conjunction and disjunction occurs.
Using -compactness for consequence we can obtain the following corollary of Theorem 0.22.
Corollary 0.23**.**
Let be a predicate language and be a consistent sentence. Then, is 1-equivalent to an existential positive sentence if and only if Mod() is closed under homomorphisms.
6. Discussion and Future Work
Can non-classical logic contribute to the analysis of complexity in computer science? We started the paper with the statement of this general question, and in this final section, we would like to comment on how the axiomatization theorem can be regarded as a contribution to provide an answer to it.
In one of the books of reference in the field [5] model theory is described as algebra+logic. Working in this same framework, and in the line of recent works taking an algebraic approach to valued CSP (see for instance [21] and [22]), we have presented an algebraic characterization of the preservation of pp-formulas in terms of weak direct products and homomorphisms. Theorem 0.17 tells us that there is a good trade-off between algebra and logic in the fuzzy positive-primitive fragment.
However, the notion of fuzzy homomorphism traditionally used in the fuzzy literature, do not encompass other notions of polymorphism such as weighted or fractional polymorphisms (see for instance [21] or [22]). It seems natural that each of these notions has been born with a different purpose (preserving tractability, preserving truth degrees, preserving truth only, etc), and further research is needed to study other definitions of homomorphism (for example [28] [8], or [11]) and see their pros and contras in different contexts (higher expressivity-non polynomial preservation of complexity, lower expressivity - good computational behaviour, etc). Theorem 0.17 also sheds light to the fact that, if we introduce stronger notions of homomorphisms, we will need to redefine pp-formulas, possibly using a language expanded with constant symbols for the elements of the valued structure, in order to maintain the correspondence between algebra and logic.
The relational structures we have studied are over finite algebras, but we have proven the results both, for finite and for infinite domains, in order to cope with applications on infinite templates. In the classical case, the pp-preservation problem restricted to finite structures was solved by B. Rossman in [29] with some previous results, for instance in [1] in the context of CSP dualities. It would be interesting to prove the corresponding version in the fuzzy context, especially taking into account the improvements recently introduced in [30] with respect to the bounds on the quantifier-rank of the sentences.
Two other important lines of research are under ongoing work, but their more general range of application requires of a deeper and longer process of study and development. One concerns the behaviour of transformations like homomorphisms and direct products over infinite algebras (where the witnessing condition, as well as compacity, are likely to fail). The notion of homomorphism, as we said before, must be designed depending on its purposes, and understanding the a natural generalization to according which context is already a challenging question. Another ongoing work is that of understanding the behaviour of homomorphisms and products whose result is not a structure of the original algebra, but rather considering the algebras in a variety, and moving between structures over those algebras. This problem partially encompasses the previous one, since we will be bounded, in the majority of cases, to work with infinite algebras (as long as we do some reasoning over an infinite direct product, as for instance we do in the proof of Theorem 0.16).
7. Acknowledgements
The research leading to these results has received funding from RecerCaixa 2018 project AppPhil. This project has also received funding from the European Union’s Horizon 2020 research and innovation program under the Marie Sklodowska-Curie grant agreement No 689176 (SYSMICS project), and by the projects RASO TIN2015-71799-C2-1-P, CIMBVAL TIN2017-89758-R, and the grant 2017SGR-172 from the Generalitat de Catalunya.
This work was supported by the grant no. CZ.02.2.69/0.0/0.0/17_050/0008361 of the Operational programme Research, Development, Education of the Ministry of Education, Youth and Sport of the Czech Republic, co-financed by the European Union, and by the grant GA17-04630S of the Czech Science Foundation.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Atserias, A., Dawar A., Kolaitis, Ph. G.: On preservation under homomorphisms and unions of conjunctive queries. J. ACM, 53(2):208–237 (2006)
- 2[2] Bellman, R.E., Zadeh, L.A.: Decision-making in a fuzzy environment. Manag. Science, 17:141–164 (1970)
- 3[3] Bulatov, A.: A Dichotomy Theorem for Nonuniform CS Ps. In proceedings of IEEE 58th Annual Symposium on Foundations of Computer Science (FOCS), 319–330 (2017)
- 4[4] Bistarelli, S., Montanari, U., Rossi, F.: Semiring-based constraint satisfaction and optimization. J. ACM, 44(2):201–236 (1997)
- 5[5] Chang, C.C., Keisler, H.J.: Model Theory. Elsevier Science Publishers (1973)
- 6[6] Cintula, P., Hájek, P.: Triangular norm based predicate fuzzy logics. Fuzzy Sets and Systems, 161:311–346 (2010)
- 7[7] Cintula, P., Hájek, P., Noguera, C. (eds.): Handbook of Mathematical Fuzzy Logic, volume 37, Studies in Logic, Mathematical Logic and Foundations (2011)
- 8[8] Dellunde, P.: Preserving mappings in fuzzy predicate logics. Journal of Logic and Computation, 22(6):1367-1389 (2011).
