<!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>N50 as an extension of G0 3</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mauricio Osorio</string-name>
          <email>osoriomauri@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jose Luis Carballido</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Claudia Zepeda</string-name>
          <email>czepedacg@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Benemerita Universidad Autonoma de Puebla, Facultad de Ciencias de la Computacion</institution>
          ,
          <addr-line>Puebla</addr-line>
          ,
          <country country="MX">Mexico</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Universidad de las Americas, Sta. Catarina Martir</institution>
          ,
          <addr-line>Cholula, Puebla</addr-line>
          ,
          <country country="MX">Mexico</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We present an extension of GLukG, a logic that was introduced in [6] as a three-valued logic under the name of G03. GLukG is a paraconsistent logic de ned in terms of 15 axioms, which serves as the formalism to de ne the p-stable semantics of logic programming. We introduce a new axiomatic system, N-GLukG, a paraconsistent logic that possesses strong negation. We use the 5-valued logic N50 , which is a conservative extension of GLukG, to help us to prove that N-GLukG is an extension of GLukG. N-GLukG can be used as the formalism to de ne the p-stable semantics as well as the stable semantics.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Deductive databases are an important aspect in the convergence of arti cial
intelligence and databases [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Currently it is necessary to have complex reasoning
tasks to deal with great amounts of data. Logic base systems are an option to
provide such complex reasoning capabilities. Speci cally, Deductive Database
Systems are forms of database management systems whose storage structures are
designed around a logical model of data and at the same time inference modules
for the Deductive Database Systems are designed on logic programming systems.
The Deductive Database Systems are based on deductive database theories that
always have associated a semantics. In general, a deductive database theory may
give di erent answers to a query depending on the semantics used.
      </p>
      <p>
        Two of the semantics that a database theory can be based on, are the stable
logic programming semantics (stable semantics) as well as the p-stable logic
programing semantics (p-stable semantics). The mathematical formalism to support
those semantics is the theory of intermediate and paraconsistent logics; thus,
intuitionism helps to express the stable semantics and the logic G03 helps to express
the p-stable semantics. In this work we study a new paraconsistent logic called
N-GLukG. N-GLukG has a stong negation besides having the native
paraconsistent negation, and it is capable of expressing both, the p-stable and the stable
semantics. With the help of the 5-valued logic N50 [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] we prove that N-GLukG is
an extension of GLukG. Furthermore, N-GLukG can be used as the formalism
to extend the p-stable semantics to a version that includes strong negation in a
similar way as the stable semantics has been extended to include such a negation
[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>Our paper is structured as follows. In section 2, we summarize some de
nitions and logics necessary to understand this paper. In section 3, we introduce
a new logic that is an extension of a known logic, this new logic satis es a
substitution theorem, and can express the stable semantics as well as the p-stable
semantics. Finally, in section 4, we present some conclusions.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Background</title>
      <p>
        We present several logics that are useful to de ne and study or logic N-GLukG.
We assume that the reader has some familiarity with basic logic such as chapter
one in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
2.1
      </p>
      <sec id="sec-2-1">
        <title>Hilbert style proof systems</title>
        <p>One way of de ning a logic is by means of a set of axioms together with the
inference rule of Modus Ponens.</p>
        <p>As examples we o er two important logics de ned in terms of axioms, which
are related to the logics we study later.</p>
        <p>
          C! logic [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] is de ned by the following set of axioms:
        </p>
        <p>Pos1
Pos2
Pos3
Pos4
Pos5
Pos6
Pos7
Pos8
C!1
C!2
a ! (b ! a)
(a ! (b ! c)) ! ((a ! b) ! (a ! c))
a ^ b ! a
a ^ b ! b
a ! (b ! (a ^ b))
a ! (a _ b)
b ! (a _ b)
(a ! c) ! ((b ! c) ! (a _ b ! c))
a _ :a
::a ! a</p>
        <p>
          The rst eight axioms of the list de ne positive logic. Note that these axioms
somewhat constraint the meaning of the !, ^ and _ connectives to match our
usual intuition. It is a well known result that in any logic satisfying axioms Pos1
and Pos2, and with modus ponens as its unique inference rule, the Deduction
Theorem holds [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ].
2.2
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Axiomatic de nition of GLukG</title>
        <p>
          We present a Hilbert-style axiomatization of G03 that is a slight (equivalent)
variant of the one presented in [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. We present this logic, since it will be extended
to a new logic called N-GLukG, which possesses a strong negation and is the
main contribution of this work.
        </p>
        <p>GLukG logic has four primitive logical connectives, namely GL := f!; ^; _; :g.
GLukG-formulas are formulas built from these connectives in the standard form.
We also have two de ned connectives:
:=
! (: ^ :: ).</p>
        <p>$</p>
        <p>:= ( ! ) ^ ( ! ).</p>
        <p>GLukG Logic has all the axioms of C! logic plus the following:</p>
        <p>E1
E2
E3
E4
E5
(: ! : ) $ (:: ! :: )
::( ! ) $ (( ! ) ^ (::
::( ^ ) $ (:: ^ :: )
( ^ : ) ! ( ! )
::( _ ) $ (:: _ :: )</p>
        <p>! :: ))</p>
        <p>Note that Classical logic is obtained from GLukG by adding to the list of
axioms any of the following formulas: !:: ; !(: ! ); (: !: )!( ! ).
On the other hand, ! : is a theorem in GLukG, that is why we call the
\ " connective a strong negation.</p>
        <p>In this paper we consider the standard substitution, here represented with
the usual notation: '[ =p] will denote the formula that results from substituting
the formula in place of the atom p, wherever it occurs in '. Recall the recursive
de nition: if ' is atomic, then '[ =p] is when ' equals p, and ' otherwise.
Inductively, if ' is a formula '1#'2, for any binary connective #. Then '[ =p]
will be '1[ =p]#'2[ =p]. Finally, if ' is a formula of the form :'1, then '[ =p]
is :'1[ =p].
2.3</p>
        <sec id="sec-2-2-1">
          <title>GLukG as a multi-valued logic and the multi-valued logic N50</title>
          <p>
            It is very important for the purposes of this work to note that GLukG can also be
presented as a multi-valued logic. Such presentation is given in [
            <xref ref-type="bibr" rid="ref7">7</xref>
            ], where GLukG
is called G03. In this form it is de ned through a 3-valued logic with truth values
in the domain D = f0; 1; 2g where 2 is the designated value. The evaluation
functions of the logic connectives are then de ned as follows: x ^ y = min(x; y);
x _ y = max(x; y); and the : and ! connectives are de ned according to the
truth tables given in Table 1. We write j= to denote that the formula
is a tautology, namely that evaluates to 2 (the designated value) for every
valuation.
          </p>
          <p>In this paper we keep the notation G03 to refer to the multi-valued logic just
de ned, and we use the notation GLukG to refer to the Hilbert system de ned
at the beginning of this section.</p>
          <p>There is a small di erence between the de nitions of G03 and Godel logic
G3: the truth value assigned to :1 is 0 in G3. G3 accepts an axiomatization
that includes all of the axioms of intuitionistic logic. In particular, the formula
(a ^ :a) ! b is a theorem, therefore G3 is not paraconsistent.</p>
          <p>
            The next couple of results are facts we already know about the logic G03
Theorem 1. [
            <xref ref-type="bibr" rid="ref6">6</xref>
            ] For every formula ,
in GLukG.
is a tautology in G03 i
is a theorem
Theorem 2 (Substitution theorem for G03-logic). [
            <xref ref-type="bibr" rid="ref6">6</xref>
            ]Let , and be
GLukG-formulas and let p be an atom. If $ is a tautology in G03 then
[ =p] $ [ =p] is a tautology in G03.
          </p>
          <p>
            Corollary 1. [
            <xref ref-type="bibr" rid="ref6">6</xref>
            ]Let , and be GLukG-formulas and let p be an atom. If
$ is a theorem in GLukG then [ =p] $ [ =p] is a theorem in GLukG.
          </p>
          <p>
            Now we present N50 , a 5-valued logic de ned in [
            <xref ref-type="bibr" rid="ref5">5</xref>
            ]. We will use the set of values
f 2; 1; 0; 1; 2g. Valid formulas evaluate to 2, the chosen designated value. The
connectives ^ and _ correspond to the min and max functions in the usual way.
For the other connectives, the associated truth tables are in table 2.
In this section we introduce a new logic we will call N-GLukG. We prove that
N-GLukG is an extension of GLukG (Theorem 4), that it satis es a substitution
theorem (Theorem 5), and that it can express the stable semantics as well as the
p-stable semantics. N-GLukG is de ned in terms of an axiomatic system. The
axioms are chosen in such a way that N-GLukG is sound with respect to N50 ,
i.e. every theorem of N-GLukG is a tautology in N50 . The only inference rule is
modus ponens. Here is our list of 19 axioms:
          </p>
          <p>C!2
NPos1
NPos2
NPos3
NPos4
NPos5
NPos6
NPos7
NPos8
::a ! a
::(a ! (b ! a))
::((a ! (b ! c)) ! ((a ! b) ! (a ! c)))
::(a ^ b ! a)
::(a ^ b ! b)
::(a ! (b ! (a ^ b)))
::(a ! (a _ b))
::(b ! (a _ b))
::((a ! c) ! ((b ! c) ! (a _ b ! c)))
::(a _ :a)
::(::a ! a)
::((:a ! :b) $ (::b ! ::a))
::(::(a ! b) ! ((a ! b) ^ (::a ! ::b)))
::( (a ! b) $ a^ b)
::( (a ^ b)$ a_ b)
::( (a _ b)$ a^ b)
::(a$ a)
::( :a $ ::a)
::( a ! :a)</p>
          <p>We have a de ned connective: $ := ( ! ) ^ ( ! ). Also we note that
the connective _ is not an abbreviation.</p>
          <p>Observe that the inclusion of axiom C!2 assures that each of the other 16
axioms becomes a theorem in N-GLukG when dropping the double negation
in front of them, this way we recover as theorems the axioms that de ne the
positive logic as well as some of those that de ne GLukG. The convenience
of having double negation in front of all these axioms is key in the proof of
the substitution property (Theorem 5) presented at the end of this section. In
particular the deduction theorem is valid in N-GLukG: ` if and only if
` ! .</p>
          <p>Next we present some of the rst results about N-GLukG:
Theorem 3. N-GLukG logic is sound with respect to N50 logic.</p>
          <p>From this result we conclude that the logic N-GLukG is paraconsistent, since
the formula (:a ^ a) ! b is not a theorem. Now we continue looking at some
properties of N-GLukG. In particular we have that the connective of N-GLukG
is not a paraconsistent negation as the following proposition shows.</p>
        </sec>
        <sec id="sec-2-2-2">
          <title>Proposition 1. The formula (a^</title>
          <p>a) ! b is a theorem in N-GLukG.</p>
          <p>We also have the following result as a consecuence of theorem 3.
Theorem 4. Every theorem in N-GLukG that can be expressed in the language
of GLukG, is a theorem in GLukG.</p>
          <p>Now we present a substitution theorem for N-GLukG logic. The next lemma
is interesting on its own and plays a role in the proof of the theorem.</p>
        </sec>
      </sec>
      <sec id="sec-2-3">
        <title>Lemma 1. If</title>
        <p>N-GLukG.</p>
        <p>is a theorem in N-GLukG, then ::
is also a theorem in</p>
        <p>For the next result, we introduce the notation
formula ( $ ) ^ ( $ ).
as equivalent to the
Theorem 5. Let , and be N50 -formulas and let p be any atom. If ,
is a theorem in N-GLukG then [ =p] , [ =p] is a theorem in N-GLukG.</p>
        <p>So far we have looked at some properties of logics N-GLukG and N50 . Now
we would like to point out the theoretical value of these logics in the context of
logic programming and knowledge representation.</p>
        <p>Lemma 2. In N-GLukG the weak explosion principle is valid: For any formulas
; , the formula : ^ :: ! , is a theorem.</p>
        <p>According to this, we can de ne a bottom particle in N-GLukG.
De nition 1. For any xed formula
: ^ :: .
let us de ne the bottom particle ? as
Lemma 3. The fragment of N-GLukG de ned by the symbols ^; _; !; ?
contains all theorems of intuitionism.</p>
        <p>
          As indicated in the introduction, logic GLukG(as some other paraconsistent
logics) can be used as the formalism to de ne the p-stable semantics in the same
way as intuitionism (as some other constructive logics) serves as the
mathematical formalism of the theory of answer set programming (stable semantics) [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
Accordingly we can state the next result.
        </p>
        <p>Theorem 6. N-GLukG can express the stable semantics as well as the p-stable
semantics.
4</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Conclusions and Future Work</title>
      <p>In this paper, we introduce a new logic called N-GLukG, it can be used as a
formalism to de ne two logic programming semantics: stable and p-stable. These
logic programming semantics could be used to de ne the semantics of deductive
databases.</p>
      <p>Funding. This work was supported by the Consejo Nacional de Ciencia y Tecnolog a
[CB-2008-01 No.101581].</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>W. A.</given-names>
            <surname>Carnielli</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Marcos</surname>
          </string-name>
          .
          <source>Logics of Formal Inconsistency. Handbook of Philosophical Logic</source>
          , Kluwer Academic Publishers, pages
          <volume>848</volume>
          {
          <fpage>852</fpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. N. da
          <string-name>
            <surname>Costa</surname>
          </string-name>
          .
          <article-title>On the theory of inconsistent formal systems</article-title>
          .
          <source>Notre Dame Journal of Formal Logic</source>
          ,
          <volume>15</volume>
          (
          <issue>4</issue>
          ):
          <volume>497</volume>
          {
          <fpage>510</fpage>
          ,
          <year>1974</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>E.</given-names>
            <surname>Mendelson</surname>
          </string-name>
          .
          <source>Introduction of Mathematical Logic</source>
          . Wadsworth, Belmont, CA, third edition,
          <year>1987</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>M.</given-names>
            <surname>Ortiz</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Osorio</surname>
          </string-name>
          .
          <article-title>Strong Negation and Equivalence in the Safe Belief Semantics</article-title>
          .
          <source>In Journal of Logic and Computation</source>
          ,
          <volume>499</volume>
          -
          <fpage>515</fpage>
          , April,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>M.</given-names>
            <surname>Osorio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Zepeda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.L.</given-names>
            <surname>Carballido</surname>
          </string-name>
          et al.
          <source>Mathematical Models and ITC: Theory and Applications. Chapter</source>
          <volume>1</volume>
          :
          <string-name>
            <given-names>Mathematical</given-names>
            <surname>Models</surname>
          </string-name>
          .
          <article-title>Section 2: N5 as an extension of G3. Fondo Editorial BUAP</article-title>
          .
          <source>ISBN: 978-607-487-353-5</source>
          . 1:
          <fpage>11</fpage>
          -
          <lpage>18</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>M.</given-names>
            <surname>Osorio</surname>
          </string-name>
          and
          <string-name>
            <given-names>J. L.</given-names>
            <surname>Carballido</surname>
          </string-name>
          .
          <article-title>Brief study of G'3 logic</article-title>
          .
          <source>Journal of Applied NonClassical Logic</source>
          ,
          <volume>18</volume>
          (
          <issue>4</issue>
          ):
          <volume>79</volume>
          {
          <fpage>103</fpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>M.</given-names>
            <surname>Osorio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Navarro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Arrazola</surname>
          </string-name>
          , and
          <string-name>
            <given-names>V.</given-names>
            <surname>Borja</surname>
          </string-name>
          .
          <article-title>Logics with common weak completions</article-title>
          .
          <source>Journal of Logic and Computation</source>
          ,
          <volume>16</volume>
          (
          <issue>6</issue>
          ):
          <volume>867</volume>
          {
          <fpage>890</fpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>D.</given-names>
            <surname>Pearce</surname>
          </string-name>
          .
          <article-title>Stable Inference as Intuitionistic Validity</article-title>
          .
          <source>The journal of Logic Programming</source>
          ,
          <volume>38</volume>
          :
          <fpage>79</fpage>
          -
          <lpage>91</lpage>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <article-title>9. DLV system</article-title>
          . http://www.dlvsystem.com/dlvdb/.
          <source>(Last consulted: April</source>
          <volume>15</volume>
          ,
          <year>2013</year>
          .).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>