<!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>Three new genuine ve-valued logics</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mauricio Osorio</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Claudia Zepeda</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Universidad de las Americas-Puebla</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Benemerita Universidad Atonoma de Puebla</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>osoriomauri</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>czepedacg@gmail.com</string-name>
        </contrib>
      </contrib-group>
      <fpage>84</fpage>
      <lpage>96</lpage>
      <abstract>
        <p>We introduce three 5-valued paraconsistent logics that we name FiveASP1, FiveASP2 and FiveASP3. Each of these logics is genuine and paracomplete. FiveASP3 was constructed with the help of Answer Sets Programming. The new value is called e attempting to model the notion of ineffability. If one drops e from any of these logics one obtains a well known 4-valued logic introduced by Avron. If, on the other hand one drops the \implication" connective from any of these logics, one obtains Priest logic FDEe. We present some properties of these logics.</p>
      </abstract>
      <kwd-group>
        <kwd>many-valued logics</kwd>
        <kwd>genuine paraconsistent logic</kwd>
        <kwd>ineffability</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Belnap [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] claims that a 4-valued logic is a suitable framework for
computerized reasoning. Avron in [
        <xref ref-type="bibr" rid="ref1 ref2 ref3 ref4">3,2,4,1</xref>
        ] supports this thesis. He shows that a 4-valued
logic naturally express true, false, inconsistent or uncertain information. Each
of these concepts is represented by a particular logical value. Furthermore in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]
he presents a sound and complete axiomatization of a family of 4-valued logics.
      </p>
      <p>
        On the other hand, Priest argues in [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ] that a 4-valued logic models very
well the four possibilities explained before, but here in the context of Buddhist
meta-physics, see for instance [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ]. This logic is called FDE, but such logic fails
to satisfy the well known Modus Ponens inference rule. If one removes the
implication connective in this logic, it corresponds to the corresponding fragment
of any of the logics studied by Avron. Priest then extends FDE to a 5-valued
logic named FDEe, see [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ]. This new logic has a new valued e with the aim to
represent the notion of ineffability, but FDEe lacks of an implication connective.
      </p>
      <p>
        Some authors claim that many arguments formulated in Buddhist texts
correspond to such well recognized rules of inference as Modus Ponens, constructive
dilemma and categorical syllogism (also known as hypothetical syllogism) among
other rules of inference, see [
        <xref ref-type="bibr" rid="ref14 ref21">21,14</xref>
        ]. Having an implication that does not satisfy
Modus Ponens or removing the implication connective, can be consider as a kind
of weakness of FDEe, see [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ].
      </p>
      <p>
        However Priest makes a remarkable work by studying in great detail the
work of the buddhist texts from the Pali Canon to the MMK by Nagarjuna and
beeing able to model their way of reasoning in terms of modern noCn-ocplyarsisgihcta©l 2019 for this paper by its authors.
logics [
        <xref ref-type="bibr" rid="ref22 ref23 ref24 ref25">22,23,24,25</xref>
        ]. Attribution 4.0 International (CC BY 4.0)
      </p>
      <p>A main issue is to represent the notion of ineffability. The fth value, e, then,
is the value of ineffable.</p>
      <p>
        There is a complex but well known phenomenon that often arises when a
philosophy argues that there are limits to thought/language, and tries to justify
this view by giving reasons as to why there are things about which one cannot
think/talk|in the process appearing to give the lie to the claim. In poetry we
also nd a similar situation: the need to talk about extreme situations, which
somehow we can not talk [
        <xref ref-type="bibr" rid="ref17 ref8">8,17</xref>
        ]. Priest is concerned with that phenomenon.
      </p>
      <p>According to him, Buddhist philosophy has resources to address this kind of
issue much less present in Western traditions. Buddhist logicians consider that
there are four possibilities: only true, only false, both true and false, and nally
neither true or false. Later developments add a fth possibility: ineffability3. Of
course, one might be skeptical that such ideas can be made logically respectable.</p>
      <p>Priest shows how to accomplish this task with some tools from contemporary
non-classical logic. His work is impeccable, but as stated earlier, we consider
prudent to extend FDEe logic with an "implication" connective that at least
satis es Modus Ponens.</p>
      <p>
        For the nature of this work is desirable to consider the use of
paraconsistent logics [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. In addition recent work on these logics considers also some
useful relative new properties, namely genuineness and paracompleteness, see
[
        <xref ref-type="bibr" rid="ref15 ref18 ref20 ref4 ref7">7,15,20,18,4</xref>
        ]. Arguments in favor of rejecting the law of non-contradiction have
been supported more recently by the research done on paraconsistent logics and
the applications they have encountered, in particular, in arti cial intelligence.
      </p>
      <p>Paraconsistent logics accept inconsistencies without presenting the problem that
once a contradiction has been derived, then any proposition follows as a
consequence, as is the case of classical logic.</p>
      <p>
        We introduce three paraconsistent (genuine and paracomplete) logics that
are constructed based on the combination of two logics: BDEe (by Priest) and
a version of Four due to Avron that we call it BL . The main point is to add
an implication to FDEe that satis es (at least) Modus Ponens. Furthermore,
as a second contribution (a minor one) we brie y explain how to use Answer
Set Programming (ASP) [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] to construct one of our logics, namely FiveASP3.
      </p>
      <p>
        According to our experience, we know that always it is very useful to have
software tools that help us to analyze logics. One of these tools is the ASP
tool called clasp4, which computes the answer sets of logic programs. ASP is
a declarative knowledge representation and logic programming language, it has
been used to develop different approaches in the areas of planning, logical agents
and arti cial intelligence [
        <xref ref-type="bibr" rid="ref12 ref6">6,12</xref>
        ].
3 As far as the authors know, buddhist texts never talk explicitly about ve
possibilities, as they actually mention four cases. However, Priest shows that buddhist
narratives assume this sort of incommensurable fth, see [
        <xref ref-type="bibr" rid="ref22 ref23 ref24 ref25">22,23,24,25</xref>
        ].
4 http://potassco.sourceforge.net
      </p>
    </sec>
    <sec id="sec-2">
      <title>Background</title>
      <p>
        In this section, we present two of the more common ways of de ning a logic, and
provide examples. In Section 2.1 we de ne a logic from the semantical point of
view, particularly via muti-valued systems. On the other hand, in Section 2.2,
we present one axiomatic formal system for logic BL , provided by Avron in
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
2.1
      </p>
      <sec id="sec-2-1">
        <title>Multi-valued logics</title>
        <p>A way to de ne a logic is by means of truth values and interpretations.
Multivalued systems generalize the idea of using the truth tables that are used to
determine the validity of formulas in classical logic. It has been suggested that
multi-valued systems should not count as logics; on the other hand pioneers
such as Lukasiewicz considered such multi-valued systems as alternatives to the
classical framework. Like other authors do, we prefer to give to multi-valued
systems the bene t of the doubt about their status as logics.</p>
        <p>The core of a multi-valued system is its domain of values D, where some of
such values are special and identi ed as designated. Connectives (e.g. ^, _, !,
:) are then introduced as operators over D according to the particular de
nition of the logic. An interpretation is a function I : L ! D that maps atoms
to elements in the domain. The application of I is then extended to arbitrary
formulas by mapping rst the atoms to values in D, and then evaluating the
resulting expression in terms of the connectives of the logic. A formula is said
to be a tautology if, for every possible interpretation, the formula evaluates to
a designated value. The most simple example of a multi-valued logic is classical
logic where: D = f0; 1g, 1 is the unique designated value, and connectives are
de ned through the usual basic truth tables.</p>
        <p>Not all multi-valued logics must have the four connectives mentioned before,
in fact classical logic can be de ned in terms of two of those connectives :; ^
(primitive connectives), and the other two (non-primitive) can be de ned in
terms of :; ^. In case of a logic having the implication connective, it is desirable
that it preserves tautologies, in the sense that if x; x ! y are tautologies, then
y is also a tautology. This restriction enforces the validity of Modus Ponens in
the logic.</p>
        <p>Since we will be working with several logics, we will use subindices next
to the connectives to specify to which logic they correspond, for example :K
corresponds to the connective : of Kleene's logic. In those cases where the given
logic is understood from the context, we drop such subindexes. Objects 0, 1, 2
and 3 are part of the semantics of logics studied in this paper and were chosen
only for convenience, it does not correspond to natural numbers.</p>
        <p>
          A logic satis es the principle of explosion (EFQ)) if x; :x j= y. A logic is
paraconsistent if it rejects the principle of explosion. A logic satis es the principle
of non-contradiction (PNC) if j= :(x ^ :x). A logic is genuine if it rejects the
principle of non-contradiction. A logic satis es the law of excluded middle if
j= x _ :x. A logic is paracomplete if it rejects the law of excluded middle.
Kleene's 3-valued logic. The Kleene's 3-valued logic, denote here by K, is
de ned in [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. Kleene's logic is a 3-valued logic with truth values in the domain
D = f0; 1; 3g, where 3 is the only designated value5. Conjunction and disjunction
are de ned as the min and max functions respectively, namely ^ = min( ; );
and _ = max( ; ). The connectives !K and :K are de ned according to
the tables given in Table 1. It is important to mention that in this paper we use
the implication of Kleene as de ned by Avron in [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ].
        </p>
        <p>
          The basic 3-valued paraconsistent logic PAC. We consider the domain of
the logic P AC as D = f0; 2; 3g, this logic is a 3-valued paraconsistent logic with
2 and 3 as designated values (We take this domain with the purpose of P AC
becomes a fragment of BL logic). The connectives :, ^ and _ have exactly
the same properties as those of the logic K. Table 2 shows the truth tables of
connectives :PAC and !PAC [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ].
        </p>
        <p>Logic BL . This logic is a 4-valued logic with truth values in the domain
D = f0; 1; 2; 3g where 2 and 3 are the designated values. The connectives ^ and
_, as usually, correspond to the greatest lower bound (Glb) and the least upper
bound (Lub), respectively. The connectives : and ! are de ned according to
the truth tables given in Table 3.
5 The reason for considering this domain is that these values and the behavior of its
connectives coincide with part of the logic BL .</p>
        <p>The logic BL is represented in Fig. 1. Note that if we consider only the
values 0, 1 and 3 (right part of the Fig. 1) we obtain the Kleene's logic while if
we take the values 0, 2 and 3 (left part of the Fig. 1) we have the P AC logic.</p>
        <p>
          As A. Avron mentions in [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], BL is interlaced 6 and hence satis es 1 ^ 2 = 0
and 1 _ 2 = 3. As a consequence of this result, we can take D = f1; 2g. However,
for simplicity we use D = f0; 1; 2; 3g.
Let us consider HBL, a formal axiomatic theory for BL [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] formed by the
primitive logical connectives: :; !; ^ and _. We also consider one logical connective
de ned in terms of the primitive ones:
$
        </p>
        <p>:= ( ! ) ^ ( ! )
the well-formed formulas are constructed as usual, the axiom schemas are:
I1
I2
I3
C1</p>
        <p>
          ! ( ! )
( ! ( ! )) ! (( ! ) ! ( ! ))
(( ! ) ! ) !
( ^ ) !
6 This means that each one of ^, and _ is monotonic with respect to both t and
[
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]
k
C2
C3
D1
D2
D3
N1
N2
N3
N4
and as the only inference rule: Modus Ponens
!
! ))
        </p>
        <p>Logic BL is sound and complete with respect to this axiomatization.</p>
        <sec id="sec-2-1-1">
          <title>Theorem 1. [3][Soundness and Completeness]</title>
          <p>⊢BL
if and only if
j=BL
:
2.3</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>First Degree Entailment system</title>
        <p>
          This subsection is a summary of some material from [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ] that we need to borrow
for the de nition of our logics.
        </p>
        <p>First Degree Entailment (FDE) is a system of logic de ned by Priest that
can be set up in many ways, but one of these is as a 4-valued logic whose values
are t (true only), f (false only), b (both), and n (neither). Negation maps t to f ,
vice versa, n to itself, and b to itself. Conjunction is greatest lower bound, and
disjunction is least upper bound. The set of designated values, D, is fb; tg The
four corners of truth and the FDE logic seem like a correct match.</p>
        <p>FDE can be characterised by the following sound and complete rule system,
where a double line indicates a two-way rule, and overlining indicates discharging
an assumption7:</p>
        <p>A;B A^B
A^B A(B)</p>
        <p>A(B) A_B A:::C B:::C
:(AA_^BB) :(AC_B) ::A
:A_:B :A^:B A</p>
        <p>Now we move to FDEe, a 5-valued logic that incorporates the notion of
ineffability. According to Priest, technically, the obvious thought is to add a new
value, e, to our existing four ft; f; b; ng), expressing this new status.</p>
        <p>Since e is the status of claims such that neither they nor their negations
should be accepted, it should obviously not be designated. Thus, we still have
that same designated values. Priest addresses the following major question: How
are the connectives to behave with respect to e?</p>
        <p>Both e and n are the values of things that are, in some sense, neither true
nor false, but they need to behave differently if the two are to represent distinct
alternatives. The simplest suggestion is to take e to be such that whenever any
input has the value e, so does the output: e-in=e-out.</p>
        <p>The logic that results by modifying FDE in this way is obviously a sub-logic
of it. It is a proper sub-logic. It is not difficult to check that all the rules of FDE
are designation-preserving except the rule for disjunction-introduction, which is
not, as an obvious counter-model shows. However, replace this with the rules:
φ(A) C φ(A) C φ(A) (B) C</p>
        <p>A_C :A_C (A^B)_C
where φ(A) and (B) are any sentences containing A and B. Call these the
φ Rules, and call this system F DEφ. F DEφ is sound and complete with respect
to the semantics.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Our 5-valued logics</title>
      <p>We present three logics that are constructed based on the combination of two
logics: BDEe (by Priest) and BL .</p>
      <p>The core of the three logics is based on the following assumptions.</p>
      <p>We have 5 values: f0; 1; 2; 3; eg. FDEe uses ff; n; b; t; eg instead. The
designated values are f2; 3g as FDEe. f0; 1; 2; g de nes a lattice where 0 &lt; 1, 0 &lt; 2,
1 &lt; 3, 2 &lt; 3. The connective _ is the lub, while ^ is the glb.</p>
      <p>Since e is interpreted as ineffable then X op e = e op X = e, where X 2
f0; 1; 2; 3; eg. With respect to negation ( ), we have 0 = 3, 3 = 0, 1 = 1,
2 = 2, e = e.</p>
      <p>Implication is as de ned by Avron for the subdomain f0; 1; 2; 3g, namely:
X ! Y = 3 when X is not designated, X ̸= e, Y ̸= e. While X ! Y = Y when
X is designated, Y ̸= e.</p>
      <p>The next two expressions are yet unde ned e ! X and e ! X for X in
f0; 1; 2; 3; eg.</p>
      <p>Notice that the sublogic de ned in the subdomain f0; 1; 2; 3g corresponds
exactly to BL logic. Also the sublogic in the domain f0; 1; 2; 3; eg but eliminating
the implication connective correspond exactly to FDEe.
3.1</p>
      <sec id="sec-3-1">
        <title>FiveASP1</title>
        <p>This logic tries to stay very close to FDEe. We de ne e ! X = X ! e = e for
X 2 f0; 1; 2; 3; eg, and we name this logic as FiveASP1.</p>
        <sec id="sec-3-1-1">
          <title>Theorem 2. FiveASP1 is a paraconsistent, genuine and paracomplete logic.</title>
          <p>Proof (sketch). Directly using truth tables. For example, to prove that it is
paracomplete, it is enough to evaluate the formulas with val(X) = 1, for every
atom X.</p>
          <p>FDEe admits no tautologies. FiveASP1 is faithful in this aspect to FDEe and
hence we have the following result.</p>
        </sec>
        <sec id="sec-3-1-2">
          <title>Theorem 3. FiveASP1 admits no tautologies.</title>
          <p>Proof (sketch). Evaluating each atom in any formula with e, then the nal
evaluation is e which is not designated.</p>
        </sec>
        <sec id="sec-3-1-3">
          <title>Theorem 4. FiveASP satis es:</title>
        </sec>
        <sec id="sec-3-1-4">
          <title>1. Modus ponens and Hipothetical sylogism.</title>
        </sec>
        <sec id="sec-3-1-5">
          <title>2. All inference rules of FDEe.</title>
          <p>Proof (sketch). (case 1) They are proven by contradiction using truth tables.
(case 2) They are proven by construction, since the three logics behave as logic
FDEe regarding the connectives ^, _ and negation, and that logic satis es such
inference rules.
3.2</p>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>FiveASP2</title>
        <p>This logic is somehow the \middle way" between logics FiveASP1 and FiveASP3
(to be introduced soon). It only changes \e ! e = e" (in FiveASP1) to \e !
e = 3" (in FiveASP2), in order to allow some basic tautologies. Recall that
the notion of ineffable is to some extend paradoxical, we can not talk about
something ineffable but actually we do it in order to convey a given major
message (at least partially). Here, we have that: if X is ineffable and is true and
only true that X ! Y , then (our logic claims that) Y is ineffable.</p>
        <p>We de ne e ! X = X ! e = e for X 2 f0; 1; 2; 3g and e ! e = 3 and we
name this logic as FiveASP2.</p>
        <sec id="sec-3-2-1">
          <title>Theorem 5. FiveASP2 is a paraconsistent, genuine and paracomplete logic.</title>
          <p>Proof (sketch). Directly using truth tables.</p>
          <p>We can observe that FiveASP2 satis es some well known tautologies, as
X ! X and De Morgan laws, among some of them. Hence, we have the following
theorem.</p>
        </sec>
        <sec id="sec-3-2-2">
          <title>Theorem 6. FiveASP2 admits some tautologies.</title>
          <p>Proof (sketch). FiveASP2 accept the mentioned tautologies in the phrase
previous to this theorem and they are proven directly.</p>
        </sec>
        <sec id="sec-3-2-3">
          <title>Theorem 7. FiveASP2 satis es:</title>
        </sec>
        <sec id="sec-3-2-4">
          <title>1. Modus Ponens and Hipothetical Sylogism.</title>
        </sec>
        <sec id="sec-3-2-5">
          <title>2. All inference rules of FDEe.</title>
          <p>
            Proof (sketch). (case 1) They are proven by contradiction using truth tables.
(case 2) They are proven by construction, since the three logics behave as logic
FDEe regarding the connectives ^, _ and negation, and that logic satis es such
inference rules.
This logic is kind of pragmatic and the connective \Implication" is a kind of
metalinguistic connective [
            <xref ref-type="bibr" rid="ref9">9</xref>
            ], we name this logic as FiveASP3. We do not allow
to have two values X, Y such that X ! Y = e, and hence FiveASP3 is the other
extreme case with respect to FiveASP1 logic. Note that this logic gains many
well know tautologies. This logic complies with the tautologies I1-I3, C1-C3, D3,
N1-N4 (see section 2.2). We consider this logic potentially useful in Arti cial
Intelligence applied to art (literature). The connective ! is de ned according to
the truth table given in Table 4.
          </p>
        </sec>
        <sec id="sec-3-2-6">
          <title>Theorem 8. FiveASP3 is a paraconsistent, genuine and paracomplete logic.</title>
          <p>Proof (sketch). Directly using truth tables.</p>
          <p>We can observe that FiveASP3 satis es many well known tautologies, as
X ! X and De Morgan laws, the standard two implication rules for positive
logic among some of them. Hence, we have the following theorem.</p>
        </sec>
        <sec id="sec-3-2-7">
          <title>Theorem 9. FiveASP3 admits some tautologies.</title>
          <p>Proof (sketch). FiveASP3 accepts the mentioned tautologies in the phrase
previous to this theorem and they are proven directly.</p>
        </sec>
        <sec id="sec-3-2-8">
          <title>Theorem 10. FiveASP3 satis es:</title>
        </sec>
        <sec id="sec-3-2-9">
          <title>1. Modus Ponens and Hipothetical Sylogism.</title>
        </sec>
        <sec id="sec-3-2-10">
          <title>2. All inference rules of FDEe.</title>
          <p>Proof (sketch). (case 1) They are proven by contradiction using truth tables.
(case 2) They are proven by construction, since the three logics behave as logic
FDEe regarding the connectives ^, _ and negation, and that logic satis es such
inference rules.</p>
          <p>Recall that ASP is logic programming that allows to write the speci cation
of a problem (de ning only the \what" with no concern to the \how"). On this
regard, it follows a generate and test strategy. In this case our concern is to
de ne an implication operator that satis es certain given constraints. To de ne
such implication operator we write:</p>
          <p>Meaning that given the domain for X; Y (in this case v(X), v(Y )) we de ne
a function "impl" with co-domain Z (de ned by v(Z)).</p>
          <p>The rest of the code provides basic de nitions such as the domain, the
designated values, etc. and also some constraints (test part) such as for example:
:</p>
          <p>not impl(Y; X; 3); v1(Y ); v1(X); notdes(Y ):</p>
          <p>This constraint says that our implication operator should behaved as BL ,
namely that if the rst argument of the implication operator is not designated
(and belongs to the subdomian of this 4-valued logic) then our operator should
evaluate to 3. In the appendix A, the complete program code with some further
comments is presented.
4</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusions</title>
      <p>We introduce three 5-valued logics by combining FDEe and BL . The three of
them satisfy the following properties: they are paraconsistent, genuine and
paracomplete logics. They satisfy Modus Ponens and Hypothetical Syllogism as well
as all inference rules of FDEe. More research needs to be done to understand
these logics and to nd further mathematical properties of each of them. We
also believe that our logics or some extensions of them could be used to
represent/understand complex poems where inconsistent, uncertain and/or ineffable
beliefs are considered.</p>
      <p>
        It is also interesting to consider extending these logics by de ning a
possibilistic version of each of our three logics, see [
        <xref ref-type="bibr" rid="ref11 ref19">11,19</xref>
        ]. In this way we could
(perhaps) gain a new dimension of expressibility of some notions.
      </p>
    </sec>
    <sec id="sec-5">
      <title>Appendix</title>
      <p>FiveASP3.clasp is a program that builds a logic of ve values from two logic,
one from Priest and another from Avron. The logic of Priest has ve values
but does not include implication connective. Avron's logic has only four values
but includes all the connectives. We verify known tautologies, among these:
(x^y) ! x, (x^y) ! y, x ! (y ! (x^y)), (x_y) ! ((x ! z) ! ((y ! z)) ! z),
y $ ::y, Pierce formula ((x ! y) ! x) ! x.
#show impl/3.
v1(0..3). v(e). v(X):- v1(X).</p>
      <p>des(2..3).
%% Definition AND (Priest)
and(X,X,X) :- v1(X). and(0,X,0) :- v1(X).
and(X,3,X) :- v1(X). and(3,X,X) :- v1(X).
and(2,1,0). and(e,X,e) :- v(X).
%% Definition OR (Priest)
or(X,X,X):- v1(X). or(0,X,X):- v1(X).
or(X,3,3):- v1(X). or(3,X,3):- v1(X).
or(2,1,3). or(e,X,e) :- v(X).
and(X,0,0):- v1(X).
and(1,2,0).</p>
      <p>and(X,e,e) :- v(X).
or(X,0,X):- v1(X).
or(1,2,3).
% impl (Any function of 2 arguments)
1 { impl(X,Y,Z) : v(Z) } 1 :- v(X), v(Y).
% Restrictions for the implication of Avron (4-valued logic)
:- not impl(Y,X,3), v1(Y), v1(X), not des(Y).
:- not impl(Y,X,X), v1(Y), v1(X), des(Y).
% Traditional definition of equivalence
equ(X,Y,Z) :- impl(X,Y,L), impl(Y,X,R), and(L,R,Z).
% Definition of negation according to Priest
neg(0,3).
neg(3,0).
neg(1,1).
neg(2,2).
neg(e,e).
%% inference rules MP
:- impl(X,Y,Z), des(X), des(Z), v(Y), not des(Y).
%% axioms 1,2 impl,
%X -&gt; ( Y -&gt; X)
:- impl(Y,X,Z), impl(X,Z,R), v(R), not des(R).
% (X -&gt; (Y -&gt; Z)) -&gt; ( ( X -&gt; Y) -&gt; (X -&gt; Z)
%% -(A -&gt;B) &lt;-&gt; (A &amp; -B)
:- impl(A,B,L), neg(L,L1), neg(B,B1), and(A,B1,R), equ(L1,R,Q),
not des(Q), v(Q).
%%% FINISHES Basic construction.
%There are exactly 4 logics that meet the above.
%% We eliminate the one that evaluate e for values at {0,1,2,3} x {e}
% to contrast with logic fiveASP1. The result is a single logic.
:- impl(X,e,e), v1(X).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Ofer</given-names>
            <surname>Arieli</surname>
          </string-name>
          and
          <string-name>
            <given-names>Arnon</given-names>
            <surname>Avron</surname>
          </string-name>
          .
          <article-title>Logical bilattices and inconsistent data</article-title>
          .
          <source>In Proceedings of the Ninth Annual Symposium on Logic in Computer Science (LICS '94)</source>
          , Paris, France,
          <source>July 4-7</source>
          ,
          <year>1994</year>
          , pages
          <fpage>468</fpage>
          {
          <fpage>476</fpage>
          ,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Ofer</given-names>
            <surname>Arieli</surname>
          </string-name>
          and
          <string-name>
            <given-names>Arnon</given-names>
            <surname>Avron</surname>
          </string-name>
          .
          <article-title>Four-valued diagnoses for strati ed knowledge-bases</article-title>
          . In Computer Science Logic, 10th International Workshop, CSL '96, Annual Conference of the EACSL, Utrecht,
          <source>The Netherlands, September 21-27</source>
          ,
          <year>1996</year>
          ,
          <string-name>
            <given-names>Selected</given-names>
            <surname>Papers</surname>
          </string-name>
          , pages
          <volume>1</volume>
          {
          <fpage>17</fpage>
          ,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Ofer</given-names>
            <surname>Arieli</surname>
          </string-name>
          and
          <string-name>
            <given-names>Arnon</given-names>
            <surname>Avron</surname>
          </string-name>
          .
          <article-title>Reasoning with logical bilattices</article-title>
          .
          <source>Journal of Logic, Language and Information</source>
          ,
          <volume>5</volume>
          (
          <issue>1</issue>
          ):
          <volume>25</volume>
          {
          <fpage>63</fpage>
          ,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Ofer</given-names>
            <surname>Arieli</surname>
          </string-name>
          and
          <string-name>
            <given-names>Arnon</given-names>
            <surname>Avron</surname>
          </string-name>
          .
          <article-title>Four-valued parade nite logics</article-title>
          .
          <source>Studia Logica</source>
          ,
          <volume>105</volume>
          (
          <issue>6</issue>
          ):
          <fpage>1</fpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Arnon</given-names>
            <surname>Avron</surname>
          </string-name>
          . Natural 3
          <article-title>-valued logics{characterization and proof theory</article-title>
          .
          <source>Journal of Symbolic Logic</source>
          ,
          <volume>56</volume>
          (
          <issue>1</issue>
          ):3{
          <issue>4</issue>
          ,
          <string-name>
            <surname>03</surname>
          </string-name>
          <year>1991</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Chitta</given-names>
            <surname>Baral</surname>
          </string-name>
          and
          <string-name>
            <given-names>Michael</given-names>
            <surname>Gelfond</surname>
          </string-name>
          .
          <article-title>Logic programming and knowledge representation</article-title>
          .
          <source>Journal of Logic Programming</source>
          ,
          <volume>19</volume>
          :
          <fpage>73</fpage>
          {
          <fpage>148</fpage>
          ,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Jean-Yves Beziau</surname>
          </string-name>
          .
          <article-title>Two genuine 3-valued paraconsistent logics</article-title>
          .
          <source>In Towards Paraconsistent Engineering</source>
          , pages
          <volume>35</volume>
          {
          <fpage>47</fpage>
          . Springer,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>E.</given-names>
            <surname>Black</surname>
          </string-name>
          .
          <article-title>Mouthlessness and ineffability in world war i poetry and the waste land</article-title>
          .
          <source>War, Literature and the Arts: An International Journal of the Humanities</source>
          ,
          <volume>25</volume>
          :1{
          <fpage>17</fpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>John</given-names>
            <surname>Corcoran</surname>
          </string-name>
          . Meanings of implication. Dialogos. Revista de Filosof a de la Universidad de Puerto Rico,
          <volume>9</volume>
          (
          <issue>24</issue>
          ):
          <volume>59</volume>
          {
          <fpage>76</fpage>
          ,
          <year>1973</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Newton C.</surname>
          </string-name>
          <article-title>A. da Costa, Decio Krause, and Otavio Bueno</article-title>
          .
          <source>Paraconsistent Logics and Paraconsistency</source>
          , pages
          <volume>791</volume>
          {
          <fpage>911</fpage>
          .
          <string-name>
            <surname>Elsevier</surname>
          </string-name>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11. Didier Dubois and Henri Prade.
          <source>Possibility Theory - An</source>
          Approach to Computerized Processing of Uncertainty. Springer,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>Michael</given-names>
            <surname>Gelfond</surname>
          </string-name>
          and
          <string-name>
            <given-names>Marcelo</given-names>
            <surname>Balduccini</surname>
          </string-name>
          .
          <article-title>Diagnostic reasoning with A-Prolog</article-title>
          .
          <source>TPLP</source>
          ,
          <volume>3</volume>
          (
          <issue>4</issue>
          -5):
          <volume>425</volume>
          {
          <fpage>461</fpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>Michael</given-names>
            <surname>Gelfond</surname>
          </string-name>
          and
          <string-name>
            <given-names>Vladimir</given-names>
            <surname>Lifschitz</surname>
          </string-name>
          .
          <article-title>The Stable Model Semantics for Logic Programming</article-title>
          . In R. Kowalski and K. Bowen, editors,
          <source>5th Conference on Logic Programming</source>
          , pages
          <volume>1070</volume>
          {
          <fpage>1080</fpage>
          . MIT Press,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Brendan</surname>
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Gillon</surname>
          </string-name>
          .
          <article-title>An early budhist text on logic: Fang Bian Xin Lun</article-title>
          . Argumentation,
          <volume>1</volume>
          (
          <issue>22</issue>
          ):
          <volume>15</volume>
          {
          <fpage>25</fpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15. A.
          <string-name>
            <surname>Hernandez-Tello</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <article-title>Arrazola Ram rez</article-title>
          , and
          <string-name>
            <given-names>M. Osorio</given-names>
            <surname>Galindo</surname>
          </string-name>
          .
          <article-title>Mouthlessness and ineffability in world war i poetry and the waste land</article-title>
          .
          <source>Log</source>
          . Univers.,
          <volume>11</volume>
          (
          <issue>4</issue>
          ):507| -
          <fpage>524</fpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Dunn</surname>
            <given-names>J.M.</given-names>
          </string-name>
          and Epstein G., editors.
          <source>Modern Uses of Multiple-Valued Logic</source>
          , volume
          <volume>2</volume>
          of
          <string-name>
            <surname>Episteme</surname>
          </string-name>
          (
          <article-title>A Series in the Foundational</article-title>
          , Methodological, Philosophical, Psychological,Sociological, and
          <source>Political Aspects of the Sciences, Pure and Applied)</source>
          , chapter
          <string-name>
            <given-names>A Useful</given-names>
            <surname>Four-Valued Logic</surname>
          </string-name>
          . Springer, Dordrecht,
          <year>1977</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <given-names>Lowry</given-names>
            <surname>Nelson</surname>
          </string-name>
          .
          <article-title>The rhetoric of ineffability: Toward a de nition of mystical poetry</article-title>
          .
          <source>Comparative Literature</source>
          ,
          <volume>8</volume>
          (
          <issue>4</issue>
          ):
          <volume>323</volume>
          {
          <fpage>336</fpage>
          ,
          <year>1956</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>M. Osorio</surname>
            ,
            <given-names>J.L.</given-names>
          </string-name>
          <string-name>
            <surname>Carballido</surname>
            , and
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Zepeda</surname>
          </string-name>
          .
          <article-title>Sp3b as an extension of c1</article-title>
          .
          <source>South American Journal of Logic</source>
          ,
          <volume>4</volume>
          (
          <issue>1</issue>
          ):1{
          <fpage>27</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <article-title>Mauricio Osorio and Juan Carlos Nieves</article-title>
          .
          <article-title>Pstable semantics for possibilistic logic programs</article-title>
          .
          <source>In MICAI 2007: Advances in Arti cial Intelligence, 6th Mexican International Conference on Arti cial Intelligence</source>
          , Aguascalientes, Mexico, November 4-
          <issue>10</issue>
          ,
          <year>2007</year>
          , Proceedings, pages
          <volume>294</volume>
          {
          <fpage>304</fpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Petrukhin</surname>
          </string-name>
          .
          <article-title>Generalized correspondence analysis for three-valued logics</article-title>
          .
          <source>Log</source>
          . Univers.,
          <volume>12</volume>
          (
          <issue>3</issue>
          ):
          <volume>423</volume>
          {
          <fpage>460</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <given-names>G</given-names>
            <surname>Priest</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K</given-names>
            <surname>Tanaka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y</given-names>
            <surname>Deguchi</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          J Gar eld, editors.
          <source>The Moon Points Back</source>
          ,
          <article-title>chapter Nagarjuna's logic</article-title>
          . Oxford University Press,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <given-names>Graham</given-names>
            <surname>Priest</surname>
          </string-name>
          .
          <article-title>The logic of the catuskoti</article-title>
          .
          <source>Comparative Philosophy</source>
          ,
          <volume>1</volume>
          (
          <issue>2</issue>
          ):
          <volume>24</volume>
          {
          <fpage>54</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <given-names>Graham</given-names>
            <surname>Priest</surname>
          </string-name>
          .
          <article-title>None of the above: The catuskoti in indian buddhist logic</article-title>
          .
          <source>In New Directions in Paraconsistent Logic</source>
          , pages
          <volume>517</volume>
          {
          <fpage>527</fpage>
          . Springer,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <given-names>Graham</given-names>
            <surname>Priest</surname>
          </string-name>
          .
          <article-title>Speaking of the ineffable, east and west</article-title>
          .
          <source>European Journal of Analytic Philosophy</source>
          ,
          <volume>11</volume>
          (
          <issue>2</issue>
          ):6{
          <fpage>20</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <given-names>Graham</given-names>
            <surname>Priest</surname>
          </string-name>
          .
          <source>The Fifth Corner of Four. An Essay on Buddhist Metaphysics and the Catuskoti</source>
          . Oxford University Press,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <article-title>Eric Swanson and Mingyur Rinpoche Yongey</article-title>
          . Joyful Wisdom: Embracing Change and
          <string-name>
            <given-names>Finding</given-names>
            <surname>Freedom</surname>
          </string-name>
          . Three Rivers Press,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          :- impl(Y,
          <string-name>
            <surname>Z</surname>
          </string-name>
          , L1),
          <article-title>impl(X,L1</article-title>
          ,L),
          <article-title>impl(X,Y,R1), impl(X,Z,R2), impl(R1,R2</article-title>
          ,R), impl(L,R,S),
          <article-title>v(S), not des(S).</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>