Embedding graphs into minimal distributive ∨-semi-lattices Alain Gély, Miguel Couceiro, Amedeo Napoli

To cite this version:

Alain Gély, Miguel Couceiro, Amedeo Napoli. Embedding median graphs into minimal distributive ∨-semi-lattices. NFMCP 2019 - 8th International Workshop on New Frontiers in Mining Complex Patterns in conjunction with ECML-PKDD 2019, Sep 2019, Wùzburg, Germany. ￿hal-02912341￿

HAL Id: hal-02912341 https://hal.inria.fr/hal-02912341 Submitted on 5 Aug 2020

HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Embedding median graphs into minimal distributive ∨-semi-lattices

Alain Gély1, Miguel Couceiro2, and Amedeo Napoli2

1 Université de Lorraine, CNRS, LORIA, F-57000 Metz, France 2 Université de Lorraine, CNRS, Inria, LORIA, F-54000 Nancy, France {alain.gely,miguel.couceiro,amedeo.napoli}@loria.fr

Abstract. It is known that a distributive is a median graph, and that a distributive ∨-semi-lattice can be thought of as a median graph i every triple of elements such that the inmum of each couple of its ele- ments exists, has an inmum. Since a lattice without its bottom element is obviously a ∨-semi-lattice, using the FCA formalism, we investigate the following problem: Given a semi-lattice L obtained from a lattice by deletion of the bottom element, is there a minimum distributive ∨- semi-lattice Ld such that L can be order embedded into Ld? We give a negative answer to this question by providing a counter-example.

Keywords: Median graph · · order embedding· For- mal Concept Analysis.

1 Motivation

Lattices and median graphs are two structures with many applications, in par- ticular in classication and knowledge discovery. Median graphs are especially used in biology, for example in phylogeny, for modeling inter-species liations. In phylogeny, one of the main problems is to nd evolution trees for representing ex- isting species from accessible DNA fragments. When several trees are leading to the same inter-species liations, the preferred ones are the most parsimonious, where the number of modications such as mutations for example, is minimal for the considered species. However, several possible parsimonious trees may exist simultaneously. Such a situation arises with inverse or parallel mutations, e.g., when a gene goes back to a previous state or the same mutation appears for two non-linked species. This calls for a generic representation of such a family of trees. Bandelt et al. [2,3] propose the notion of median graph to overcome this issue, since it was noticed that a median graph may encode all parsimonious trees. It is known that median graphs are related to lattices (see, e.g., [1,2]). Any distributive lattice is a median graph, and any median graph can be thought of as a distributive ∨-semi-lattice such that for all x, y, z such that the supremum of ech pair exists, then the supremum {x, y, z} also exists. Formal Concept Analysis (FCA) is based on lattice theory and can be used in classication and knowledge discovery. Uta Priss [13,14] made a rst attempt to use the algorithmic machinery of FCA and the links between distributive lattices and median graphs, to analyze phylogenetic trees. However, not every concept lattice is distributive, and thus FCA alone does not necessarily outputs median graphs. A transformation should be designed to build a median graph from a concept lattice. In [14] Uta Priss sketches an algorithm to convert any lattice into a median graph. The key step is to transform any lattice into a distributive lattice. However, how to transform a lattice into a distributive one is not detailled in these papers. In [4], Bandelt uses a data set from [15] to illustrate and evaluate median graph. In this introduction, we will re-use it to show the dierences between median graph and FCA approaches. The example is an extract of mitochondrial DNA for 15 Kung individuals from a Khoisan-speaking hunter-gathered popula- tion in southern Africa. For some sequences in mitochondrial DNA (nucleotide positions, denoted by a, b, ... , j in table), a binary information indicates if a group of individuals owns the consensus version of the sequence (blanck value) or a variation for this sequence (× value). Eight individual groups are studied because some individuals share the same variants. For example, group 0 stands for 4 similar individuals in [4]. Individual group with no variation on any nu- cleotide positions (consensus group) is not shown on the table. These data are shown in Fig. 1 (Upper Left). For these data, the median graph is shown in Fig. 1 (upper right). Vertices are either individual group (numbered from 0 to 7) or latent vertices, added such that from a group to an adjacent one, only one variation exists for nucleotide sequences (parcimony principle supposes that there is no chance that two varia- tions arise exactly at the same moment for the same population in evolutionary process). This variation is indicated on edges. As an example, from consensus group to L4, the only variation occurs in sequence k, from L4 to 0 the only variation occurs in sequence j. As stated, this graph contains every parcimo- nious as covering tree. Median graph owns others good properties: remove edges labeled with a sequence variation produces two disconnected parts. One correspond to individuals with the variation, the other without the variation. Since data is a binary table, Formal Concept Analysis can be applied. The concept lattice obtained from the data is shown in Fig. 1 (Lower Left). In gen- eral, it does not correspond to a median graph. To build a median graph, a necessary condition is to have a distributive ∨-semi-lattice. In [9], based on the work of Birkho and FCA formalism, we propose an algorithm to compute such a semi-lattice (and the corresponding data table). The result of this algorithm, transforming a concept lattice into a median graph, is given in Fig. 1 (Lower Right). Since FCA is supported by a wide community, the main idea of these re- searches is to be able to use FCA results and softwares to deal with phylogenetic data and median graphs. Remark that, for this particular data set the algorithm nd the median graph computed by Bandelt in [4], unfortunately, in some cases the algorithm returns a distributive ∨-semi-lattice Ld that is not minimal: There exists Ld0 such that L can be embedded in Ld0 and Ld0 can be embedded Ld. The continuation of [9] is to search for an algorithm which outputs a mini- mal distributive ∨-semi-lattice. Since we look for minimality, a natural question arises: does a unique minimal (so, minimum) distributive ∨-semi-lattice Ld ex- ists? In this paper, we propose a counter-example, and then we show that a minimum distributive ∨-semi-lattice does not always exist. In the following section, we recall denitions and notation for the under- standing of this paper. We then sketch the limitations of our algorithm and show in Section 4 that a minimum distributive ∨-semi-lattice does not exist. We conclude this paper by some remarks and perspectives in Section 5.

consensus a b c d e f g h i j k 0 × × × k j 1 × × a L4 L1 2 × × 3 × × h j k c d 4 × × × × 5 × L3 L2 0 / jk 2 / cj 6 × × × i e b j h f 7 × × × 3 / ai 1 / ae 6 / bhk 4 / hjk 7 / cfj 5 / d

01234567,{} 01234567,{}

0247,j 046,k 0247,j

13,a 46,h 04,gj 27,cj 13,a 46,hk 04,jk 27,cj

1,ae 3,ai 6,bh 4,ghj 7,cfj 5,d 1,ae 3,ai 6,bhk 4,hjk 7,cfj 5,d

{},abcdefghi {},abcdefghi

Fig. 1. Upper Left. Phylogenetic data of sequence variations for individual groups. Upper Right. Median graph obtained from the data ([4]). Lower Left. Concept lattice for phylogenetic data. Lower Right. Concept lattice corresponding to the median graph. The new concept (046, k) corresponds to L4. To obtain this lattice, data must be modied replacing column g by k. 2 Models: lattices, semi-lattices, median algebras and median graphs

In this section we recall basic notions and notation needed throughout the paper. We will mainly adopt the formalism of [8], and we refer the reader to [6,7] for further background. In this paper, all sets are supposed to be nite.

2.1 Lattices and FCA

(J (L), M(L), ≤) a b c (J (L), J (L), 6≥) 1(c) 2(d) 3(b) 1 × × 1 × × 2 × 2 × 3 × 3 × ×

Fig. 2. Upper Left. Standard context for lattice N5 Lower Left. N5, a non distribu- tive lattice. Upper Right. The context (J (N5), J (N5), 6≥) of an ideal (and so, dis- tributive) lattice. Lower Right. Ideal lattice for (J (N5), ≤) and this poset. Note that N5 can be order-embedded in this lattice. Concepts (X,Y) are maximal rectangles of the contexts. For an element e of the lattice, the corresponding concept (X,Y ) is X = {j ∈ J (L) | j ≤ e} and Y = {m ∈ M(L) | m ≥ e}. For example, the element with label d is the concept (13, d).

A (or poset for short) is a pair (P, ≤) where P is a set and ≤ is a partial order on P , that is, a reexive, antisymmetric and transitive on P . An upper (resp. lower) bound of X ⊆ P is an element y ∈ P such that ∀x ∈ X, x ≤ y (resp y ≤ x). For X ∈ P , the lowest upper bound, if exists, is called the join or the supremum. The greatest lower bound, if exists, is called the meet or the inmum. A ∨-semi-lattice (L, ≤) (resp. ∧-semi-lattice) is an ordered set such that the supremum (resp. inmum) exists for all X ⊆ L. A lattice (L, ≤) is an ordered set such that a supremum and an inmum exist for all X ⊆ L. For x, y ∈ L, x ∨ y denotes the supremum and x ∧ y denotes the inmum. ∨ and ∧ can be considered as binary operators on elements of L. For a nite lattice (L, ≤) there exists ⊥ = V L the lowest element (bottom) and > = W L the greatest element (top) of L. An element x ∈ L such that x = y ∨ z implies x = y or x = z is called a ∨-irreducible element. Dually, an element x ∈ L such that x = y ∧ z implies x = y or x = z is called a ∧-irreducible element. We will denote the set of ∧-irreducible elements and ∨-irreducible elements of L by M(L) and J (L), respectively. Observe that both M(L) and J (L) are posets when ordered by ≤. Posets and lattices can be represented and visualized by their Hasse-diagrams [7]. Examples of lattices are given in Fig. 2 and Fig. 3. Note that some partic- ular lattices have been a name. This is the case for N5 and M3, involved in non distributivity (see section 2.2). In Figures 2 and 3, ∨-irreducible elements are labeled with numbers and ∧-irreducible elements are labeled with letters. Some elements, doubly irreducibles, have two labels. In Fig. 3 elements 1 and 2 are ∨-irreducibles and ∧-irreducible (labeled a and c), elements d and e are ∧-irreducible and element 2 is ∨-irreducible.

(J (M3), M(M3), ≤) a b c (J (L), M(L), ≤) a c d e 1 × 1 × × 2 × 2 × × 3 × 3 × ×

Fig. 3. Upper Left. the standard context for lattice M3. Lower Left. M3 is a non distributive lattice. Upper Right. the standard context (J (L), M(L), ≤) for L below. Lower Right. A non distributive lattice L such that (J (L), ≤) = (J (M3), ≤).

Formal Concept Analysis [8] uses concept lattices for data analysis tasks. Concept lattices are built from a binary table, which is called a formal context, by the way of the . We denote by (G, M, I) a formal context where G is a set of objects, M a set of attributes and I an incidence relation between objects and attributes. In phylogenetic data, objects are usually species, attributes are mutations, and (g, m) ∈ I or gIm indicates that mutation m is spotted in specie g.

Denition 1 (Galois connection). For a set X ⊆ G, Y ⊆ M we dene:

X0 = {y ∈ M | xIy for all x ∈ X} Y 0 = {x ∈ G | xIy for all y ∈ Y }

Then a formal concept is a pair (X,Y ) where X ⊆ G, Y ⊆ M and X0 = Y and Y 0 = X. X is the extent and Y is the intent of the concept. They are closed sets as they verify X = X00 and Y = Y 00. The set of all formal concepts ordered by inclusion of the extents dually the intents denoted by ≤ generates the concept lattice of the context (G, M, I). The existence of a supremum and an inmum allows to use lattices for classication process. Concepts can be viewed as classes, indeed a concept (X,Y ) is a representation of a maximal set of objects X which share a maximal set of attributes Y . If another concept (X1,Y1) is greater than (X,Y ), it contains more objects, but described by fewer attributes. X1 can be considerated as a class, more general than X. A claried context is a context such that x0 = y0 implies x = y for any element of G and any element of M. In a claried context, the set of attributes of two distinct objects are distincts, and dually for objects. Moreover, a claried context is reduced i it contains:

 no x ∈ G such that x0 = X0 with X ⊆ G, x 6∈ X  no vertex x ∈ M such that x0 = X0 with X ⊆ M, x 6∈ X

Indeed, a vertex x ∈ G such that x0 = X0 with X ⊆ G, x 6∈ X correspond to a irreducible element (since it may be reduced to others elements by galois connection). Only irreducible elements, which are not join or meet of others elements, are necessary to build a lattice. The reduced context is also called a standard context [8]. Note that the standard context of lattice L is such that G = J (L) and M = M(L). Examples of standard contexts are given in Fig. 2 and Fig. 3. The corresponding concept lattice is given below the context.

2.2 Distributive lattices

As stated in the motivations, median graphs are used for phylogenetic purposes, and encode a family of trees. It is known that theses graphs can be considered as particular distributive ∨-semi-lattices. This subsection provides basic notions about distributive (semi)-lattices. A lattice is distributive if ∧ and ∨ are distributive one with respect to the other. Formally, a lattice L is distributive if for every x, y, z ∈ L, we have that one (or, equivalently, both) of the following identities holds:

(i) x ∨ (y ∧ z) = (x ∨ y) ∧ (x ∨ z), (ii) x ∧ (y ∨ z) = (x ∧ y) ∨ (x ∧ z).

Distributive lattices appear naturally in any classication task or as com- putation and semantic models; see, e.g., [6,7,10,11]. This is partially due to the fact that any distributive lattice can be thought of as a sublattice of a power-set lattice, i.e., the set P(X) of of a given set X. Note that the denition of a sublattice is more constraint than the denition of a suborder: A X ⊆ L is a sublattice of L if for every x, y ∈ X we have that x∧y, x∨y ∈ X. For example, in Fig. 2, N5 (left) is a suborder of the lattice on the right, but is not a sublattice. Indeed, 1 ∨ 3 is not the same element in the two lattices. The distributivity property of lattices has been equivalently described in several ways. One of these properties relies the notion of sublattice, as follows: Property 1. L is a distributive lattice i it does not contain neither N5 nor M3 as sublattices.

This property describes distributive lattices in terms of two forbidden struc- tures, namely, M3 and N5 that are, up to isomorphism, the smallest non dis- tributive lattices. N5 is represented in Fig. 2 (Lower left) and M3 is represented in Fig. 3 (Lower left). In Fig. 2 the lattice at the right corner does not contain

N5 nor M3 as sublattices, and so is distributive. In Fig. 3 the lattice at the right corner does not contain M3 as sublattice, but contains N5 as a sublattice, and so, is not distributive. Those properties of distributive lattice are useful to check whether a lattice is distributive or not. Our goal is to transform a lattice into a distributive one. For this particular task, the Birkho representation of distributive lattice is of practical interest. It use the notion of order ideal, recalled here:

Denition 2 (Order Ideal). Let (P, ≤) be a poset. For a subset X ⊆ P , let ↓ X = {y ∈ P : y ≤ x for some x ∈ X} and ↑ X = {y ∈ P : x ≤ y for some x ∈ X}. A set X ⊆ P is a ( poset) ideal (resp. lter) if X =↓ X (resp. X =↑ X). If X =↓ {x} (resp. X =↑ {x}) for some x ∈ P , then X is said to be a principal ideal (resp. lter) of P . For principal ideals, we omit brackets, so that ↑ x (resp. ↓ x) stands for ↑ {x} (resp. ↓ {x})

(J (L), J (L), 6≥) 1(f) 2(e) 3(d) 1 × × 2 × × 3 × ×

Fig. 4. Left. The context (J (L), J (L), 6≥) for (J(L), ≤) the poset induced by ∨- irreducible elements of lattices in Fig. 3. Middle. (J(L), ≤) for L (or equivalently M3 in Fig. 3. Right. Ideal lattice for (J (L), ≤) (equivalently (J (M3), ≤)). M3 and L can be order-embedded in this lattice.

Birkho's representation of distributive lattices. Let (P, ≤) be a poset and consider the set O(P ) of ideals of P , i.e., [ O(P ) = { ↓ x | X ⊆ P }. x∈X

It is well-known that for every poset P , the set O(P ) ordered by inclusion is a distributive lattice, called ideal lattice of P . Furthermore, the poset of ∨- irreducible elements of O(P ) is J ((O(P ))) = {↓ x | x ∈ P } and it is (order) isomorphic to P . This representation is used to provide a distributive lattice Ld with the same poset of ∨-irreducible elements as an arbitrary lattice L. In this case, L is order- embedded in Ld. For example, in Fig. 2, the lattice on the right corner is the ideal lattice of (J (N5), ≤). In the same way, the two lattices on the left in Fig. 3 have the same poset of ∨-irreducible elements, and can be embedded in the ideal lattice of this poset, represented in Fig. 4. In particular, in [12,5] it is shown that the family of lattices with the same poset of ∨-irreducible elements is itself a lattice, an so there exists a minimum element. From a poset P , it is possible to obtain the context of the ideal lattice as C = (P,P, 6≥). For a standard context C = (J (L), M(L), ≤), the standard context of the ideal lattice is C = (J (L), J (L), 6≥). Note also that, for every distributive lattice L, the two posets J (L) and M(L) are dually-isomorphic. This is why the standard contexts of distributive lattices are squares (|J (L)| = |M(L)|), and are built with the information of only one of these two posets. In the following subsection, we give some hints about median graphs and median algebras. As we will soon observe, the class of median graphs is in cor- respondance with a particular subclass of distributive ∨-semi-lattices. Let L be a ∨-semi-lattice and x ∈ L, then ↑ x is a lattice (in the nite case, every ∨-semi-lattice with a lowest element is a lattice). Then a ∨-semi-lattice L is distributive i ↑ x is distributive, for all x [6]. In practice, it is sucient to check this property only for minimal elements of L. Indeed, lters of non minimal elements are sublattices of a minimal element lter, and sublattices of distributive lattices are distributives.

2.3 Median graphs

As said in the introduction, a median graph encodes all parcimonious phyloge- netic trees. A median graph is a connected graph having the median property, i.e. for any three vertices a, b, c, there is exactly one vertex x which lies on a shortest path between each pair of vertices in {a, b, c}. The following characterization of distributive lattices explains some links of distributive lattice with median graphs and median algebras.

Property 2. A lattice L is a distributive lattice i for all x, y, z ∈ L,

(x ∧ y) ∨ (y ∧ z) ∨ (z ∧ x) = (x ∨ y) ∧ (y ∨ z) ∧ (z ∨ x).

This property establishes a correspondence between distributive lattices and median algebras. Indeed, a median algebra is a structure (M, m) where M is a nonempty set and m : M 3 → M is an operation, called median operation, that satises the following conditions m(a, a, b) = a and m(m(a, b, c), d, e) = m(a, m(b, c, d), m(b, c, e)), for every a, b, c, d, e ∈ M. It is not dicult to see that if L is distributive, then m(a, b, c) = (a∧b)∨(b∧c)∨(c∧a) is a median operation. The connection to median graphs was established by Avann [1] who showed that every median graph is the of a median algebra (thought of as a semilattice). For further background on median structures see, e.g., [2]. This result was later used by Bandelt [3] to establish the link between distributive lattices and median graphs.

Property 3. A graph is a median graph i it is isomorph to a ∨-semi-lattice L with the two following properties:

 L is distributive  for all x, y, z ∈ L such that (x ∧ y), (y ∧ z) and (z ∧ x) are dened, (x ∧ y ∧ z) is dened.

3 Algorithm to produce a distributive ∨-semi-lattice

To build a median graph from a context using FCA, a necessary condition is to build a distributive ∨-semi-lattice. For the concept lattice L, it is always possible to consider the semi-lattice L∨ = L\⊥ (L minus the lowest element). Minimal elements of this semi-lattice L∨ are minimal elements of (J (L), ≤). It remains to transform the lter of these elements into a distributive lattice. Our previous work [9] is based on Birkho's representation of a distributive lat- tice. Since sublattices of a distributive lattice are distributive, a simple way to obtain a distributive ∨-semi-lattice from a lattice L is to map L into the ideal lat- tice of (J(L), ≤). In practice, the bottom element exists because of the existence of inmum in lattice, but it usually does not have semantic for classication. For example, trees are median graphs and so distributive ∨-semi-lattice (considering the root as the greatest element) but obviously not lattices. With the adjonc- tion of a bottom element ⊥, the trees become lattices. There is no reason that these lattices are distributive. Two trivial examples are N5 and M3: Once the lowest element is removed, either N5∨ = N5\⊥ and M3∨ = M3\⊥, considered as ∨-semi-lattices, are distributive (N5 and M3 are isomorphic to path and tree). Nevertheless, neither N5 nor M3 are distributive. Now, the mapping of the concept lattice into its ideal lattice will produce a

∨-semi-lattice, but this is not necessarily a minimal solution. For example, M3 will be embedded in the boolean lattice while M3\⊥ is already a distributive ∨-semi-lattice. Hence, the global approach that embeds a concept lattice into its ideal lattice is not ecient. Alternatively, we can think of a local approach: instead of embedding the whole concept lattice into its ideal lattice, we do so for the sublattices corre- sponding to lters of minimal elements of J (L). The algorithm proposed in [9] computes contexts of ↑ j for every minimal ∨-irreducible element j, and trans- forms these contexts so that they correspond to the context of a distributive lattice. Once these contexts are built, we merge them to build the whole lattice. However, this method does not always output a minimal solution, i.e., there may exist Ld0 a distributive ∨-semi-lattice such that L can be embedded in Ld0 , and Ld0 can be embedded in Ld with |L| < |Ld0 | < |Ld| and (J (L), ≤ ) = (J (Ld0 ), ≤) = (J (Ld), ≤). This result comes from the fact that each lter is processed independently. Nevertheless, it is possible that some elements are Algorithm 1: Construction of context of a distributive ∨-semi-lattice. Data: A context (J (L), M(L),I) of a lattice L Result: the context (J (Lmed), M(Lmed),I) of a distributive ∨-semi-lattice Lmed such that L can be order-embedded in Lmed foreach j ∈ J (L), minimal do (Pj , ≤) ← ∅ repeat stability ← true; foreach j ∈ J (L), minimal do compute Pj the poset of ∨-irreducible elements in ↑j compute Cj = (Pj ,Pj , 6≥) if Pj modied since last iteration then stability ← false;

Merge all Cj = (Pj ,Pj , 6≥) in a unique context Reduce this context until stability

Fig. 5. From left to right: A lattice. Result of the rst step of the algorithm. Result of the algorithm. A minimal distributive ∨-semi-lattice (not reachable by the algorithm).

shared by several lters of minimal ∨-irreducible elements. This is illustrated in Fig. 5, and motivates the two following observations. First, it is possible that some elements added to a lter for achieving dis- tributivity belong to others lters. These new elements may break a previously obtained distributivity in others lters. This is the case in Fig. 5 with the two new elements (the red one and the green one). At a rst iteration of the loop of the algorithm, when the lters are merged, g and r are distinct elements. Neither the lter of 1 nor 2 are distributive. ↑ 1 (resp. ↑ 2) is not distributive because of r (resp. g). To overcome the problem, the algorithm loops while any lter is modied by the process. At worst, the algorithm computes the context corresponding to the ideal lattice of ∨-irreducible poset of L and the algorithm always terminates. Second, in some cases, a minimal solution cannot be reached when locally considering the lters. Such a solution is proposed if Fig. 5 (extreme right) 4 A counter-example for the existence of a minimum distributive ∨-semi-lattice

The local approach thus seems to be better than the global one. However, our algorithm does not always produce a minimal solution. The natural question is then whether, for a lattice L, there exists a minimum (i.e., minimal and unique) distributive ∨-semi-lattice Ld such that L can be embedded into Ld. We will now show through a counter-example that such minimum does not always exist. The proposed counter-example is given in Fig. 6: For the lattice shown in (a), either lattice in (b) and (c) are minimal distributive ∨-semi-lattices (since they dier by one element only) but it is obvious that (b) and (c) are not isomorphic. So, since a minimum solution does not exist, some choices remain to do in goal to use FCA algorithms for traditional application elds of median graphs, in particular for phylogeny.

(a)(b)(c)

Fig. 6. A lattice (a) such that there exists two non isomorphic minimal distributive ∨-semi-lattices (when removing bottom element) (b) and (c)

5 Discussion and perspectives

We have seen that there is a lattice L for which there is not a unique minimum distributive ∨-semi-lattice Ld such that L can be embedded in Ld and with the same posets of ∨-irreducible elements ((J (L), ≤) = (J (Ld), ≤)). So, even if we provide an algorithm that produces a minimal solution, the question of the meaning of this (not unique) solution should be addressed. A way to tackle it is to nd an algorithm able to list all the minimal solutions. Alternatively, we could propose a measure of interestingness of these minimal solutions, so that an optimal solution could be reached based on such a measure. This remains a topic of current research. Also, this work was motivated by the study of the relations between distribu- tive ∨-semi-lattices and median graphs. Not all distributive ∨-semi-lattices are median graphs. It remains to check the following condition: For every triple of elements x, y, z such that x ∧ y, x ∧ z and y ∧ z are dened, x ∧ y ∧ z is dened. It is obvious that this condition is not satised for some distributive ∨-semi- lattices. A trivial example is the Boolean lattice (minus the bottom element) but in this particular case, the whole lattice is distributive, and so a median graph. Nevertheless, it remains open whether this is always the case.

References

1. Avann, S.P.: Median algebras. Proceedings of the American Mathematical Society 12, 407414 (1961) 2. Bandelt, H.J., Hedlíková, J.: Median algebras. Discrete 45(1), 130 (1983) 3. Bandelt, H.J., Forster, P., Röhl, A.: Median-joining networks for inferring intraspe- cic phylogenies. Molecular biology and evolution 16(1), 3748 (1999) 4. Bandelt, H.J., Macaulay, V., Richards, M.: Median networks: speedy construction and greedy reduction, one simulation, and two case studies from human mtdna. Molecular and evolution 16(1), 828 (2000) 5. Bordalo, G.H., Monjardet, B.: The lattice of strict completions of a poset. Elec- tronic Notes in Discrete Mathematics 5, 3841 (2000) 6. Caspard, N., Leclerc, B., Monjardet, B.: Finite ordered sets: concepts, results and uses. Cambridge University Press (2012) 7. Davey, B.A., Priestley, H.A.: Introduction to Lattices and Order. Cambridge uni- versity press (2002) 8. Ganter, B., Wille, R.: Formal Concept Analysis: Mathematical Foundations. Springer (1999) 9. Gély, A., Couceiro, M., Napoli, A.: Steps towards achieving distributivity in formal concept analysis. In: Proceedings of the Fourteenth International Conference on Concept Lattices and Their Applications, CLA 2018, Olomouc, Czech Republic, June 12-14, 2018. pp. 105116 (2018), http://ceur-ws.org/Vol-2123/paper9.pdf 10. Hopcroft, J.E., Motwani, R., Rotwani, Ullman, J.D.: Introduction to Automata Theory, Languages and Computability. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 2nd edn. (2000) 11. Mattern, F.: Virtual time and global states of distributed systems. Parallel and Distributed Algorithms 1(23), 215226 (1989) 12. Nation, J., Pogel, A.: The lattice of completions of an ordered set. Order 14(1), 17 (1997) 13. Priss, U.: Concept lattices and median networks. In: CLA. pp. 351354 (2012) 14. Priss, U.: Representing median networks with concept lattices. In: ICCS. pp. 311 321. Springer (2013) 15. Vigilant, L., Pennington, R., Harpending, H., Kocher, T.D., Wilson, A.C.: Mito- chondrial dna sequences in single hairs from a southern african population. Pro- ceedings of the National Academy of Sciences 86(23), 93509354 (1989)