<<

ALGEBRAIC STRUCTURES

OF GENERALIZED

MANY-VALUED LOGICS

(SEMINAR NOTES)

Costas A. Drossos Department of University of Patras GR-26110 Patras, GREECE

First Draft

(These are notes from a seminar given in the Department of Mathematics, University of Patras 1996–97) 2 Residuated CONTENTS

1 POSETS 1 1.1 Preordered Sets ...... 1 1.2 Order Ideals and Filters ...... 4 1.3 Mappings Between Posets ...... 5

2 ADJOINTS FOR PREORDERS 11 2.1 Adjoints ...... 11 2.2 Triangle Inequalities and Basic Properties of Adjunctions...... 13 2.3 Adjoint Theorem ...... 14 2.4 Closure operators (monads) on preorders ...... 18 2.5 The Adjoint Lifting Theorem...... 24

3 cirl-MONOIDS 27 3.1 Introduction ...... 27 3.2 The Qualitative Case: Heyting ...... 29 3.3 The Quantitative Case:cirl-monoids ...... 30 3.4 actions...... 33 3.5 Integrality...... 43

i 0 Residuated Monoids

3.6 Algebraic strong de Morgan’s law ...... 44 3.7 Divisibility...... 48 3.8 Involutive and Girard monoids...... 53 3.9 Square roots...... 55 CHAPTER 1

POSETS

1.1 Preordered Sets

In these notes we shall need many implication symbols. To fix notation, we shall use

• ‘ ⇒ ’ for ‘implies’;

• ‘ ⇔ ’ for ‘if and only if’;

• ‘ =∧⇒ ’ for qualitative () implication;

• ‘ ⇐∨=’ for qualitative (lattice) co- implication;

• ‘ =¯⇒ ’ for quantitative (monoidal) implication.

• ‘ ⇐⊕=’ for quantitative (monoidal) co-implication.

• ‘ −−→ ’, for function arrow.

1.1.1 Definition. A preordered set is a pair hP, ≤i, consisting of a set P and a binary relation “≤” on P such that:

(i) Reflexivity: (∀p ∈ P )[p ≤ p]

(ii) Transitivity: (∀p, q, r ∈ P )[(p ≤ q) ∧ (q ≤ r) ⇒ (p ≤ r)] A preordered set it is not required to satisfy the antisymmetric property:

(iii) Antisymmetric: (∀p, q ∈ P )[(p ≤ q) ∧ (q ≤ p) ⇒ (p = q)]

1 2 Residuated Monoids

If (iii) is satisfied by P then it is called a poset. Two elements p, q ∈ P are said to be comparable if p ≤ q or q ≤ p (dichotomy property), otherwise we say that p and q are incomparable, denoted by p k q.A totally ordered set or a chain is a poset in which every two elements are comparable. Often we shall present the properties of a poset in a Gentzen-like style:

(reflexivity) x ≤ x x ≤ y y ≤ z (transitivity) x ≤ z x ≤ y y ≤ x (antisymmetric) x = y One line means that the statements above the line imply the statement below, two lines mean that the above and below are logically equivalent.

1.1.2 Remark. Given any preordered set P , there is a naturally associated poset, denoted by P/ ≡ obtained from P , as a quotient structure, where “≡” is defined as (∀p, q ∈ P )[(p ≡ q) iff (p ≤ q) ∧ (q ≤ p)]. Similarly for the order on P/ ≡. Because of the above and the fact that in Theory “equality” means “isomorphic”, preordered sets are more naturally adapted to a categorical treatment of order.

1.1.3 Definition. 1) Given a poset P = hP, ≤i we may define the dual of opposite of P, denoted by Pop = hP, ≥i. The principle for posets allows us to dualize any theorem by interchanging ≤ with ≥. Y 2) The direct product of a family of posets hPi, ≤iii∈I is a poset h Pi, ≤i, where “≤” is i∈I defined componentwise, i.e. (xi)i∈I ≤ (yi)i∈I iff xi ≤i yi for all i ∈ I.

If the index set I is also endowedY with a , then the lexicographic product of the above family is a poset h Pi, ≤lexi where “≤lex” is defined as i∈I (xi)i∈I ≤lex (yi)i∈I iff (∃i ∈ I)[(xi ≤ yi) ∧ (∀k < i)[xk = yk]] If in addition to the above, we have that Pi[∩ Pj = ∅, whenever i 6= j, then we may define the ordinal sum of the above family, as: h Pi, ≤i, where “≤” is defined as i∈I

x ≤ y iff (∃i ∈ I)[x ≤i y] or (∃i, j ∈ I)[i < j and x ∈ Pi, & y ∈ Pj]. . 1: POSETS 3

1.1.4 Definition. (i) Let hP, ≤i be a poset, and S ⊆ P . Then an element u ∈ P is called an upper bound of S iff for every p ∈ S, we have p ≤ u. Dually we may define lower bound of S. (ii) A poset hP, ≤i is called directed upwards iff every pair of elements p, q ∈ P has an upper bound. Similarly, hP, ≤i is called directed downwards iff every pair of elements p, q ∈ P has a lower bound. If hP, ≤i is directed above and below it is called simply a directed set.

1.1.5 Definition. Let hP, ≤i be a poset. If for every pair of elements p, q ∈ P , the set of upper bounds of {p, q} has a least element r, then r is called the least upper bound (join) of p and q and is denoted as r = p ∨ q. The greatest lower bound (meet), denoted p ∧ q is defined dually.

More precisely, let us denote by Su,S ⊆ P , the set of all upper bounds of S (upper cone), and S` the set of all lower bounds (lower cone), i.e.

Su := {p ∈ P |(∀s ∈ S)[s ≤ p]} and S` := {p ∈ P |(∀s ∈ S)[s ≥ p]}

Now we define: _ _ sup S ≡ S ≡ s := inf Su s∈S ^ ^ inf S ≡ S ≡ s := sup S`. s∈S In particular we have: _ _ ^ ^ ∅ ≡ p = 0 and ∅ ≡ p = 1 p∈∅ p∈∅ the bottom and top elements if they exist. If for every pair of elements p, q ∈ P , the joint p ∨ q exists in P then hP, ≤i is called an upper . Dually, if p ∧ q exists for every pair p, q ∈ P , then hP, ≤i is called a lower semilattice. If hP, ≤i is both an upper and a lower semilattice, then it is called a lattice. Compaire with the concept of ‘directed set’.

1.1.6 Example. Posets.

1. Any set X with the discrete order: x ≤ y iff x = y;

2. N, Z, Q and R with the usual order;

3. 2 ≡ h2, ≤i where 2 = {0, 1} and 0 ≤ 1; 4 Residuated Monoids

4. if hP, ≤i is a poset and X an arbitrary set, then the set P X := {f | f : X −−→ P }, endowed with the pointwise order,

f ≤ g iff (∀x ∈ X)[f(x) ≤ g(x)]

is a poset.

5. For any set X, hP (X), ⊆i is a poset. If τ ⊆ P (X) is a on X, then hτ, ⊆i with the restriction order is also a poset.

6. The specialization order between points in a ,

x ≤ y iff (∀G ∈ τ)[x ∈ G ⇒ y ∈ G]

is in ceneral a preorder. The specialization order is antisymmetric iff τ is a T0 space. If τ is a T1 then the specialization order is a discrete order. 7. Formulae of a propositional logic form a preorder under provability `.

8. Let G = hG0,G1i be an oriented multigraph with loops, see [1]. A subgraph X = hX0,X1i is defined as: X0 ⊆ G0,X1 ⊆ G1 such that for every edge in X1, its source and target are in X0, i.e.

P (G) := {X = hX0,X1i | X0 ⊆ G0,X1 ⊆ G1 such that

(∀f ∈ X1)[dom(f), cod(f) ∈ X0]}. We now define on P (G) a partial order by: For X,Y ∈ P (G),

X ⊆ Y iff X0 ⊆ Y0 and X1 ⊆ Y1.

Then hP (G), ⊆i is a poset.

1.2 Order Ideals and Filters

Let hP, ≤i be a poset and Q ⊆ P .

1.2.1 Definition. (i) Q is called an order ideal (or o-ideal or a down-set) iff

(∀p)(∀q)[(p ∈ Q) ∧ (q ≤ p) ⇒ (q ∈ Q)].

(ii) Dually, Q is called an order filter (or o-filter or an up-set) iff

(∀p)(∀q)[(p ∈ Q) ∧ (q ≥ p) ⇒ (q ∈ Q)].

1.2.2 Proposition. Q is a down-set iff P \ Q is an up-set. . 1: POSETS 5

Given an arbitrary subset Q of P and x ∈ P , we define:

↓Q := {y ∈ P | (∃x ∈ Q)[y ≤ x]} (down Q) ↑Q := {y ∈ P | (∃x ∈ Q)[y ≥ x]} (up Q) ↓x ≡↓ {x} := {y ∈ P | y ≤ x} (Principal order-ideal) ↑x ≡ ↑{x} := {y ∈ P | y ≥ x} (Principal order-filter)

1.2.3 Remark. A preorder hP, ≤i can be considered as a category C(P, ≤):

• The objects of C(P, ≤) are the elements of P

• If x, y ∈ P and x ≤ y then C(P, ≤) has exactly one arrow from x to y denoted, x −−→ y of (x, y). Note that dom(x −−→ y) = x, cod(x −−→ y) = y.

• If x k y (x, y are not comparable) there is no arrow from x to y.

• The identity arrows of C(P, ≤) are those of the form (x, x) or x −−→ x. The transitive property of “≤” is needed to ensure the existence of composition of two arrows, so that: x −−→ y y −−→ z or (x −−→ y) ◦ (y −−→ z) = (x −−→ z). x −−→ z

Slogan. Think of a category as a generalized preordered set.

We shall take the above slogan seriously and try to see what is the special form which category concepts take in the enviroment of preordered sets. Thus, a down-set, ↓x = {y ∈ P | y −−→ x} is all the arrows y −−→ x, for y ∈ P , which is what is called a slice category P ↓x. Sometimes, when we would like to emphasize a categorical flavor we use the notation P ↓x instead of ↓x. Similarly an upper set ↑x can be regarded as the category P ↑x of all arrows x −−→ y, y ∈ P . The above notations are extended to the case of ↓ Q and ↑Q, i.e. P ↓Q is the up set generated by Q, similarly for P ↑Q.

1.3 Mappings Between Posets

What we say for posets holds also for preorders but equality “=” should be changed to equivalence “≈”.

1.3.1 Definition. Let P = hP, ≤P i, Q = hQ, ≤Qi, be two posets and f : P −−→ Q be a function. Then we say that f respects order or it is isotone iff p1 ≤P p2 implies f(p1) ≤Q f(p2).

In categorical terms, an isotone function is essentially a covariant functor. 6 Residuated Monoids

An isotone function f : P op −−→ Q is called an antitone function (a contravariant functor). The function f : P −−→ Q preserves suprema (infima), when they exist iff for all S ⊆ P , _ _ ^ ^ f( S) = f[S](f( S) = f[S]).

1.3.2 Remark. Every isotone function f : P −−→ Q satisfies always the following inequalities: ^ ^ _ _ f( S) ≤Q f(s) ≤Q f(s) ≤Q f( S). s∈S s∈S Thus, in order to prove that f preserves suprema, it is enough to show that: _ _ f( S) ≤ f(s) s∈S and similarly, to show that f preserves infima, it is enough to prove that: ^ ^ f(s) ≤ f( S). s∈S

hP i Let hP, ≤P i, hQ, ≤Qi be two posets, then we denote by Q the set of all isotone functions f : P −−→ Q and QhP opi the set of all antitone functions f : P −−→ Q. In particular we consider hQ, ≤Qi ≡ h2, ≤i the poset with 2 = {0, 1} and 0 ≤ 1. Every function f : P −−→ 2 is a property or predicate and at the same time the indicator or characteristic function of a subset S ⊆ P , defined as: Sf := {x ∈ P | f(x) = 1}.

hP i 1.3.3 Proposition. (i) f ∈ 2 iff Sf is an up-set. hP opi (ii) f ∈ 2 iff Sf is a down-set.

hP i Proof: (i): Let f ∈ 2 , i.e. x ≤ y ⇒ f(x) ≤ f(y). Let also Sf := {x ∈ P | f(x) = 1}, x ∈ Sf and x ≤ y. We should prove that y ∈ Sf . Indeed, since x ∈ Sf we have f(x) = 1, and since x ≤ y we have f(x) ≤ f(y) so that f(y) = 1 and thus y ∈ Sf , i.e. Sf is an up-set.

Conversely, let Sf be an up-set and let x ≤ y. Consider f(x) and f(y). If f(x) = 0 then f(x) ≤ f(y). On the other hand if f(x) = 1 then x ∈ Sf and since Sf is an up-set then y ∈ Sf , thus f(x) ≤ f(y). (ii): is proved similarly.

1.3.4 Remark. 1) It is clear that each element f ∈ 2hP opi determines a unique down-set and conversely. If we denote by O(P ) the set of all down sets then we have:

op O(P ) =∼ 2hP i . 1: POSETS 7

The following Lemma is very helpfull in proving inequalities and equalities.

1.3.5 Lemma. Let hP, ≤i be a poset and x, y ∈ P . Then the following are equivalent:

(i) x ≤ y

(ii) ↓x ⊆ ↓y or ↑y ⊆ ↑x, i.e.

(∀p ∈ P )[p ≤ x ⇒ p ≤ y] or (∀p ∈ P )[p ≥ y ⇒ p ≥ x]

(iii) (∀D ∈ O(P )) [y ∈ D ⇒ x ∈ D], where O(P ) is the set of all down sets of P , ordered by inclusion.

Proof: (i) ⇒ (ii): Let x ≤ y and a ∈ ↓x then a ≤ x by definition and so a ≤ y, thus a ∈ ↓y. (ii) ⇒ (i): Let ↓x ⊆ ↓y. Then for all a, a ∈ ↓x ⇒ a ∈ ↓y, i.e. a ≤ x ⇒ a ≤ y and for a = x we get x ≤ x ⇒ x ≤ y. (ii) ⇒ (iii): Let ↓x ⊆ ↓y and D ∈ O(P ) with y ∈ D. Since D is a down-set and x ≤ y then x ∈ D. (iii) ⇒ (ii): Let D = ↓y then y ∈ D and by (iii), x ∈ D, i.e. x ∈ ↓y i.e. x ≤ y or ↓x ⊆ ↓y.

1.3.6 Corollary. The following are equivalent:

(i) x = y

(ii) ↓x = ↓y, i.e. (∀p ∈ P )[p ≤ x iff p ≤ y]

(iii) ↑x = ↑y, i.e. (∀p ∈ P )[p ≥ x iff p ≥ y]

Thus in order to prove that x = y it is enough to prove either (ii) or (iii). Lemma 1.3.5,Corollary 1.3.6 are very helpful in proving inequalities and equalities and especially in proving adjuctions in Chapter 2.

1.3.7 Theorem. If P,Q are posets and f : P −−→ Q is any mapping, then the following conditions are equivalent:

(i) f is isotone.

(ii) For all D ∈ O(Q), f −1[D] ∈ O(P ), i.e. for all q ∈ Q, f −1[↓q] is either empty or a non-empty down-set. 8 Residuated Monoids

(iii) For all U ∈ O(Qop), f −1[U] ∈ O(P op), i.e. for all q ∈ Q, f −1[↑q] is either empty or a non-empty up-set of P .

Proof: (i) ⇒ (ii): Suppose (i). Then if f −1[↓q] = ∅ there is nothing to prove. So let f −1[↓q] 6= ∅, y ∈ f −1[↓q] and z ≤ y. We have from (i) and z ≤ y, f(z) ≤ f(y) ≤ q, so that z ∈ f −1[↓q]. This shows that (i) ⇒ (ii). Conversely, suppose that f satisfies (ii). For each p ∈ P , we have trivially, f(p) ≤ f(p) and so p ∈ f −1[↓f(p)]. Since by (ii), f −1[↓f(y)] is a down-set of P , it follows that x ≤ y ⇒ x ∈ f −1[↓f(y)] ⇒ f(x) ≤ f(y). A dual argument yields (i) ⇒ (iii).

Define the functor:

op P ↓(−): P −→ O(P ) =∼ 2hP i // x 7→ P ↓x ≡ ↓x

then we have the Yoneda Lemma for posets:

1.3.8 Theorem. (Yoneda Lemma). The embedding P ↓(−) satisfies the following:

(P ↓x) ⊆ (P ↓y) iff x ≤ y.

Proof: This is just Lemma 1.3.5. The above theorem says that P ↓(−) is isotone and full.

1.3.9 Proposition. For any down-set D ⊆ P , we have:

P ↓x ⊆ D iff x ∈ D.

Proof: Easy. We know that the Yoneda Lemma is extremely important in representing structures and objects in general, using generalized elements (in going to the object arrows) or generalized properties (out going to the object arrows). In the case of posets and preorders we have a similar situation.

(i) Covariant or extensional representation: Every element x ∈ P can be represented as the down-set P ↓x, which is just the in going to x arrows. Similarly x ≤ y can be represented as an inclusion set operation: (P ↓x) ⊆ (P ↓y).

(ii) Contravariant or intensional representation: Every element x ∈ P can be represented as the up-set P ↑x, which is just the out going from x arrows. The order x ≤ y can be represented as the inclusion (P ↑y) ⊆ (P ↑x). . 1: POSETS 9

op O(P ) =∼ 2hP i can be considered as a completion of P in the following sense:

1.3.10 Theorem. (i) For every ordered set h P, ≤P i, the poset hO(P ), ⊆i is a . (ii) The embedding, P ↓(−): P,→ O(P ) // p 7→ P ↓p has the following universal property: If hX, ≤X i is another complete lattice and f : P −−→ X is any isotone function, then there exists a unique function, preserving arbitrary suprema,

fˆ: O(P ) −−→ X such that the following diagram commutes:

 P ↓(−) P / O(P ) FF FF FF ˆ FF f f F"  X i.e. fˆ(P ↓x) = f(x). [ Proof: (i): O(P ) is complete as a set lattice, since if {Di}i∈I ⊆ O(P ) then Di and \ i∈I Di belong to O(P ). i∈I (ii): Let, for every down-set D ∈ O(P ), define: _ fˆ(D) := {f(x) ∈ X | x ∈ D}.

ˆ ˆ W The functionWf preserves order since if (P ↓x1) ⊆ (P ↓x2) then f(P ↓x1) = {f(x) ∈ X | x ∈ (P ↓x1)} ≤ {f(x) ∈ X | x ∈ (P ↓x2)} = fˆ(P ↓x2) since {f(x) | x ∈ P ↓x1} = {f(x) | x ≤ x1} ⊆ {f(x) | x ≤ x2}. The function fˆ, indeed makes the above diagram commutative: _ fˆ(P ↓x) = {f(y) ∈ X | y ∈ P ↓x} _ = {f(y) ∈ X | y ≤ x}.

Since f is isotone then y ≤ x implies that f(y) ≤ f(x), so that, _ {f(y) ∈ X | y ≤ x} = f(x).

Furthermore fˆ preserves arbitrary suprema:

Let {(P ↓xi)}i∈I ⊆ O(P ), we should prove that: " # [ _ fˆ (P ↓xi) = fˆ[(P ↓xi)]. i∈I i∈I 10 Residuated Monoids

Indeed, " # ( ) [ _ [ fˆ (P ↓xi) = f(y) ∈ X | y ∈ (P ↓xi) i∈I i∈I _ = {f(y) ∈ X | (∃i ∈ I)[y ≤ xi]} _ _ = {f(y) ∈ X | y ≤ xi} i∈I _ _ = f(xi) = fˆ[(P ↓xi)]. i∈I i∈I

1.3.11 Remark. From the above Theorem it is clear that elements of the form (P ↓x), op freelly generate O(P ) =∼ 2hP i, and thus every element D ∈ O(P ) can be expressed as a union (supremum) of elements of the form (P ↓x). Since fˆ preserves suprema, it is enough to check only for elements (P ↓x) in O(P ). CHAPTER 2

ADJOINTS FOR PREORDERS

2.1 Adjoints

Let h P, ≤P i and h Q, ≤Q i be two preorders.

2.1.1 Definition. An adjunction between P and Q, in symbols,

F + F / F : P ® Q : G or P k Q or even P o Q G G

is a pair of functions (F,G) such that:

(i) Both F : P → Q, G : Q → P are isotone.

(ii) For all p ∈ P, q ∈ Q,

(AD) F (p) ≤Q q iff p ≤P G(q).

Sometimes we say that F is left or lower adjoint to G, and G is right or upper adjoint to F . This is also denoted by F a G. On occations we shall also use the notation F + for the right adjoint G.

2.1.2 Remark. 1) In the case that we have two different preorders, i.e. h P, ≤P i= 6 h Q, ≤Q i, then we may freely apply the above definition to anyone of the following pairs:

(i) h P, ≤P i, h Q, ≤Q i (adjunction)

11 12 Residuated Monoids

(ii) hP, ≤P op i, hQ, ≤Qop i (dual adjunction)

(iii) hP, ≤P op i, h Q, ≤Q i ()

op Sometimes when we write P we mean hP, ≤P op i. It is clear that:

F : P ® Q : G iff G : Qop ® P op : F

2) Adjunctions for preordered sets are also known with various other names:

(i) F is also called residuated and G residual.

(ii) An adjunction can be also called a covariant Galois connection and the usual Galois connection it is then called contravariant Galois connection.

2.1.3 Example. 1) Let X,Y 6= ∅ and R ⊆ X × Y . Let

P = hP(X), ⊆i and Q = hP(Y ), ⊇i; then, F : P(X) ® P(Y ): G with

F (A) := {y ∈ Y | (∀x ∈ A)[(x, y] ∈ R]},A ⊆ X G(B) := {x ∈ X | (∀y ∈ B)[(x, y) ∈ R]},B ⊆ Y defines an adjunction, called polarity. 2) Let L be a lattice, and ♦ : L −→ L be a possibility modal operator, i.e. ♦(0) = 0 and ♦(x ∨ y) = ♦(x) ∨ ♦(y), and

¤ : L −→ L be a necessity modal operator, i.e. ¤(1) =⊥ and ¤(x ∧ y) = ¤(x) ∧ ¤(y). Then,

♦ : L ® L : ¤ is an adjunction. Usually when the elements of L are some kind of sets e.g. “open sets” then, x ∈ ¤(y) means that: “it is known (by a finite investigation) that x is in y”, and x ∈ ♦(y) means that: “x cannot be finitely distinguished from y”. As an example, . 2: ADJOINTS FOR PREORDERS 13

2.2 Triangle Inequalities and Basic Properties of Adjunctions.

2.2.1 Theorem. Let h P, ≤P i and h Q, ≤Q i be two preorders and F : P −−→ Q, G : Q −−→ P are isotone maps. Then the following are equivalent: (i) F a G Q > > F ◦G≤idQ (ii) Triangle inequalities. G >  > F / Q (α) G ◦ F ≥P idP P ? ? (β) F ◦ G ≤Q idQ ? G G◦F ≥idP ?  P

Proof: (i) ⇒ (ii): Let F a G, then for all p ∈ P, q ∈ Q,

F (p) ≤Q q iff p ≤P F (q).

Choose now q = F (p), then,

F (p) ≤Q F (p) iff p ≤P G(F (q)) i.e. idP ≤P G ◦ F .

Similarly it we take p = Q(q) then we get F ◦ G ≤Q idQ.

(ii) ⇒ (i): Let (ii) holds and assume F (p) ≤Q q. Then since G is isotone (by hypothesis) we have G ◦ F (p) ≤P G(q). But (ii) implies idP (p) ≤P G ◦ F (p) and thus p ≤P G(q). Similarly, if p ≤P G(q) then,

F (p) ≤Q (F ◦ G)(q) ≤Q q.

2.2.2 Remark. 1) If we have G ◦ F = idP then G is called a section of F , whereas if F ◦ G = idQ, then G is called a retraction of F . In the case that G ◦ F = idP and F ◦ G = idQ we say that F : P ® Q : G forms a duality between P and Q. 2) The triangle inequalities have a geometric connotation. However it is instructive always to look for the basic duality of Lawvere: Geometry vs. Logic. Indeed an adjunction expresses just a dialectic system, see e.g. [28]. later when we apply adjunctions to monoids we will see that G ◦ F ≥ idP expresses a quantitative (algebraic) property whereas F ◦ G ≤ idQ expresses the logical principle of “”.

2.2.3 Theorem. Left and right adjoints when exist there are unique, that is: If F a G and F a G0 then G = G0 and if F a G and F 0 a G then F = F 0. 14 Residuated Monoids

Proof: Let F a G and F a G0, then using the triangle inequalities we have:

0 0 G = idP ◦ G ≤ (G ◦ F ) ◦ G, since F a G = G0 ◦ (F ◦ G), 0 ≤ G ◦ idQ, since F a G = G0.

Similarly, G ≥ G0, whence G = G0. The same method gives F = F 0.

2.2.4 Lemma. For every p ∈ P, q ∈ Q, F a G implies:

↓G(q) = F −1[↓q] and ↑F (p) = G−1[↑p].

Proof:

F −1[↓q] = {p ∈ P | F (p) ≤ q} = {p ∈ P | p ≤ G(q)} since F a G = ↓G(q).

The second relation is dual.

2.3 Adjoint Functor Theorem

2.3.1 Theorem. (The Adjoint Functor Theorem) Let h P, ≤P i and h Q, ≤Q i be ordered sets and F : P −−→ Q, G : Q −−→ P are isotone functions. Then the following are equivalent:

(i) F a G

(ii) For each q ∈ Q, _ G(q) = {p ∈ P | F (p) ≤Q q}.

(iii) For each p ∈ P , ^ F (p) = {q ∈ Q | p ≤ G(q)}.

Furthermore, if F has a right adjoint then F preserves all existing in P , suprema and dually if G has a left adjoint then G preserves all existing in Q infima.

Proof: (i) ⇒ (ii). First we will prove that if F a G then F preserves all suprema that exist in P . To this end let p = ∨pi exists in P , then since F is isotone we know that à ! _ _ F (pi) ≤Q F pi ∈ Q i∈I i∈I . 2: ADJOINTS FOR PREORDERS 15

W ¡W ¢ W so that F (pi) 6= ∅ exists in Q. To prove now that F i∈I pi = i∈I F (pi) we may prove the equivalent condition: " Ã ! # _ _ (∀q ∈ Q) F ≤Q q iff F (pi) ≤Q q . i∈I i∈I Indeed, Ã ! _ _ F pi ≤Q q iff pi ≤P G(q) since F a G i∈I i∈I iff (∀i ∈ I)[pi ≤P G(q)]

iff (∀i ∈ I)[F (pi) ≤Q q] _ iff F (pi) ≤ q. i∈I Next we shall prove that (i) ⇔ (ii). (i) ⇒ (ii): Let F a G. Since G(q) ∈ ↓G(q) = F −1[↓q] we conclude that F −1[↓q] 6= ∅. Finally we know that for all o-ideals, _ ↓G(q) = G(q). W Thus ↓G(q) always exists in P and since ↓G(q) = F −1[↓q] = {p ∈ P | F (p) ≤ q} we finally get _ G(q) = {p ∈ P | F (p) ≤ q}.

(ii) ⇒ (i): Let F −1[↓q] 6= ∅ for all q ∈ Q and that there exists p ∈ P such that F −1[↓q] = ↓p. Suppose further that _ G(q) = {p ∈ P | F (p) ≤ q}. To prove (i) let p ∈ G(q), i.e. F (p) ≤ q we should prove that p ≤ G(q). Indeed,

F (p) ≤ q iff F (p) ∈ ↓q iff p ∈ F −1[↓q] = ↓G(q) i.e. p ≤ G(q). The proof that (i) ⇔ (iii) is dual to (i) ⇔ (ii).

2.3.2 Theorem. (The Adjoint Functor Theorem: The Complete Case)

Let h P, ≤P i and hQ, ≤Qi be complete lattices and F : P −−→ Q, G : Q −−→ P are isotone functions. Then

(i) F : P −−→ Q has a right adjoint, say G : Q −−→ P, iff for all {pi}i∈I ⊆ P , Ã ! _ _ F pi = F (pi) i∈I i∈I 16 Residuated Monoids

and G : Q −−→ P is uniquely determined by: _ G(q) = {p ∈ P | F (p) ≤Q q}, q ∈ Q.

(ii) G : Q −−→ P has a left adjoint, say F : P −−→ Q, iff for all {qj}j∈J ⊆ Q,   ^ ^ G  qj = G(qj) j∈J j∈J

and F : P −−→ Q is uniquely determined by: ^ F (p) = {q ∈ Q | p ≤ G(q)}.

Proof: Using the previous Theorem, it is enough to prove that if à ! _ _ F pi = F (pi) for all {pi}i∈I ⊆ P i∈I W then G(q) := {p ∈ P | F (p) ≤Q q}, q ∈ Q, is isotone and F a G. Indeed: If F (p) ≤ q then p ∈ P is oneW member that makes up the supremum of G(q) and so p ≤ G(q). Conversely, if p ≤ G(q) = {p ∈ P | F (p) ≤Q q}, then since F preserves suprema we have: ³_ ´ F (p) ≤ F (G(q)) = F {p ∈ P | F (p) ≤Q q} _ = {F (p) ∈ Q | F (p) ≤Q q} ≤ q.

Thus F a G. Let us go back to the functor P ↓(−). We have seen that P ↓(−) satisfies following properties:

1. (∀x, y ∈ P )[x ≤ y iff P ↓x ⊆ P ↓y]

2. For any down-set D ⊆ P , P ↓p ⊆ D iff p ∈ D

3. If F a G then the adjunction condition

x ≤P G(y) iff F (x) ≤Q y

is translated into

(P ↓x) ⊆ (P ↓G(y)) iff Q↓F (x) ⊆ (Q↓y) . 2: ADJOINTS FOR PREORDERS 17

4. If F ∗ := G−1 and G∗ := F −1 then F ∗(P ↓p) = Q↓F (p) and G∗(Q↓q) = P ↓G(q)

Let OP ≡ hO(P ), ⊆i and OQ ≡ hO(Q), ⊆i. Consider the following diagram:

F ∗ / OP o OQ O G∗ O

iP iQ ? F / ? P o Q G

We shall prove the following theorem:

2.3.3 Theorem. F a G iff F ∗ a G∗.

Proof: ( ⇒ ) Let F a G. Then,

x ≤P G(y) iff F (x) ≤Q y which is equivalent with (P ↓x) ⊆ (P ↓G(y)) iff Q↓F (x) ⊆ (Q↓y) Using (4) above we get F ∗(P ↓x) ⊆ Q↓y iff (P ↓x) ⊆ G∗(Q↓y) that is F ∗ a G∗. Since O(P ) is generated by elements of the form (P ↓x), x ∈ P, then the above proves that indeed F ∗ a G∗. Simiarly for ⇐ .

Compositions of adjoints.

Let, G K x x P 5 Q 8 R F H

If F a G and H a K then HF a GK.

Proof: GK(r) ≤ p iff G(K(r)) ≤ P, iff F (p) ≤ K(r) iff r ≤ HF (p).

2.3.4 Theorem. Let A, B, C be posets and let, f : A −−→ B, g : B −−→ C be residuated mappings. Then g ◦ f is residuated with (g ◦ g)+ = f + ◦ g+. 18 Residuated Monoids

Proof: Clearly g ◦f and f + ◦g+ are isotone. Moreover the isotonicity of f, g together with the triangle inequalities

+ + + + f ◦ f ≥ idA, f ◦ f ≤ idB, g ◦ g ≥ idB, g ◦ g ≤ idC yields

+ + + + + + + + (f ◦g )◦(g◦f) ≥ f ◦idB ◦f = f ◦f ≥ idA;(g◦f)◦(f ◦g ) ≤ g◦idB ◦g = g◦g ≤ idC from which we deduce, using the uniqueness of residuals, that (g ◦ f)+ exists and

(g ◦ f)+ = f + ◦ g+.

2.4 Closure operators (monads) on preorders

2.4.1 Definition. Let hP, ≤i be a poset. By a closure operator (or a monad) on P we mean an isotone mapping: cl : P −−→ P such that, cl = cl ◦ cl ≥ idP . Alternatively, cl(·) is a closure operator iff

(i) p1 ≤ p2 ⇒ cl(p1) ≤ cl(p2) (isotonicity) (ii) (∀p ∈ P )[p ≤ cl(p)] (increasing)

(iii) (∀p ∈ P )[cl(p) = cl ◦ cl(p)] (idempotency)

If instead of (ii) we have (ii)0 (∀p ∈ P )[p ≥ int(p)] then we have an (or co-monad) operator, that is int : P −−→ P is an interior operator iff int is an isotone and int = int ◦ int ≤ idP .

2.4.2 Theorem. If hP, ≤i is a poset and f : P −−→ P is a mapping, the following conditions are equivalent:

(1) f is an interior operator

(2) (∀p ∈ P )[f −1[↓P ] = f −1[↓f(p)]]. Likewise, the following conditions are equivalent:

(3) f is a closure operator

(4) (∀p ∈ P )[f −1[↑P ] = f −1[↑f(p)]] . 2: ADJOINTS FOR PREORDERS 19

Proof: We prove that (1) ⇔ (2); the proof of (3) ⇔ (4) is similar. Suppose that (1) holds. It is evident that for each x ∈ P ,

(∗). x ∈ f −1[↓f(x)] ⊆ f −1[↓x]

Moreover,

(∗∗) y0 ∈ f −1[↓x]f(y) ≤ xf(y) ≤ f(x)y ∈ f −1[↓f(x)]

Then, f −1[↓p] = f −1[↓f(p)]. Conversely if (2) holds, then we have:

∀x ∈ P, f −1[↓x] = f −1[↓f(x)] = f −1[↓f(f(x))].

Now x is an element of the second of these sets. It therefore belongs to the other two and so, (∀x ∈ P )[f(x) ≤ x and f(x) ≤ (f ◦ f)(x)]

Giving f ≤ idP and f ≤ f ◦ f. Now f is isotone; for

y ≤ xf(y) ≤ y ≤ xy ∈ f −1[↓x] = f −1[↓f(x)]f(y) ≤ f(x).

We therefore deduce from f ≤ idP that f ◦ f ≤ f. Thus f is an interior operator.

2.4.3 Theorem. If P is a poset then f : P −−→ P is a closure mapping iff there exists a poset Q and a left adjoint map (residuated map) g : P −−→ Q such that f = g+ ◦ g, where g+ is the right adjoint to f (the residual).

Proof: Suppose first that g : A −−→ B is residuated. Then since g is isotone and g+ ◦ g ≥ + + + idA, g ◦ g ≤ idB we have g ◦ g ◦ g ≥ g ◦ idA = g and g ◦ g ◦ g ≤ idB ◦ g = g so that

g ◦ g+ ◦ g = g and similarly g+ ◦ g ◦ g+ = g+.

From the above relation we get

g+ ◦ g = (g+ ◦ g) ◦ (g+ ◦ g) thus g+ ◦ g is a closure mapping, it is also an isotone mapping for being the composition of two isotone mappings. Conversely, suppose that A is a poset with f : A −−→ A a closure mapping. On A the function f induces an : for all x, y ∈ A,

x ∼f y iff f(x) = f(y).

Let A/ ∼f be the quotient set. We define on A/ ∼f

x/ ∼f ¹ y/ ∼f :⇐⇒ f(x) ≤ f(y). 20 Residuated Monoids

It is readily seen that ¹ is an ordering on A/ ∼f and since f is isotone, the canonical surjection k : A −→ A/ ∼f is isotone. Now each modulo ∼f has a greatest element, the greatest element in the class of x modulo ∼f being f(x). We can therefore define a mapping

g : A/ ∼f −−→ A // x/ ∼f 7→ g(x/ ∼f ) := f(x).

We then have

(g ◦ k)(x) = g[k(x)] = g(x/ ∼f ) = f(x) ≥ x;

(k ◦ g)(x/ ∼f ) = k[f(x)] = f(x)/ ∼f = x/ ∼f . from which it follows that k is residuated with g = k+ and that f = k+ ◦ k. An alternative treatment:

Question: Is every monad defined by means of a suitable pair of adjoint ? The answer is YES!

2.4.4 Definition. Let T be a monad on the preorder P . Let

PT := {p ∈ P | T (p) ≤ p} ⊆ P.

Since T is a monad we have (∀p ∈ P )[p ≤ T (p)]. Thus

PT := {p ∈ P | T (p) = p}.

That s PT consists exactly by the “fixed points” of T .

Also since T is a monad we have

(∀p ∈ P )[TT (p) ≡ T (p)] we can therefore regard T as a

FT : P −−→ PT // p 7→ FT (p) := T (p) = TT (p)

T (p) is a fixed point of T and thus T (p) ∈ PT .

Also we will denote the inclusion of PT into P by

⊂ GT : PT −−−→ P // q 7→ GT (q) := q ≡ T (q).

Then we have: . 2: ADJOINTS FOR PREORDERS 21

2.4.5 Theorem. For all p ∈ P and all q ∈ PT

FT (p) ≤ q iff p ≤ GT (q) i.e. FT a GT .

Proof:

FT (p) ≤ q ⇔ T (p) ≤ q ⇔ T (p) ≤ T (q) ⇔ p ≤ T (p) ≤ T (q)

⇔ p ≤ T (q) ≡ GT (q).

2.4.6 Theorem. Let T be a monad on the preorder P . Then there exists an adjunction FT : P ® PT : GT such that, T = GT ◦ FT .

Comparison Morphism.

Let F : P ® Q : G be an adjunction and let the monad T : P −−→ P with T := GF . Let

PT := {p ∈ P | T (p) = p}.

How do Q and PT compare? From the triangle inequalities, for any q ∈ Q TG(q) = GF G(q) ≤ G(q).

Thus G(q) ∈ PT and so we can regard G as a morphism,

G : Q −−→ PT // q 7→ G(q). We will denote this morphism by

K : Q −−→ PT // q 7→ K(q) := G(q) and call it the comparison morphism for the adjunction F a G.

2.4.7 Definition. A morphism F : P −−→ Q is called conservative iff (∀p, p0 ∈ P )[F (p) ≤ F (p0)p ≤ p0] 22 Residuated Monoids

A weaker than isomorphism association between preorders is “equivalence”. Equivalence allows us to identify the preorders.

2.4.8 Definition. A morphism G : Q −−→ P is called a quasi-inverse for the morphism F : P −−→ Q iff

(i) (∀p ∈ P )[GF (p) ≡ p, i.e. GF ≡ idP ]

(ii) (∀q ∈ Q)[FG(q) ≡ q, i.e. FG ≡ idQ]

Q > > F ◦G=idQ G >  > F / P ? Q ? ? G G◦F =idP ?  P

Note. If G is a quasi-inverse for F , then G is both left-adjoint and right-adjoint to F , and moreover F is a quasi-inverse for G.

2.4.9 Definition. A morphism F : P −−→ Q is called an equivalence iff it has a quasi- inverse.

2.4.10 Theorem. Let F : P ® Q : G be an adjunction and let T = GF be the associated monad on P . If G is conservative, then the comparison morphism

K : Q −→ PT is an equivalence.

Proof: Let J : PT −−→ Q be the the restriction of F to PT ,i.e. F ¹ PT .

F / PO o > Q G ~~ J ~ ~~ ~~~~ i ~~~~ ? ~~~ K PT

Since G is conservative then,

(∀q ∈ Q)[FG(q) ≡ q ≡ JK(q)] . 2: ADJOINTS FOR PREORDERS 23

since,

FG(q) ≤ q (Triangle ineq.) G(q) = G(q) F (G(q)) = F (K(q)) = i ◦ F (K(q)) = JK(q)

Moreover, if p ∈ PT , then KJ(p) = GF (p) ≡ p. Thus J is a quasi-inverse for K and so K is an equivalence.

Interior morphisms or comonads. The dual concept of a monad is that of comonad.

2.4.11 Definition. A comonad or an interior morphism on a preorder Q is an endomorphism, H : Q −−→ Q. Satisfying,

op (M1 ) (∀q ∈ Q)[H(q) ≤ q]; op (M2 ) (∀q ∈ Q)[H(q) ≤ HH(q)].

Dually we define, QH := {q ∈ Q | q ≤ H(q)} and

GH : G −−→ GH // q 7→ GH (q) := H(q) = HH(q)

FH : GH −−→ Q // q 7→ FH (q) := q ≡ H(q).

Then, FH : QH ® Q : GH is adjunction and H = FH GH .

2.4.12 Theorem. If A is a poset and f : A −−→ A is a residuated mapping, then the following are equivalent:

(a) f is a closure mapping;

(b) f + is an interior mapping;

(c) f = f + ◦ f;

(d) f + = f ◦ f +. 24 Residuated Monoids

Likewise, the following conditions are equivalent:

(α) f is an interior mapping;

(β) f + is a closure mapping;

(γ) f = f ◦ f +;

(δ) f + = f + ◦ f.

Proof: (a) ⇔ (b): Since f is residuated then,

+ f ≤idA ⇔ f ≥ idA and + f ≥idA ⇔ f ≤ idA.

Indeed let f ≤ idA, then by the triangle inequality f is residuated iff

+ + + + idA ≤ f ◦ f ≤ f ◦ idA = f so that f ≥ idA

Similarly for the second equivalence. Now let (a), i.e. let f be a closure mapping then

+ + + f = f ◦ f ≥ idA, iff f = f ◦ f ≤ idA, i.e. (a) ⇔ (b).

Now we shall establish (a) ⇒ (c) ⇒ (d) ⇒ (b). Suppose that (a) holds; then (c) follows from the inequalities

+ + f ◦ f = f ◦ f ◦ f ≥ idA ◦ f = f; + + + f = f ◦ f ◦ f ≥ idA ◦ f ◦ f = f ◦ f.

If now (c) holds then from f = f + ◦f we deduce that f ◦f + = f + ◦f ◦f + = f + which is (d). + + + + + + + + Finally, if (d) holds, then f ◦ f = f ◦ f ◦ f ◦ f = f ◦ f = f and f = f ◦ f ≤ idA and hence (b) holds. The equivalence of (α), (β), (γ), (δ) is proved similarly.

2.5 The Adjoint Lifting Theorem.

Suppose that, T : P −−→ P and S : Q −−→ Q are monads on the preorders P and Q respectively. . 2: ADJOINTS FOR PREORDERS 25

2.5.1 Definition. A mapping U : P −−→ Q is proper for T and S iff

U / P > Q UT = SU > T > S  >  P / Q U

For any such U : P −−→ Q are obtained by restriction

U / Q U ◦ i = i ◦ U¯ PO x< O T S x x T x S ? x ? ___ / PT QS U¯

2.5.2 Theorem. (Adjoint Lifting Theorem). Let T and S be monads on P and Q respectively. Let U : P −−→ Q be a proper morphisms for T and S and let U¯ : PT −−→ QS be the restriction of U. Then, (I) If U : P −−→ Q has a right adjoint R : Q −−→ P then

U¯ : PT −−→ QS has a right adjoint R¯ : QS −−→ PT

That is the following diagram is commutative:

U / P o Q O R O

iT iS ? U¯ / ? PT o QS R¯ given by the restriction: R¯(q) := R(q) for q ∈ QS. (II) If U : P −−→ Q has a left-adjoint R : Q −−→ P then

U¯ : PT −−→ QS has a left-adjoint R¯ : QS −−→ PS, q 7→ R¯(q) := R(q), q ∈ QS. 26 Residuated Monoids CHAPTER 3

COMMUTATIVE, INTEGRAL, RESIDUATED, `-MONOIDS (cirl-MONOIDS)

3.1 Introduction

With the revival of many-valued logics, fuzzy logics, linear logic etc. there is a strong interest for quantitative (not necessarily idempotent valuation structures (structures for truth values)). To give a rationale for choosing the commutative, residuated `-monoids as a kind of a generalized framework structure, it is helpful to begin with Bourbaki’s mother-structures:

(i) Posets;

(ii) Topological spaces;

(iii) Algebraic structures.

To reach to a general structure which incorporates all the above mother structures, we find that posets are the primal basic structures and thus the starting point. This is clear since e.g. in set theory, ‘∈’ essentially is an ordering. We would like to express (ii) and (iii) in a way which incorporates ordering. This means that we would like to see topology as the study of lattices of “opens” and as the study of lattices of “ideals”. Thus for topological spaces one may be forced to take locales and frames i.e. the lattice theoretic study of ‘opens’ () [26]. These structures are idempotent and thus they express qualitative concepts, associated with topology, in a lattice theoretic way. A locale is a complete lattice in which arbitrary joins distribute over meets, i.e. we have: For arbitrary I, _ _ a ∧ ( bi) = (a ∧ bi) i∈I i∈I

27 28 Residuated Monoids

A locale is then equivalent with a , i.e. with a complete lattice with top and bottom elements, in which for every element b ∈ A, the functor, ( ) ∧ b : A −−→ A // a 7→ a ∧ b has a right adjoint, denoted by,

b =∧⇒ ( ): A −−→ A // c 7→ b =∧⇒ c The above adjunction essentially expresses the Lawvere’s duality:

Geometry vs. Logic in its qualitative version. This is clear since the open sets express the geometric- extentional part, whereas the logical-intentional part is expressed by the Heyting algebra of intuitionistic propositional logic, where an is construe as “a finitely observable property”[33]. The element which connects the two interpretations is the concept of adjunction, which converts the extensional-geometric algebraic operation ‘∧’ into a more sophisticated antithetical intentional-logical operation of implication. The ‘synthesis’ of the above two operations is a logic which incorporates the qualitative algebraic and logical operations. There are also negation operations, ¬∧a := (a =∧⇒ 0) and ¬∨a := (1 ⇐∨= a) where ⇐∨= is the co-implication, which coincide with the corresponding pseudocomlements of a i.e., _ ^ ¬∧a = {x | a ∧ x = 0} and ¬∨a = {x | a ∨ x = 1}.

Passing now to the third element, i.e. algebraic structures we would like to generalize the Heyting algebra case by choosing a structure which is minimal, but at the same time rich enough to do logic and mathematics. This is the structure of commutative, residuated `-monoid where the monoidal operation is not necessarily idempotent. If we want the idempotent (qualitative) case to be embedded into the non-idempotent one, we should chose:

1) The monoidal structure hA; ≤, ¯, 1i to be lattice ordered which implies that it is also a po-monoid.

2) The monoidal operation ‘¯’ has a right adjoined (or residual) operation ‘ =¯⇒ ’, i.e. for all a, b, c ∈ A:

(AD) a ¯ b ≤ c iff b ≤ a =¯⇒ c

In the sequel we shall denote: ¬¯a ≡ ¬a := a =¯⇒ 0. To the adjoint pair (¯, =¯⇒ ) there is a dual adjoint pair (monoidal addition and co-implication) (⊕, ⇐⊕=) with the co-implication a ⇐⊕= b identical with difference a ª b := a ¯ ¬b satisfying the following dual adjunction: For all a, b, c ∈ A,

(DAD) a ⊕ b ≥ c iff b ≥ c ⇐⊕= a There is here a corresponding co-negation oparation defined as:

¬⊕a := 1 ⇐⊕= a. . 3: cirl-MONOIDS 29

3) When we restrict ourselves to the center (the idempotent elements) of the structure we would like to recover the Heyting algebra case in (ii).

From the above reasoning it is clear that the structures that constitute the basic framework are the “commutative residuated l-monoids” as studied e.g. in [24], with some additional conditions. In this Chapter we will follow closely [24].

3.2 The Qualitative Case: Heyting Algebras.

Heyting algebras have a dual interpetation:

(i) An extensional-geometric, and

(ii) An intentional-logical.

(i) Extensional-geometric. Heyting algebras are models of lattices of open sets. Depenting on the morphisms used Heyting algebras may be termed as locales or frames. These structures show that a generalized topology is the study of lattices of opens. In contradistiction, algebra can be conceived as the study of lattices of ideals and its main object concerns a quantization of geometry, based on either ‘measurements’, ‘measures’, or ‘normalized metric spaces’ which amounts to a kind of indistiguishability. As R. Street said in a forthcoming book [34]: “...commutative algebras are really spaces seen from the other side of your brain.’ We would like to add that this other side essentially is the left hemisphere of your brain, space perception on the other hand, resides as we know in the right hemisphere.

(ii) Intentional-logical. Heyting algebras are also thought as models of systems of propositions in the first-order . Based on this dual interpretation one expects that the lattce order will be dialectically connected to logical implication operator through an adjunction, which is exactly the case.

Let hL ≤i beW a poset,W in which every pair of elements a, b has a join a ∨ b. Then hL, ≤, ∨, 0i where 0 := ∅ ≡ p∈∅ is a commutative, integral `-monoid in which every element is idempotent. We term such monoids qualitative. Conversely,

3.2.1 Theorem. Let hL, ∨, 0i be a commutative monoid in which every element is idempotent. Then there exists a unique partial order on L such that a ∨ b is the join of a and b, and 0 is the least element.

Proof: See, [26, p.2]. A lattice is a poset in which every finite subset has both a join and a meet. This means that hL, ∨, ∧, 0, 1i is a structure such that both, hL, ∨, 0, i and hL, ∧, 1i are and the partial orders on L induced by the two semilattices are opposite to each other. 30 Residuated Monoids

3.2.2 Proposition. Suppose hL, ∨, 0i and hL, ∧, 1i are semilattices. Then hL, ∨, ∧, 0, 1i is a lattice iff the absorption laws,

a ∧ (a ∨ b) = a and a ∨ (a ∧ b) = a are satisfied for all a, b ∈ L.

Proof: See, [26, p.3]. If for every element, a ∈ L we require that the functor,

(−) ∧ a : L −−→ L // x 7→ (x ∧ a) has a right adjoint, a =∧⇒ (−): L −−→ L // x 7→ (a =∧⇒ x) then the resulting structure is called a Heyting algebra.

Peudocomplements and

Bi-Heyting Algebras

Boolean Algebras ≡ Involutive bi-Heyting Algebras.

Structure of the Ideal Lattices

To be continued...

3.3 The Quantitative Case: Non indempotent generalizations

Let hL ≤i be a lattice, i.e. hL ≤i is a poset such that joins and meets of finite subsets of L exists. In particular, ^ ^ _ _ ∅ ≡ xi = > (resp. ∅ ≡ xi =⊥) i∈∅ i∈∅ the universal upper (lower) bounds exists in L. We always suppose that L contains at least two elements, i.e. ⊥6= >. On L we consider an additional binary operation

¯ : L × L −−→ L such that, the structure hL, ¯, > ≡ 1i is a commutative monoid i.e. . 3: cirl-MONOIDS 31

(M1) (∀x, y, z ∈ L)[x ¯ (y ¯ z) = (x ¯ y) ¯ z]

(M2) (∀x ∈ L)[x ¯ 1 = x = 1 ¯ x]

(M3) (∀x, y ∈ L)[x ¯ y = y ¯ 1]

We use here the integrality condition, where > ≡ 1.

3.3.1 Remark. In a commutative monoid hM, ¯, 1i we may define the set

N := {x, x ¯ x, x ¯ x ¯ x, . . .}.

If the elements of N are all different, we may prove that N is isomorphic to the natural numbers N. This means that having a commutative monoid we have at the same time a set N acting as the set of natural numbers. Thus when we construct various logics based on a commutative residuated `-monoid we have always at our disposal a set of natural numbers. In this way commutative residuated `-monoids are logico-mathematical in nature. Commutative, residuated `-monoids are also known as commutative autonomous posets, i.e. a commutative autonomous poset is a partially ordered set hP, ≤i together with an commutative and associative binary operation ¯ such that for all a ∈ P, a ¯ : P −−→ P is residuated.

• Clearly every quantale is an autonomous poset but not conversely (completeness may not be present).

• Usually the term residuated monoid for an autonomous poset is used, and the term is used in the presence of a certain amount of completeness.

3.3.2 Definition. The structure hL, ≤, ¯, 1i is called commutative `-monoid (short for: lattice ordered monoid) iff

(L01) hL, ≤i is a lattice

(L02) hL, ¯, 1i is a commutative monoid

(L03) (∀x, y, z ∈ L)[x¯(y∨z) = (x¯y)∨(x¯z) and (x∨y)¯z = (x¯z)∨(y¯z)]

3.3.3 Remark. Property (L03) implies that hL, ≤, ¯1i is a po-monoid, i.e. : For all a, b, x ∈ L, a ≤ b ⇒ x ¯ a ≤ x ¯ b and a ¯ x ≤ b ¯ x (isotonicity) Indeed: Since x ¯ (a ∨ b) = (x ¯ a) ∨ (x ¯ b) and a ≤ b we have: a ∨ b = b, so that,

x ¯ (a ∨ b) = x ¯ b or (x ¯ a) ∨ (x ¯ b) = x ¯ b 32 Residuated Monoids

i.e. x ¯ a ≤ x ¯ b. Similarly for a ¯ x ≤ b ¯ x. Exercise. Let hM, ¯, 1i be a monoid and m ∈ M. Define a new operation on M by

¯m : M × M × −−→ M // (x, y) 7→ x ¯m y := x ¯ m ¯ y.

Show that this defines a . Under what conditions on m do we have a unit relative to ¯m?

3.3.4 Definition. Let f : X × Y −−→ Z be a function of two variables. Then we define:

(i) The x-section: For all x ∈ X, fx : −−→ Z // y 7→ fx(y) := f(x, y) (ii) The y-section: For all x ∈ X, f y : X −−→ Z // x 7→ f y(x) := f(x, y)

Let F : L × L −−→ L be an associative operation on L, and let:

Fa : L −−→ L // x 7→ Fa(x) := F (a, x) be the a-section, a ∈ L, of F , and

F b : L −−→ L // x 7→ F b(x) := F (x, b) be the b-section, b ∈ L, of F. Then we have

3.3.5 Theorem. The operation F is associative iff

b b Fa ◦ F = F ◦ Fa for all a, b ∈ L.

Proof: . For all a, b, x ∈ L, the associativity of F means

F (a, F (x, b)) = F (F (a, x), b) which is equivalent to b b Fa(F (x)) = F (Fa(x)), i.e. b b (Fa ◦ F )(x) = (F ◦ Fa)(x). Thus b b Fa ◦ F = F ◦ Fa.

3.3.6 Theorem. The operation F is commutative iff

a (∀a ∈ L)[Fa = F ]. . 3: cirl-MONOIDS 33

Proof: For all a, x ∈ L, by commutativity of F we have: F (a, x) = F (x, a) or Fa(x) = F a(x).

3.3.7 Corollary. The operation F is associative and commutative iff for all a, b ∈ L,

Fa ◦ Fb = Fb ◦ Fa.

3.3.8 Theorem. Let F be an associative operation on L. If the element a ∈ L is a idempotent under F then both Fa,F are idempotent functions, a a a i.e. if F (a, a) = a then Fa ◦ Fa = Fa and F ◦ F = F .

Proof:

2 Fa (x) = Fa(Fa(x)) = Fa(F (a, x)) = F (a, F )a, x)) = = F (F (a, a), x) = F (a, x) = Fa(x).

3.4 Monoid actions.

Let M = hM, ¯, ei be a monoid. Then for any m ∈ M we define the left multiplication or left translation:

λm : M −−→ M // x 7→ λm(x) := m ∗ x

Consider the set SM = {λm : m ∈ M} of functions. Then we have:

(i) λe = idM since λe(x) = e ¯ x = x and

(ii) λm ◦λn = λm¯n since λm ◦λn(x) = λm(λn(x)) = m¯(n¯x) = (m¯n)¯x = λm¯n(x).

So on SM we have an operation:

◦ : SM × SM −−→ SM // (λm, λn) 7→ λm ◦ λn such that hSM , ◦, λei forms a monoid with identity λe. This can be generalized. Let X be a set and

X λ(−) : M −−→ X // m 7→ λm i.e. the family, (λm)m∈M , where λm : X −−→ X, and m ∈ M (M is our original monoid), is a set of functions such that:

0 (i ) λe = idX ;

0 (ii ) λm ◦ λm = λm¯p. 34 Residuated Monoids

The collection of λm’s is called an action of M on the set X.

(λm)m∈M can be replaced by a single function,

λ : M × X −−→ X. // (m, x) 7→ λ(m, x) := λm(x) The above two conditions become:

(i0) λ(e, x) = x; (ii0) λ(m, λ(n, x)) = λ(m ¯ n, x).

Let M be a monoid. An M-set, is defined to be a pair hX, λi where λ : M × X −−→ X is such an action of M on X. For a given monoid M, the M-sets are objects of a category M-Set which is a . An arrow f : hX, λi −−→ hY,Mi is an equivariant or action-preserving function f : X −−→ Y i.e. such that,

f / X A Y f ◦ λm = µm ◦ f A λm A µm  A  X / Y f

¾ ½ Qualitative Qualitative (Boolean, Heyting,etc.) Geometry vs. Logic Quantitative Quantitative (MV-algebras, quantales, etc.)

3.4.1 Definition. Let hL, ≤, ¯, 1i be a commutative `-monoid. We say that hL, ≤, ¯, 1i is a residuated, commutative `-monoid iff all translations

Fa ≡ a ¯ (−): L −−→ L // x 7→ a ¯ x are residuated, i.e. have adjoints (or residuals)

Ga ≡ a =¯⇒ (−): L −−→ L // x 7→ (a =¯⇒ x)

Thus we have,

AD) Fa(x) ≤ b iff x ≤ Ga(b)( i.e. a ¯ x ≤ b iff x ≤ (a =¯⇒ b) or (∀a ∈ L)[Fa a Ga]. . 3: cirl-MONOIDS 35

3.4.2 Remark. The logical operation of implication is a more sophisticated notion than the algabraic monoidal operation, the adjointness here explains the emergence of one concept from the other, and at the same time the dialectical link of algebra and logic. Here we encounter again a logicomathematical reality, any separation of which into logic and algebra, results into unnutural mathematical settings.

3.4.3 Definition. A homomorphism between residuated, commutative `-monoids is a structure preserving map, i.e.

h : hL1, ≤1, ¯1, 11i −−→ hL2, ≤2, ¯2, 12i such that:

(i) h is a lattice-homomorphism;

(ii) h is a monoid-homomorphism;

(iii) h(a =¯⇒ 1 b) = h(a) =¯⇒ 2 h(b).

3.4.4 Proposition. Let hP, ≤1, ¯1i, hQ, ≤2, ¯2i be two commutative residuated `- monoids, and let h : P −−→ Q be a homomorphisms, then for all a ∈ P, b ∈ Q,

+ + h (h(a) =¯⇒ 2 b) = (a =¯⇒ 1 h (b))

Proof: To fix the notation let us consider what we have in a diagram: ∀a ∈ P, b ∈ Q We have,

+ + + + h (h(a) =¯⇒ 2 b) ≤1 a =¯⇒ 1 h (b) iff a ¯1 h (h(a) =¯⇒ 2 b) ≤1 h (b) + iff h[a ¯1 h (h(a) =¯⇒ 2 b)] ≤2 b + iff h(a) ¯2 h(h (h(a) =¯⇒ 2 b)) ≤2 b.

By adjointness (triangle inequality), for all c ∈ Q,

+ h(h (c)) ≤2 c

+ Thus, h(a) ¯2 h(h (h(a) =¯⇒ 2 b)) ≤ h(a) ¯2 (h(a) =¯⇒ 2 b) ≤ b (triangle). + Thus, the relation h(a) ¯2 h(h (h(a) =¯⇒ 2 b)) ≤2 b holds true and so we proved that, + + h (h(a) =¯⇒ 2 b) ≤1 a =¯⇒ 1 h (b). Conversely,

+ + + a =¯⇒ 1 h (b) ≤1 h (h(a) =¯⇒ 2 b) iff h(a =¯⇒ 1 h (b)) ≤2 (h(a) =¯⇒ 2 b) + iff h(a) ¯2 h(a =¯⇒ 1 h (b)) ≤2 b + iff h[a ¯1 (a =¯⇒ 1 h (b)] ≤2 b. 36 Residuated Monoids

+ + This holds iff a¯1 (a =¯⇒ 1 h (b)) ≤1 h (b). The last inequality always holds by the triangle inequality. Residuated commutative `-monoids and homomorphisms in the preceding sense form a category. Interpreting the general characterizations for adjunction, we have the following basic properties:

3.4.5 Proposition. The following are equivalent:

(i) (∀a ∈ L)[Fa a Ga] (AD) (ii) Triangle inequalities.

1. a =¯⇒ (a ¯ x) ≥ x (fusing: from x we deduce ‘a implies a and x)) 2. a ¯ (a =¯⇒ x) ≤ x (modus ponens: from a and (a =¯⇒ x) we deduce x.) or a ¯ (a =¯⇒ x) ≤ x ≤ (a =¯⇒ (a ¯ x))

(iii) For each principal ideal ↓x := {y ∈ L : y ≤ x} of L, and for all a ∈ L

−1 Fa [↓x] is a principal ideal of L. W (iv) For all a ∈ L Fa preserves arbitrary suprema, i.e. if x = i∈I xi exists then for all a ∈ L, _ Fa(P ) = Fa(xi) i∈I i.e. Ã ! _ _ a ¯ xi = (a ¯ xi) i∈I i∈I In particular, a ¯ (x1 ∨ x2) = (a ¯ x1) ∨ (a ¯ x2)

Furthermore, _ Ga(x) ≡ (a =¯⇒ x) = {y ∈ L : a ¯ y ≤ x} V (v) For all a ∈ L,Ga preserves arbitrary infima, i.e. if y = j∈J yj exists in L. then ^ Ga(y) = Ga(yj) j∈J i.e.   ^ ^ a =¯⇒  yj = (a =¯⇒ yj) j∈J j∈J . 3: cirl-MONOIDS 37

In particular, a =¯⇒ (y1 ∧ y2) = (a =¯⇒ y1) ∧ (a =¯⇒ y2)

Furthermore, ^ a ¯ x ≡ Fa(x) = {y ∈ L : x ≤ a =¯⇒ y}.

Note that since Fa a Ga then for all a ∈ L,

GaFaGa = Ga and FaGaFa = Fa or

a =¯⇒ [a ¯ (a =¯⇒ x)] = (a =¯⇒ x) a ¯ [a =¯⇒ (a ¯ x)] = a ¯ x

Now if F a : L −−→ L // x 7→ F a(x) := F (x, a) = x ¯ a then since L is commutative we have, a a b Fa = F and a ≤ b ⇒ Fa ≤ Fb & F ≤ F . However if Ga : L −−→ L // x 7→ Ga(x) := (x =¯⇒ a) then,

a b a ≤ b implies Ga ≥ Gb & G ≤ G i.e. (a =¯⇒ x) ≥ (b =¯⇒ x) and (a =¯⇒ a) ≤ (x =¯⇒ b) That is,

(∗) a ≤ b implies (∀x ∈ L)[(x =¯⇒ a) ≤ (x =¯⇒ b) and (a =¯⇒ x) ≥ (b =¯⇒ x)]

This means that G(., .) is antitone in the first and isotone in the second variable or equivalently a Ga is antitone and G is isotone We can see the second relation in (∗) as follows: Let a ≤ b then,

(∗∗) Fa ≤ Fb This in turn implies: Gb ≤ Ga ◦ Fa ◦ Gb ≤ Ga ◦ Fb ◦ Gb ≤ Ga.

Thus Gb ≤ Ga or (b =¯⇒ x) ≤ (a =¯⇒ x).

More precisely, all functions Fa,Ga,Fb,Gb are isotone functions, thus taking the composite from the left and right of (∗∗) gives again an inequality, i.e.

Fa ≤ Fb ⇒ Ga ◦ Fa ≤ Ga ◦ Fb

⇒ Ga ◦ Fa ◦ Gb ≤ Ga ◦ Fb ◦ Gb but due to the triangle inequalities we have

Ga ◦ Fa ≥ idP and Fb ◦ Gb ≤ idQ. 38 Residuated Monoids

So that, Gb ≤ Ga ◦ Fa ◦ Gb ≤ Ga ◦ Fb ◦ Gb ≤ Ga. Thus, Gb ≤ Ga .

SUMMARY OF THE BASIC PROPERTIES

We summarize results which have beeen already prooved or will be proved for easy refference. If something reffers to e.g. (i) etc., it will reffers to these properties:

(AD) a ¯ x ≤ b iff x ≤ (a =¯⇒ b) for all a ∈ L, i.e. (∀a ∈ L)[Fa a Ga]

(i) po-monoid: hL; ≤, ¯, 1i is a po-monoid, i.e.

(∀a, b, x ∈ L)[a ≤ b ⇒ a ¯ x ≤ b ¯ x]

(ii) Triangle Inequalities: For all a ∈ L, ) a =¯⇒ (a ¯ x) ≥ x i.e. Ga ◦ Fa ≥ idP

a ¯ (a =¯⇒ x) ≤ x i.e. Fa ◦ Ga ≤ idQ

(iii) For all a, b, c ∈ L

(a =¯⇒ (b =¯⇒ c)) = ((a ¯ b) =¯⇒ c) = (b =¯⇒ (a =¯⇒ c))

(iv) a ¯ (·) preserves finite joins and infinite suprema when exist, i.e., when the sups involed exist, Ã ! _ _ a ¯ xi = (a ¯ xi) i∈I i∈I (v) a =¯⇒ (·) preserves finite meets and infinite infima when exist, i.e., when the infs involed exist, Ã ! ^ ^ a =¯⇒ xi = (a =¯⇒ xi) i∈I i∈I

=¯⇒ =¯⇒ =¯⇒ In addition we have:V (a ∨ b) c = (a c) ∧ (b Wc) where, a¯x := {u ∈ L : x ≤ a =¯⇒ y} and (a =¯⇒ x) := {y ∈ L : a¯y = x}. (vi) For all x, y ∈ L,

x ¯ (x =¯⇒ y) = y iff (∃z ∈ L)[y = x ¯ z]

(vii) For all x, y ∈ L,

x =¯⇒ (x ¯ y) = y iff (∃z ∈ L)[y = (x =¯⇒ z)] . 3: cirl-MONOIDS 39

Integrality implies: (iix) a ¯ b ≤ a ∧ b. (ix) a ≤ b iff a =¯⇒ b = 1. (x) The universal bound ⊥ is the zero element with respect to ¯, i.e.: ⊥ = 0.

Divisibility implies:

(xi) a ¯ (a =¯⇒ b) = a ∧ b. (xii) a ¯ a = a then (∀b ∈ L)[a ∧ b = a ¯ b]

(xiii) a1 ≤ a2 implies a1 ¯ b = a1 ¯ (a2 =¯⇒ (a2 ¯ b)) (xiv) a ¯ (b ∧ c) = (a ¯ b) ∧ (a ¯ c) (xv) a =¯⇒ (b ∧ c) = (a =¯⇒ b) ¯ ((a ∧ b) =¯⇒ c)

(MV) ((a =¯⇒ b) =¯⇒ b) = a ∨ b.

Finally if a ≤ b then (a ⇒ x) ≥ (b ⇒ x), i.e. Ga ≥ Gb and (x ⇒ a) ≤ (x ⇒ b) i.e. . Ga ≤ Gb.

3.4.6 Theorem. Let hL, ≤, ¯, 1i be an commutative, residuated ` − monoid and x, y ∈ L, then: (i) x ¯ (x =¯⇒ y) = y iff (∃z ∈ L)[y = x ¯ z] (ii) x =¯⇒ (x ¯ y) = y iff (∃z ∈ L)[y = (x =¯⇒ z)] (iii) (y =¯⇒ x) =¯⇒ x = y iff (∃z ∈ L)[y = (z =¯⇒ x)]

Proof: If f : A −−→ B is a residuated map then by Theorem 2.6 in Blyth & Janowitz, the following (i), (ii), (iii) as well as (i0), (ii0), (iii0) are equivalent:

+ 0 + (i) f ◦ f = idA (i ) f ◦ f = idB (ii) f is injective & (ii0) f is surjective (iii) f + is surjective (iii0) f + is injective. Thus,

+ + + f ◦ f = idA iff f is surjective iff (∀x ∈ A)(∃y ∈ B)[x = f (y)] + f ◦ f = idB iff f is surjective iff (∀y ∈ B)(∃x ∈ A)[y = f(x)]

+ Applying these observations in turn to Fx,Fx ≡ Gx we have

(i) (∀y ∈ L)[Fx(Gx(y)) = y] iff (∀y ∈ L)(∃z ∈ L)[y = Fx(z)] or (∀y ∈ L)[x ¯ (x =¯⇒ y) = y] iff (∀y ∈ L)(∃z ∈ L)[y = x ¯ z] 40 Residuated Monoids

(ii) Similarly, (∀y ∈ L)[Gx(Fx(y)) = y] iff (∀y ∈ L)(∃z ∈ L)[y = Gx(z)] or (∀y ∈ L)[x =¯⇒ (x ¯ y) = y] iff (∀y ∈ L)(∃z ∈ L)[y = x =¯⇒ z]

(iii) Since, x ¯ b ≤ a iff b ≤ x =¯⇒ a iff x ≤ (b =¯⇒ a) If we define, op ga : L −−→ L // x 7→ ga(x) := (x =¯⇒ a) and, + op + ga : L −−→ L // x 7→ ga (x) := (x =¯⇒ a) op + + then, ga(x) ≤ b iff x ≤ ga (b) i.e. ga a ga .

+ Applying the above to ga, ga we have

+ (∀y ∈ L)[gx(gx (y)) = y] iff (∀y ∈ L)(∃z ∈ L)[y = gx(z)] or ((y =¯⇒ x) =¯⇒ x) = y iff (∀y ∈ L)(∃z ∈ L)[y = (z =¯⇒ x)].

3.4.7 Theorem. The following conditions are equivalent:

(i) hL, ≤, ¯, 1i is a commutative residuated `-monoid;

(ii) (∀x, y, z ∈ L)[z =¯⇒ (y =¯⇒ x) = ((y ¯ z) =¯⇒ x)];

(iii) (∀x, y, z ∈ L)[z =¯⇒ (y =¯⇒ x) = (y =¯⇒ (z =¯⇒ x))];

(iv) (∀x, y, z ∈ L)[z ¯ (y =¯⇒ x) ≤ (y ¯ (z =¯⇒ x)) ≤ (z =¯⇒ (y ¯ x))]

Proof: (i) ⇒ (ii): (First proof) Due to commutativity and associativity we have (Th. 6.6) (∀y, z ∈ L)[Fy ◦ Fz = Fz ◦ Fy] = Fy¯z

Since Fy,Fz are residuated maps then Fy ◦ Fz = Fz ◦ Fy is also residuated with residual,

(∗) Gz ◦ Gy = Gy ◦ Gz = Gy¯z

But this says that, for all x, y, z ∈ L,

z =¯⇒ (y =¯⇒ x) = (y ¯ z) =¯⇒ x.

(i) ⇒ (iii): By (∗) we get also the equivalence of (i) ⇔ (iii), i.e. from Gz ◦ Gy = Gy ◦ Gz we get, z =¯⇒ (y =¯⇒ x) = y =¯⇒ (z =¯⇒ x).

(Second proof of (i) ⇒ (ii): We can see that: For all a, b ∈ L

a = b iff (∀x ∈ L)[x ≤ a iff x ≤ b] ( see Remark 3.1) . 3: cirl-MONOIDS 41

Thus in order to prove that (z =¯⇒ (y =¯⇒ x)) = ((y ¯ z) =¯⇒ x) we have to prove that for all ω ∈ L, ω ≤ (z =¯⇒ (y =¯⇒ x)) iff ω ≤ ((y ¯ z) =¯⇒ x)

(AD) (AD) (AD) But ω ≤ (z =¯⇒ (y =¯⇒ x)) ⇔ ω¯z ≤ (y =¯⇒ x) ⇔ ω¯y¯z ≤ x ⇔ ω ≤ ((y¯z) =¯⇒ x). We note that we could easily prove that (ii) ⇔ (iii). Indeed from (ii) we get

(z =¯⇒ (y =¯⇒ x)) = ((z ¯ y) =¯⇒ x).

But z ¯ y = y ¯ z since L is commutative. Thus:

(i) (z ¯ y) =¯⇒ x = (y ¯ z) =¯⇒ x = y =¯⇒ (z =¯⇒ x) ≡ (iii) and conversely. Or alternatively use (¯) to prove (ii) ⇔ (iii). Before we prove (i) ⇔ (iv), we shall prove a lemma.

L 3.4.8 Lemma. If hL, ≤i is a poset and F1,F2 ∈ L are residuated maps with residuals + + G1 ≡ F1 ,G2 ≡ F2 respectively, then

F1 ◦ F2 ≤ F2 ◦ F1 iff F2 ◦ G1 ≤ G1 ◦ F2

Proof: Let F1 ◦ F2 ≤ F2 ◦ F1 then

idL ◦ F2 ◦ G1 ≤ G1 ◦ F1 ◦ F2 ◦ G1 (triangle inequality)

= G1 ◦ (f1 ◦ F2) ◦ G1 ≤ G1 ◦ (F2 ◦ F1) ◦ G1 by hypothesis

= (G1 ◦ F2) ◦ (F1 ◦ G1) ≤ G1 ◦ F2 since F1 ◦ G1 ≤ idL and conversely, if F2 ◦ G ≤ G1 ◦ F2 then,

F1 ◦ F2 ≤ F1 ◦ F2 ◦ (idL) ≤ F1 ◦ F2 ◦ (G1 ◦ F1)

≤ F1 ◦ G1 ◦ F2 ◦ F1

≤ F2 ◦ F1.

(i) ⇔ (iv):(continuation of Th.Theorem 3.4.7) The commutativity and associativity is equivalent to (∀y, z)[Fy ◦ Fz = Fz ◦ Fy]. But this is equivalent with

Fy ◦ Fz ≤ Fz ◦ Fy and Fz ◦ Fy ≤ Fy ◦ Fz.

Using the Lemma, these are equivalent to

Fz ◦ Gy ≤ Gy ◦ Fz and Fy ◦ Gz ≤ Gz ◦ Fy which are exactly relation (iv). 42 Residuated Monoids

3.4.9 Remark. If hL, ≤, ¯i is a commutative residuated `-monoid then it is also a po- monoid, see also,Remark 3.3.3 i.e. :

a ≤ b ⇒ a ¯ x ≤ b ¯ x for all x ∈ L.

Indeed, from triangle inequalities we have:

(∀b, x ∈ L)[b ≤ (x =¯⇒ (b ¯ x))]

By the transitivity of ≤, we get:

(AD) a ≤ [x =¯⇒ (b ¯ x)] ⇐⇒ a ¯ x ≤ b ¯ x, hence, hL, ≤, ¯i is a po-monoid.

3.4.10 Example. Any complete abelian po- hG, ·i is a commutative quantale with

−1 Fa(x) := a · x and Ga(x) ≡ (a =¯⇒ x) := a · x.

3.4.11 Proposition. For all a ∈ L, let Ca(·): L −−→ L // x 7→ Ca(x) := ((x =¯⇒ a) =¯⇒ a), then Ca(·) is a closure operator.

Proof: (i): Ca(·) preserves order, since if x1 ≤ x2 then

(x1 =¯⇒ a) ≥ (x2 =¯⇒ a) and so a =¯⇒ (x1 =¯⇒ a) ≤ a =¯⇒ (x2 =¯⇒ a). but (a =¯⇒ (x1 =¯⇒ a)) = ((x1 =¯⇒ a) =¯⇒ a) and (a =¯⇒ (x2 =¯⇒ a)) = ((x2 =¯⇒ a) =¯⇒ a), thus Ca(x1) ≤ Ca(x2) .

(ii): (∀x ∈ L)[x ≤ Ca(x)]. This is clear since from triangle inequality we have

(AD) x ¯ (x =¯⇒ a) ≤ a ⇐⇒ x ≤ ((x =¯⇒ a) =¯⇒ a).

(iii): Idempotency. We have to prove that: Ca ◦ Ca = Ca or

(x =¯⇒ a) = (((x =¯⇒ a) =¯⇒ a) =¯⇒ a).

From (ii) since x ≤ ((x =¯⇒ a) =¯⇒ a) it follows that

((x =¯⇒ a) =¯⇒ a) ≤ (x =¯⇒ a) since (−) =¯⇒ a is antitone.

The reverse inequality follows, since from triangle inequality we have:

(x =¯⇒ a) ¯ ((x =¯⇒ a) =¯⇒ a) ≤ a. . 3: cirl-MONOIDS 43

3.5 Integrality.

Let hL, ≤, ¯, 1i be a commutative residuated `-monoid. Let also > be the top element in the lattice hL, ≤i. The interrelationships of the top element and the unit element 1 of the monoid hL, ¯, 1i is interesting. We may say that our element a of hL, ¯, 1i is integral iff a ≤ 1. If all elements of hL, ¯, 1i are integral, i.e. (∀a ∈ L)[a ≤ 1] then hL, ¯, 1i is called integral `-monoid. If > ≡ 1 then an `-monoid is integral. More precisely we have:

3.5.1 Definition. A residuated, commutative `-monoid hL, ≤, ¯i is called integral iff > ≡ 1, i.e. the universal upper bound > acts as the unit element w.r.t. ¯.

3.5.2 Lemma. Let M = hL, ≤, ¯i be a commutative residuated `-monoid, and 1 be the monoidal unit element, whereas > is the universal upper bound of the lattice hL, ≤i. For every element x ∈ L,

(a) The following assertions are equivalent:

(a1) x = 1; (a2) x ≤ (a =¯⇒ b) iff a ≤ b; (a3) a = (x =¯⇒ a) for all a ∈ L.

(b) Likewise the following assertions are equivalent:

(b1) hL, ≤, ¯i is integral; (b2) 1 = (a =¯⇒ b) iff a ≤ b; (b3) a = (1 =¯⇒ a) for all a ∈ L.

(c) If there exists x ∈ L, with > ¯ x = 1 then > = 1.

Proof: Assertion (b) is an immediate consequence of assertion (a). In order to verify (a) we proceed as follows: (a1) ⇒ (a2). This is obvious, since if x = 1 then by (AD) we have

a ¯ 1 ≤ b iff 1 ≤ a =¯⇒ b.

(a2) ⇒ (a3). Let (a2), then since a ≤ a iff x ≤ a =¯⇒ a iff a ≤ x =¯⇒ a.

To prove now that (x =¯⇒ a) ≤ a we use the triangle inequality

x ¯ (x =¯⇒ a) ≤ a iff x ≤ ((x =¯⇒ a) =¯⇒ a) = (a =¯⇒ (x =¯⇒ a)). 44 Residuated Monoids

(a3) ⇒ (a1). Since a = (x =¯⇒ a) for all a ∈ L then by Th. 6.12 (iii) with y = a, z = x, x = a we have ((a =¯⇒ a) =¯⇒ a) = a By Theorem 3.4.6 (ii), we have with y = a, x = x, z = a,

x =¯⇒ (x ¯ a) = a

But x ¯ a = (x =¯⇒ (x ∗ a)), then x ¯ a = a or x = 1. (c) Because hL, ≤, ¯i is a po-monoid we have

> = > ¯ 1 ≤ > ¯ > ≤ >.

On the other hand we infer from the hypothesis of assertion (c): > ¯ (> =¯⇒ 1) = 1. Multiplying both sides by > we have

> = 1 ¯ > = > ¯ > ¯ (> =¯⇒ 1) = > ¯ (> =¯⇒ 1) = 1.

• In any integral, residuated, commutative `-monoid the following relation holds:

(∗) a ¯ b ≤ a ∧ b

• Due to integrality ∀a, b ∈ L, b ≤ 1 iff b ≤ a =¯⇒ a iff a ¯ b ≤ a or since a ¯ b ≤ a ∧ b then a ¯ b ≤ a, &a ¯ b ≤ b From (∗) we have:

(a ∧ b) =¯⇒ x ≤ (a ¯ b) =¯⇒ x and x =¯⇒ (a ¯ b) ≤ x =¯⇒ (a ∧ b)

So that: x ¯ (x =¯⇒ (a ¯ b) ≤ a ∧ b ≤ k, where k ∈ {a, b} and (a ¯ b) ¯ [(a ∧ b) =¯⇒ x] ≤ x.

3.6 Algebraic strong de Morgan’s law: Distributivity of the underline lattice structure

The logical principle: (p =¯⇒ q) ∨ (q =¯⇒ p) = 1 is clearly true in Boolean algebras. However it need not hold in a frame or in general in an integral commutative, residuated `-monoid. This principle was termed by Johnstone [SLNM # 753 (1979), 479–491] Strong de Morgan’s law (SDML). . 3: cirl-MONOIDS 45

A related property to SDML is the property:

¬(a ∧ b) = ¬a ∨ ¬b (DML).

(The first de Morgan’s law ¬(a ∨ b) = ¬a ∧ ¬b automatically holds in L by the adjointness of ∧ and =¯⇒ .) P. Johnstone proved that: “Let X be a topological space. The frame Ω(X) of open sets of X satisfies DML iff X is extremally disconnected” (disjoint opens have disjoint closures).

3.6.1 Definition. An integral, commutative, residuated `-monoid is said to satisfy the algebraic strong de Morgan’s law (ASDML) iff for all a, b ∈ L,

(a =¯⇒ b) ∨ (b =¯⇒ a) = 1.

3.6.2 Proposition. In any integral, commutative, residuated `-monoid the following assertions are equivalent:

(i) (a =¯⇒ b) ∨ (b =¯⇒ a) = 1 for all a, b ∈ L.

(ii) a =¯⇒ (b ∨ c) = (a =¯⇒ b) ∨ (a =¯⇒ c) for all a, b, c ∈ L.

(iii) a ∧ b) =¯⇒ c = (a =¯⇒ b) ∨ (a =¯⇒ c) for all a, b, c ∈ L.

Proof: (i) ⇒ (ii): Since a ¯ (a =¯⇒ b) ≤ b ≤ b ∨ c and a ¯ (a =¯⇒ c) ≤ c ≤ b ∨ c we have, ¾ (a =¯⇒ b) ≤ a =¯⇒ (b ∨ c) ⇒ (a =¯⇒ b) ∨ (a =¯⇒ c) ≤ q =¯⇒ (b ∨ c) (a =¯⇒ c) ≤ a =¯⇒ (b ∨ c) i.e. holds always. Thus we have to prove that,

a =¯⇒ (b ∨ c) ≤ (a =¯⇒ b) ∨ (a =¯⇒ c).

Since a ¯ (a =¯⇒ (b ∨ c)) ≤ b ∨ c (triang. ineq.) then,

a ≤ (a =¯⇒ (b ∨ c)) =¯⇒ (b ∨ c).

So that

1 = a =¯⇒ a ≤ a =¯⇒ [(a =¯⇒ (b ∨ c)) =¯⇒ (b ∨ c)]

since b ∨ c ≤ (c =¯⇒ b) =¯⇒ b) 46 Residuated Monoids

≤ a =¯⇒ [(a =¯⇒ (b ∨ c)) =¯⇒ ((c =¯⇒ b) =¯⇒ b)]

since a =¯⇒ (y =¯⇒ z) = y =¯⇒ (x =¯⇒ z) = a =¯⇒ [(c =¯⇒ b) =¯⇒ ((a =¯⇒ (b ∨ c)) =¯⇒ b ]

since a =¯⇒ (y =¯⇒ z) = y =¯⇒ (x =¯⇒ z) = (c =¯⇒ b) =¯⇒ [ a =¯⇒ ((a =¯⇒ (b ∨ c)) =¯⇒ b ]

Thus,

(∗) 1 ¯ (c =¯⇒ b) = c =¯⇒ b ≤ a =¯⇒ [(a =¯⇒ (b ∨ c)) =¯⇒ b] and by reversing the rˆolesof b and c we get

(∗∗)(b =¯⇒ c) ≤ a =¯⇒ [(a =¯⇒ (b ∨ c)) =¯⇒ c ]

Thus,

(a =¯⇒ (b ∨ c)) =¯⇒ ((a =¯⇒ b) ∨ (a =¯⇒ c)) ≥ (a =¯⇒ (b ∨ c)) =¯⇒ (a =¯⇒ b) ∨ (a =¯⇒ (b ∨ c)) =¯⇒ (a =¯⇒ c) = a =¯⇒ ((a =¯⇒ (b ∨ c)) =¯⇒ b) ∨ a =¯⇒ ((a =¯⇒ (b ∨ c)) =¯⇒ c) ≥ (c =¯⇒ b) ∨ (b =¯⇒ c) = 1, by ASDML .

It thus follows that a =¯⇒ (b ∨ c) ≤ (a =¯⇒ b) ∨ (a =¯⇒ c). (ii) ⇒ (iii):

((b ∧ c) =¯⇒ a) =¯⇒ ((b =¯⇒ a) ∨ (c =¯⇒ a) = ((b ∧ c) =¯⇒ a) =¯⇒ (b =¯⇒ a) ∨ ((b ∧ c) =¯⇒ a) =¯⇒ (c =¯⇒ a) = = b =¯⇒ (((b ∧ c) =¯⇒ a) =¯⇒ a) ∨ c =¯⇒ (((b ∧ c) =¯⇒ a) =¯⇒ a) ≥ (b =¯⇒ (b ∧ c)) ∨ (c =¯⇒ (b ∧ c)) = (b =¯⇒ c) ∨ (c =¯⇒ b) = (b ∨ c) =¯⇒ c ∨ (b ∨ c) =¯⇒ b = (b ∨ c) =¯⇒ (b ∨ c) = 1

So, (b ∧ c) =¯⇒ a ≤ (b =¯⇒ a) ∨ (c =¯⇒ a). The opposite inequality is always true.

(iii) ⇒ (i): (a =¯⇒ b)∨(b =¯⇒ a) ≥ (a =¯⇒ (a∧b))∨(b =¯⇒ a∧b)) = (a∧b) =¯⇒ (a∧b) = 1.

3.6.3 Lemma. Let hL, ≤ ¯i be an integral, commutative residuated `-monoid, satisfying the algebraic strong de Morgan’s law. Then the following assertions are valid:

(i) a ¯ b ≤ (a ¯ a) ∨ (b ¯ b), (a ¯ a) ∧ (b ¯ b) ≤ a ¯ b;

(ii) a ¯ (b ∧ c) = (a ¯ b) ∧ (a ¯ c);

(iii) a ∧ (b ∨ c) = (a ∧ b) ∨ (a ∧ c), i.e. the lattice (L, ≤) is distributive. . 3: cirl-MONOIDS 47

(iv) For all x, y ∈ L,

x ∨ y = [ (x =¯⇒ y) =¯⇒ y ] ∧ [(y =¯⇒ x) =¯⇒ x ]

Proof: (i):

a ¯ b = (a ¯ b) ¯ 1 = (a ¯ b)[(a =¯⇒ b) ∨ (b =¯⇒ a)] = [ (a ¯ b) ¯ (a =¯⇒ b)] ∨ [(a ¯ b) ¯ (b =¯⇒ a)] ≤ [ b ¯ (a ¯ (a =¯⇒ b))) ] ∨ [ a ¯ (b ¯ (b =¯⇒ a)) ] ≤ (b ¯ b) ∨ (a ¯ a)

(a ¯ a) ∧ (b ¯ b) = [(a ¯ a) ∧ (b ¯ b) ¯ 1 = [(a ¯ a) ∧ (b ¯ b)] ¯ (a =¯⇒ b) ∨ (b =¯⇒ a)] = [[(a ¯ a) ∧ (b ¯ b)] ¯ (a =¯⇒ b)] ∨ [[ (a ¯ a) ∧ (b ¯ b)] ¯ (b =¯⇒ a)] ≤ [(a ¯ a) ¯ (a =¯⇒ b)] ∨ [(b ¯ b) ¯ (b =¯⇒ a)] = [ a ¯ (a ¯ (a =¯⇒ b)) ] ∨ [ b ¯ (b ¯ (b =¯⇒ a)) ] ≤ [ a ¯ b ] ∨ [ b ¯ a ] = a ¯ b

(a ¯ a) ∧ (b ¯ b) ≤ a ¯ b. (ii):

=1 z }| { (a ¯ b) ∧ (a ¯ c) = [ (a ¯ b) ∧ (a ¯ c)] ¯ [(b =¯⇒ c) ∨ (c =¯⇒ b)] = [ ((a ¯ b) ∧ (a ¯ c)) ¯ (b =¯⇒ c)] ∨ [ ((a ¯ b) ∧ (a ¯ c)) ¯ (c =¯⇒ b)] ≤ [(a ¯ b) ¯ (b =¯⇒ c)] ∨ [(a ¯ c) ¯ (c =¯⇒ b)] ≤ (a ¯ c) ∨ (a ¯ b) = a ¯ (b ¯ c) ≤ a ¯ (b ∧ c).

Since ¯ is isotone in both variables,

(a ¯ b) ∧ (a ¯ c) ≤ a ¯ (b ∧ c).

The other way is trivial. Other proof: Since ¯ is isotone and b ≥ b ∧ c and c ≥ b ∧ c then, ¾ a ¯ b ≥ a ¯ (b ∧ c) =¯⇒ (a ¯ b) ∧ (a ¯ c) ≥ a ¯ (b ∧ c) a ¯ c ≥ a ¯ (b ∧ c)

(iii): It is well known that to prove distributivity, it is sufficient to show that if b ∧ c ≤ a then (a ∨ b) ∧ (a ∨ c) ≤ a. However,

(a ∧ (b ∧ c)) =¯⇒ ((a ∧ b) ∨ (a ∧ c)) = [(a ∧ (b ∨ c)) =¯⇒ (a ∧ b)] ∨ [(a ∧ (b ∧ c) =¯⇒ (a ∧ c)] ≥ [(b ∧ c) =¯⇒ (a ∧ b)] ∨ [(b ∧ c) =¯⇒ (a ∧ c)]

since (−) =¯⇒ x is antitone 48 Residuated Monoids

≥ [(b ∧ c) =¯⇒ b] ∨ [(b ∧ c) =¯⇒ c] since x =¯⇒ (−) is isotone ≥ (c =¯⇒ b) ∨ (b =¯⇒ c) = 1 since x =¯⇒ (−) is isotone

a ∧ (b ∧ c) ≤ (a ∧ b) ∨ (a ∧ c). (iv): First we shall prove the inequality:

x ∨ y ≤ [(x =¯⇒ y) =¯⇒ y ] ∧ [(y =¯⇒ x) =¯⇒ x ]

Due to integrality we have for all z, y ∈ M,

z ¯ y ≤ z ∧ y ≤ y

From adjunction (AD) we have,

z ¯ y ≤ y iff y ≤ z =¯⇒ y

Choosing z = (x =¯⇒ y) we finally get,

y ≤ (x =¯⇒ y) =¯⇒ y (∗)

On the other hand, adjunction (triangle inequality) implies that,

(AD) x ¯ (x =¯⇒ y) ≤ y ⇐⇒ x ≤ (x =¯⇒ y) =¯⇒ y (∗∗)

So by (∗) and (∗∗) we get, x ∨ y ≤ (x =¯⇒ y) =¯⇒ y Interchanging the roles of x, y we also get:

x ∨ y ≤ (y =¯⇒ x) =¯⇒ x hence we obtain, x ∨ y ≤ [(x =¯⇒ y) =¯⇒ y] ∧ [(y =¯⇒ x) =¯⇒ x] For the converse inequality, we have:

[(x =¯⇒ y) =¯⇒ y ] ∧ [(y =¯⇒ x) =¯⇒ x ] = [(x =¯⇒ y) ∨ (y =¯⇒ x)] ¯ {[(x =¯⇒ y) =¯⇒ y ] ∧ [(y =¯⇒ x) =¯⇒ x ]} ≤ [(x =¯⇒ y) ¯ ((x =¯⇒ y) =¯⇒ y)] ∨ [(y =¯⇒ x) ¯ ((y =¯⇒ x) =¯⇒ x)] ≤ y ∨ x = x ∨ y.

3.7 Divisibility.

Let hL, ≤, ¯i be an integral, commutative, residuated `-monoid and hL, ≤opi ≡ hL, ≥i the opposite poset. . 3: cirl-MONOIDS 49

3.7.1 Definition. hL, ≤, ¯i is called divisible iff £ ¤ (∗)(∀a, b ∈ L) a ≤ b =¯⇒ (∃c ∈ L)[b = a ¯ c] and it is called dual-divisible iff hL, ≤op, ¯i is divisible, i.e. £ ¤ (∗∗)(∀a, b ∈ L) b ≤ a =¯⇒ (∃c ∈ L)[b = a ¯ c]

In the framework of integral commutative, residuated `-monoid we have that > = 1, ⊥= 0 and (∀x ∈ L)[x ≤ 1] so that if L is divisible then (∀x ∈ L)(∃c ∈ L)[c ¯ x = 1] which is 1 1 not possible. For example let us take L − [0, 1], x ¯ y := max{x + y − 1, 0}, then < 4 2 3 1 1 3 1 1 but for x < , ¯ x = 0 6= for x ≥ , then ¯ x = does not have a solution in 4 4 2 4 4 2 10 [0, 1], since x = > 1. So for integral `-monoids (∗) is not the appropriate concept of 8 divisibility. From now on when we say divisible we shall always mean dual-divisible. A characterization of divisibility is given by:

3.7.2 Lemma. Let hL, ≤, ¯i be an integral, commutative residuated `-monoid. Then the following assertions are equivalent:

(i) hL, ≤, ¯i is divisible;

(ii) a ∧ b = a ¯ (a =¯⇒ b);

(iii) a =¯⇒ (b ∧ c) = (a =¯⇒ b) ¯ ((a ∧ b) =¯⇒ c).

Proof: (i) ⇒ (ii): Let hL, ≤, ¯i be divisible. Then by definition: £ ¤ (∀a, b ∈ L) b ≤ a =¯⇒ (∃c ∈ L)[b = a ¯ c] .

But since b ≤ a iff a ∧ b = b we get

(∃c ∈ L)[a ∧ b = a ¯ c].

Since b = a ¯ c we have in particular,

(AD) a ¯ c ≤ b ⇔ c ≤ (a =¯⇒ b)

Thus, a ∧ b = a ¯ c ≤ a ¯ (a =¯⇒ b) ≤ b = a ∧ b (triangle inequality) i.e. a ∧ b = a ¯ (a =¯⇒ b). In general we have by triangle inequality,

a ¯ (a =¯⇒ b) ≤ b. 50 Residuated Monoids

However in the presence of divisibility we have that:

a ¯ (a =¯⇒ b) = a ∧ b ≤ b and a ¯ (a =¯⇒ b) = a ∧ b ≤ a

(ii) ⇒ (iii): First we note that:

(a ∧ b) =¯⇒ c = a ¯ (a =¯⇒ b) =¯⇒ c by (ii) = a =¯⇒ (a =¯⇒ b) =¯⇒ c

since (a ¯ b) =¯⇒ c = a =¯⇒ (b =¯⇒ c) with a ← a, b ← (a =¯⇒ b) and c ← c = (a =¯⇒ b) =¯⇒ (a =¯⇒ c)

since a =¯⇒ (b =¯⇒ c) = b =¯⇒ (a =¯⇒ c)

Thus,

(a =¯⇒ b) ¯ ((a ∧ b) =¯⇒ c) = (a =¯⇒ b) ¯ ((a =¯⇒ b) =¯⇒ (a =¯⇒ c)) = (a =¯⇒ b) ∧ (a =¯⇒ c)

since x ¯ (x =¯⇒ y) = x ∧ y, with x = (a =¯⇒ b), y = (a =¯⇒ c) = a =¯⇒ (b ∧ c).

(iii) ⇒ (i): We know that integrality is equivalent to:

(∀x ∈ L)[x = (1 ⇒ x)].

Suppose now that b ≤ a. In order to prove (i) we must prove that there exists c ∈ L so that b = c ¯ a. Indeed:

a ¯ (a =¯⇒ b) = (1 =¯⇒ a) ¯ ((1 ∧ a) =¯⇒ b); (1 ∧ a = a) = 1 =¯⇒ a ∧ b by (iii) = 1 =¯⇒ b since a ∧ b = b = b. c = (a =¯⇒ b).

3.7.3 Proposition. Let hL, ≤, ¯i be an integral, divisible, commutative residuated `- monoid, then we have:

(i) If a is idempotent w.r.t. ¯, i.e. if

a ¯ a = a then a ∧ b = a ¯ b for all b ∈ L.

(ii) a1 ≤ a2 =¯⇒ a1 ¯ b = a1 ¯ (a2 =¯⇒ (a2 ¯ b)) . 3: cirl-MONOIDS 51

(iii) a ¯ (b ∧ c) = (a ¯ b) ∧ (a ¯ c) (iv) a ¯ b ≤ (a ¯ a) ∨ (b ¯ b) (v) a ∧ (b ∨ c) = (a ∧ b) ∨ (a ∧ c)

Proof: (i): Since for every a, b ∈ L we have a ¯ b ≤ a ∧ b then from the previous Lemma (ii) we have:

a ¯ b ≤ a ∧ b = a ¯ (a =¯⇒ b) = a ¯ a ¯ (a =¯⇒ b) since a = a ¯ a = a ¯ (a ¯ (a =¯⇒ b)) ≤ a ¯ b since a ¯ (a =¯⇒ b) ≤ b ( triangle inequality). Thus a ∧ b = a ¯ b for all b ∈ L .

(ii): Let a1 ≤ a2. Divisibility implies that [a2 ¯ (a2 =¯⇒ a1) = a2 ∧ a1 = a1]

a1 ¯ (a2 =¯⇒ (a2 ¯ b)) = a2 ¯ (a2 =¯⇒ a1) ¯ (a2 =¯⇒ (a2 ¯ b))

since a2 ¯ (a2 =¯⇒ a1) = a1 ∧ a2 = a1 = (a2 =¯⇒ a1) ¯ a2 (a2 =¯⇒ (a2 ¯ b))

= (a2 =¯⇒ a1) ¯ [a2 ∧ (a2 ¯ b)] But

a2 ∧ (a2 ¯ b) = (a2 ¯ 1) ∧ (a2 ¯ b)

= a2 ¯ (1 ∧ b)

= a2 ¯ b Thus

a1 ¯ (a2 =¯⇒ (a2 ¯ b)) = (a2 =¯⇒ a1) ¯ a2 ¯ b

= [a2 ¯ (a2 =¯⇒ a1)] ¯ b

= (a1 ∧ a2) ¯ b = a1 ¯ b.

(iii): In the relation a ∧ b = a ¯ (a =¯⇒ b) we put for a, ← (a ¯ b), and for b, ← (a ¯ c) and then we have:

(a ¯ b) ∧ (a ¯ b) = (a ¯ b) ¯ [(a ¯ b) =¯⇒ (a ¯ c)] = a ¯ (b ¯ [(a ¯ b) =¯⇒ (a ¯ c)]) = a ¯ (b ¯ [a =¯⇒ (b =¯⇒ (a ¯ c))]) in a =¯⇒ (b =¯⇒ c) = (a ¯ b) = (a ¯ b) =¯⇒ c put a ← a, b ← b, c ← a ¯ c = a ¯ (b ¯ (b =¯⇒ (a =¯⇒ (a ¯ c)))) since x =¯⇒ (y =¯⇒ z) = y =¯⇒ (a =¯⇒ c) = a ¯ [b ∧ (a =¯⇒ (a ¯ c))] since x ¯ (x =¯⇒ y) = x ∧ y = a ¯ (b ∧ c). 52 Residuated Monoids

This is so because a =¯⇒ (a ¯ c) = c and this is clear since (∀x ∈ L) x ≤ a =¯⇒ (a ¯ c) iff x ≤ c, this in turn is so since

(AD) x ≤ a =¯⇒ (a ¯ c) ⇐⇒ a ¯ x ≤ a ¯ c ⇔ x ≤ c.

The last equivalence follows since

x ≤ c =¯⇒ a ¯ x ≤ a ¯ c, a ∈ L is po-monoid.

Suppose now that (∀x ∈ L)[a ¯ x ≤ a ¯ c]. Put a = 1 then x ≤ c. (iv): Let us first consider an arbitrary pair (a, b) ∈ L × L. Since hL, ≤, ¯i is divisible and a ≤ a ∨ b and b ≤ a ∨ b there exist elements c1, c2 ∈ L such that

a = (a ∨ b) ¯ c1 and b = (a ∨ b) ¯ c2

Since a ¯ (b ∨ c) = (a ¯ b) ∨ (a ¯ c) we have

a ¯ b = [(a ∨ b) ¯ c1] ¯ [(a ∨ b) ¯ c2] = c1 ¯ c2 ¯ (a ∨ b) ¯ (a ∨ b)

But a∨b = [(a∨b)¯c1]∨[(a∨b¯c2] = (a∨b)¯(c1 ∨c2) since x¯(y ∨z) = (x¯y)∨(x¯z). Thus c1 ¯ c2 ¯ (a ∨ b) ¯ (a ∨ b) = c1 ¯ c2 ¯ (c1 ∨ c2) ¯ (a ∨ b) ¯ (a ∨ b)

≤ [(c1 ¯ c1) ∨ (c2 ¯ c2)] ¯ (a ∨ b) ¯ (a ∨ b)

= [[(a ∨ b) ¯ (a ∨ b)] ¯ (c1 ¯ c1)] ∨ [[(a ∨ b) ¯ (a ∨ b)] ¯ (c2 ¯ c2)] = (a ¯ a) ∨ (b ¯ b).

(v). Since a ∧ b = a ¯ (a =¯⇒ b) then a ∧ (b ∨ c) = (b ∨ c) ¯ ((b ∨ c) =¯⇒ a) ≤ (b ¯ (b =¯⇒ a)) ∨ (c ¯ (c =¯⇒ a)) = (a ∧ b) ∨ (a ∧ c).

3.7.4 Corollary. Let M = hL, ≤, ¯i be an integral, commutative, residuated `-monoid. If M is divisible and satisfies the algebraic strong de Morgan law, then the subset HM of all idempotent elements w.r.t. ¯ form a Heyting algebra, and the implication in HM coincides with the implication based on ¯.

Proof: Let HM := {e ∈ M | e ¯ e = e}.

Now for all a, b ∈ HM idempotency implies that

a ¯ b = a ∧ b.

Thus (AD) becomes in this case,

(∗)(∀a, b, c ∈ HM )[ a ∧ b ≤ c iff a ≤ b =¯⇒ c ] . 3: cirl-MONOIDS 53

But this is the definition of a Heyting algebra. (A Heyting algebra is a lattice with 0 such that for all a ∈ H, the endomorphism,

Fa : H −−→ H // x 7→ Fa(x) = a ∧ x has a right-adjoint, i.e. (∗).) It is also clear by the way we have defined HM that implication in HM coincides with implication based on ¯. This is so since a ¯ b = a ∧ b.

3.7.5 Remark. From the above Corollary, we see that the structure of cirl-monoid which satisfy in addition, the divisibility and the algebraic Strong De Morgan’s law, is a direct quantitative generalization of Heyting algebras. The next characteristic which refines the classification of our structures is negation. Like in the Heyting algebras, negation is not necessarily involutive, and there is no bi-duality. Thus we may have bi-Heyting algebras and Heyting algebras with an involutive negation. Similarly in the quantitative case we have corresponding classifications.

3.8 Involutive Negation and Girard monoids.

In an integral, commutative, residuated `-monoid M = hL, ≤, ¯i we have that ⊥= 0 and > = 1.

3.8.1 Definition. (i) For all a ∈ M we define the negation of a:

¬a := (a =¯⇒ 0)

(ii) The negation is an iff for all a ∈ L,

¬(¬a) = a

or ((a =¯⇒ 0) =¯⇒ 0) = a

(iii) An integral, commutative, residuated `-monoid is called an integral, commutative Girard monoid iff the negation is an involution.

3.8.2 Proposition. ¬a is the greatest element such that

a ¯ ¬a = 0 i.e. _ ¬a = {x | x ¯ a = 0} 54 Residuated Monoids

¬a is the greatest element such that

Proof: Since ¬a := (a =¯⇒ 0) and we know that for all a, b _ a =¯⇒ b := {x ∈ L | a ¯ x ≤ b} then putting b = 0 we get: _ ¬a = {x ∈ L | a ¯ x ≤ 0} Due to integrality we have 0 ≤ a ¯ x, so that _ ¬a = {x ∈ L | a ¯ x = 0}.

Note. Thus ¬a is a -like operation w.r.t. the general monoidal operation ¯, and ∀b ∈ L, ¬a := a =¯⇒ 0 ≤ a =¯⇒ b,

(a =¯⇒ −) is isotone and 0 ≤ b.

3.8.3 Proposition. Let M = hL, ≤, ¯i be an integral, commutative Girard-monoid. Then the following relations are valid:

(1) a =¯⇒ b = [a¯(b =¯⇒ 0)] =¯⇒ 0, i.e. a =¯⇒ b = ¬(a¯¬b)[≡ (a =¯⇒ b) = (¬b =¯⇒ ¬a)]

(2). (a ∧ b) =¯⇒ 0 = (a =¯⇒ 0) ∨ (b =¯⇒ 0), i.e. ¬(a ∧ b) = ¬a ∨ ¬b.

Proof: (1): Since M is Girard-monoid, the negation is an involution, thus:

a =¯⇒ b = a =¯⇒ ((b =¯⇒ 0) =¯⇒ 0) = (a ¯ (b =¯⇒ 0)) =¯⇒ 0 by (iii)

Note also that (a ¯ (b =¯⇒ 0) =¯⇒ 0 = (b =¯⇒ 0) =¯⇒ (a =¯⇒ 0) = ¬b =¯⇒ ¬a, i.e.

a =¯⇒ b = (a ¯ (b =¯⇒ 0)) =¯⇒ 0 = ¬b =¯⇒ ¬a

(2): We have:

((a =¯⇒ 0) ∨ (b =¯⇒ 0)) =¯⇒ 0 = [(a =¯⇒ 0) =¯⇒ 0] ∧ [(b =¯⇒ 0) =¯⇒ 0] by (v) = a ∧ b by (xvi)

[((a =¯⇒ 0) ∨ (b =¯⇒ 0)) =¯⇒ 0] =¯⇒ 0 = (a ∧ b) =¯⇒ 0 or (a =¯⇒ 0) ∨ (b =¯⇒ 0) = (a ∧ b) =¯⇒ 0.

3.8.4 Lemma. Let hL, ≤, ¯i be an integral, commutative Girard monoid. Then the following assertions are equivalent: . 3: cirl-MONOIDS 55

(1) hL, ≤, ¯i satisfies the algebraic strong de Morgan law;

(2) (∀a, b, c ∈ L)[a ¯ (b ∧ c) = (a ¯ b) ∧ (a ¯ c)]

Proof: (1) ⇒ (2): This is just the previous Lemma (2) . (2) ⇒ (1): To prove that (2) ⇒ (1) we shall prove instead of (1) the equivalent condition (Prop 2.3 (a)), a =¯⇒ (b ∨ c) = (a =¯⇒ b) ∨ (a =¯⇒ c). Indeed,

a =¯⇒ (b ∨ c) = [a ¯ ((b ∨ c) =¯⇒ 0)] =¯⇒ 0 = [a ¯ ((b =¯⇒ 0) ∧ (c =¯⇒ 0))] =¯⇒ 0 = [(a ¯ (b =¯⇒ 0)) ∧ (a ¯ (c =¯⇒ 0))] =¯⇒ 0 by (2) = [(a ¯ (b =¯⇒ 0)) =¯⇒ 0] ∨ [(a ¯ (c =¯⇒ 0)) =¯⇒ 0] by (xviii) = (a =¯⇒ b) ∨ (a =¯⇒ b) by (xvii).

3.8.5 Lemma. Let hL, ≤, ¯i be an integral, commutative Girard monoid satisfying the ASDML. Then the “negation” has at most one fixpoint, i.e. :

a = a =¯⇒ 0 and b = b =¯⇒ 0 implies a = b.

Proof: a = a ¯ 1 = a ¯ [(a =¯⇒ b) ∨ (b =¯⇒ a)] = a ¯ [(a =¯⇒ b) ∨ ((a =¯⇒ 0) =¯⇒ (b =¯⇒ 0))] since b =¯⇒ a = (a =¯⇒ 0) =¯⇒ (b =¯⇒ 0) = a ¯ [(a =¯⇒ b) ∨ (a =¯⇒ b)] by hypothesis a =¯⇒ 0 = a and b =¯⇒ 0 = b = a ¯ a =¯⇒ b since (a =¯⇒ b) ∨ (a =¯⇒ b) = a =¯⇒ b ≤ b interchanging the rˆoleof a and b we have a = b.

3.9 Square roots.

An integral, commutative, residuated `-monoid hL, ≤, ¯i has square roots iff there exists a unary operation, S : L −−→ L // a 7→ S(a) having the following properties:

(S1) (∀a ∈ L)[S(a) ¯ S(a) = a].

(S2) (∀a, b ∈ L)[b ¯ b ≤ a =¯⇒ b ≤ S(a)] 56 Residuated Monoids

Properties (S1) and (S2) uniquely determined the operation S. Indeed, let S0 be another operation satisfying (S1), (S2), then,

S(a) ¯ S(a) = a = S0(a) ¯ S0(a). √ Since S is uniquely defined we denote S(a) also a1/2 or a. In the following proposition we collect some useful inequalities beyond the basic,

x ¯ (y =¯⇒ z) ≤ y =¯⇒ (x ¯ z).

3.9.1 Proposition. (i) (a =¯⇒ b) ¯ (c =¯⇒ δ) ≤ (a ¯ c) =¯⇒ (b ¯ δ)

(ii) (a1/2 =¯⇒ b1/2) ¯ (a1/2 =¯⇒ b1/2) ≤ a =¯⇒ b

(iii) (a1/2 ¯ (a =¯⇒ b)1/2) ¯ (a1/2 ¯ (a =¯⇒ b)1/2) ≤ b

Proof: (i):

(a =¯⇒ b) ¯ (c =¯⇒ δ) ≤ c =¯⇒ [(a =¯⇒ b) ¯ δ] since x ¯ (y =¯⇒ z) ≤ y =¯⇒ (x ¯ z) ≤ c =¯⇒ [a =¯⇒ (a ¯ δ)] − ” − = (a ¯ c) =¯⇒ (a ¯ δ).

(ii): Using (i) with a = δ ← a1/2, b = c ← b1/2 we get the result.

(iii): (a1/2 ¯ (a =¯⇒ b)1/2) ¯ (a1/2 ¯ (a =¯⇒ b)1/2) = (a1/2 ¯ a1/2) ¯ ((a =¯⇒ b)1/2 ¯ (a =¯⇒ b)1/2) = a ¯ (a =¯⇒ b) ≤ b.

3.9.2 Proposition. (General properties of square roots.) Let hL, ≤, ¯i be an integral, commutative, residuated `-monoid with square roots. Then we have:

(i) a ≤ a1/2, a ≤ b =¯⇒ a1/2 ≤ b1/2. In a complete we have x = 1 and the relation a1/2 = a holds for all a ∈ B (prove it!). Thus a square root in a Boolean algebra is a closure operator.

(ii) a1/2 ¯ b1/2 ≤ (a ¯ b)1/2

(iii) (a ∧ b)1/2 = a1/2 ∧ b1/2

(iv) (a ∧ b)1/2 = a1/2 ∧ b1/2

(v) a ¯ b ≤ (a ¯ a) ∨ (b ¯ b)

(vi) a ∧ b ≤ a1/2 ¯ b1/2 ≤ a ∨ b. . 3: cirl-MONOIDS 57

(S2) Proof: (i): Due to integrality we have: a ¯ a ≤ a ∧ a = a ⇒ a ≤ a1/2. We have (S2) a1/2 ¯ a1/2 = a ≤ b. Thus a1/2 ¯ a1/2 ≤ b ⇒ a1/2 ≤ b1/2. (ii): (a1/2 ¯ b1/2) ¯ (a1/2 ¯ b1/2) = (a1/2 ¯ a1/2) ¯ (b1/2 ¯ b1/2) = a ¯ b. In particular (k) (a1/2 ¯ b1/2) ¯ (a1/2 ¯ b1/2) ≤ a ¯ b ⇒ a1/2 ¯ b1/2 ≤ (a ¯ b)1/2. (iii): By the previous proposition we have

(a1/2 =¯⇒ b1/2)¯(a1/2 =¯⇒ b1/2) ≤ a =¯⇒ b and (a1/2¯(a =¯⇒ b)1/2)¯(a1/2¯(a =¯⇒ b)1/2) ≤ b.

Using the axiom (S2) we infer: a1.2 =¯⇒ b1/2 ≤ (a =¯⇒ b)1/2 and a1/2 ¯(a =¯⇒ b)1/2 ≤ b1/2 iff (a =¯⇒ b)1/2 ≤ a1/2 =¯⇒ b1/2

a1/2 =¯⇒ b1/2 ≤ (a =¯⇒ b)1/2 ≤ a1/2 =¯⇒ b1/2 i.e. (a =¯⇒ b)1/2 = a1/2 =¯⇒ b1/2. (iv): Since the square root function is isotone we have always

S(a ∧ b) ≤ S(a) ∧ S(b) or (a ∧ b)1/2 ≤ a1/2 ∧ b1/2.

For the converse, we observe that:

(a1/2 ∧ b1/2) ¯ (a1/2 ∧ b1/2) ≤ a ∧ b (why?) so that (a1/2 ∧ b1/2) ≤ (a ∧ b)1/2. (v): We know that a ¯ (b ¯ c) = (a ¯ b) ∨ (a ¯ c) (iv), so that

(a ∨ b) ¯ (c ∨ δ) = (a ¯ c) ∨ (a ¯ δ) ∨ (b ¯ c) ∨ (b ¯ δ) ≤ (a ¯ c) ∨ (b ∨ δ)

Thus, (a ∨ b) ¯ (a ∨ b) ≤ (a ¯ a) ∨ (b ¯ b) and by (S2) we get a ∨ b ≤ [(a ¯ a) ∨ (b ¯ b)]1/2 Squaring both sides and applying (iv) we get:

(a ¯ a) ∨ (a ¯ b) ∨ (b ¯ b) ≤ (a ¯ a) ∨ (b ¯ b) since (a ¯ b) ∨ (b ¯ a) = (a ¯ b) so that

(a ¯ b) ≤ (a ¯ a) ∨ (b ¯ b).

(vi): By (S1)

a ∧ b = (a ∧ b)1/2 ¯ (a ∧ b)1/2 ≤ a1/2 ¯ b1/2 58 Residuated Monoids

since a ∧ b ≤ a and a ∧ b ≤ b implies (a ∧ b)1/2 ≤ a1/2 and (a ∧ b)1/2 ≤ b1/2 and this in turn implies (a ∧ b)1/2 ¯ (a ∧ b)1/2 ≤ a1/2 ¯ b1/2. Using now a ¯ b ≤ (a ¯ a) ∨ (b ¯ b) (xxiii), we get,

a1/2 ¯ b1/2 ≤ (a1/2 ¯ a1/2) ∨ (b1/2 ¯ b1/2) = a ∨ b.

3.9.3 Corollary. Let hL, ≤, ¯i be an integral, divisible, commutative, residuated `-monoid with square roots. Then, b ≤ a1/2 ¯ b1/2 =¯⇒ b ≤ a.

Proof: Since b ≤ a1/2 ¯ b1/2 we have that b ∧ (a1/2 ¯ b1/2) = b. Thus

b = (a1/2 ¯ b1/2) ∧ b = (a1/2 ¯ b1/2) ∧ (b1/2 ¯ b1/2) = (a1/2 ∧ b1/2) ¯ b1/2 by (xiv) = b1/2 ¯ b1/2 ¯ (b1/2 =¯⇒ a1/2) since a1/2 ∧ b1/2 = b1/2 ¯ (b1/2 =¯⇒ a1/2) (xi) = b ¯ (b1/2 =¯⇒ a1/2) ≤ a1/2 ¯ b1/2 ¯ (b1/2 =¯⇒ a1/2) by hypothesis) ≤ a1/2 ¯ a1/2 = a since b1/2(b1/2 =¯⇒ a1/2) ≤ a1/2 (triangle)

b ≤ a.

3.9.4 Corollary. Let M = hL, ≤, ¯i be an integral, commutative Girard-monoid with square roots. Then

(i) (a ¯ b)1/2 = ((a1/2 ¯ b1/2) =¯⇒ 01/2) =¯⇒ 01/2

(ii) If M satisfies the algebraic strong de Morgan’s law, then

(a ∨ b)1/2 = a1/2 ∨ b1/2

holds.

Proof: (i):

(iii) ((a1/2 ¯ b1/2) =¯⇒ 01/2) =¯⇒ 01/2 = (a1/2 =¯⇒ (b1/2 =¯⇒ 01/2)) =¯⇒ 01/2 (xxi) = (a1/2 =¯⇒ (b =¯⇒ 0)1/2) =¯⇒ 01/2 (xxi) = ((a =¯⇒ (b =¯⇒ 0)) =¯⇒ 0)1/2 (iii) = ((a ¯ b) =¯⇒ 0) =¯⇒ 0)1/2 (xvi) = (a ¯ b)1/2 . 3: cirl-MONOIDS 59

(ii):

(xvi) (a ∨ b)1/2 = [((a ∨ b) =¯⇒ 0) =¯⇒ 0]1/2 (v) = [((a =¯⇒ 0) ∧ (b =¯⇒ 0)) =¯⇒ 0]1/2 (xxii) = ((a =¯⇒ 0)1/2 ∧ (b =¯⇒ 0)1/2) =¯⇒ 01/2 ³ ´ SANDML = ((a =¯⇒ 0)1/2 =¯⇒ 01/2) ∨ ((b =¯⇒ 0)1/2 =¯⇒ 01/2) (by Algeb. Strong de Morgan’s law) h i = ((a =¯⇒ 0) =¯⇒ 0)1/2 ∨ ((b =¯⇒ 0) =¯⇒ 0)1/2 = a1/2 ∨ b1/2. BIBLIOGRAPHY

[1] M. Barr and C. Wells. Category Theory for Computing Science. 2nd Ed. Prentice Hall, 1995.

[2] T. S. Blyth and M. F. Janowitz. Residuation Theory. Pergamon press 1972.

[3] C. C. Chang. Algebraic analysis of many valued logics. Trans. of AMS, 88, 1957, 467- 490.

[4] C. C. Chang. A new proof of the completeness of ÃLukasiewicz axioms. Trans. of AMS, 93, 1958, 74-80.

[5] M. L. Dalla Chiara and Roberto Giuntini. Partial and Unsharp Quantum Logics. Priprint.

[6] C. A. Drossos. Foundations of fuzzy sets: A nonstandard approach. Fuzzy Sets and Systems, 37:287–307, 1990.

[7] C. A. Drossos and P. Karazeris. Coupling an MV-algebra with a Boolean Algebra. (To appear in Jounal of Approximate Peasoning) 1998.

[8] C. A. Drossos and G. Markakis. Boolean fuzzy sets. Fuzzy Sets and Systems, 46:81–95, 1992.

[9] C. A. Drossos and G. Markakis. Boolean representations of fuzzy sets. Kybernetes, 22(3):35–40, 1993.

[10] C. A. Drossos and G. Markakis. Boolean powers and stochastic spaces. Math. Slovaca 44 # 1 (1994), 1-19.

[11] C. A. Drossos and M. Navara. Generalized t-conorms and closure operators. EUFIT 96, Aachen, Germany, September 2-5, 1996.

61 62 Residuated Monoids

[12] C. A. Drossos and P. Theodoropoulos. IB-fuzzy probability Fuzzy Sets and Systems, 78 (1996), 355-369.

[13] J. Michel Dunn. Gaggle Theory:An Absraction of Galois Connections and Residuation, with Applications to Negation, and Various Logical Operators. Indiana Univ. Logic Group, Preprint No. IULG-91-3, May,1991.

[14] J. Michel Dunn. Star and Perp: Tow Treatments of Negation Indiana Univ. Logic Group, Preprint No. IULG-93-21, April,1993.

[15] J. Michel Dunn. Partial-Gaggles Applied to Logics with Restricted Structural Rules. Indiana Univ. Logic Group, Preprint No. IULG-93-22, April,1993.

[16] J. Michel Dunn. Gaggle Theory Applied to Intuitionistic, Modal, and Relevance Logics. In: I. Max and W. Stelzner. Logic und Mathematik, Walter de Gruyter, Berlin 1995, pp.335-368.

[17] M. Ern´e,J. Kolowski, A. Melton, G. E. Stecker. A primer on Galois conections. In: Papers on General Topology and Applications (Madison Wisc. 1991), Ann. New York Acad. Sci., # 704, N.Y. Acad. Sci. 1993, pp. 103-125.

[18] R. C. Flagg. Church’s thesis with epistemic arithmetic. In: S Shapiro (Ed) Intentional Mathematics Norh-Holland, 1985

[19] Roberto Giuntini. Quantum MV Algebras. Studia Logica 56: 393-417, 1996

[20] Roberto Giuntini. Quantum MV Algebras and Commutativity. Preprint.

[21] Petr H´ajek.Metamathematics of Fuzzy Logic: Part I. Book in preparation, Prague 1995.

[22] C. Hartonas and J. Michel Dunn. Duality Theorems for Partial Orders, Semilattices, Galois Connections and Lattices Indiana Univ. Logic Group, Preprint No. IULG-93-26, August,1993.

[23] U. H¨ohle:M-valued Sets and Sheaves over Integral Commutative CL-monoids. In: S. E. Rodabaugh et all. Applications of Category Theory to Fuzzy Subsets, 33-72, Kluwer (1992).

[24] U. H¨ohle:Commutative, residuated l-monoids. In U. H¨ohleand E. P. Klement Non- Classical Logics and Their Applications to Fuzzy Subsets: A Handbook on the Math. Foundations of Fuzzy Set Theory. Kluwer 1995.

[25] U. H¨ohle:On the Fundamentals of Fuzzy Set Theory. Priprint.

[26] Peter Johnstone. Stone Spaces Cambridge Univ. Press, 1982.

[27] Kappos, D.: Probability Algebras and Stochastic spaces. Academic Press, (1969).

[28] J. Lambek. The influence of Heraclitus on modern mathematics, In, J. Agassi and R.S. Cohen Scientific Philosophy Today, Reidel, 1981. Bibliography 63

[29] D. Mundici. Interpretation of AF C∗-algebras in ÃLukasiewicz sentential calculus. J. of Funct. Anal., 65:15-63, 1986.

[30] G. Panti. Multi-valued Logics. In: D. Gabbay and P. Smets (Eds) Qunatified Representation of Uncertainty and Impresision: A Handbook of Defensible Reasoning and Uncertainty Management Systems. Kluwer ?.

[31] B. Rieˇcanand T. Neubrunn. Integral, Measure and Ordering. Kluwer, 1997.

[32] K. I. Rosenthal. Quantales and Their Applications. Longman Scientific & Technical, Longman Burnt Mill, Harlow 1990.

[33] M. B. Smith. Topology. In S. Abramsky D. Gabbay and T. S. E. Maibaum: Handbook of Logic in Computer Science, vol. 1.:Background: Mathematical Structures. pp. 641-761, Oxford Uviv. Press, 1992.

[34] Ross Street. Quantum Groups. Univ. of Macquarie, Sydney, Australia. Available by ftp: ftp.mpce.mq.edu.au in pub/maths/TeX/Quantum.

[35] P. Zlatoˇs.Two-levelled logic and model theory. In: Colloquia Mathematica Societatis Janos Bolyai, No. 28: Finite Algebra and Multiple-valued logic, Szeged (Hungary), 1979, pp.825-871.

[36] P. Zlatoˇs.Unitary Conguence Adjunctions. In: Colloquia Mathematica Societatis Janos Bolyai, No. 43. Lectures in Universal Algebra. Szeged (Hungary), 1983, pp. 587-647.