<!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>
      <journal-title-group>
        <journal-title>Logic and Computation</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.1093/LOGCOM/EXT055</article-id>
      <title-group>
        <article-title>(Extended Abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>BarbaraMorawska</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sławomir Kost</string-name>
          <email>skost@uni.opole.pl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Computer Science, University of Opole</institution>
          ,
          <country country="PL">Poland</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2025</year>
      </pub-date>
      <volume>9</volume>
      <issue>1999</issue>
      <fpage>0000</fpage>
      <lpage>0003</lpage>
      <abstract>
        <p>In this paper we present three results concerning the unification problem in the descriptionℱloℒgi⊥c. The logic ℱ ℒ⊥ is a sub-Boolean logic that supports only conjunction, value restrictions, and the top and bottom constructors, without any form of negation. Subsumptioℱn ℒin⊥ can be decided in polynomial time. Although we do not solve the unification problem itself, we establish three related findings. First, we show that unification in ℱ ℒ⊥ is of type nullary, a result inspired by a similar theorem for the modal logic K. Second, we reduce the unification problem in ℱ ℒ⊥ to the unification problem inℱ ℒ0, equipped with a forward TBox. Third, we revisit the known result that the matching probleℱmℒin⊥ can be solved in polynomial time and provide a new to-implement algorithm which solves the matching probleℱm ℒin⊥ in polynomial time. In this paper, we focus on a small description logℱic,ℒ⊥, which extends the constructors of its sister logic ℱ ℒ0 by adding the bottom concept. We present three results: the unification tyℱpeℒo⊥f is nullary, inspired by a similar result for the modal log ic(see [1]); the unification problem inℱ ℒ⊥ can be reduced to the one iℱn ℒ0 with a special TBox, corresponding t2o][; and we present a simple2. The description logics ℱ ℒ0 and ℱ ℒ⊥ (∀ .)  = (∀ 1∀ 2 … ∀  .)  where  =  1 …   ∈   +. refered to as concept names and role names, by the following grammar: All notions in this chapter are introducedℱfoℒr⊥. To obtain their equivalents ℱinℒ0, simply omit ⊥. In the description logiℱc ℒ⊥, (complex) concepts are generated from two disjoint s e tsand   , An interpretation of conceptsℱinℒ⊥ is a pair = (Δ  , ⋅ ), where Δ is a non-empty domain of elements and⋅ is an interpreting function defined on concept names and role names as foll⊤ow=: Δ ; Proceedings ceur-ws.org</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>algorithm for it.
description logic, unification type</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>=   ∩   ; (∀ .) 
= { ∈ Δ  ∣ ∀ ∈ Δ  [(, ) ∈  
→  ∈   ]};
 ;   ⊆ Δ</p>
      <p>× Δ , for any  ∈   , and extended to all complex concepts</p>
      <p>A concept may be reduced with the following reductions to an equivalent concept (interpreted by the
same set in any interpretation⊓)⊤:, ⊤ ⊓  ⇝ ;  ⊓ ⊥, ⊥ ⊓  ⇝ ⊥; ∀ .⊤ ⇝ ⊤; ∀ .( ⊓ ) ⇝ ∀ . ⊓ ∀ ..</p>
      <p>We call a concep t reduced if none of the reduction rules applies.</p>
      <p>For convenience, we will use the notatio∀n.</p>
      <p>for the concept of the form∀:  1(∀ 2(… (∀  . ))) ,
where  =  1 …   and is either⊤ or ⊥ or a concept name . A concept of this form is calledpaarticle.
This research is part of the project No 2022/47/P/ST6/03196 within the POLONEZ BIS programme
cofunded by the National Science Centre and the European Union’s Horizon 2020 research and innovation
programme under the Marie Skłodowska-Curie grant agreement No. 945339. For the purpose of Open
Access, the author has applied a CC-BY public copyright licence to any Author Accepted Manuscript
(AAM) version arising from this submission.</p>
      <p>CEUR
Workshop</p>
      <p>ISSN1613-0073</p>
      <p>The word  over   is called the role word of the particle∀ . . For role words  ,  ′, by  ≤  ′ we
denote tha t is a prefix of  ′.</p>
      <p>It is easy to see that any concept is equivalent to a conjunction of pa r=ti∀cles1,. 1 ⊓ ⋯ ⊓ ∀  .  ,
where  1, … ,   are possibly empty words over  . In fact because of properties of conjunction, we
identify a reduced concept with a set of particles in such a conjunction.</p>
      <p>Let  be an ℱ ℒ⊥-reduced concept. We define  () (role depth) and() (size) recursively: if
 =  or  = ⊤ or  = ⊥ , then () = () = 0; if  =  ⊓  , then () = ({ (),  ()})
and () = () + (); if  = ∀ . ′,  () =  ( ′) + 1 and () = ( ′) + 1.</p>
      <p>Subsumption between concepts ⊑  obtains if for all interpretation s,   ⊆   . Equivalence:
 ≡  if  ⊑  and  ⊑ . For any concept, we have ⊥ ⊑  and  ⊑ ⊤. In ℱ ℒ⊥, let  and
 = { 1, … ,   } be reduced concepts. The n⊑  iif for every  ∈  , one of the following holds:
(1)  ∈  , (2)  = ∀ . , where  is a concept name o⊥r, and there exist∀s ′.⊥ ∈  such that′ ≤  .</p>
      <sec id="sec-2-1">
        <title>3. Unification problem in ℱ ℒ⊥</title>
        <p>In order to define a unification problem, we partition the set of concept na m es into two disjoint
sets: variables  ( ) and constant s ( ). A variable is thus a concept name that may be substituted
by any concept while a constant cannot be substituted.</p>
        <p>A substitution is a mapping from  to the set of aℱll ℒ⊥-concepts. It is extended to all concepts
in the usual way. Theunification problem (unification problem ) is defined by its input
Γ = { 1 ⊑?  1, … ,   ⊑?   }; and the output is “yes” if there is a substitution that makes these
subsumptions true, or “no” otherwise. Without loss of generality, we can assume t1h, a…t,   are
particles. A substitutio nis a unifier for the unification problemΓ = { 1 ⊑?  1, … ,   ⊑?   } if
 ( 1) ⊑  ( 1), … ,  (  ) ⊑  (  ). In this case, we say that the problemu nisifiable .</p>
        <p>LetΓ be an unification problem with the set of variabl esand unifiers  ,  . We say tha t is more
general than (or  is less general than ), if there is a substituti onsuch that( ) ≡  ( ( )), for all
 ∈  . If a unifier is more general than any other unifier, we call it maost general unifier (an mgu) ofΓ.</p>
        <p>A setΠ of unifiers of a given unification problem Γ is called acomplete set of unifiers if every unifier
of Γ is less general than some element oΠf. For a given unification problemΓ we define four unification
types (from ”best” to ”worst”) based on the existence and cardinality of its complete set. The problem
has unification type:unitary if there exists complete set of unifiers consisting of one unifie ;r ifnitary
if it has finite compete set of unifiers, but has no most general unifieri;nfinitary if it has an infinite
minimal complete set of unifiers;nullary (or zero) if it has no minimal complete set of unifiers. The
unification type of a logic ℱ( ℒ⊥ in our case) is the worst unification type of its unifiable problems.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>4. Type nullary result</title>
      <p>In this section, we sketch a prove thℱaℒt⊥ has nullary unification type by showing that the unification
problem Γ = { ⊑ ? ∀ . } has no minimal complete set of unifiers. To this end, we introduce the  set
of substitutions consisting of:
 0( ) = ⊥;   ( ) =  ⊓ ∀ . ⊓ … ⊓ ∀ −1 . ⊓ ∀  .⊥, for  ≥ 1;  ⊤( ) = ⊤.</p>
      <p>One can easily check th at( ) ⊑   (∀ . ), for each ∈ ℕ ∪ {⊤}.</p>
      <p>It can also be shown that the  seits complete forΓ. Let be a unifier for Γ not equal t o ⊤ and let
  ∈  where  =  ( ( )). Then  ( ) ≡  (  ( )).</p>
      <p>At this point we know th atis a complete set of unifiers ofΓ. To complete the argument, we observe
that there is no minimal complete set of unifiers fΓo.rIt can be easily shown tha t+:1 is more general
tha t  , but  is not more general tha n+1 , for each ≥ 0. Using a proof by contradiction we obtain
the result:
Theorem 1. The type of the unification problem Γ is nullary.
5. Reduction from ℱ ℒ⊥ to ℱ ℒ0 with a TBox
A ℱ ℒ0 TBox (TBox for short) is a finite set ofℱ ℒ0-subsumptions. A model of a TBox
is an
interpretation such tha t  ⊆</p>
      <p>for all  ⊑  ∈  .
subsumed by</p>
      <p>w.r.t. a TBox
unifier of a unification problem Γ w.r.t. a TBox
if  () ⊑</p>
      <p>Let  and</p>
      <p>be concepts. We say tha t is
(written ⊑   ) if   ⊆   for each model of  .</p>
      <p>We say that is a
  ()
for each ⊑  ∈ Γ.</p>
      <p>TBox:</p>
      <p>Σ = { ⊑  ∣
henceforth denote 
cept names:</p>
      <p>Let  be an ℱ ℒ⊥ concept, and be a constant, that does not appear. inBy   we denote the
ℱ ℒ0-concept obtained fro m by replacing all occurrences o⊥f with the constan.tFor  =  ⊑ ,

 =</p>
      <p>⊑   . Given a finite set Γ of ℱ ℒ⊥-subsumptions, we define the corresponding setΓ of
ℱ ℒ0-subsumptions byΓ</p>
      <p>= {  ∣  ∈ Γ}. For a given finite set of subsumptionsΓ,   (Γ) is the set of
all concept names occuring iΓn,   (Γ) is the set of all role names occuring iΓn.For a given signature
Σ =&lt;   ,   &gt;, where   is a finite subset of   and  is a finite subset of  
, we define the following
for every  ∈   } ∪ { ⊑ ∀. ∣</p>
      <p>for every  ∈   }. To simplify notation, we
&lt;  ({}),  ({})&gt; as    , and express&lt;   (Γ),   (Γ) &gt; as Σ(Γ).</p>
      <p>The following theorem is similar to Lemm2a.2 in [2], which considers subsumptions between
conTheorem 2. An ℱ ℒ⊥-subsumption  of the form  ⊑ 
obtains if   ⊑     .
{( ( ))</p>
      <p>where  is in domain of } , then the signature ofis contained inΣ(Γ). Therefore:</p>
      <p>If  is a unifier of an ℱ ℒ⊥ unification problem Γ of the minimal size where size of is sum of
ℱ ℒ0-unifier w.r.t. the TBox   Σ(Γ).</p>
      <p>Theorem 3. Let Γ be a unification problem in ℱ ℒ⊥. Then Γ has an ℱ ℒ⊥-unifier if Γ has an
dificult than unification in ℱ ℒ⊥.</p>
      <p>We showed that the unification problem iℱn ℒ⊥ can be reduced to a unification problem inℱ ℒ0
with a TBox. This does not give us a solution for the unificationℱinℒ⊥, since unification inℱ ℒ0
with a TBox is not solved. However, it show that the unification problemℱ iℒn0 with a TBox is more</p>
      <sec id="sec-3-1">
        <title>6. Matching in ℱ ℒ⊥ is polynomial</title>
        <p>The matching problem is a special kind of a unification probl em≡ ?  , where  contains no variables.
In [3], it was shown that, with respect to general TBoxes, matching is ExpTime-complℱetℒe0in,
whereas for a restricted form of TBoxes, namelfyorward TBoxes, the complexity drops to PSpace. We
can transfer this result tℱoℒ⊥ via Theorem 3, obtaining that matchingℱinℒ⊥ is in PSpace. In
[4] (see Theorem 3.8) it was shown that matchingℱinℒ⊥ is polynomial. Here, we present another
simple-to-implement algorithm which solves the matching probleℱm ℒin⊥ in polynomial time.
Algorithm 1 Matching
Input:  ≡ ? ,</p>
        <p>where  does not contain variabl es=,  ⊓∀
Output: True if there is a matcher, False otherwise.
are (not necessarily diferent) variables, and1, … ,   are words over   .
1: procedure Matching( ≡ ?  )
1
. 1 ⊓⋯⊓∀  .  , where  does not contain variabl es,1, … ,  
2:
3:
4:
5:
6:
7:
8:
9:
if  ⋢ 
else</p>
        <p>then
return False
return True
for all ∀. ∈ 
such that∀. ∉</p>
        <p>and there is no∀ ′.⊥ ∈  where  ′ ≤  do
return False
if no ∀  .  is found then</p>
        <p>Find ∀  .  such that ≤  (  is a prefix of  )</p>
        <p>One can see that the algorithm must terminate in time polynomial in the size of the problem. In order
to justify the correctness of Algorith1mwe define a special substitutio n̂ . For every  occurring in
 ,  (̂ ) ∶=</p>
        <p>⨅{∀. ∣ ∀ . ∈ 
matching problem ≡ ?

and∀. ∈</p>
        <p>where  is a constant o⊥r}. Next we prove that a
has a unifier if the substitution ̂ is a unifier. The correctness follows from
the fact that the algorithm computes the substi t̂ .ution</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>7. Conclusions</title>
      <p>presented a simple algorithm that solves matching in polynomial time.</p>
      <p>We have presented three results related to the unification problemℱiℒn⊥. The unification type of
ℱ ℒ⊥ turns out to be nullary. Hencℱe, ℒ⊥ has the same type as the description logℰicℒs , ℱ ℒ0,
and  ℒ</p>
      <p>. The second result, reduction of the unification problem iℱnℒ⊥ to unification inℱ ℒ0
modulo a TBox   Σ implies that the unification problem iℱn ℒ⊥ is easier than the one iℱn ℒ0 with a
TBox. It is even easier than the unification ℱinℒ0 with a forward TBox. As the third result, we have</p>
    </sec>
    <sec id="sec-5">
      <title>Declaration on Generative AI</title>
      <p>During the preparation of this work, the authors used ChatGPT based on GPT-4o in order to: Grammar
and spelling check. After using this tool, the authors reviewed and edited the content as needed and
take full responsibility for the publication’s content.</p>
    </sec>
  </body>
  <back>
    <ref-list />
  </back>
</article>