Next Article in Journal
Towards Analysis of Covariance Descriptors via Bures–Wasserstein Distance
Previous Article in Journal
Rethinking Metaheuristics: Unveiling the Myth of “Novelty” in Metaheuristic Algorithms
Previous Article in Special Issue
Exploring the Structure of Possibility Multi-Fuzzy Soft Ordered Semigroups Through Interior Ideals
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Quantales for Fuzzy Sets and Relations of Higher Types

by
Patrik Eklund
1,*,
Jari Kortelainen
2,† and
Magnus Löfstrand
3
1
Department of Computing Science, Umeå University, SE-901 87 Umeå, Sweden
2
Department of Information Technology, South-Eastern Finland University of Applied Sciences, FI-50100 Mikkeli, Finland
3
School of Science and Technology, Örebro University, SE-701 82 Örebro, Sweden
*
Author to whom correspondence should be addressed.
Retired.
Mathematics 2025, 13(13), 2159; https://doi.org/10.3390/math13132159
Submission received: 30 May 2025 / Revised: 27 June 2025 / Accepted: 30 June 2025 / Published: 1 July 2025
(This article belongs to the Special Issue Fuzzy Logic and Soft Computing—In Memory of Lotfi A. Zadeh)

Abstract

In this paper, we open up more possibilities to define higher types of fuzzy sets in a mixed way. In doing so, we show that there are essentially two alternative definitions for fuzzy sets of higher types, one of which is widely adopted in the literature, and one where the unit interval, or subsets thereof, is used to represent membership values. The other alternative definition opens up new perspectives for the use of fuzzy sets of higher types, and it promotes the use of other algebraic structures of sets of membership values, where quantales are seen as particularly useful, also in applications. The paper also underlines the importance of making distinctions between “computing with fuzzy” and “fuzzy computing” and understanding the difference between “logic with fuzzy” and “fuzzy logic”.

1. Introduction

Zadeh [1,2] introduced the notion of fuzzy sets of higher types by saying that μ A ( x ) , for a fuzzy set μ A of type 2, is “allowed to be a fuzzy set of [ 0 , 1 ] ”.
In Zadeh’s vocabulary and notation, a “fuzzy set of [ 0 , 1 ] ” is a function μ : [ 0 , 1 ] [ 0 , 1 ] , i.e., a fuzzy set of type 2, according to [1,2], is
μ : X [ 0 , 1 ] [ 0 , 1 ]
where [ 0 , 1 ] [ 0 , 1 ] is the set of all functions f : [ 0 , 1 ] [ 0 , 1 ] .
For any x X , μ ( x ) is then a function
μ ( x ) : [ 0 , 1 ] [ 0 , 1 ]
where the range of fuzzy sets of type 2 is in the
[ 0 , 1 ] [ 0 , 1 ]
and the set of fuzzy sets of type 2, over X, is
( [ 0 , 1 ] [ 0 , 1 ] ) X
Generally, Y X denotes the set of all functions f : X Y . We use the power notation more frequently, particularly in Section 4.
In their Definition 3.22 in [1], with exactly the same wording as in Definition 3.1 in [2], Zadeh defines a fuzzy set to be of type n, n = 2 , 3 , , if its membership function ranges over fuzzy sets of type n 1 , further stating that the membership function of a fuzzy set of type 1 ranges over the interval [ 0 , 1 ] .
The range [ 0 , 1 ] of a fuzzy set of type 1 appears both in the base and in the exponent of the type 2 range [ 0 , 1 ] [ 0 , 1 ] .
For fuzzy sets of type 3, the situation opens up two alternatives for the range, as the range may be
[ 0 , 1 ] [ 0 , 1 ] [ 0 , 1 ]
or, alternatively,
[ 0 , 1 ] [ 0 , 1 ] [ 0 , 1 ]
Similarly, for fuzzy sets of type 4, the range is
[ 0 , 1 ] [ 0 , 1 ] [ 0 , 1 ] [ 0 , 1 ]
or, alternatively,
[ 0 , 1 ] [ 0 , 1 ] [ 0 , 1 ] [ 0 , 1 ]
and so on for fuzzy sets of type n.
This indeed leads to two different definitions for fuzzy sets of higher types, and in Section 4, we show how the alternative definitions can be provided recursively.
Before formulating the recursive definitions of fuzzy sets of type n, in Section 2, we provide a brief historical overview of fuzzy sets and fuzzifications, including discussions on traditions related to notations. In Section 3, we discuss algebraic structures equipped with the set of membership values, and we discuss the advantages of using quantales as possessing a suitable algebraic structure.
In Section 5, we introduce the Design Structure Matrix (DSM) as an application area, where fuzzy sets of higher types in fact already are used but not recognized in application development by academia and industry. Whereas in Section 4 we extend the range of fuzzy sets to embrace more elaborate structure, in Section 6, we discuss the domain X and how it can be extended with structure affecting topics and features in fuzzy logic.
Section 7 concludes the paper.

2. Fuzzy Sets and Fuzzifications

In [3], Zadeh introduced the notion of fuzzy sets using the notation f A for a “fuzzy set A in X” and defining it as the function f A : X [ 0 , 1 ] . Zadeh came later to use the notation μ A instead of f A , and the μ A notation has been widely used in the literature.
Zadeh remarks in their second footnote in [3] that the domain of the function may be restricted to a subset of X, without explicitly saying that such a restriction will define a partial function. In their third footnote, Zadeh remarks that the unit interval [ 0 , 1 ] may be replaced by “a suitable partially ordered set”. Zadeh’s introductory text speaks about “a continuum of grades of membership”, so it is not clear what kind of partially ordered structures Zadeh had in mind at the time of writing their 1965 paper. Zadeh may have had lattices in mind as “suitable” partially ordered sets, as a lattice structure has meet and join operations similar to m i n and m a x for the unit interval, where m i n and m a x provide the unit interval with a partial order and with the structure of a lattice.
Some years later, communicating with Zadeh, Goguen [4] introduced L-fuzzy sets, where the set L of membership values is discussed in light of a wide range of structures, including complete distributive lattices, frequently used in the fuzzy literature.
Zadeh’s notation μ A : X [ 0 , 1 ] for fuzzy sets (of type 1) may lead to some confusion. The characteristic function χ A : X { 0 , 1 } of a subset A X is
χ A ( x ) = 1 , if x A 0 , if x A
where the function is indexed by A, the set for which the function “is characteristic”. The index A is the set for which χ A is its characteristic function. However, in the case of μ A , A is not a set, and it is actually nothing in itself but rather just an indexing symbol in the notation for the membership function so that we may informally say “A is a fuzzy subset”. The index A could in fact be dropped so that a fuzzy μ on a set X can be defined as a function μ : X [ 0 , 1 ] . Alternatively, A could be the actual notation for the fuzzy set, so that the fuzzy set is denoted by A : X [ 0 , 1 ] , making “ μ ” obsolete in the notation. The notation “A” for a fuzzy set was adopted by Goguen in [4], where A is an L-fuzzy set over X whenever A is the function A : X L .
Notations connected with fuzzy sets may indeed be confusingly intertwined, if the notions of “set” and “function” are not clearly separated in the notation. If we say that the function μ : X [ 0 , 1 ] is a “fuzzy set over X”, we may introduce the set
A μ = { ( x , μ ( x ) ) x X }
which is a subset of the product set X × [ 0 , 1 ] , so that the A μ as a set defined by (3) “represents” the fuzzy set μ as function. In this case, μ is given and it enables us to define A μ .
We may also have it the other way around, i.e., we have subset A X × [ 0 , 1 ] which, in order to enable us to define a fuzzy set, must fulfill the conditions
(a)
For each x X there exists an α [ 0 , 1 ] such that ( x , α ) A ;
(b)
If ( x , α 1 ) , ( x , α 2 ) A , then α 1 = α 2 .
If A X × [ 0 , 1 ] fulfills conditions (a) and (b), we may define a fuzzy set μ : X [ 0 , 1 ] according to μ ( x ) = α whenever ( x , α ) A . In this case we obtain A μ to appear as in (3).
Now we clearly see how A, or A μ , is a set whereas μ , or μ A , is a function. Confusion may indeed arise if we use “A” interchangeably for both the function and the set representing the function.
These notational remarks may seem superfluous, but when we provide our notations for fuzzy sets of higher types we have to treat indices carefully so as to not introduce ambiguous notation because of the intuitive meanings of symbols that are not defined in the context.
Zadeh’s summation and integral notations, introduced in [1], are informal notations, and may invite additional intuitive understandings of fuzzy sets. Misuse of these notations could easily spill over to include non-intended hidden properties in the formal treatment of fuzzy sets.
In [1] Zadeh writes that a finite set
U = { u 1 , , u n }
can be expressed as
U = u 1 + + u n
or
U = i = 1 n u i
where a theoretically precise set notation would, respectively, be
U = { u 1 } { u n }
and
U = i = 1 n { u i }
Zadeh also introduced a similar “summation” notation for a fuzzy set over U according to
A = μ 1 / u 1 + + μ n / u n
or
A = i = 1 n μ i / u i
where μ i , i = 1 , , n , are “membership grades” attached to elements u i U . The theoretically precise set notations would, respectively, be
A = { ( u 1 , μ 1 ) } { ( u n , μ n ) }
and
A = i = 1 n { ( u i , μ i ) }
For infinite sets U, and given a fuzzy set μ A : U [ 0 , 1 ] , Zadeh introduced the “integral” notation
A = U μ A ( u ) / u
which in theoretically precise set notation would be
A = u U { ( u , μ A ( u ) ) }
In this paper, we prefer to avoid using Zadeh’s summation and integral notations so as to not invite intuitive and informal interpretations of sets and functions representing fuzzy sets.
Note also how notation is informal in expressions for fuzzy set operations, e.g., in the case of the “union” of two fuzzy sets μ A and μ B , with sets A and B defined as in (3). Fuzzy set “union” is defined as
μ A B ( x ) = m a x ( μ A ( x ) , μ B ( x ) )
but the symbol ‘∪’ in (4) is not the symbol for a union of sets, i.e., ‘ A B ’ is not the set union of A and B as defined by (3).
In [3], Zadeh defines constructions for functions that provide mappings and inverse mappings of fuzzy sets. More precisely, as f : X Y and using the notation for L-fuzzy sets, if β : Y L is an L-fuzzy set on Y, then f defines an L-fuzzy α : X L on X by
α ( x ) = β ( f ( x ) )
Conversely, if an L-fuzzy set α : X L is known, then f defines an L- fuzzy set β : Y L by
β ( y ) = y = f ( x ) , x X α ( x ) , if there exists x X such that y = f ( x ) 0 , otherwise
which is Zadeh’s Extension Principle, which was already defined in [3] but was not called the Extension Principle until the publication of [1].
In case both α and β are given, the way f is “structure preserving” between these fuzzy sets was explored in [5], where, using category theoretical language, f is said to be a morphism whenever
α ( x ) β ( f ( x ) )
Clearly, if f defines β as in (5), then f becomes a morphism, but there are indeed other morphisms between α and β . In other words, definition (5) viewed as a morphism condition is stronger than the morphism condition (6) proposed in [5]. Goguen was in [5] then able to extend the category Set of ordinary sets as objects and ordinary functions as morphisms to the category Set ( L ) where objects are L-fuzzy sets over X, μ : X L , and morphisms are functions f : X Y that fulfill the morphism condition (6).
On fuzzification, and often based on the Extension Principle, there are various options for extending properties and expression using sets to enable the involvement of fuzzy sets. Fuzzy topology, as introduced in [6], was defined simply by using fuzzy set operations in place of set operations. A fuzzy magma, as introduced in [7], with magmas (see Section 3) as a group ( G , ) over a fuzzy set μ : G L , is defined as fulfilling μ ( a b ) μ ( a ) μ ( b ) , for all a , b G . Inspired by such fuzzifications in topology and algebra, similar and often rather straightforward fuzzifications were developed in other branches of mathematics, which certainly was one of the main reasons for the accelerated growth of interest in fuzzy systems, in particular during the 1970s and 1980s. At the same time, AI with neural networks became popular and widespread, leading to interaction between the fuzzy and neural network communities. The IEEE conferences for Fuzzy Systems and Neural Networks were co-located in Spring 1993 in San Francisco, where the printed proceedings, in several volumes, contained neural network-based papers more than twice as much as the fuzzy systems papers, while also including many “neural fuzzy” approaches, in particular within engineering applications as involving fuzzy controllers extended with learning capabilities.

3. Lattices, Semigroups, and Quantales

The unit interval [ 0 , 1 ] as a continuum has been and still is the dominating range of fuzzy sets, particularly in applications involving decision support using rule-based systems. Finite sets with structure had long been used before the publication of [3], in particular in many-valued logic, to extend the notion of “two-valued truth”. Three-valued logic was widely used in logic and in work related to the foundations of mathematics during early decades of the 20th century. A survey of these efforts can be found in [8].
Extending two-valued truth in logic to three-valued truth still does not invite using other types of logical operators than those used in two-valued logic. Whereas in two-valued logic the boolean operators are unique, in three-valued logic, there are several ways to define conjunction and disjunction, all leading to three-valued logics with their own distinctive properties. The underlying order of truth values in three-valued logic is also still just a chain, and the middle value was always treated as something that is neither true nor false.
We may also recall how the Sheffer stroke can be used to define all other logical operators when working with two-valued truth, but for many-valued logic in general there are no similar representabilities as the number of options for operators grows exponentially.
Going beyond three values for truth, even to using as little as five and six values for truth and membership, opens up a surprisingly wide spectrum of opportunities for investigating the algebraic structure of the set of truth values. The underlying order structure may no longer be a chain, and, more importantly, working only with conjunction and disjunction as binary operators becomes a restriction, which calls for adding other semigroup operators that possess order-preserving-like properties.
Adding a semigroup operation and requiring it to be distributive with operations providing order relations in the algebra of truth and membership values will essentially introduce a “new multiplication” distinct from the conjunction operator. The distributivity of such an added multiplication operator is suitably assumed to be distributive with respect to disjunction, similar to the situation in distributive lattices concerning conjunction and disjunction.
We therefore advocate for the use of quantales [9] as the underlying algebraic structure for membership in fuzzy sets, so whenever we speak of “Q-fuzzy” in the sense of [4], we assume that Q is a quantale.
In this section, we now discuss certain order-theoretic and algebraic structures needed to construct the order and algebra of fuzzy sets. In particular we present quantales with properties that are useful in many-valued logic, and we also show how even smaller number of membership values in a quantale lead to a wide range of opportunities in applications.
To begin with, recall that one of the main ideas of fuzzy sets is to put elements of a set X in order (by using ’grades’) and combine these orders to receive a final order. We start by providing some viewpoints about lattices. For more details on lattices, see, for example, [10].
A partially ordered set X, denoted by ( X , ) , is a lattice if every two-element set { x 1 , x 2 } X has an infimum and supremum, i.e., greatest lower bound and lowest upper bound in X, denoted by x 1 x 2 and x 1 x 2 , respectively. The operations ∧ and ∨ are called meet and join, respectively, logically corresponding to conjunction and disjunction. A lattice ( X , , , ) may be written case-dependently by X, ( X , ) , or ( X , , ) .
Given a lattice ( X , , ) , the corresponding partial order ≤ satisfies x 1 x 2 if and only if x 1 = ( x 1 x 2 ) , or, if and only if x 2 = ( x 1 x 2 ) . These two criteria are equivalent because of the absorption laws. Additionally, ∧ and ∨ are idempotent, commutative, and associative operations. Note that one may first have an algebra ( X , , ) and then generate a partial order ≤ (if it exists) to have a lattice, or alternatively, first have a partially ordered set ( X , ) and then generate operations ∧ and ∨ (if they exist) to have a lattice.
A lattice ( X , ) is complete whenever every A X has an infimum and supremum in X, denoted by A and A , respectively. It is evident that in this case, X contains the smallest element, ⊥ (universal lower bound), as well as the largest element, ⊤ (universal upper bound), given the lattice partial order. Focusing on lattice operations with universal lower and upper bounds, one may denote the lattice as ( X , , , , ) .
Lattices may be equipped with additional properties, with distributivity being one such typical additional axiom. A lattice is said to be distributive if
x 1 ( x 2 x 3 ) = ( x 1 x 2 ) ( x 1 x 3 ) x 1 ( x 2 x 3 ) = ( x 1 x 2 ) ( x 1 x 3 )
for all x 1 , x 2 , x 3 X .
Finite lattices are always complete, but they are not always distributive. Finite lattices that are chains, i.e., the partial ordering is the total, are always distributive.
Let us at this point remind ourselves that the names of the elements in X are just symbols, i.e., we should never assume a property not mentioned to be valid simply because a symbol looks like a symbol often used in another mathematical context where the symbol is connected with other properties.
If X is 2-pointed, i.e., X = { , } , there is only one lattice over X. Similarly, for the 3-point situation X = { , e , } , there is only one lattice. The elements in X may indeed be named or symbolized in different ways, and in graphical presentations of lattices, we sometimes find it suitable to write X = { 0 , 1 , , n 1 } , for the n-point set in a lattice, where 0 is the bottom element, and n 1 is the top element.
There is indeed only one lattice, the chain, on 2-point and 3-point sets, as shown in Figure 1.
There are two lattices on a 4-point set, as shown in Figure 2.
There are 5 lattices on a 5-point set, shown in Figure 3.
Note that, in the case of the “diamond” lattice with four elements, we may see it as 3-point subchain, e.g., on the set { 0 , 1 , 3 } with element ‘2’ as a “sidelined” point with respect to the subchain. This is more apparent in the case of 5-point lattices, where lattices Nr 1, 3, and 4 can be viewed as containing subchains with four elements together with one sidelined element, which is “situated” differently in the respective lattice. The sidelined elements may, particularly in some applications, be understood as a “not known” membership or truth value, and doing so, quantales thus enable us to compute with missing values.
There are 15 lattices on a 6-point set, shown in Figure 4.
Note that for 6-point sets we have six lattices with five chains together with a sidelined element. These are lattices Nr 2, 5, 9, 11, 13, and 14, all with a different “location” for the sidelined element with respect to the subchain. For example, in lattice (i) Nr 9, the sidelined element 1 is below the top and above the bottom element but unordered or unrelated to all other elements. Lattice (k) Nr 11 is similar, but then only elements 2 or 3 are unordered with respect to each other. Lattices (b) Nr 2 and (e) Nr 5 have sideline elements that are in a “more pessimistic way” ordered with respect to the other elements, whereas lattices (m) Nr 13 and (n) Nr 14 are correspondingly “optimistic”.
Elements in the subchain can be renamed as desired and as best-suited for an application, e.g., when qualifying ‘problems’ of some kind, N O (problem) is the top element, C O M P L E T E (problem) is the bottom element, and M I L D , M O D E R A T E , and S E V E R E (problems) are in between. Using such a renaming, for instance, in lattice (b) Nr 2, elements 2 and 3 would correspond to M I L D and M O D E R A T E , respectively, so by default, the missing or (still) unknown value, the sidelined element 1 renamed N o t K n o w n , is worse than N O (problem) but better that S E V E R E (problem).
Lattice (m) Nr 13 in Figure 5 then has N o t K n o w n as “optimistically” sidelined with the 5-point scale subchain.
In [11], without graphical representations, there are meet and join tables for all 53 lattices on a 7-point set and all 222 lattices on an 8-point set.
Working with 6-point lattices of the form a “subchain of 5 with one sidelined element” is particularly useful in applications as the 5-point subchain can be viewed as extending the 3-point “traffic light” to a 5-point scale of qualifications together with an element representing “missing data”. Clearly, we may extend the “traffic light” scale in various ways, and as required by the application, keeping in mind that complexity increases and practicability becomes questionable as the number of elements in the lattice grows. Note also that we may pick out more than one sidelined element, with a correspondingly smaller subchain, and provide dedicated interpretations for such elements, i.e., depending on how we prefer to interpret the kind of values they carry. Lattice (b) in Figure 3 can be viewed as a having a 3-point subchain with two sidelined elements. In Figure 4, there are several lattices with more than one sidelined element.
We now proceed with some remarks on semigroups, and we first note that a magma  ( X , ) consists of a set X and a binary operation : X × X X , not constrained by any properties whatsoever. A magma is simply a function from X × X to X.
It is important to understand how the number of structures grow as the number of points in the underlying set increase. In classical boolean logic, there are 2 2 · 2 = 16 magmas, i.e., binary operations, on a 2-point set. There are 3 3 · 3 = 19 683 magmas on a 3-point set, 4 4 · 4 = 4 294 967 296 magmas on a 4-point set, 5 5 · 5 = 298 023 223 876 953 125 on a 5-point set, and 6 6 · 6 = 10 314 424 798 490 535 546 171 949 056 magmas on a 6-point set. The set of 10 10 · 10 operators to choose from in a 10-valued logic is obviously more than overwhelming. The situation with 6 6 · 6 is not as bad as it may seem, as we will see, in particular, when we deal with quantales. Once we require the chosen operators to fulfill certain properties, number 10 314 424 798 490 535 546 171 949 056 becomes downsized to something we can manage, while realizing how it becomes illuminating, conceptually enriching, and, most importantly, applicable.
As we realize how many binary operators, i.e., magmas, we indeed have if nothing whatsoever is required for the operators, we then recognize that the more requirements we add, the less operators we will have. Criteria and constraints involving several operators obviously further increase these numbers.
A semigroup  ( X , ) is a magma where the binary operation : X × X X satisfies x ( y z ) = ( x y ) z for all x , y , z X , i.e., a semigroup is an associative magma.
A semigroup is commutative if x y = y x for all x , y X , but as we shall see in the case of quantales, we may not always want to require a binary operation to be commutative.
Before discussing quantales, let us recall that arithmetic multiplication is commutative, and this may be the reason why we tend to take the commutative property for granted. However, non-commutative operations are also useful in practice.
We further have to be careful when using arithmetic operation as a basis to construct semigroups in finite sets of numbers, as we see in the following example.
Use ordinary multiplication for the operator · : { 0 , , 5 } × { 0 , , 5 } { 0 , , 25 } to yield Table 1.
Now use the rounding r o u n d ( a · b 5 ) to obtain a binary operator : { 0 , , 5 } × { 0 , , 5 } { 0 , , 5 } to yield the corresponding Table 2.
Note that choosing between rounding “point half” values up or down is not relevant in this example as there are no such “point half” values. However natural and practical rounding may be, the resulting operator will not satisfy associativity since, e.g., ( 2 2 ) 3 = 1 3 = 1 0 = 2 1 = 2 ( 2 3 ) , making the operator less appropriate for use in applications.
We now proceed to discuss quantales [9]. A quantale  ( X , , , , , ) is a semigroup ( X , ) and a complete lattice ( X , , , , ) , fulfilling the condition that the semigroup operation is join-preserving in both variables, i.e., the following conditions are fulfilled:
x ( a A X a ) = a A X ( x a ) ( a A X a ) * x = a A X ( a x )
for all x X and all A X .
Note the convention Ø = , which means that
x     =     x   =  
for all x X . In some applications this condition may be too restrictive.
Note that a distributive lattice is a quantale with the join as the semigroup operation. However, this is a very special kind of a quantale.
While there are 5 semigroups on a 2-point set, 24 semigroups on a 3-point set, 188 semigroups on a 4-point set, 1915 semigroups on a 5-point set, and 28 634 semigroups on a 6-point set [12], for quantales, there are 2 quantales on a 2-point set, 12 quantales on a 3-point sets, 129 quantales on a 4-point set, 1852 quantales on a 5-point set, and 33 391 quantales on a 6-point set [11].
Table 3 shows the number of quantales per lattice in the case of 6-point lattices.
A unital quantale  ( X , , e , , , , ) is a quantale where ( X , , e ) is a monoid and where the unit e satisfies
x e = e x = x
for all x X . In applications, unital quantales are useful when the sidelined elements are viewed as units.
There are 2830 quantales for the 6-point lattice Nr 13, 57 of which are unital with the sidelined ‘not known’ is the unit. We then have a reasonable condition
x N o t K n o w n = N o t K n o w n x = x
for all values x in the generic 5-point scale, i.e., computing with unknown values does not affect the overall computation. One of the 57 semigroups, listed as quantale 6.13.1160 in [11] as a unital quantale, is shown in Table 4.
Note how this semigroup operation in quantale 6.13.1160 is non-commutative. Indeed, we have S E V M I L D = C O M P L , whereas M I L D S E V = S E V .
In [10], quantales appear under the name cl-semigroup. Inspired by Birkhoff, Goguen’s “L” in L-fuzzy sets is generally a quantale, and such a structure is called a closg for a complete lattice ordered semigroup by Goguen.
We may underline that a completely distributive lattice is indeed a special case of a quantale and the unit interval [ 0 , 1 ] is a very special case of a quantale.
The study of quantales has a long history. Some historical remarks are provided in [9].

4. Fuzzy Sets and Relations of Higher Types

In Section 1, we pointed out how (1) and (2) lead to two different definitions for fuzzy sets of higher types. We can now formulate these alternative definitions using recursive expressions.
If, for the range of fuzzy sets, we write R 1 = [ 0 , 1 ] for the type 1 range, we may write R 2 = [ 0 , 1 ] R 1 , or alternatively, R 2 = R 1 [ 0 , 1 ] , for the type 2 range. In both cases, R 2 = [ 0 , 1 ] [ 0 , 1 ] , i.e., for type 2 fuzzy sets we have only one definition.
The alternative definitions become apparent when we generally have
R n = [ 0 , 1 ] R n 1
or, alternatively,
R n = R n 1 [ 0 , 1 ]
for the type n range, n = 2 , 3 , .
The set of fuzzy sets of type n over a set X is thus
R n X = [ 0 , 1 ] R n 1 X
or, alternatively
R n X = R n 1 [ 0 , 1 ] X
Goguen [4] wrote intuitively about “fuzzy fuzzy sets of X” and how “there is no end to the possible levels of fuzzification”. He further remarked on the difference between X ( Y Z ) and ( X Y ) Z , and preferred (Goguen in [4] writes that “when we write X Y Z , we shall intend the stronger form X ( Y Z ) ”) to use X ( Y Z ) , which corresponds to alternative (9), with the simple argument that L, the lattice of fuzzy values, appears in the base of the powerset L X of L-fuzzy sets over X. Goguen did not, however, provide practical examples to justify their preference.
As we now realize that there are indeed alternative ways to define higher types of fuzzy sets, we are obviously interested in comparing notations used for fuzzy sets of higher types, respectively, e.g., in [1,2,13,14,15,16,17,18], and indeed, in order to identify which alternative interpretation is preferred.
Before comparing notations, let us see how the set and function representations of fuzzy sets play out in the respective alternative definitions of fuzzy sets of higher types. In order to make expressions more transparent, we will use Q instead of the unit interval [0,1], and we will first distinguish between Q appearing as base and the exponent in Q Q by using Q b for the base and Q e for the exponent. Note that, indeed, Q b and Q e need not necessarily represent one and the same algebraic structure for the set of membership values, but for the purpose of seeing how set and function representations of fuzzy sets play out, we need not prescribe whether or not Q b and Q e represent the same structure. In fact, Zadeh in [1,2] introduced the higher types by first describing the situation for Q b = { 0 , 1 } .
The range of fuzzy sets of type 2 is thus
Q b Q e
and the range for fuzzy sets of type n, n = 2 , 3 , , is
R e , n = Q b R e , n 1
with R e , 1 = Q e , or, alternatively,
R b , n = R b , n 1 Q e
with R b , 1 = Q b .
Note that if Q b is a quantale, then so is R e , n and R b , n .
The set of fuzzy sets of type n over a set X is thus
R e , n X = Q b R e , n 1 X
or, alternatively,
R b , n X = R b , n 1 Q e X
Note how these recursive expressions make use of only Q b and Q e . For instance, for n = 4, (12) and (13) become, respectively,
R e , 4 = Q b Q b Q b Q e
and
R b , 4 = Q b Q e Q e Q e
Obviously, once the range for a fuzzy set of a selected type n has been determined by one of the alternatives, different algebraic structures Q i , i = 1 , , n , may be used in the recursive definitions, and we then obtain the following definitions for the range of fuzzy sets of type n, n = 2 , 3 ,
R e , n = Q n R e , n 1
with R e , 1 = Q 1 , or, alternatively,
R b , n = R b , n 1 Q n
with R b , 1 = Q 1 , and the definition of the set of fuzzy sets of type n over a set X is
R e , n X = Q n R e , n 1 X
or, alternatively,
R b , n X = R b , n 1 Q n X
Now these recursive expressions make use of a wider variety of structures. For instance, for n=4, (16) and (17) become, respectively,
R e , 4 = Q 4 Q 3 Q 2 Q 1
and
R b , 4 = Q 1 Q 2 Q 3 Q 4
Note that the algebraic structure of both R e , n X and R b , n X is inherited solely from the algebraic structure of its base without any “algebraic involvement” of X. In the set Q X of fuzzy sets of type 1, the algebraic operations in Q X are inherited from Q. For instance, a join operation Q in Q, which for element x 1 , x 2 Q provides x 1 Q x 2 in Q, is used to define a corresponding join operation Q X in Q X , so that for any fuzzy sets μ 1 , μ 2 : X Q and any x X , we have
( μ 1 Q X μ 2 ) ( x ) = μ 1 ( x 1 ) Q μ 2 ( x 2 )
In the case of type 2 fuzzy sets, the algebraic structure of ( Q b Q e ) X is then inherited solely from the algebraic structure of Q b Q e , but it is an open question what the algebraic structure of Q b Q e actually is. It may in turn inherit its algebraic structure solely from Q b , in particular, if and when Q b Q e is viewed as a set of fuzzy sets. In this case, the algebraic structure of Q e is indeed ignored. This ignorance is justified if for type 2 fuzzy sets we have the underlying idea that “the membership value is a fuzzy set”. Then Q b Q e is viewed as a set of fuzzy sets, and then the structure of Q e is ignored. On the other hand, if we say “the membership value is fuzzy”, or, “the membership value is a higher type of membership value”, then Q b Q e can be viewed as something other than just a set of fuzzy sets. For instance, if Q b Q e is taken not as the set of all functions from Q e to Q b but instead as the set of all join-preserving algebra homomorphisms, Q e to Q b , then the set Q b Q e is different, and so is its algebraic structure. Join preservation means that a function f : Q e Q b , in the finite case, fulfills the condition
f ( x 1 e x 2 ) = f ( x 1 ) b f ( x 2 )
where e and b are the join operations, respectively, in Q e and Q b . For example, if Q e and Q b are the same and taking a 3-point quantale Q over the 3-point lattice as a chain, then the set and lattice of join-preserving functions, often written [ Q , Q ] and not to be confused with the base structure ignoring power Q Q , will have lattice (k) Nr 11, shown in Figure 4, as its underlying lattice.
The set and lattice [ Q , Q ] equipped with function composition as a semigroup operation makes [ Q , Q ] a quantale.
In the infinite case we have the corresponding condition
f ( A ) = x A f ( x )
It is important to underline the distinction between Q Q as a structure, ignoring power from [ Q , Q ] as the set of join-preserving functions, simply from the viewpoint of the numbers of elements in respective sets. In Q Q , where the base Q is viewed as a quantale and the power Q as just a set, the number of fuzzy sets over Q, the domain, equals 3 3 , i.e., 27, and as the size of Q grows, the number of fuzzy sets in
Q Q Q Q
is incomprehensible. On the other hand, and for fuzzy sets of type n, with n being smaller, and many of the quantales Q 1 , , Q n in
Q n Q n 1 Q 2 Q 1
being small—some even being 2-pointed or 3-pointed, for whatever reason provided in applications—the number of elements as functions is much smaller and also classifiable by algebraic properties.
Going beyond 2 to higher types of fuzzy sets means that the “structure ignorance” will be differently located depending on whether we prefer to use R b , n or R e , n . In this paper, we do not dwell in more detail on the join-preserving functions. The situation on 3-point quantales is discussed in [19].
It is also important to observe some detail concerning the set representation of higher-type fuzzy sets. Given a fuzzy set of type 2
μ : X Q b Q e ,
we now obtain the set representation as a subset
A μ X × Q b Q e
given by
A μ = { ( x , μ ( x ) ) x X , μ ( x ) : Q e Q b }
Because of Cartesian closedness, we will have
Q b Q e X Q b X × Q e
and μ will therefore produce
μ : X × Q e Q b ,
defined by μ ( x , α ) = μ ( x ) ( α ) , with a corresponding set representation as a subset
A μ ( X × Q e ) × Q b
given by
A μ = { ( ( x , α ) , μ ( x , α ) ) ( x , α ) X × Q e , μ : X × Q e Q b }
which can also be written as
A μ = { ( ( x , α ) , β ) ( x , α ) X × Q e , β = μ ( x , α ) Q b }
The generalization to type n is now as follows and is indeed in the “structure ignorance” situation. Alternative (18) unfolds as
Q n R e , n 1 X Q n X × R e , n 1 = Q n X × Q n 1 R e , n 2 = Q n X × Q n 1 Q n 2 R e , n 3 = . . .
which gives the congruence
( Q n R e , n 1 ) X Q n X × Q n 1 Q n 2 Q 2 Q 1 ,
and alternative (19) unfolds as
( R b , n 1 Q n ) X R b , n 1 X × Q n Q 1 ( ( ( ( X × Q n ) × Q n 1 ) × Q n 2 ) × ) × Q 2
providing the congruence
( R b , n 1 Q n ) X Q 1 X × Π i = 0 n 2 Q n i
Note how congruences (24) and (26) show that a fuzzy set of type n can in fact be viewed as congruent with a fuzzy set of type 2, but with quite different views of reductions with respect to what happens in the exponent.
The set representation of (24) is now
A μ = { ( ( x , ϕ ) , β ) ( x , ϕ ) X × Q n 1 Q n 2 Q 2 Q 1 , β = μ ( x , ϕ ) Q n } ,
where
ϕ : Q n 2 Q 2 Q 1 Q n 1
is a function, and the set representation of (26) is
A μ = { ( ( x , α ¯ ) , β ) ( x , α ¯ ) X × Π i = 0 n 2 Q n i , β = μ ( x , α ¯ ) Q 1 }
where α ¯ Π i = 0 n 2 Q n i is an n 1 -tuple.
Note in both (27) and (28) how the data structures in the exponent cannot detach any substructure that is not connected with an element x in X. In other words, when in [1,2] Zadeh says “membership values are allowed to be fuzzy set”,we should understand it as “membership values connected with elements x in X are allowed to be fuzzy sets”.
We have now arrived at a key point of this paper, namely, that, concerning the intuitive idea for “fuzzy fuzzy”, we are in position to distinguish between “a fuzzy set is fuzzy”, as defined by (9), and “fuzzy is a fuzzy set”, defined by (10).
Now we are in a position to go into detail concerning the comparison of notations used for fuzzy sets of higher types in [1,2], [13,14], [15,16], and [17,18].
Zadeh’s “point of departure” in [1,2] to understand operations on fuzzy sets of type 2 is to start with type 2 fuzzy sets of form
μ : X { 0 , 1 } [ 0 , 1 ]
and further restricting μ ( x ) to be a subinterval of the interval [ 0 , 1 ] . This enables Zadeh to use level sets and convex fuzzy sets of type 1 in order to arrive at a definition for intersections of fuzzy sets of type 2. In [1,2], Zadeh indeed defines a fuzzy set of type n, n = 2 , 3 , , to have its membership function ranging over fuzzy sets of type n 1 , but Zadeh does not provide the recursive definition, and he also provides no detail beyond that for fuzzy sets of type 2, so one cannot say how [1,2] intended to view fuzzy sets of higher types from the viewpoint of (9) and (10).
Mizumoto and Tanaka [13] defined fuzzy sets of type 2 as
μ A : X [ 0 , 1 ] J ,
saying that J may be the unit interval or a subset thereof, or even a finite subset of the unit interval. “By analogy”, they say fuzzy sets of type n can be defined as
μ A : X [ 0 , 1 ] J 1 J n 1 ,
where J 1 , , J n 1 are subsets of [ 0 , 1 ] . Using a set X like { x 1 , x 2 , x 3 } , and a fuzzy set A is expressed as
A = l o w / x 1 + m i d d l e / x 2 + h i g h / x 3
The fuzzy grades l o w , m i d d l e , and h i g h are said to be fuzzy sets over J = { 0 , 0.1 , , 0.9 , 1 } , with, for instance, l o w expressed as
l o w = 1 / 0 + 0.9 / 0.1 + 0.7 / 0.2 + 0.4 / 0.3
Further, n o t l o w is defined as
n o t l o w = 0.1 / 0.1 + 0.3 / 0.2 + 0.6 / 0.3 + 1 / ( 0.4 + 0.5 + 1 )
As we have remarked before, Zadeh’s summation notation of fuzzy sets may be misused and the subexpression “ 1 / ( 0.4 + 0.5 + 1 ) ” is certainly not within the realm of intended use in the summation notation, even if a reader most probably will understand it “correctly”. Clearly, that subexpression is intended as an abbreviation for “ 1 / 0.4 + 1 / 0.5 + + 1 / 1 ”.
We can see how A is the fuzzy set A : X [ 0 , 1 ] J , and A ( x 1 ) = l o w . Further, l o w is intended to be the fuzzy set l o w : J [ 0 , 1 ] , even if l o w is defined as l o w : J J . Mizumoto and Tanaka then proceeds to provide a wide range of properties for fuzzy sets of type 2, but the paper does not contain any further remarks on fuzzy sets beyond type 2. It is therefore unclear how [13] would understand (30) from the viewpoint of being either of form (9) or (10).
As Hisdal points out in [15], Zadeh introduced fuzzy sets of higher types informally in [20]. Hisdal then states that fuzzy sets of higher type “were defined by them exactly in ([2] definition 3.1)”. We may not agree perfectly with Hisdal’s “exactly”, and indeed, Hisdal’s own re-definition is formulated in the same style and with basically the same content as Zadeh’s definition. Hisdal’s (3.2.2) in subSection 3.2 is according to (10), and generally in accordance with (15), as unfolded by Cartesian closedness in (25), which is confirmed in her subSection 3.3. Hisdal in her “numerical representation” of a fuzzy set of type n says that type n fuzzy sets reduce to being fuzzy sets of type 1, since she writes her “N-dimensional universe” as
V × M t 1 × M t 2 × × M t ( N 1 )
where M t n , as Hisdal says, “may be the interval [ 0 , 1 ] or a subset of this interval”.
In [16] we see a variation of (22) using the following set representation to define fuzzy sets of type 2:
A μ = { ( ( x , α ) , μ ( x , α ) ) x X , α J x [ 0 , 1 ] }
From a formal point of view, the use of the index ‘x’ in the set J x is superfluous. Finite subsets J i of membership values in [ 0 , 1 ] seems in [13] to be used to indicate that the elements in J i are the only ones “used in practice”. The use of J x in [16] is adopted also because it supports graphical representations, i.e., so that
J x = { α [ 0 , 1 ] μ ( x , α ) > 0 }
Fuzzy sets of type higher than 2 do not appear in [16], and obviously, the “shading technique” works well in graphical representation for type 2 fuzzy sets.
These graphical representation styles are in [21] extended to horizontal and vertical “type 3 slicing techniques” for fuzzy sets of type 3.
A state-of-the-art definition of type 3 fuzzy sets can be found, e.g., in [17,18,22]. A type 3 fuzzy set is defined as a trivariate function
μ : X × [ 0 , 1 ] × [ 0 , 1 ] [ 0 , 1 ]
i.e., in accordance with (26) for n = 3 where Q 1 = Q 2 = Q 3 = [ 0 , 1 ] . The set representation of μ is
A μ = { ( ( x , u , v ) , μ ( x , u , v ) ) ( x , u , v ) X × [ 0 , 1 ] × [ 0 , 1 ] }
i.e., in accordance with (28).
In [22] there is broader treatment of notations, but still overlooking the two alternatives, and indeed in the type n definition favouring the alternative that was promoted already by Hisdal in 1981.
Clearly, when there is a desire to present higher-type fuzzy sets graphically, certain data structures need to be introduced in order to manage the many-dimensionality of the surfaces representing the higher-type fuzzy set. Notational clarifications as presented, e.g., in [22], certainly support graphical representations of higher-order fuzzy sets, but in this paper we still do not see that these clarifications provide the precise recursive definition that indeed reveals that there are alternative understandings of the “Mizumoto power expression”.

5. Fuzzy Sets of Higher Types in Design Structure Matrices

As an application of quantales for fuzzy sets and relations of higher types we will look at the design structure matrix (DSM), originally presented in [23]. The DSM can be viewed as a many-valued relation where the positions in the matrix may have different dedicated sets of qualifications [24]. DSMs have been used in a variety of applications [25]. Many-valued and many-sorted aspects of DSMs were presented in [26].
A two-valued DSM is a relation R X × X on a domain as a finite set X = { e 1 , , e n } of labels. Related elements e i and e j , e i R e j , are said to interact, where interaction is directed, i.e., a DSM relation is typically not symmetric.
Basic DSM domains are those for Components, People, and Activities, for which label sets can be denoted, respectively, by X C o , X P e , and X A c . Examples are drawn mostly from the manufacturing industry where the domains are combined in multidomain matrices (MDM).
A many-valued DSM viewed in its function representation f : X × X Y makes use of a set Y of attributes or qualifications, and Y often includes the algebraic structure, e.g., being an ordered set of qualifications or enabling operation with attributes.
A DSM is in applications graphically presented as a table with rows and columns, and it is often viewed as a square n-by-n matrix as defined in linear algebra, which in turn invites to understand calculations based on matrix manipulation as in linear algebra. However, a relational view of a DSM similarly invites using relational algebra for computing with many-valued relations f : X × X Y .
A two-valued DSM may use the check mark “✓” to indicate that two elements are related. A DSM empty cell means that two elements are not related, and then Y may be given as { 0 , 1 } or { 0 , } , or similar. However, Y can be any type of a set, structured or unstructured.
A relation in DSM
δ : X × X Q
represents a fuzzy relation of type 1, and can be seen as a fuzzy set of type 1, where the domain of δ is the product X × X . This view of a DSM can immediately be extended to fuzzy relations of type n as
ρ : ( X × X ) × Q n 1 Q
according to alternative (24), i.e., for any x 1 , x 2 X , we obtain fuzzy sets
ρ ˜ x 1 , x 2 : Q n 1 Q
In the case of multiple domains X d 1 , , X d m , a fuzzy set of type n can then be represented as
δ ˜ : X d 1 × × X d m Q Q n 1
In [26] we described a fuzzy set model for the “documentation of interaction between elements”, described in [27] using the set
{ D e t r i m e n t a l , U n d e s i r e d , I n d i f f e r e n t , D e s i r e d , R e q u i r e d }
to represent a scale set { 2 , 1 , 0 , 1 , 2 } of scores, respectively, for S p a t i a l , E n e r g y , I n f o r m a t i o n , and M a t e r i a l s . We may now set
J i = { 2 , 1 , 0 , 1 , 2 } , i = S p a t i a l , E n e r g y , I n f o r m a t i o n , M a t e r i a l s
and obtain a DSM as
δ : X × X J S p a t i a l × J E n e r g y × J I n f o r m a t i o n × J M a t e r i a l s
whenever we are certain about the qualification of the relation between two elements in a DSM domain. A corresponding uncertain qualification may then be represented as
δ ˜ : X × X Q J S p a t i a l × J E n e r g y × J I n f o r m a t i o n × J M a t e r i a l s
which is a fuzzy set of type 5.
We may also note how an MDM needs to relate, or “map” elements between domains. If elements in Y are symbols in the form of numbers, it invites application developers to compute with numbers, even if elements in Y might be closer to be interpretable as truth values or “membership grades” in a many-valued setting. If, on the other hand, elements in Y are understood as being non-numerical symbols, and Y is equipped with an algebraic structure, then it invites computation with these symbols algebraically.

6. Logic with Fuzzy or Fuzzy Logic

For a Q-fuzzy set μ : X Q we have so far discussed structure only concerning the range Q, leaving the domain X as it is, namely, a set of points, but obviously, the domain X is also equipped with structure, at least potentially, and it is often much more complicated than the structure of Q. However, fuzzy set theory in its starting point makes no assumptions nor proposals whatsoever concerning the structure of the domain X. This was pointed out also by Goguen [4], saying “X generally has some structure beyond that of a set”, but then also saying that their notion of L-fuzzy sets makes no assumption about the structure on X. Goguen spoke generally about examples using vector and Hilbert spaces as structures on X, and he also mentioned topological and metric spaces to capture concepts of “nearness” in X. Goguen’s suggestions are certainly reasonable and justifiable, and they should be explored.
In this section, with a focus on logic, we suggest to focus more on elements in X as being “expressions” in the form of terms created by some underlying signature of sorts and operators, as we typically do in first-order logic.
Elements in X being terms means that X is a “set of terms”, which we informally may denote as “ T X ”, with T being a constructor along with the powerset constructor P and the fuzzy powerset constructor Q . Note, however, the fundamental difference, as “ T X ” is informally a “set of terms”, whereas Q X is the set of Q-fuzzy sets over X, where X is a set of elements, i.e., X is unstructured.
Now note, still informally, that we may and even should be curious about “fuzzy sets over T X ”, i.e., fuzzy sets where we provide membership values to expressions rather than simply to elements.
This curiosity was the starting point for developing the notion of “fuzzy terms” [28], and in this section, we give a brief overview on how to make the notion of the “term constructor” T more precise and on how we formally “compose” the constructors Q and T in order to arrive at fuzzy terms.
Before going into detail, we should be aware that uncertainty of terms can be introduced in different ways, so that we can make a distinction between “logic with fuzzy” and “fuzzy logic”, depending on whether logical expressions are constructed over the ordinary category of sets and functions or the category of fuzzy sets and fuzzy morphisms [4].
In order to explain this distinction more formally, let us begin with a simple example involving the expression “ 2 + 3 ”. Both “2” and “3” may be uncertain and represented by fuzzy sets, so that the fuzzy set of “ 2 + 3 ” can be constructed, e.g., using the extension principle applied to real number addition. This indeed creates a “fuzzy addition”, based on the original addition on the real line, but we should note that in this case the original addition itself is not considered to be uncertain.
In order to illuminate uncertainty of operation, let us take a folding meter stick, i.e., a carpenter’s ruler, one meter long. The “operation” of producing “one more metre” can be repeated, e.g., when measuring the length of a field of play in football. While walking across the field, producing “metre operations” one by one in sequence, an error will accumulate, but not because “1” is fuzzy, but indeed because the stick that produces “1” is fuzzy. Similarly, if an addition “ 2 + 3 ” is uncertain, it may not necessarily be “2” or “3” to blame, but the uncertainty may in fact reside in the operation “+”.
Here we indeed intuitively realize how there is a fundamental distinction between “computing with fuzzy”, where the operation “+” is certain while “2” and “3” are uncertain, and “fuzzy computing”, where “+” may be uncertain while “2” and “3” are certain. Within the fuzzy community and the fuzzy literature, what is frequently called “fuzzy computing” is in fact in the style of “computing with fuzzy”, i.e., not allowing the operators themselves to be uncertain than as non-fuzzy operators by the extension principle, providing a corresponding “fuzzy operator” enabled to operate with fuzzy objects.
The formal explanation of the distinction is suitably explained using the language of category theory. A primer of category theory for “fuzzy terms” is found in [28], and treatments of category theory in general can be found in many textbooks, e.g., in [29] or [30].
The powerset of all subsets of X can be seen as coming from the powerset functor P : Set Set . For a set X, i.e., an object in Set , P X is the powerset of X. We may now, for a quantale Q, introduce the functor Q : Set Set , where Q X is Q X , i.e., the set of all Q-fuzzy sets over X.
Fuzzy terms are in [28] introduced using a formal term functor construction first for ordinary terms over a signature Σ = ( S , Ω ) , consisting of a set S of sorts (or types) and a set Ω of operators. The term functor
T Σ : Set S Set S
over the sorted category Set S , produces terms over Σ using variables in a sorted set X S = ( X s ) s S . The sorted set T Σ X S of terms contains all terms constructed using operators in Ω and the variables in the sorted set X S . Note indeed that the “set of all terms” is the sorted set
T Σ X S = ( T Σ , s X S ) s S
and we may therefore consider fuzzy sets
μ s S : T Σ , s X S R , n
over T Σ , s X S , separately for each s S , where R , n is either R e , n or R b , n , potentially also with quantales in R , n , provided specifically for each s S , thus opening up a very wide spectrum of alternatives for application development.
See [28] for full details concerning the categorical term construction over multisorted signatures.
Note indeed how “variables” must respect the sorts, so that we have variables of type  s S . If the sort set contains connected sorts, e.g., with truth values and numbers, we have to separate “variables for truth values” from “variables for numbers”. Note also that variables themselves are terms.
Returning to the informal view on “set of terms” with the informal notation T X , we are immediately tempted to explore applications involving fuzzy sets like μ : T X Q . This essentially means we are in position to replace X with T X in (18) and (19). We also immediately see how Q T X is the same as Q T X , i.e., coming from the composed functor Q T . In the many-sorted case, (18) and (19) have to be treated using sorted sets, details of which are outside the scope of this section.
Working with X just as a set of elements is similarly adopted in probability theory, where a set of “samples” is just a set of elements, even if “sample” may have an intuitive meaning and potential structure, as pointed out already by Kolmogorov [31]. Probability theory often speaks about the “event space”, where an “event” is a subset of “samples”, and the “space” structure is that of a σ -algebra.
In the following we recall some rudimentary examples of signatures used in [28].
A signature for natural numbers, or “Peano numbers”, is typically given by NAT = ( { nat } , { 0 : nat , succ : nat nat } ) , which indeed is a fundamental example syntactically producing the natural numbers. This signature could be extended, e.g., with an operator for addition. The term set T NAT Ø consists of the “Peano numbers” 0 , succ ( 0 ) , succ ( succ ( 0 ) ) , .
The signature for boolean truth values is given by BOOL = ( { bool } , Ω ) , with Ω containing the constants false : bool , true : bool , together with additional binary operators, like for “AND” we would add the meet operation : bool × bool bool . The sorted set of variables is now just a single set X since the sort set in the signature consists of only one element. The term set T BOOL X consists of expressions (terms) like x, true , ( x 1 , true ) , ( ( x 2 , false ) , true ) , and so on, with x , x 1 , x 2 X .
A signature NATORD = ( { nat , bool } , { 0 : nat , succ : nat nat , false : bool , true : bool , : nat × nat bool } ) , can be introduced as a many-sorted situation where the operator ≤ needs both nat and bool . Again, this signature can be extended, e.g., to NATADDORD , by adding the operator + : nat × nat nat (reserved for addition, but still semantically or equationally undefined) to the set of operators in NATORD . Similarly, logical operators could be included, and so on.
Computing with fuzzy now corresponds to the functor composition, informally written as
Q T : Set Set
where we need to work with sorted categories. The composition can be extended to a monad composition  Q T , which enables variable substitution to work as expected, i.e., substitutions can be composed [28].
Note that a variable substitution involving ordinary terms is, informally written, a function σ : X T X . In the NAT signature, the term ( ( x 2 , false ) , true ) can be seen as the result of a substitution, where ( x 2 , false ) has been substituted into x 1 in ( x 1 , true ) . Strictly speaking, when variables for terms in “ T X ” are substituted by terms, we will end up with terms in “ T T X ”, but because of the impotency “ T T X= T X”, all “terms over terms” are still “just terms”.
Variable substitution works perfectly well [28] also for terms in “ Q T X”, using the multiplication of the monad as kind of a “flattening operator”, so that variable substitution using “fuzzy sets of terms” can be managed. A variable substitution in this case is (informally) a function
σ : X Q T X
and now, in composition of substitutions, we cannot rely on idempotency, since “fuzzy terms over fuzzy terms” are not simply “just fuzzy terms”. Substitution leads to terms residing in Q T Q T X , which requires having a “flattening” transformation, categorically a natural transformation as a multiplication in the corresponding composed monad Q T between the functor compositions Q T Q T and Q T .
Fuzzy computing, on the other hand, corresponds to the term functor over the Goguen category, i.e., informally written as
T : Set ( Q ) Set ( Q )
where we similarly need to work with sorted categories. See [28] for full details concerning the categorical term construction over Goguen categories. It is needless to say variable substitution in “fuzzy computing” is quite complicated but indeed perfectly manageable.
Computing with fuzzy and fuzzy computing shows how we are moving away from working just with sets of points to working with sets of expressions, and, again intuitively said, with fuzzy sets of expressions not to be confused with sets of fuzzy expressions.
Generally speaking, logic is a structure and indeed a very complicated one. Logic as a structure contains signatures, terms, sentences (formulae), structured sets of sentences, entailment, semantics (universal algebra), satisfaction, axioms, theories and proof calculi, so fuzzy logic, also as a structure, and a many-valued structure, potentially contains fuzzifications but not trivial ones, of all parts of logic, i.e., we potentially have fuzzy signatures, fuzzy terms, fuzzy sentences, fuzzy structured fuzzy sets of fuzzy sentences, fuzzy entailment, fuzzy algebra, fuzzy satisfaction, fuzzy axiom, fuzzy theories, and fuzzy proof calculi.
Depending on our choice concerning construction of “fuzzy terms” we will end up either working with “logic with fuzzy”, i.e., using fuzzy sets of ordinary terms as the basis for the logic, or working with “fuzzy logic”, i.e., using fuzzy terms over Set ( Q ) as a basis for logical expressions where operators in the signature are allowed to be uncertain.
The overall framework, still not fully developed in all parts, is explained in [32,33].
We conclude this section with the remark that the underlying algebraic structure for membership values in the Goguen category
Set ( Q )
can be provided also in Goguen categories
Set ( R , n )
using fuzzy sets of higher type.

7. Summary, Conclusions, and Future Work

For fuzzy sets of higher type we have proposed to include structure in both the domain and range of fuzzy sets
μ s S : T Σ , s X S R , n
as compared to fuzzy sets having no structure in the domain and the range using the unit interval
μ : X [ 0 , 1 ]
as proposed in [3] for fuzzy sets of type 1, and similarly for fuzzy sets of type 2 in [1,2] according to
μ : X [ 0 , 1 ] [ 0 , 1 ]
based on which the extension to fuzzy sets of type n was proposed but rather informally, and with informally represented power expressions, in [13].
The recursive representation
R , n
of higher-type uncertainty in the domain of a fuzzy set shows that we have alternative definitions for fuzzy sets of type n once n > 2 .
Even if quite naively speaking, let us nevertheless remind ourselves that 2 ( 3 4 ) is “no less than” 2 417 851 639 229 258 349 412 352 whereas ( 2 3 ) 4 is “only” 4096, i.e., shows intuitively that there is expectedly much more on both the number of functions as well as the complexity of structure in the range of the higher-type fuzzy functions when we adopt the (18) definition as compared to adopting the (19) definition, the latter indeed having been a standard choice in the literature of fuzzy sets of higher types, whereas Goguen’s choice, in [4], seemingly leans more towards (24).
Generally speaking, even with (26) and fewer choices, the use of a continuum, the unit interval, adds complexity. On the other hand, even with an overwhelming number of choices enabled by (24) for quantales with larger numbers of elements, finite structures, particularly in very small numbers of elements in bases and powers, will nevertheless add complexity, often allowing for flexibility when developing applications.
Note in Q b Q e X Q b X × Q e that we indeed have a congruence situation since the algebraic structure is inherited only from Q b , However, when we come to higher types beyond 2, in particular for R e , n , and whenever we consider tensors of algebraic structures in order to arrive at properties that show the connection between powers and products, we have a “point of departure” for developing connections between the two alternatives of R n .
As conclusions of this paper we should mainly note how we have to deal with alternative definitions of fuzzy sets of type n whenever n > 2 . Further, the Cartesian closedness property of powersets enables us to view fuzzy sets of higher types as actually of lower type than formally defined. Doing so increases dimensionality in the underlying the universe of discourse, in particular when dealing with fuzzy relations.
Moving from a set X of points to “sets of terms”
T Σ , s X S
enables us to analyze situations involving uncertainty of expressions rather than just uncertainty of value.
In applications it is indeed often important to work with vagueness potentially appearing within a wide range of different structures, not just concerning data as values and functions, but also to consider imprecision appearing in devices and operations that produce new data. In this respect the notion of “fuzzy terms” plays a crucial role.
Note that (32) opens up even more possibilities to define higher types of fuzzy sets in a mixed way. As we have already pointed out, we may add restrictions, e.g., to R e , n , so that certain subexpressions ( Q b ( Q e ) ) in R e , n with Q b in the base being a quantale and ( Q e ) in the exponent being a power of quantales can be replaced to being subexpressions [ Q b , ( Q e ) ] , i.e., consisting of join-preserving functions between Q b and ( Q e ) . As Goguen [4] pointed out, the domain X of a fuzzy set could embrace structure, e.g., by being a topology or a metric space. In (32) the domain is the sorted set T Σ , s X S of all terms over a signature, and we realize that any functor F : Set Set can be used to suggest a structure for the domain of a fuzzy set. In fact, for a set X we may use F X as a candidate for the domain of a fuzzy set. As a special case we may use the Q-powerset functor to provide Q X , i.e., Q X , as the domain in fuzzy sets
τ : Q X Q
Note how fuzzy sets in (33) are elements of Q ( Q X ) , not to be confused with fuzzy sets
ν : X Q Q
of type 2 as elements of Q Q X .
Generally speaking, functions in (34) are intuitively certain forms of fuzzifiers, whereas functions in (33) are certain forms of defuzzifiers. A defuzzifier as a “choice function” would rather be of the form ι : Q X X , whereas a fuzzifier may also appear as a function κ : Q Q Q .
Using (33), for a fuzzy set μ : X Q of type 1, we have τ ( μ ) Q . Note how Q X is in fact a Q-powerset of terms where the underlying term functor T is equipped with the empty signature, and therefore T X = X , which gives Q T X = Q X using the composed functor Q T . In this context it may also be useful to recall the evaluation maps
ϵ : Q X × X Q
given by
ϵ ( μ , x ) = μ ( x )
which is similar to β -reduction in λ -calculus.
Finally we may add that the theory of fuzzy sets of higher types has a long history, and it is surprising to see how the fuzzy community has been reluctant to deal with higher types beyond 2. This paper hopefully shows that the underlying reason for this reluctance may not be only due to complexity as understood from graphical representations but in fact as arising from absence of notational strictness and the involvement of structure in both the domain and range of fuzzy sets.
Formal notations in this paper have focused on fuzzifications with higher-type fuzzy sets. These notations may also be well suited for future studies on formal notations for defuzzifications and type reductions for fuzzy sets of higher types.
Future work on fuzzy sets of higher types is recommended to also look more into real applications and to consider quantales or other algebraic structures as alternatives for membership value representation as compared to only using the unit interval.

Author Contributions

Conceptualization, P.E., J.K. and M.L.; methodology, P.E. and J.K.; software, P.E.; validation, P.E. and J.K.; formal analysis, P.E. and J.K.; investigation, P.E., J.K. and M.L.; resources, M.L.; data curation, P.E. and M.L.; writing—original draft preparation, P.E. and J.K.; writing—review and editing, P.E., J.K. and M.L.; visualization, P.E., J.K. and M.L.; supervision, P.E., J.K. and M.L.; project administration, P.E. and M.L.; funding acquisition, M.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work has been supported by the project A general digital twin driving mining innovation through statistical and logical modelling (DT-MINN), funded by VINNOVA, Swedish Governmental Agency for Innovation Systems.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Zadeh, L.A. The Concept of a Linguistic Variable and Its Application to Approximate Reasoning; Technical Report; Electronics Research Laboratory, College of Engineering, University of California, Berkeley: Berkeley, CA, USA, 1973. [Google Scholar]
  2. Zadeh, L.A. The concept of a linguistic variable and its application to approximate reasoning—I. Inf. Sci. 1975, 8, 199–249. [Google Scholar] [CrossRef]
  3. Zadeh, L.A. Fuzzy sets. Inf. Control 1965, 8, 338–353. [Google Scholar] [CrossRef]
  4. Goguen, J.A. L-fuzzy sets. J. Math. Anal. Appl. 1967, 18, 145–174. [Google Scholar] [CrossRef]
  5. Goguen, J.A. Categories of V-sets. Bull. Am. Math. Soc. 1969, 75, 622–624. [Google Scholar] [CrossRef]
  6. Chang, C. Fuzzy topological spaces. J. Math. Anal. Appl. 1968, 24, 182–190. [Google Scholar] [CrossRef]
  7. Rosenfeld, A. Fuzzy groups. J. Math. Anal. Appl. 1971, 35, 512–517. [Google Scholar] [CrossRef]
  8. Gottwald, S. Many-Valued Logics. In Philosophy of Logic; Jacquette, D., Ed.; Handbook of the Philosophy of Science; North-Holland: Amsterdam, The Netherlands, 2007; pp. 675–722. [Google Scholar]
  9. Eklund, P.; García, J.G.; Höhle, U.; Kortelainen, J. Semigroups in Complete Lattices: Quantales, Modules and Related Topics; Developments in Mathematics; Springer International Publishing: Cham, Switzerland, 2018. [Google Scholar]
  10. Birkhoff, G. Lattice Theory, Colloquium Publication, 3rd ed.; American Mathematical Society: Providence, RI, USA, 1995; Volume 25. [Google Scholar]
  11. Shamsgovara, A.; Eklund, P.; Winter, M. A Catalogue of Finite Quantales; Technical Report; Umeå University: Umeå, Sweden, 2019; Available online: https://urn.kb.se/resolve?urn=urn:nbn:se:umu:diva-239055 (accessed on 29 May 2025).
  12. Distler, A.; Kelsey, T. The semigroups of order 9 and their automorphism groups. Semigroup Forum 2013, 88, 93–112. [Google Scholar] [CrossRef]
  13. Mizumoto, M.; Tanaka, K. Some properties of fuzzy sets of type 2. Inf. Control 1976, 31, 312–340. [Google Scholar] [CrossRef]
  14. Mizumoto, M.; Tanaka, K. Fuzzy-fuzzy automata. Kybernetes 1976, 5, 107–112. [Google Scholar] [CrossRef]
  15. Hisdal, E. The IF THEN ELSE statement and interval-valued fuzzy sets of higher type. Int. J. Man–Mach. Stud. 1981, 15, 385–455. [Google Scholar] [CrossRef]
  16. Mendel, J.; John, R. Type-2 fuzzy sets made simple. IEEE Trans. Fuzzy Syst. 2002, 10, 117–127. [Google Scholar] [CrossRef]
  17. Castillo, O.; Valdez, F.; Melin, P.; Ding, W. A Survey on Type-3 Fuzzy Logic Systems and Their Control Applications. IEEE/CAA J. Autom. Sin. 2024, 11, 1744–1756. [Google Scholar] [CrossRef]
  18. Valdez, F.; Castillo, O.; Melin, P. A Bibliometric Review of Type-3 Fuzzy Logic Applications. Mathematics 2025, 13, 375. [Google Scholar] [CrossRef]
  19. Eklund, P.; Höhle, U.; Kortelainen, J. Modules in health classifications. In Proceedings of the 2017 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), Naples, Italy, 9–12 July 2017; pp. 1–6. [Google Scholar]
  20. Zadeh, L.A. Outline of a New Approach to the Analysis of Complex Systems and Decision Processes. IEEE Trans. Syst. Man Cybern. 1973, SMC-3, 28–44. [Google Scholar] [CrossRef]
  21. Mohammadzadeh, A.; Sabzalian, M.H.; Zhang, W. An Interval Type-3 Fuzzy System and a New Online Fractional-Order Learning Algorithm: Theory and Practice. IEEE Trans. Fuzzy Syst. 2020, 28, 1940–1950. [Google Scholar] [CrossRef]
  22. Aisbett, J.; Rickard, J.T.; Morgenthaler, D.G. Type-2 Fuzzy Sets as Functions on Spaces. IEEE Trans. Fuzzy Syst. 2010, 18, 841–844. [Google Scholar] [CrossRef]
  23. Steward, D.V. The design structure system: A method for managing the design of complex systems. IEEE Trans. Eng. Manag. 1981, EM-28, 71–74. [Google Scholar] [CrossRef]
  24. Eppinger, S.; Browning, T. Design Structure Matrix Methods and Applications; MIT Press: Cambridge, MA, USA, 2012. [Google Scholar]
  25. Browning, T.R. Design Structure Matrix Extensions and Innovations: A Survey and New Opportunities. IEEE Trans. Eng. Manag. 2016, 63, 27–52. [Google Scholar] [CrossRef]
  26. Eklund, P.; Johansson, M.; Löfstrand, M.; Winter, M. Many-valued and many-sorted structure relations. In Proceedings of the 21st International DSM Conference. The Design Society, Monterey, CA, USA, 23–25 September 2019. [Google Scholar]
  27. Pimmler, T.U.; Eppinger, S.D. Integration analysis of product decomposition. In Design Theory and Methodology Conference; ASME: New York, NY, USA, 1994. [Google Scholar]
  28. Eklund, P.; Galán, M.A.; Helgesson, R.; Kortelainen, J. Fuzzy terms. Fuzzy Sets Syst. 2014, 256, 211–235. [Google Scholar] [CrossRef]
  29. Adámek, J.; Herrlich, H.; Strecker, G. Abstract and Concrete Categories: The Joy of Cats; Dover Books on Advanced Mathematics; Dover Publications: Mineola, NY, USA, 2009. [Google Scholar]
  30. Mac Lane, S. Categories for the Working Mathematician; Springer: Berlin/Heidelberg, Germany, 1998. [Google Scholar]
  31. Kolmogorov, A.N. Grundbegriffe der Wahrscheinlichkeitsrechnung; Verlag von Julius Springer: Berlin/Heidelberg, Germany, 1933. [Google Scholar]
  32. Eklund, P.; Helgesson, R. Monadic extensions of institutions. Fuzzy Sets Syst. 2010, 161, 2354–2368. [Google Scholar] [CrossRef]
  33. Helgesson, R. Generalized General Logics. Ph.D. Thesis, Umeå University, Umeå, Sweden, 2013. [Google Scholar]
Figure 1. Lattice on (a) 2-point and (b) 3-point sets.
Figure 1. Lattice on (a) 2-point and (b) 3-point sets.
Mathematics 13 02159 g001
Figure 2. Lattices on a 4-point set: (a) chain and (b) “diamond”.
Figure 2. Lattices on a 4-point set: (a) chain and (b) “diamond”.
Mathematics 13 02159 g002
Figure 3. Lattices on a 5-point set, numbered as in [11]: (a) Nr 1, (b) Nr 2, (c) Nr 3, (d) Nr 4, and (e) Nr 5.
Figure 3. Lattices on a 5-point set, numbered as in [11]: (a) Nr 1, (b) Nr 2, (c) Nr 3, (d) Nr 4, and (e) Nr 5.
Mathematics 13 02159 g003
Figure 4. Lattices on a 6-point set, numbered as in [11]: (a) Nr 1, (b) Nr 2, (c) Nr 3, (d) Nr 4, (e) Nr 5, (f) Nr 6, (g) Nr 7, (h) Nr 8, (i) Nr 9, (j) Nr 10, (k) Nr 11, (l) Nr 12, (m) Nr 13, (n) Nr 14, and (o) Nr 15.
Figure 4. Lattices on a 6-point set, numbered as in [11]: (a) Nr 1, (b) Nr 2, (c) Nr 3, (d) Nr 4, (e) Nr 5, (f) Nr 6, (g) Nr 7, (h) Nr 8, (i) Nr 9, (j) Nr 10, (k) Nr 11, (l) Nr 12, (m) Nr 13, (n) Nr 14, and (o) Nr 15.
Mathematics 13 02159 g004
Figure 5. “Optimistic” sidelining of not known data in problem qualification.
Figure 5. “Optimistic” sidelining of not known data in problem qualification.
Mathematics 13 02159 g005
Table 1. Arithmetic multiplication with numbers in { 0 , , 5 } .
Table 1. Arithmetic multiplication with numbers in { 0 , , 5 } .
·012345
0000000
1012345
20246810
303691215
4048121620
50510152025
Table 2. Binary operation with numbers in { 0 , , 5 } based on rounded adaptations.
Table 2. Binary operation with numbers in { 0 , , 5 } based on rounded adaptations.
012345
0000000
1000111
2001122
3011223
4012234
5012345
Table 3. Number of quantales per lattice with 6 elements [11].
Table 3. Number of quantales per lattice with 6 elements [11].
Lattice (Nr)Number of Quantales
1509
22707
3930
41268
52157
6262
71547
8806
92972
101239
112040
12542
132830
142253
1511 329
Table 4. Number of quantales per lattice with 6 elements.
Table 4. Number of quantales per lattice with 6 elements.
COMPL SEV MOD MILD NO NotKnown
C O M P L C O M P L C O M P L C O M P L C O M P L C O M P L C O M P L
S E V C O M P L C O M P L S E V S E V S E V S E V
M O D C O M P L C O M P L M I L D M I L D M I L D M O D
M I L D C O M P L C O M P L M I L D M I L D M I L D M I L D
N O C O M P L S E V M I L D M I L D N O N O
N o t K n o w n C O M P L S E V M O D M I L D N O N o t K n o w n
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Eklund, P.; Kortelainen, J.; Löfstrand, M. Quantales for Fuzzy Sets and Relations of Higher Types. Mathematics 2025, 13, 2159. https://doi.org/10.3390/math13132159

AMA Style

Eklund P, Kortelainen J, Löfstrand M. Quantales for Fuzzy Sets and Relations of Higher Types. Mathematics. 2025; 13(13):2159. https://doi.org/10.3390/math13132159

Chicago/Turabian Style

Eklund, Patrik, Jari Kortelainen, and Magnus Löfstrand. 2025. "Quantales for Fuzzy Sets and Relations of Higher Types" Mathematics 13, no. 13: 2159. https://doi.org/10.3390/math13132159

APA Style

Eklund, P., Kortelainen, J., & Löfstrand, M. (2025). Quantales for Fuzzy Sets and Relations of Higher Types. Mathematics, 13(13), 2159. https://doi.org/10.3390/math13132159

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