Morphisms Between Pattern Structures and Their Impact on Concept Lattices Lars Lumpe1 and Stefan E. Schmidt2 Institut für Algebra, Technische Universität Dresden larslumpe@gmail.com1 , midt1@msn.com2 Abstract. We provide a general framework for pattern structures by investigat- ing adjunctions between posets and their morphisms. Our special interest is the impact of pattern morphisms on the induced concept lattices. In particular we are interested in conditions which are sufficient for the induced residuated maps to be injective, surjective or bijective. One application is that every representation context of a pattern structure has a formal concept lattice that is induced by a certain pattern morphism. 1 Introduction Pattern structures within the framework of formal concept analysis have been intro- duced in [3]. Since then they have turned out to be a useful tool for analysing various real-world applications (cf. [3–7]). Our paper extends the concept of representation contexts and interprets them via morphisms, closely related to o-projections as recently introduced and investigated in [2]. In [8], we disussed the meaning of projections of pattern structures, realizing the importance of residual projections. As a matter of fact, our generalization of representation contexts of pattern structures gives rise to residual projections. 2 Preliminaries The fundamental order theoretic concepts of our paper are nicely presented in the book on Residuation Theory by T.S. Blythe and M.F. Janowitz (cf. [1]). Definition 1 (Adjunction). Let P  pP, ¤q and L  pL, ¤q be posets; furthermore let f : P Ñ L and g : L Ñ P be maps. (1) The pair p f , gq is an adjunction w.r.t. pP, Lq if f x ¤ y is equivalent to x ¤ gy for all x P P and y P L. In this case, we will refer to pP, L, f , gq as a poset adjunction. (2) f is residuated from P to L if the preimage of a principal ideal in L under f is always a principal ideal in P, that is, for every y P L there exists x P P s.t. f 1 tt P L | t ¤ yu  ts P P | s ¤ xu. (3) g is residual from L to P if the preimage of a principal filter in P under g is always a principal filter in L, that is, for every x P P there exists y P L s.t. g1 ts P P | x ¤ su  tt P L | y ¤ t u. (4) The dual of L is given by Lop  pL, ¥q with ¥: tpx,t q P L  L | t ¤ xu. The pair p f , gq is a Galois connection w.r.t. pP, Lq if p f , gq is an adjunction w.r.t. pP, Lop q. The following well-known facts are straightforward (cf. [1]). Proposition 1. Let P  pP, ¤q and L  pL, ¤q be posets. (1) A map f : P Ñ L is residuated from P to L iff there exists a map g : L Ñ P s.t. p f , gq is an adjunction w.r.t. pP, Lq. (2) A map g : L Ñ P is residual from L to P iff there exists a map f : P Ñ L s.t. p f , gq is an adjunction w.r.t. pP, Lq. (3) If p f , gq and ph, kq are adjunctions w.r.t. pP, Lq with f  h or g  k then f  h and g  k. (4) If f is a residuated map from P to L, then there exists a unique residual map f from L to P s.t. p f , f q is an adjunction w.r.t. pP, Lq. In this case, f is called the residual map of f . (5) If g is a residual map from L to P, then there exists a unique residuated map g from P to L s.t. pg , gq is an adjunction w.r.t. pP, Lq. In this case, g is called the residuated map of g. (6) A residuated map f from P to L is surjective iff f  f  idL iff f is injective. (7) A residuated map f from P to L is injective iff f  f  idL iff f is surjective. Definition 2. Let P  pP, ¤q be a poset and T „ P. Then (1) The restriction of P onto T is given by P|T : pT, ¤ XpT  T qq, which clearly is a poset too. (2) The canonical embedding of P|T into P is given by the map T Ñ P,t ÞÑ t. (3) T is a kernel system in P if the canonical embedding τ of P|T into P is residuated. In this case, the residual map ϕ of τ will also be called the residual map of T in P. The composition κ : τ  ϕ is referred to as the kernel operator associated with T in P. (4) Dually, T is a closure system in P if the cannonical embedding τ of P|T into P is residual. In this case, the residuated map ψ of τ will also be called the residuated map of T in P. The composition γ : τ  ψ is referred to as the closure operator associated with T in P. (5) A map κ : P Ñ P is a kernel operator on P if s ¤ x is equivalent to s ¤ κx for all s P κP and x P P. Remark: In this case, κP forms a kernel system in P, the kernel operator of which is κ. (6) Dually, a map γ : P Ñ P is a closure operator on P if x ¤ t is equivalent to γx ¤ t for all x P P and t P γP. Remark: In this case, ϕP forms a closure system in P, the closure operator of which is γ. The following known facts will be needed for the sequel (cf. [1]) . Proposition 2. Let P  pP, ¤q and L  pL, ¤q be posets. (1) If f is a residuated map from P to L then f preserves all existing suprema in P, that is, if s P P is the supremum (least upper bound) of X „ P in P then f s is the supremum of f X in L. In case P and L are complete lattices, the reverse holds too: If a map f from P to L preserves all suprema, that is, f psupP X q  supL f X f or all X „ P, then f is residuated. (2) If g is a residual map from L to P, then g preserves all existing infima in L, that is, if t P L is the infimum (greatest lower bound) of Y „ L in L then gt is the infimum of gY in P. In case P and L are complete lattices, the reverse holds too: If a map g from L to P preserves all infima, that is, f pinfP Y q  infL gY f or all Y „ L, then g is residual. (3) For an adjunction p f , gq w.r.t. pP, Lq the following hold: (a1) f is an isotone map from P to L. (a2) f  g  f  f (a3) f P is a kernel system in L with f  g as associated kernel operator on L. In particular, L Ñ P, y ÞÑ f gy is a residual map from L to L| f P. (b1) g is an isotone map from L to P. (b2) g  f  g  g (b3) gL is a closure system in P with g  f as associated closure operator on P. In particular, P Ñ gL, x ÞÑ g f x is a residuated map from P to P|gL. 3 Adjunctions and Their Concept Posets Definition 3. Let P : pP, S, σ , σ q and Q : pQ, T, τ, τ q be poset adjunctions. Then a pair pα, β q forms a morphism from P to Q if pP, Q, α, α q and pS, T, β , β q are poset adjunctions satisfying τ α  β σ Remark: This implies α  τ  σ  β , that is, the following diagrams are commu- tative: α α P Q P Q σ τ σ τ S T S T β β Next we illustrate the involved poset adjunctions: α P Q α σ σ τ τ β S T β Definition 4 (Concept Poset). For a poset adjunction P  pP, S, σ , σ q let BP : tp p, sq P P  S | σ p  s ^ σ s  pu denote the set of pformalq concepts in P . Then the concept poset of P is given by BP : pP  Sq | BP , that is, p p0 , s0 q ¤ p p1 , s1 q holds iff p0 ¤ p1 iff s0 ¤ s1 , for all p p0 , s0 q, p p1 , s1 q P BP . If p p, sq is a formal concept in P then p is referred to as extent in P and s as intent in P . From [9] we point out Theorem 1: Theorem 1. Let pα, β q be a morphism from a poset adjunction P  pP, S, σ , σ q to a poset adjunction Q  pQ, T, τ, τ q. Then pBP , BQ , Φ, Φ q is a poset adjunction for Φ : BP Ñ BQ , p p, sq ÞÑ pτ β s, β sq and Φ : BQ Ñ BP , pq,t q ÞÑ pα q, σ α qq. α P Q σ Φ BQ τ BP S T β Theorem 2. Under the conditions of the previous theorem the following hold: (1) If α is surjective then Φ is surjective too. (2) If β is injective then Φ is injective too. (3) If α is surjective and β is injective then Φ is an isomorphism from BP to BQ .. Proof. (1) Assume that α is surjective, that is, α  α  idQ . Then for all p p, sq P BP , the second component of pΦ  Φ qp p, sq is β σ α q  ταα q  τq  s. This yields Φ  Φ  idBQ , that is, Φ is surjective. (2) The first component of pΦ  Φ qp p, sq is α τ β s  τ β β s  τ s  p. There- fore, Φ  Φ  idBP , which yields Φ being injective. (3) If α is surjective and β is injective, than Φ and Φ are naturally inverse by (1) and (2), that is, Φ is an isomorphism from BP to BQ . 4 The Impact of Pattern Morphism on Concept Lattices Definition 5. A triple G  pG, D, δ q is a pattern setup if G is a set, D  pD, „q is a poset, and δ : G Ñ D is a map. In case every subset of δ G : tδ g | g P Gu has an infimum in D, we will refer to G as pattern structure. Then the set CG : tinfD δ X | X „ Gu forms a closure system in D and furthermore CG : D|CG forms a complete lattice. If G  pG, D, δ q and H  pH, E, ε q each is a pattern setup, then a pair p f , ϕ q forms a pattern morphism from G to H if f : G Ñ H is a map and ϕ is a residual map from D to E satisfying ϕ  δ  ε  f , that is, the following diagram is commutative: f G H δ ε D E ϕ In the sequel we show how our previous considerations apply to pattern structures. Theorem 3. Let p f , ϕ q be a pattern morphism from a pattern structure G  pG, D, δ q to a pattern structure H  pH, E, ε q. To apply the previous theorem we give the following construction: f gives rise to an adjunction pα, α q between the power set lattices 2G : p2G , „q and 2H : p2H , „q via α : 2G Ñ 2H , X ÞÑ f X and α : 2H Ñ 2G ,Y ÞÑ f 1Y. Further let ϕ  denote the residuated map of ϕ w.r.t. pE, Dq, that is, pE, D, ϕ  , ϕ q is a poset adjunction. Then, obviously, pDop , Eop , ϕ, ϕ  q is a poset adjunction too. For pattern structures the following operators are essential: : 2G Ñ D, X ÞÑ infD δ X : D Ñ 2G , d ÞÑ tg P G | d „ δ gu  : 2H Ñ E, Z ÞÑ infE εZ : E Ñ 2H , e ÞÑ th P H | e „ εhu It now follows that pα, ϕ q forms a morphism from the poset adjunction P  p2G , Dop , , q to the poset adjunction Q  p2H , Eop , , q. In particular, p f X q  ϕ pX q holds for all X „ G. We receive the following diagram of adjunctions: α 2G 2H α l  ϕ Dop Eop ϕ For the following we recall that the concept lattice of G is given by BG : BP and the concept lattice of H is BH : BQ . Then Theorem 1 yields that the quadruple pBG, BH , Φ, Φ q is an adjunction for Φ : BG Ñ BH , pX, d q ÞÑ ppϕd q , ϕd q and Φ : BH Ñ BG, pZ, eq ÞÑ p f 1 Z, p f 1 Z q q. α 2G 2H BG Φ  BH Dop Eop ϕ By Theorem 2 the following hold: (1) If f is surjective then Φ is surjective too. (2) If ϕ is injective then Φ is injective too. (3) If f is surjective and ϕ is injective then Φ is an isomorphism from BG to BH . Theorem 4. Let G  pG, D, δ q and H  pH, E, ε q be pattern structure. And let G  pG, CG , δ q be the pattern structure induced by G via δ : G Ñ CG , g ÞÑ δ g. It follows BG  BG. Further let p f , ϕ q be a pattern morphism from G to H . Then with the notation introduced in the previous theorem, the map Φ from BG to BH is residuated. If f is surjective then so is Φ, if ϕ is injective then so is Φ. If f is surjective and ϕ is injective then Φ is an isomorphism from BG to BH . Definition 6. The representation context of a pattern structure G  pG, D, δ q w.r.t. a subset M of D is given by KpG, M q : pG, M, I q with I : tpg, mq P G  M | m „ δ gu. Theorem 5. Let G  pG, D, δ q be a pattern structure and let M be a subset of D. The pattern structure associated with the representation context KpG, M q is given by H : pG, 2M , ε q with ε : G Ñ 2M , g ÞÑMÓ δ g where MÓ d : tm P M | m „ d u for all d P D. In particular, the concept lattice of KpG, M q is given by BKpG, M q  BH . Using the notation from the previous theorem, pidG , ϕ q is a pattern morphism from G to H for ϕ : CG Ñ 2M , x ÞÑMÓ x. Furthermore, the map Φ from BG to BH  BKpG, M q is a residuated surjection. In case M is join-dense w.r.t. CG (that is, ϕ is injective), Φ is an isomorphism from BG to BKpG, M q. X X 2G id 2G X X X X ϕ CG 2M d Ód M id 2G 2G BG Φ BKpG, M q  CG 2M ϕ Remark: Based on the paradigm of concept morphisms, the previous theorem extends and sheds new light on theorem 1 of [3]. We generalize the definition of representation context introduced in [3] by allowing an abitrary subset M of patterns of the underlying pattern structure G as attribute set of the representation context KpG, M q. It then turns out that KpG, M q has a formal concept lattice which is induced by a morphism on G . More explicitly, there is a morphism on G to the pattern structure of KpG, M q which induces a residuated surjection from the concept lattice of G to the concept lattice of KpG, M q. In case M is join-dense w.r.t. G , the morphism between the concept lattices is an isomorphism (see also Theorem 1 of [3]). Our extension of the concept of repre- sentation context gives rise to various constructions of o-projections (as introduced in [2]) on G . References 1. T.S. Blyth, M.F.Janowitz (1972), Residuation Theory, Pergamon Press, pp. 1-382. 2. A. Buzmakov, S. O. Kuznetsov, A. Napoli (2015) , Revisiting Pattern Structure Projections. Formal Concept Analysis. Lecture Notes in Artificial Intelligence (Springer), Vol. 9113, pp 200-215. 3. B. Ganter, S. O. Kuznetsov (2001), Pattern Structures and Their Projections. Proc. 9th Int. Conf. on Conceptual Structures, ICCS01, G. Stumme and H. Delugach (Eds.). Lecture Notes in Artificial Intelligence (Springer), Vol. 2120, pp. 129-142. 4. T. B. Kaiser, S. E. Schmidt (2011), Some remarks on the relation between annotated ordered sets and pattern structures. Pattern Recognition and Machine Intelligence. Lecture Notes in Computer Science (Springer), Vol. 6744, pp 43-48. 5. M. Kaytoue, S. O. Kuznetsov, A. Napoli, S. Duplessis (2011), Mining gene expression data with pattern structures in formal concept analysis. Information Sciences (Elsevier), Vol.181, pp. 1989-2001. 6. S. O. Kuznetsov (2009), Pattern structures for analyzing complex data. In H. Sakai et al. (Eds.). Proceedings of the 12th international conference on rough sets, fuzzy sets, data mining and granular computing (RSFDGrC09). Lecture Notes in Artificial Intelligence (Springer), Vol. 5908, pp. 33-44. 7. S. O. Kuznetsov (2013), Scalable Knowledge Discovery in Complex Data with Pattern Structures. In: P. Maji, A. Ghosh, M.N. Murty, K. Ghosh, S.K. Pal, (Eds.). Proc. 5th Inter- national Conference Pattern Recognition and Machine Intelligence (PReMI2013). Lecture Notes in Computer Science (Springer), Vol. 8251, pp. 30-41. 8. L. Lumpe, S. E. Schmidt (2015), A Note on Pattern Structures and Their Projections. For- mal Concept Analysis. Lecture Notes in Artificial Intelligence (Springer), Vol. 9113, pp 145-150. 9. L. Lumpe, S. E. Schmidt (2015), Pattern Structures and Their Morphisms. CLA 2015, pp 171-179.