<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Lattice Theory for Rough Sets - An Experiment in Mizar</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Adam Grabowski</string-name>
          <email>adam@math.uwb.edu.pl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Informatics, University of Bialystok Ciolkowskiego 1M</institution>
          ,
          <addr-line>15-245 Bialystok</addr-line>
          ,
          <country country="PL">Poland</country>
        </aff>
      </contrib-group>
      <fpage>158</fpage>
      <lpage>169</lpage>
      <abstract>
        <p>Rough sets is a well-known approach to incomplete or imprecise data. In the paper we briefly report how this framework was successfully encoded with the help of one of the leading computer proof assistants in the world. Thanks to their abstract and flexible character based essentially on binary relations, lattices as a basic viewpoint appeared a very feasible one in the case of rough sets. We focus on lattice-theoretical aspects of rough sets to enable the application of external theorem provers like EQP or Prover9 as well as to translate them into TPTP format widely recognized in the world of automated proof search. We wanted to have a clearly written, possibly formal, although informal as a rule, paper authored by a specialist from the discipline another than lattice theory. It appeared that Lattice theory for rough sets by Jouni Järvinen [11] (LTRS) was quite a reasonable choice to be a testbed for the current formalization both of lattices and of rough sets in Mizar.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Through the years ordinary set theory appeared not to be feasible enough for modelling
incomplete or imprecise information. Even if basically built on top of Zermelo-Fraenkel
widely accepted by most mathematicians, fuzzy sets by Zadeh [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ] proposed new view
for membership functions, where degree of membership taken from the unit interval
was considered rather than classical discrete bipolarity. Pawlak’s alternative approach
[
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], although essentially of the same origin, was different – its probabilistic features
were underlined. Also the focus was put rather on collective properties of clusters of
objects than those of individuals as the latter can be hardly accessible.
      </p>
      <p>
        Formalization is doing mathematics in a language formal enough to be
understandable by computers [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] (of course, doing mathematics means also the act of proving
theorems and correctness of definitions according to classical logic and Zermelo-Fraenkel
set theory). This activity, obviously without the use of computers is dated back to Peano
and Bourbaki as every mathematician uses more or less formal language [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]; but
computer certification of mathematics can be useful for many reasons – machines open new
possibilities of information analysis and exchange, they can help to discover new proofs
or to shed some light on approaches from various perspectives; with the help of such
automated proof assistants one can observe deeper connections between various areas
of mathematics. For example, lattice theory delivers interesting and powerful algebraic
model – useful in quantum theory, logic, linear algebra, and topology, to list only most
popular ones. Hence it is not very surprising that also rough [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] and fuzzy set theories
[
        <xref ref-type="bibr" rid="ref22">22</xref>
        ] can be modelled in this way. Studying connections between theories can be also
benefitting to lattice theory itself – see [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] for the use of upper and lower rough ideals
(filters) in a lattice.
      </p>
      <p>The early works devoted to the formalization of mathematics with the help of
automated proof assistants were not really connected with lattice theory. Checking Landau’s
Grundlagen... was an experiment of translating arithmetic into AUTOMATH, one of the
primary computerized proof-checkers. But first real widespread (at least for ordinary
people) use of automated theorem provers was the solution of the Robbins problem
(alternative axiomatization of Boolean algebras) with the help of EQP/Otter program by
William McCune, which expressed the essence of computational power of computers
in the area of equational proof search within lattice theory.</p>
      <p>For years, there were essentially two types of activities in the computer certification
of mathematics: either formal exploration of a single important theorem, in style of
Kepler conjecture, or the computer encoding of a book or paper – all these aimed at
building large formal repository of interconnected facts formally proven. In case of
more compact research articles, the number of such efforts is quite big (even in the
Mizar Mathematical Library (MML) there are at least twenty such encoded papers), but
if the number of pages is relatively large, such projects are still rare.</p>
      <p>
        The author was personally involved in the formalization projects of Compendium of
Continuous Lattices (CCL) by Gierz et al. (approximately 70% done); he also provided
more or less complete translations of papers into Mizar (Isomichi’s about classification
of subsets of topological spaces, Zhu’s [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ] on the approximation spaces based on
arbitrary binary relations, and Rao’s on the generalized almost distributive lattices). The
author of the present paper was interested in lattice theory, focusing on formalization
issues of these structures with the help of automated proof-assistants of various kinds,
including computerized theorem provers, dedicated software for calculations and
visualization, and also computer algebra systems [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. The idea of this work arose after
having a look for Jouni Järvinen’s paper Lattice theory for rough sets [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] (which will
be called LTRS in short), hence the title of the current paper is not accidental. Our short
term goal is to provide annotated version of LTRS, where all items (definitions,
propositions, and illustrative examples) will be mapped with their formal counterpart written
in Mizar.
      </p>
      <p>The structure of the paper is as follows: in the next section we introduce basic
notions of lattice theory, also in mechanized setting, and discuss how it can be extended.
Section 4 is devoted to concrete implementation of rough sets with Mizar system. The
next section summarizes the pros and cons of our implementation and experiments with
the Mizar Mathematical Library. We describe also the current state of injecting LTRS
into MML. In the last section we draw some concluding remarks and plans for future.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Fundamentals of Lattice Theory</title>
      <p>
        Lattices [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] are structures of the form
      </p>
      <p>hL, ⊔, ⊓i,
where L is a set (sometimes assumed to be non-empty), both binary operations ⊔ and
⊓ are commutative, associative, and satisfy the absorption laws. There is also an
alternative definition of lattices as hL, ≤i, where ≤ is the partial ordering on L with the
existence of suprema and infima for arbitrary pairs of elements of L. Essentially then,
one can see lattices as hL, ⊔, ⊓, ≤i, where both parts are defined by one another.</p>
      <p>
        It is worth noticing that lattices, especially those of them which have equational
characterizations, can be automatically explored. Famous question on another
axiomatization of Boolean algebras, known as the Robbins problem, was solved with
EQP/OTTER system in 1996 after sixty years of unsuccessful human research. The first
author provided also some proof developments in this problem, but with the use of
another computer proof-assistant, namely the Mizar system [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. It was created in the
early seventies of the previous century in order to assist mathematicians in their work.
Now the system consist of three main parts: the language in which all the
mathematics can be expressed, close to the vernacular used by human mathematician, which at
the same time can be automatically verified, the software which verifies the correctness
of formalized knowledge in the classical logical framework, and last but not least, the
huge collection of certified mathematical knowledge – the Mizar Mathematical Library
(MML).
      </p>
      <p>
        In Mizar formalism [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], lattices are structures of the form
definition
struct (/\-SemiLattRelStr, \/-SemiLattRelStr, LattStr)
      </p>
      <p>LattRelStr</p>
      <p>(# carrier -&gt; set,
L_join, L_meet -&gt; (BinOp of the carrier),</p>
      <p>InternalRel -&gt; Relation of the carrier #);
end;
introduced by the first author to benefit from using binary operations and orderings at
the same time. However, defining a structure we give only information about the
signature – arities of operations and their results; specific axioms are needed additionally.
Even if all of them can be freely used in their predicative variant, definitional expansions
proved their usefulness.
definition
let L be non empty LattStr;
attr L is meet-absorbing means :: LATTICES:def 8
for a,b being Element of L holds (a "/\" b) "\/" b = b;
end;</p>
      <p>The above is faithful translation of</p>
      <p>∀a,b∈L (a ⊓ b) ⊔ b = b.</p>
      <p>Continuing with all other axioms, we finally obtain lattices as corresponding
structures with the collection of attributes under a common name Lattice-like.
definition</p>
      <p>mode Lattice is Lattice-like non empty LattStr;
end;</p>
      <p>The alternative approach to lattices through the properties of binary relations is a
little bit different, so the underlying structure is just the set with InternalRel, namely
RelStr.
definition</p>
      <p>mode Poset is reflexive transitive antisymmetric RelStr;
end;</p>
      <p>Boolean algebras, distributive lattices, and lattices with various operators of
negation are useful both in logic and in mathematics as a whole, it is not very surprising that
also rough set theory adopted some of the specific axiom sets – with Stone and Nelson
algebras as most prominent examples.</p>
      <p>The type LATTICE is, unlike the alternative approach where Lattice Mizar mode
was taken into account, a poset with binary suprema and infima. Both approaches are in
fact complementary, there is a formal correspondence between them shown, and even
a common structure on which two of them are proved to be exactly the same. Why can
ask the question why to have both approaches available in the repository of computer
verified mathematical knowledge available at the same time? The simplest reason is that
the ways of their generalizations vary; in case of posets we could use relational
structures based on the very general properties of binary relations (even not necessarily more
general, but just different – including equivalence relations or tolerances); equationally
defined lattices are good starting point to consider e.g. semilattices or lattices with
various additional operators – here also equational provers can show their deductive power.
In this setting such important theorems as Stone’s representation theorem for Boolean
algebras was originally formulated.</p>
      <p>The operations of supremum and infimum are "\/" and "/\", respectively – in
both approaches. The natural ordering is &lt;= in posets and [= in lattices equationally
defined. Note that c= is set-theoretical inclusion. The viewpoint of posets was extensively
studied in Mizar during the big formalization project – translating into Mizar already
mentioned CCL.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Extending Lattice Signature</title>
      <p>From the informal point of view, the difference between the ordering given for hL, ⊔, ⊓i
as</p>
      <p>x ≤ y ⇔ x ⊔ y = y
and posets defined as hL, ≤i where the existence of binary suprema and infima is
axiomatically guaranteed is not very big. Here is the place for Leibniz’s Law (known
also under the name of equality of indiscernibles or – slightly misleading – isomorphic
copies). If it comes for real computerized proof-assistant, the problem arises. First of
all, the choice of appropriate signature for lattices is important. On the one hand, we
want to gather benefits from the use of sophisticated equational theorem provers, and
hence equational characterization is strongly desirable. We can do so choosing lattice
structure with two binary operations of supremum and infimum.</p>
      <p>
        On the other hand however, one can use the properties of binary relations weaker
than the partial ordering – either preorders or even, if we go further in the stream of
reverse mathematics, arbitrary relations with certain properties. We can observe similar
ideas in the theory of rough sets, with the example of Zhu’s papers [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ], or topological
spaces with various separation axioms.
      </p>
      <p>All basic formalized definitions and theorems can be tracked under the address
http://mizar.org.</p>
    </sec>
    <sec id="sec-4">
      <title>4 Rough Sets and Approximation Spaces</title>
      <p>
        Main disadvantage behind formalization of rough set theory [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] was that we had to
choose among two basic approaches to rough sets: either as classes of equivalence
relations (with further generalizations into tolerances or even arbitrary binary relations)
or as pairs consisting of the lower and the upper approximation (see [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] for detailed
description of approximation operators in Mizar).
definition let X be Tolerance_Space, A be Subset of X;
func RS A -&gt; RoughSet of X equals :: INTERVA1:def 14
      </p>
      <p>[LAp A, UAp A];
end;</p>
      <p>The structure is defined as follows (_\/_ and _/\_ are taken componentwise):
definition let X be Tolerance_Space;
func RSLattice X -&gt; strict LattStr means
the carrier of it = RoughSets X &amp;
for A, B being Element of RoughSets X,</p>
      <p>A1, B1 being RoughSet of X st A = A1 &amp; B = B1 holds
(the L_join of it).(A,B) = A1 _\/_ B1 &amp;
(the L_meet of it).(A,B) = A1 _/\_ B1;
end;
:: INTERVA1:def 23</p>
      <p>We have proved formally that these structures are Lattice-like, distributive, and
complete (arbitrary suprema and infima exist, not only binary ones). The properties are
expressed in the form allowing automatic treatment of such structures.
registration let X be Tolerance_Space;</p>
      <p>cluster RSLattice X -&gt; bounded complete;
end;</p>
      <p>Taking into account that [= is the ordering generated by the lattice operations, we
can prove that it is just determined by the set-theoretical inclusion of underlying
approximations.
theorem :: INTERVA1:71
for X being Tolerance_Space, A, B being Element of RSLattice X,</p>
      <p>A1, B1 being RoughSet of X st A = A1 &amp; B = B1 holds
A [= B iff</p>
      <p>LAp A1 c= LAp B1 &amp; UAp A1 c= UAp B1;</p>
      <p>
        Detailed survey of the lattice-theoretical approach to rough sets is contained e.g.
in Järvinen [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] paper, which enumerated some basic classes of lattices useful within
rough set theory – e.g. Stone, de Morgan, Boolean lattices, and distributive lattices, to
mention just the more general ones. All listed structures are well represented in the
MML.
      </p>
      <p>
        Flexibility of the Mizar language allows for defining new operators on already
existing lattices without the requirement of repetitions of old structures, e.g. Nelson
algebras are based on earlier defined de Morgan lattices (which are also of the more general
interest), also defining various negation operators is possible in this framework.
Furthermore, topological content widely represented in the Mizar Mathematical Library
helped us to have illustrative projections into other areas of mathematics [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Here good
example was (automatically discovered by us) linking with Isomichi classification of
subsets of a topological space into three classes of subsets [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        Recently we made some results in fuzzy numbers in formalized setting, and even if
primarily we did not plan to include them here, LTRS forced us to do so. Namely,
Example 141, p. 476 in LTRS is just the construction of L-fuzzy sets, so it seems we have to
cover it also. Exactly just like in the case of rough sets (where we tried to stick to
equivalence relations instead of the more general case), first formalization in Mizar had to be
tuned to better reflect Zadeh’s mathematical idea [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ]. The basic object RealPoset is
a poset (a set equipped with the partial ordering, i.e. reflexive, transitive, and
antisymmetric relation) – unit interval with the natural ordering defined of real numbers. We
use Heyting algebras as they are naturally connected with L-fuzzy sets. We can define
the product of the copies of the (naturally ordered) unit intervals (by the way, this was
defined in Mizar article YELLOW_1 by the first author during the formalization of CCL).
definition let A be non empty set;
func FuzzyLattice A -&gt; Heyting complete LATTICE equals :: LFUZZY_0:def 4
(RealPoset [. 0,1 .]) |^ A;
end;
      </p>
      <p>The above can be somewhat cryptic, however the next theorem explains how
elements of the considered structure look like – these are just functions from A into the
unit interval.
theorem :: LFUZZY_0:14
for A being non empty set holds
the carrier of FuzzyLattice A = Funcs (A, [. 0, 1 .]);</p>
      <p>Although the lattice operations are not stated explicitly here (which could be a kind
of advantage here), the ordering determines it uniquely via the natural ordering of real
functions. The underlying structure is a complete Heyting algebra. Of course, the type
of this Mizar functor is not only declarative – it had to be proved.
theorem :: LFUZZY_0:19
for C being non empty set,</p>
      <p>s,t being Element of FuzzyLattice C holds
s "\/" t = max(@s, @t);</p>
      <p>The functor @s returns for an element of the lattice of fuzzy sets the
corresponding membership function (i.e. a fuzzy set). The so-called type cast is needed to
properly recognize which operation max should be used – in our case it is the operation
defined for arbitrary functions. Of course, in the above definition, A is an arbitrarily
chosen non-empty set; it can be replaced by the carrier of a lattice, and the definition of
FuzzyLattice A can be tuned accordingly.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Where Are We Now</title>
      <p>At the beginning of expressing things fully formally, usually it is hard to estimate the
real amount of needed work. The unreasonable delays are often caused by authors’
omissions in proof steps, where inferences suggested to be trivial appear to be hard or
even false (we met some such situations during CCL project), references for papers yet
classical in the literature of the subject (but absent in the formal repository, which has to
be overworked), and some isomorphisms in the spirit of category theory (let us assume
continuous mappings to be arrows in proper category) or logic (all we just considered
is trivial in the framework of proper modal logic).</p>
      <p>As basic stages of our work we could enumerate:
– Choosing appropriate model for formalization – in CCL we decided to have two
series, YELLOW (bridging the gap between the current state of MML and needed
knowledge) and WAYBEL formalizing one-by-one items from the book. It appears
however, that due to highly self-containing nature of LTRS a kind of YELLOW
series practically vanishes and we will give rather a set of monographical articles
(proofs from MML will be only linked, not rewritten).
– Providing a platform for the work, with the aim of incorporating the work into the
Mizar Mathematical Library (we want to make it available to other users making it
distributed with every distribution of the Mizar system).
– Wikipedia proved that in case of wide projects a model of Wiki for collective work
wins with svn or cvs (concurrent version systems) with closed architecture
(although a bit of centralized control to ensure the appropriateness of changes is
definitely needed).
– Back-revisions of the MML, as the Mizar repository can also benefit
(generalizations, removing repetitions, making unifications). Here we mention also the
possibility of proof reorganization: lemmas can be extracted, proof structure can be
flattened, if possible, etc.
– Translation of the Mizar source code into LATEX via available tools and comparing
the differences with LTRS. During the process of printing the journal Formalized
Mathematics which is a translation between vocabulary file and LATEX format given
in XML; formats are once fixed, but it is no problem at all to get instead of UAp(A)
the set A with the upper triangle (the notation used in LTRS), etc. Of course,
alternatively one can define its own synonym, which does not bring any new semantical
information. We can mention also hyperlinked version of articles, hence anyone
can dig down to the fundamentals.
– Statistical research on results, once we get complete formal translation. Hence
besides explicit references, all connections can be listed – facts from mathematical
folklore, informal omissions, detailed proof steps, and proof similarities.</p>
      <p>As of now, we do not provide percentage of the real work done (we plan eventually
to give a one-to-one correspondence between LTRS and MML, and as of now there
is no fully annotated version accepted into the MML), but thorough insight into both
sources results in the following numbers (see Table 1).</p>
      <p>There are three items we should briefly explain: MML lacks the part devoted to
Stone lattices (Chapter 4), although we have some 1500 lines of Mizar code covering
most of the missing content. Although the chapter with Galois connections is covered
in 70%, it is not very much used in the Mizar repository, hence low numbers in Chapter
9 and 10. Also information systems already formalized in Mizar need to be adjusted in
order to provide smooth correspondence with reducts and rough sets. In total, nearly
70% of items are covered in the current MML. In the next table, we present most
representative Mizar articles (MML identifiers, i.e. filenames) for every chapter.</p>
      <p>
        The quotation from [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] “Prerequisites are minimal and the work is self-contained"
was very important for us – as after the finish we will calculate the so-called de Bruijn
factor which measures the ratio between the amount of formal text and its informal
counterpart. It is often claimed that in the case of ordinary mathematical submission its
de Bruijn factor is approximately four – but it would not be the case of LTRS, as it has
many illustrative examples.
      </p>
      <p>The enumeration is continuous and examples are present in this sequence (in CCL,
some examples were not formalized by us as either they were needed to solve the
exercises, or they had purely illustrative character). Essentially then, the numbers are not
fully reflecting the real state of formalization. Similar situation was during
formalization of CCL in Mizar, where C∗-algebras were used as one of the examples (and we did
not touch it at all as it would require massive work within completely different area of
mathematics we dealt with).</p>
      <p>Many theorems and definitions are inline, i.e. they are not formulated as separate
items. Extremal example here is the list of boolean properties of sets (some 17
properties collected in Proposition 1), which of course in the MML is of the form of 17
separate theorems. We could choose either between the corollary which is a conjunct of
all these or mapping single LTRS item into multiple MML items.</p>
      <p>
        Even at the first sight, among obvious notions from mathematical folklore, two basic
objects are especially correlated with our area of research: partitions (resp. coverings
in more general approach [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ]) and intervals [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. Querying MML, we discovered that
lattices of partitions were formalized already pretty well, but to our big surprise, this
was not the case of intervals, so we had to make some preparatory work by ourselves.
      </p>
      <p>
        Instead of using the ordered pair of approximations, we can claim that both
coordinates are just arbitrary objects, so that we can do just a little bit reverse mathematics. It
happens even in the heart of rough set theory – correlation of indiscernibility relation
properties with those of approximation operators in style of [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ] or underlying lattice
properties [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] could lead us to develop some general theory of mathematical objects.
One of the significant matchings discovered automatically with the help of our work
was that classification of rough sets basically coincides with that of objects described
by Isomichi – first class objects are precisely crisp sets, second class – rough sets with
non-empty boundary, so third class just vanishes in equivalence-based approximation
space. Details of this correspondence can be found in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>During our project of making both formal approaches to incomplete information
accessible in the Mizar Mathematical Library, an extensive framework was created,
besides lattices of rough sets (and also of fuzzy sets). Its summary is shown in Table 3.</p>
      <p>Table 3 lists our MML articles about rough sets (started with ROUGHS), while the
first group contains some preliminary notions and properties needed for smooth further
work. We listed only MML items of which we are authors – among nearly 1250 files
written by over 250 people. The complete list could contain nearly 20 files containing
about 40 thousand lines of Mizar code (so it is about 2% of the MML). Not all of them
are tightly connected with the theory of rough sets – they expand the theory of intervals,
topologies, relational structures, and – last but not least – lattices, to list more notable
areas of mathematics.</p>
      <p>
        Following Grätzer’s classical textbook [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] in Mizar, practically all chapters from
Järvinen work are covered, maybe except Section 8 on information systems (reducts are
poorly covered in Mizar, but e.g. the Mizar article about Armstrong systems on ordered
sets was coauthored by Armstrong himself). Also the final section on lattices of rough
sets is not sufficiently covered in the MML, because not all combinations of properties
of binary relations were considered. Our personal perspective was that [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] was even
better written from the viewpoint of a developer of MML. The fact is that the theory
is much simpler than in CCL by Gierz et al. (and it is more self-contained), although a
little bit painful – at least from the formal point of view – category theory was used in
a similar degree.
6
      </p>
    </sec>
    <sec id="sec-6">
      <title>Conclusions and Future Work</title>
      <p>
        In order to widen the formal framework within the MML, we should construct more
algebraic models both for rough and fuzzy sets (as the aforementioned Stone algebras).
Although we underlined the possibility of using external provers, we already applied
some automatic tools available in the Mizar system aiming at discovering alternative
proofs [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] and unnecessary assumptions to generalize the approach (similarly to
generalizing from equivalence into tolerance relations in case of rough sets).
      </p>
      <p>
        It is hard to describe all the formalized work which was done during this project
in such a short form; however we tried to outline the very basic constructions. We
hope to demonstrate the working prototype of annotated version of LTRS during CS&amp;P
2015 conference, and, of course, to incorporate it into the MML to be explored with
the help of Mizar internal tools. We hope to spend about a year of work to finish it
completely. Our work was very much inspired by Järvinen [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] and Zhu [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ], although
regular formalization of this topic started back in 2000, much before both these papers.
Some copyright issues should be solved as the best solution is just to publish [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] with
links pointing out to appropriate Mizar items and proofs. In the era of expanding open
access model for research we hope some limitations can vanish – although some issues
connected with the repositories of knowledge formalized with the help of computers
are quite interesting [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and GNU/Creative Commons model is promising.
      </p>
      <p>
        Mizar code enables also the information exchange with other proof assistants
through its XML intermediate format. Even if the Mizar code is relatively well
readable, LATEX version and HTML script with expandable and fully hyperlinked proofs are
available. All Mizar files are also translated into TPTP [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] (first order logic form which
can serve as a direct input for Thousands of Problems for Theorem Provers) and this
could be one of the fundamental gains for the rough set community.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Bryniarski</surname>
            <given-names>E.</given-names>
          </string-name>
          :
          <article-title>Formal conception of rough sets</article-title>
          ,
          <source>Fundamenta Informaticae</source>
          ,
          <volume>27</volume>
          (
          <issue>2</issue>
          /3),
          <fpage>109</fpage>
          -
          <lpage>136</lpage>
          (
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Alama</surname>
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kohlhase</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mamane</surname>
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Naumowicz</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rudnicki</surname>
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Urban</surname>
            <given-names>J</given-names>
          </string-name>
          .:
          <source>Licensing the Mizar Mathematical Library, Proc. of MKM</source>
          <year>2011</year>
          ,
          <article-title>LNCS</article-title>
          (LNAI)
          <volume>6824</volume>
          ,
          <fpage>149</fpage>
          -
          <lpage>163</lpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Estaji</surname>
            <given-names>A.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hooshmandasl</surname>
            <given-names>M.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Davvaz</surname>
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Rough set theory applied to lattice theory</article-title>
          ,
          <source>Information Sciences</source>
          ,
          <volume>200</volume>
          ,
          <fpage>108</fpage>
          -
          <lpage>122</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Grabowski</surname>
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Mechanizing complemented lattices within Mizar type system</article-title>
          ,
          <source>Journal of Automated Reasoning</source>
          (
          <year>2015</year>
          ),
          <source>DOI: 10.1007/s10817-015-9333-5</source>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Grabowski</surname>
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Efficient rough set theory merging</article-title>
          ,
          <source>Fundamenta Informaticae</source>
          ,
          <volume>135</volume>
          (
          <issue>4</issue>
          ),
          <fpage>371</fpage>
          -
          <lpage>385</lpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Grabowski</surname>
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Automated discovery of properties of rough sets</article-title>
          ,
          <source>Fundamenta Informaticae</source>
          ,
          <volume>128</volume>
          (
          <issue>1-2</issue>
          ),
          <fpage>65</fpage>
          -
          <lpage>79</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Grabowski</surname>
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>On the computer-assisted reasoning about rough sets, in Monitoring, Security and Rescue Techniques in Multiagent Systems, B. Dunin-Ke¸plicz, A</article-title>
          . Jankowski, M. Szczuka (Eds.),
          <source>Advances in Soft Computing</source>
          ,
          <volume>28</volume>
          ,
          <fpage>215</fpage>
          -
          <lpage>226</lpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Grabowski</surname>
            <given-names>A.</given-names>
          </string-name>
          , Jastrze¸bska M.
          <article-title>: Rough set theory from a math-assistant perspective, in Rough Sets and Intelligent Systems Paradigms</article-title>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kryszkiewicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Peters</surname>
          </string-name>
          , H. Rybin´ski (Eds.),
          <source>Lecture Notes in Artificial Intelligence</source>
          ,
          <volume>4585</volume>
          ,
          <fpage>152</fpage>
          -
          <lpage>161</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Grabowski</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Korniłowicz</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Naumowicz</surname>
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Mizar in a nutshell</article-title>
          ,
          <source>Journal of Formalized Reasoning</source>
          ,
          <volume>3</volume>
          (
          <issue>2</issue>
          ),
          <fpage>153</fpage>
          -
          <lpage>245</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. Grätzer G.:
          <article-title>General Lattice Theory</article-title>
          , Birkhäuser (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Järvinen</surname>
          </string-name>
          J.:
          <article-title>Lattice theory for rough sets, Transactions on Rough Sets VI, LNCS</article-title>
          (LNAI)
          <volume>4374</volume>
          ,
          <fpage>400</fpage>
          -
          <lpage>498</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Kawahara</surname>
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Furusawa</surname>
            <given-names>H.:</given-names>
          </string-name>
          <article-title>An algebraic formalization of fuzzy relations</article-title>
          ,
          <source>Fuzzy Sets and Systems</source>
          ,
          <volume>101</volume>
          ,
          <fpage>125</fpage>
          -
          <lpage>135</lpage>
          (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Korniłowicz</surname>
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>On rewriting rules in Mizar</article-title>
          ,
          <source>Journal of Automated Reasoning</source>
          ,
          <volume>50</volume>
          (
          <issue>2</issue>
          ),
          <fpage>203</fpage>
          -
          <lpage>210</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Moore</surname>
            <given-names>R.</given-names>
          </string-name>
          , Lodwick W.:
          <article-title>Interval analysis and fuzzy set theory</article-title>
          ,
          <source>Fuzzy Sets and Systems</source>
          ,
          <volume>135</volume>
          (
          <issue>1</issue>
          ),
          <fpage>5</fpage>
          -
          <lpage>9</lpage>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Naumowicz</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Korniłowicz</surname>
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>A brief overview of Mizar</article-title>
          , in TPHOLs'2009,
          <string-name>
            <given-names>S.</given-names>
            <surname>Berghofer</surname>
          </string-name>
          et al. (Eds.), LNCS,
          <volume>5674</volume>
          ,
          <fpage>67</fpage>
          -
          <lpage>72</lpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16. Pawlak
          <string-name>
            <surname>Z.</surname>
          </string-name>
          :
          <source>Rough Sets: Theoretical Aspects of Reasoning about Data</source>
          , Kluwer, Dordrecht (
          <year>1991</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Pa</surname>
          </string-name>
          <article-title>¸k K.: Methods of lemma extraction in natural deduction proofs</article-title>
          ,
          <source>Journal of Automated Reasoning</source>
          ,
          <volume>50</volume>
          (
          <issue>2</issue>
          ),
          <fpage>217</fpage>
          -
          <lpage>228</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Urban</surname>
            <given-names>J.</given-names>
          </string-name>
          , Sutcliffe G.:
          <article-title>Automated reasoning and presentation support for formalizing mathematics in Mizar</article-title>
          , LNCS,
          <volume>6167</volume>
          , Springer,
          <fpage>132</fpage>
          -
          <lpage>146</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19. Wiedijk F.:
          <string-name>
            <surname>Formal</surname>
          </string-name>
          proof - getting started,
          <source>Notices of the AMS</source>
          ,
          <volume>55</volume>
          (
          <issue>11</issue>
          ),
          <fpage>1408</fpage>
          -
          <lpage>1414</lpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Yao</surname>
            <given-names>Y.Y.</given-names>
          </string-name>
          :
          <article-title>Two views of the rough set theory in finite universes</article-title>
          ,
          <source>International Journal of Approximate Reasoning</source>
          ,
          <volume>15</volume>
          (
          <issue>4</issue>
          ),
          <fpage>291</fpage>
          -
          <lpage>317</lpage>
          (
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Yao</surname>
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yao</surname>
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Covering based rough set approximations</article-title>
          ,
          <source>Information Sciences</source>
          ,
          <volume>200</volume>
          ,
          <fpage>91</fpage>
          -
          <lpage>107</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22. Zadeh L.:
          <article-title>Fuzzy sets</article-title>
          ,
          <source>Information and Control</source>
          ,
          <volume>8</volume>
          (
          <issue>3</issue>
          ),
          <fpage>338</fpage>
          -
          <lpage>353</lpage>
          (
          <year>1965</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Zhu</surname>
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Generalized rough sets based on relations</article-title>
          ,
          <source>Information Sciences</source>
          ,
          <volume>177</volume>
          (
          <issue>22</issue>
          ),
          <fpage>4997</fpage>
          -
          <lpage>5011</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Zhu</surname>
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Topological approaches to covering rough sets</article-title>
          ,
          <source>Information Sciences</source>
          ,
          <volume>177</volume>
          (
          <issue>6</issue>
          ),
          <fpage>1499</fpage>
          -
          <lpage>1508</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>