• Aucun résultat trouvé

Closure and Interior Systems

Dans le document Mathematical Tools for Data Mining (Page 54-59)

Definition 1.136 Let f be a binary associative operation on S such that f has the unit u. An element x has an inverse relative to f if there exists y ∈ S such that

1.8 Closure and Interior Systems

The notions of closure system and interior system introduced in this section are significant in algebra and topology and have applications in the study of frequent item sets in data mining.

Definition 1.166 Let S be a set. A closure system on S is a collectionCof subsets of S that satisfies the following conditions:

(i) S∈Cand

(ii) for every collectionD⊆C, we have D∈C.

Example 1.167 LetCbe the collection of all intervals[a,b] = {x∈R | axb} with a,b ∈ Rand a b together with the empty set and the setR. Note that

⎜C=R∈C, so the first condition of Definition 1.166 is satisfied.

Let D be a nonempty subcollection ofC. If ∅ ∈ D, then

D = ∅ ∈ C. If D = {R}, then

D = R ∈ C. Therefore, we need to consider only the case when D = {[ai,bi] | iI}. Then,

D = ∅unless a = sup{ai | iI}and b=inf{bi | iI}both exist and ab, in which case

D= [a,b]. Thus,Cis a closure system.

Example 1.168 Let A = (A,I)be an algebra and let S(A)be the collection of subalgebras ofA,S(A)= {(Ai,I) | iI}. The collectionS= {Ai | iI}is a closure system. It is clear that we have S ∈ S. Also, if{Ai | iJ}is a family of subalgebras, then

iJAiis a subalgebra ofA.

Many classes of relations define useful closure systems.

1.8 Closure and Interior Systems 43 Theorem 1.169 Let S be a set and let REFL(S),SYMM(S)andTRAN(S)be the sets of reflexive relations, the set of symmetric relations, and the set of transitive relations on S, respectively. Then, REFL(S),SYMM(S)andTRAN(S)are closure systems on S.

Proof Note that S×S is a reflexive, symmetric, and transitive relation on S. There-fore,⎜ andSYMM(S)are also closure systems.

Theorem 1.170 The set of equivalences on S, EQ(S), is a closure system.

Proof The relationθS=S×S, is clearly an equivalence relation as we have seen in the proof of Theorem 1.169. Thus,⎜

for U ∈P(R). We leave to the reader the verification that K is a closure operator.

Closure operators induce closure systems, as shown by the next lemma.

Lemma 1.173 Let K: P(S)−→P(S)be a closure operator. Define the family of

Note thatCK, as defined in Lemma 1.173, equals the range of K. Indeed, if L∈ Ran(K), then L=K(H)for some H∈P(S), so K(L)=K(K(H))=K(H)=L, which shows that L∈CK. The reverse inclusion is obvious.

We refer to the sets inCKas the K-closed subsets of S.

In the reverse direction from Lemma 1.173, we show that every closure system generates a closure operator.

Lemma 1.174 Let Cbe a closure system on the set S. Define the mapping KC : P(S)−→P(S)by KC(H)=

{L ∈ C | HL}. Then, KCis a closure operator on the set S.

Proof Note that the collection{L ∈C | HL}is not empty since it contains at least S, so KC(H)is defined and is clearly the smallest element ofCthat contains H.

Also, by the definition of KC(H), it follows immediately that HKC(H)for every H∈P(S).

Suppose that H1,H2∈P(S)are such that H1H2. Since {L∈C | H2L} ⊆ {L∈C | H1L},

we have ⎟

{L∈C | H1L} ⊆⎟

{L∈C | H2L}, so KC(H1)KC(H2).

We have KC(H)∈Cfor every H∈P(S)becauseCis a closure system. Therefore, KC(H) ∈ {L ∈ C | KC(H)L}, so KC(KC(H))KC(H). Since the reverse inclusion clearly holds, we obtain KC(KC(H))=KC(H).

Definition 1.175 LetCbe a closure system on a set S and let T be a subset of S. The C-set generated by T is the set KC(T).

Note that KC(T)is the least set inCthat includes T .

Theorem 1.176 Let S be a set. For every closure systemCon S, we haveC=CKC. For every closure operator K on S, we have K=KCK.

Proof LetCbe a closure system on S and let HM. Then, we have the following equivalent statements:

1. H ∈CKC. 2. KC(H)=H.

3. H ∈C.

The equivalence between (2) and (3) follows from the fact that KC(H)is the smallest element ofCthat contains H.

Conversely, let K be a closure operator on S. To prove the equality of K and KCK, consider the following list of equal sets, where HS:

1.8 Closure and Interior Systems 45 1. KCK(H).

2.

{L∈CK | HL}.

3.

{L∈P(S) | HL=K(L)}. 4. K(H).

We need to justify only the equality of the last two members of the list. Since HK(H) = K(K(H)), we have K(H) ∈ {L ∈ P(S) | HL = K(L)}. Thus, {L∈P(S) | HL=K(L)} ⊆K(H). To prove the reverse inclusion, note that for every L∈ {L∈P(S) | HL=K(L)}, we have HL, so K(H)K(L)=L.

Therefore, K(H)

{L∈P(S) | HL=K(L)}.

Theorem 1.176 shows the existence of a natural bijection between the set of closure operators on a set S and the set of closure systems on S.

Definition 1.177 LetCbe a closure system on a set S and let T be a subset of S. The C-closure of the set T is the set KC(T).

As we observed before, KC(T)is the smallest element ofCthat contains T . Example 1.178 Let K be the closure operator given in Example 1.172. Since the closure systemCK equals the range of K, it follows that the members ofCK, the K-closed sets, are∅,R, and all closed intervals[a,b]with a b. Thus,CKis the closure systemCintroduced in Example 1.167. Therefore, K andCcorrespond to each other under the bijection of Theorem 1.176.

For a relationρ, on S defineρ+ as KTRAN(S)(ρ). The relationρ+ is called the transitive closure ofρand is the least transitive relation containingρ.

Theorem 1.179 Letρbe a relation on a set S. We have ρ+=

{ρn | n∈Nand n1}.

Proof Letτbe the relation⎜

{ρn | n∈Nand n1}. We claim thatτis transitive.

Indeed, let(x,z), (z,y)τ. There exist p,q ∈ N, p,q 1 such that(x,z)ρp and(z,y)ρq. Therefore,(x,y)ρpρq = ρp+qρ+, which shows thatρ+ is transitive. The definition of ρ+ implies that ifσis a transitive relation such that ρσ, thenρ+σ. Therefore,ρ+τ.

Conversely, sinceρρ+we haveρn+)nfor every n∈N. The transitivity of ρ+implies that+)nρ+, which impliesρnρ+for every n1. Consequently, τ =⎜

{ρn | n∈Nand n1} ⊆ρ+. This proves the equality of the theorem.

It is easy to see that the set of all reflexive and transitive relations on a set S, REFTRAN(S), is also a closure system on the set of relations on S.

For a relation ρon S, defineρ as KREFTRAN(S)(ρ). The relationρ is called the transitive-reflexive closure ofρand is the least transitive and reflexive relation containingρ. We have the following analog of Theorem 1.179.

Theorem 1.180 Letρbe a relation on a set S. We have ρ=

{ρn | n∈N}.

Proof The argument is very similar to the proof of Theorem 1.179; we leave it to the reader.

Definition 1.181 Let S be a set and let F be a set of operations on S. A subset P of S is closed under F, or F-closed, if P is closed under f for every fF; that is, for every operation fF, if f is n-ary and p0, . . . ,pn1P, then f(p0, . . . ,pn1)P.

Note that S itself is closed under F. Further, if Cis a nonempty collection of F-closed subsets of S, then

Cis also F-closed.

Example 1.182 Let F be a set of operations on a set S. The collection of all F-closed subsets of a set S is a closure system.

Definition 1.183 An interior operator on a set S is a mapping I :P(S)−→P(S) that satisfies the following conditions:

(i) UI(U)(contraction),

(ii) UV implies I(U)I(V)(monotonicity), and (iii) I(I(U))=I(U)(idempotency),

for U,V ∈P(S). Such a mapping is known as an interior operator on the set S.

Interior operators define certain collections of sets.

Definition 1.184 An interior system on a set S is a collectionIof subsets of S such that

(i) ∅ ∈Iand,

(ii) for every subcollectionDof Iwe have⎜ D∈I.

Theorem 1.185 Let I:P(S)−→P(S)be an interior operator. Define the family of setsII= {U∈P(S) | U=I(U)}. Then,IIis an interior system on S.

Conversely, ifIis an interior system on the set S, define the mapping II:P(S)−→

P(S)by II(U)=⎜

{V ∈I | VU}. Then, IIis an interior operator on the set S.

Moreover, for every interior systemIon S, we haveI =III. For every interior operator I on S, we have I=III.

Proof This statement follows by duality from Lemmas 1.173 and 1.174 and from Theorem 1.176.

We refer to the sets inIIas the I-open subsets of S.

Theorem 1.186 Let K:P(S)−→P(S)be a closure operator on the set S. Then, the mapping L:P(S)−→P(S)given by L(U)=SK(SU)for U∈P(S)is an interior operator on S.

1.8 Closure and Interior Systems 47 Proof Since SUK(SU), it follows that L(U)S(SU)=U, which proves property (i) of Definition 1.184.

Suppose that UV , where U,V ∈ P(S). Then, we have SVSU, so K(SV)K(SU)by the monotonicity of closure operators. Therefore,

L(U)=SK(SU)SK(SV)=L(V), which proves the monotonicity of L.

Finally, observe that we have L(L(U))L(U)because of the contraction prop-erty already proven for L. Thus, we need only show that L(U)L(L(U))to prove the idempotency of L. This inclusion follows immediately from

L(L(U))=L(SK(SU))L(S(SU))=L(U).

We can prove that if L is an interior operator on a set S, then K:P(S)−→P(S) defined as K(U)=SL(SU)for U ∈ P(S)is a closure operator on the same set.

In Chap.4, we extensively use closure and interior operators.

Dans le document Mathematical Tools for Data Mining (Page 54-59)