• Nenhum resultado encontrado

Polynomial ring calculus for modal logics: a new semantics and proof method for modalities

N/A
N/A
Protected

Academic year: 2023

Share "Polynomial ring calculus for modal logics: a new semantics and proof method for modalities"

Copied!
17
0
0

Texto

(1)

Polynomial ring calculus for modal logics: a new semantics and proof method for modalities

Juan C. Agudelo

Walter Carnielli

Abstract

A new (sound and complete) adequate semantics for the modal logic S5 is defined from the polynomial ring calculus (PRC), which permit to perform modal deductions through polynomial handling. This paper also investigates relationships among the PRC here defined, the algebraic semantics for modal logics, equational logics and the Dijkstra-Scholten equational-proof style. The method proposed can be easily extended to other modal logics.

Yet another semantics for modal logic?

Besides its indisputable success, there may be reasons to doubt about the uni- versal acceptability of thepossible worlds semantics (often called relational se- mantics or Kripke semantics) for modal logics, basically because they reduce (or equate) meaning with extensions of worlds.

Indeed, criticisms against possible-worlds semantics abound. For instance, [16] intends to show that the very assumptions of possible-worlds semantics lead to the absurd conclusion that all propositions are necessarily true. Even if this critique would be perhaps circumscribed to uses of possible-worlds semantics in quantified modal logic, it is not easy to rebut to the well-known Quine’s criticisms about the difficulties in separating the notion of possibility within a world from the notion of consistency of the world’s description (cf. Section 1 of [19]).

But there are other issues with regard to the possible-worlds account of modal notions. As argued in [12], the mathematics associated with such seman- tics may be quite complicated, besides the inappropriateness of the possible- worlds to formalizing knowledge, belief and other non-alethic modal concepts.

Other interesting semantical approaches likealgebraic semantics,neighbor- hood semantics, and topological semantics have been employed in the charac- terization of modal logics (see [3] and [13]), what by itself suggests that the

Ph.D. Program in Philosophy, area of Logic, IFCH and Group for Applied and Theoretical Logic- CLE, State University of Campinas - UNICAMP, Brazil. Logic and Computation Research Group, Eafit University, Colombia.

IFCH and Group for Applied and Theoretical Logic- CLE, State University of Campinas - UNICAMP, Brazil. SQIG - IT, Portugal.

(2)

issue of finding a satisfactory semantics for modal notions is far from closed.

Theinternal semantics proposed in [12] is indeed quite simple, but we intro- duce here a still much simpler semantics. What we propose is a new adequate semantic for modal logics, which is based in thepolynomial ring calculus(PRC) introduced in [6] (see also [7] for a further development). Our proposal has the technical advantage of providing an easy mechanical procedure to perform modal deductions, and the philosophical benefit of shedding some light on the indeterministiccharacter of modal reasoning. This approach offers, we believe, a new insight for the investigation of modal logics, since it radically separates possibility and necessity from the possible-worlds standpoint.

The PRC basically consists in translating logic formulas into polynomials over finite (Galois) fields, and into performing deductions by accomplishing polynomial operations. Elements of the field represent truth-values, and poly- nomials represent possible truth-values that formulas can take. This makes that truth conditions on formulas can be determined by reducing polynomials through PRC rules. PRC can be regarded as an algebraic semantics, in which the structure of polynomials reflects the structure of truth-value conditions for logic formulas; it can also be seen as a proof method (as much as a tableau calculus can be viewed as a proof-theoretical or as a model-theoretical device).

In [6], PRC is described in detail and is applied to the classical propositional calculus (CP L), many-valued logics and paraconsistent logics. Here we show that this method can be successfully applied to modal logics as well.

The structure of the paper is the following: in Section 1 the PRC forS5 is defined and some examples of deductions with the calculus are treated. Section 2 proves the soundness and completeness of PRC forS5. In Section 3 a strong relationship between modal algebras and the structure of polynomials in the PRC is discussed. Relationships with equational logic are presented in Section 4. In Section 5 it is explained how an equational-proof system (`a la Dijkstra- Scholten) can be defined via the PRC for S5, and the remarks at Section 6 explain how the methods here proposed can be extended to other modal logics.

If, as picturesquely put in [3, p. 5], modal formulas talk about Kripke models from the inside, our method shows that modal formulas also talk about the invisible side of truth-values, and indeed, modal formulas do this by talking about the values that hidden variables display.

1 Defining the polynomial ring calculus for S 5

As mentioned above, the PRC consists in translating logic formulas into polyno- mials with coefficients in Galois fields, and performing deductions by reducing polynomials. The values in the Galois field represent truth-values and polyno- mials establish the conditions of truth-values of formulas. Taking into account that Galois fields are denoted byGF(pn) (wherepis a prime number, thefield characteristic, andnis a natural number), the polynomial operations to perform deductions in PRC are governed by the following rules: A first group of rules, thering rules, corresponding to the ring properties of addition and multiplica-

(3)

tion (addition is associative and commutative, there is a ‘zero’ element and all elements have ‘addition inverse’; multiplication is associative, there is a ‘one’ ele- ment and multiplication distributes over addition). A second group of rules, the polynomial rules, establishes that the addition of an element xexactlyptimes can be reduced to the constant polynomial 0 and, in general, that elements of the formxi·xj can be reduced toxk(mod q(x)), for k ≡i+j(mod (pn−1)) andq(x) a convenient primitive polynomial (i.e. and irreducible polynomial of degreen with coefficients in Zp). There are also two inference metarules, the uniform substitution, which allows us to substitute variables in a polynomial by polynomials (in all occurrences of the variable), and theLeibniz rule, which allows us to perform substitutions by ‘equivalent’ polynomials.1 Thus, defining a PRC for an specific logic consists into selecting a fieldF to represent truth- values (choosing a subset ofdesignated values), and thus defining a translation function from formulas to polynomials over such field (and also, in some cases, into defining polynomial constraints, which consist in new polynomial reduc- tion rules). In such a way, polynomial operations allows us to perform valid deductions.

As a motivation, we will first present PRC for the Classical Propositional Calculus (CP L), and then extend it to the modal system S5. In both cases, formulas are translated into polynomials over the fieldZ2 (the integers module 2) and the only designated value is 1. In this case, elements of the formx+x reduce to 0 and elements of the formx·xreduce tox.

Definition 1(PRC forCP L). LetF orCP Lbe the set of well-formed formulas ofCP L, and letX ={xp1, xp2, . . .}be a set of algebraic variables. The PRC for CP Lis determined by the translation function∗:F orCP L→Z2[X]recursively defined by:2

(pi)=xpi if pi is a propositional variable, (¬α)+ 1,

(α→β)+ 1) + 1.

By means of definingα∨β def= ¬α→ β and α∧β def=¬(α→ ¬β), we have that (α∨β)β and that (α∧β)β.

Now, it is natural to define the notions ofvaluationandconsequence relation in the context of PRC. The notions of satisfaction and validity are the same than the ones for valuation semantics, but taking into account the definition of valuation for the PRC. The definition of valuation will be slightly modified below for the logicS5, in order to deal with polynomial constraints.

Definition 2(L-PRC-valuation). LetFbe the field andXbe the set of algebraic variables used in a PRC for a logicL, anL-PRC-valuationis a functionv:X→ F. i.e. a L-PRC-valuation is an assignment of values to algebraic variables.

1PRC reduction rules correspond to the usual operations performed in the proof of poly- nomial equations over a finite field, thus we do not present such rules here in detail. For a detailed presentation see [6].

2Products will be denoted by concatenation (avoiding the·symbol) as usual.

(4)

In order to simplify notation, the assignment of values by a valuation v to variables in a setX will be denoted by −→

Xv, and the value of a polynomial P under the valuationv will be denoted byP[−→

Xv].

Definition 3(L-PRC-consequence-relation). LetFbe the field andX be the set of algebraic variables used in a PRC for a logicL, and let ∗ be the translation function mapping formulas of L into polynomials in F[X]. Consider D ⊂ F (D6=∅) as being the set of designated values. A formulaαof Lis an L-PRC- consequence of a set of formulas Γ of L (denoted byΓ |≈L α) if α[−→

Xv] ∈D wheneverγ[−→

Xv]∈D, for every formulaγ∈Γ and any L-PRC-valuationv.

In cases whereD is a singleton (D={d}), we have that|≈Lαif and only if α reduces, by polynomial operations, to the constant polynomiald(see [6]).

It is easy to prove that the PRC forCP Lin Definition 1 is sound and com- plete. Indeed, the translation function∗can be considered as defining classical valuations (for each assignment of values to variables inX we have a classical valuation), and thus the soundness and completeness of classical valuations for theCP Limplies at once the soundness and completeness for PRC forCP L.

The following example shows how deductions are accomplished in the PRC forCP L(symbol≈will be used to denote polynomial reductions):

Example 1. |≈CP Lp∨ ¬p:

(p∨ ¬p)=p(¬p)+p+ (¬p)

=xp(xp+ 1) +xp+xp+ 1

≈xpxp+xp+ 1

≈xp+xp+ 1

≈1.

We now proceed to extend toS5 the previously defined PRC forCP L.

S5 is usually defined by extendingCP Lby introducing a unarynecessitation operatorand a unarypossibility operator♦, and adding the following axioms and rule:

(α→β)→(α→β), (K) α→α, (T)

α→♦α, (B)

α→α, (4)

`αimplies `α. (Nec)

Here we will consider the connectives ¬, →, as well as the operator , as primitive in the language, while∨, ∧and♦will be considered to be defined in terms of them (definitions of∨and∧are above, and♦αdef=¬¬α).

In [6], hidden variables are introduced in the PRC for logics which are not characterizable by means of finite matrices. In this way, the indeterminism of

(5)

non-truth-functional bi-valued semantics is captured by the indeterminism of hidden variables. Hidden variables are extra algebraic variables, different to those associated with propositional variables, and they are supposed to take values in the field in a random way. The presence of hidden variables, in the polynomial corresponding to a specific formula, indicates that the truth-values of that formula does not functionally depend on the truth-values of its propo- sitional variables. By following this strategy and introducing polynomial con- straintsas additional rules governing the indeterminism, we define theP RCfor S5:

Definition 4 (PRC forS5). Let F orS5 be the set of well-formed formulas of S5, and let X = {xp1, xp2, . . .} and X0 ={xα1, xα2, . . .} be disjoint sets of algebraic variables. The PRC forS5 is determined by the translation function

∗:F orS5→Z2[X∪X0]recursively defined by:

(pi)=xpi if pi is a propositional variable, (¬α)+ 1,

(α→β)+ 1) + 1, (α)=xα.

Additionally, the variables inX0 (the hidden variables) are subject to the fol- lowing polynomial constraints:

x(α→β)(xα(xβ+ 1))≈0, (cK)

xα+ 1)≈0, (cT)

α(x¬¬α+ 1)≈0, (cB)

xα(xα+ 1)≈0, (c4)

α≈1 impliesxα≈1. (cNec)

From the definition of ♦, we immediately obtain that (♦α)=x¬α+ 1.

In order to facilitate the application of polynomial constraints, the following lemma establishes some properties of hidden variables:

Lemma 1.

x≈0, (a)

xαx¬α≈0, (b)

x¬¬α≈xα, (c)

x¬¬¬α≈x¬α, (d)

xα≈1 orxβ≈1 impliesx(α∨β)≈1, (e)

x(α∧β)≈xαxβ, (f)

xα≈xα, (g)

x¬α≈x¬α, (h)

x¬α+ 1≈xα. (i)

(6)

Proof. (a) ⊥ can be defined as ⊥ def= α∧ ¬α. Then, ⊥ = (α∧ ¬α) = α(¬α)+ 1)≈0, and polynomial constraint (cT) implies that x≈0.

(b) ¬αcan be defined by ¬αdef= α→ ⊥. Then, x¬α =x(α→⊥) and poly- nomial constraint (cK) implies thatx(α→⊥)(xα(x+ 1))≈0. Conse- quently, by item (a) we have thatx(α→⊥)xα≈0 (i.e. x¬αxα≈0).

(c) We have that (α→ ¬¬α) ≈1. Then, by polynomial constraint (cNec) it follows that x(α→¬¬α) ≈ 1. On the other hand, by polynomial constraint (cK), we have that x(α→¬¬α)(xα(x¬¬α+ 1)) ≈ 0, thus xα(x¬¬α+ 1) ≈ 0, i.e. xαx¬¬α ≈ xα. In a similar way, start- ing from (¬¬α → α) ≈ 1, it can be proved that xαx¬¬α ≈ x¬¬α. Consequentlyx¬¬α≈xα.

(d) By property (c) and polynomial constraint (cNec).

(e) We have that (α→(α∨β)) ≈1, and by polynomial constraint (cNec) it follows that x(α→(α∨β)) ≈1. On the other hand, by polynomial con- straint (cK) we have that x(α→(α∨β))(xα(x(α∨β)+ 1))≈0. Thus, if xα ≈1 then x(α∨β) ≈1. For the case in which xβ ≈ 1 the proof is similar.

(f) We have that ((α∧β)→α)≈1, and polynomial constraint (cNec) implies that x((α∧β)→α)≈1. Moreover, by polynomial constraint (cK) we have that x((α∧β)→α)(x(α∧β)(xα+ 1)) ≈0, then (x(α∧β)(xα+ 1))≈ 0, i.e. x(α∧β)xα = x(α∧β). In a similar way it can be obtained that x(α∧β)xβ=x(α∧β).

We also have that (α → (β → (α∧β))) ≈ 1 and, by polynomial constraint (cK), x(α→(β→(α∧β)))(xα(x(β→(α∧β)) + 1)) ≈ 0. Then, xαx(β→(α∧β)) ≈ xα. In a similar way it can be proved that xβx(α→(α∧β))≈xβ.

By polynomial constraint (cK), we have thatx(α→(α∧β))(xα(x(α∧β)+ 1)) ≈ 0, i.e. x(α→(α∧β))xαx(α∧β) ≈ x(α→(α∧β))xα. In a similar way it can be obtained thatx(β→(α∧β))xβx(α∧β) ≈x(β→(α∧β))xβ. Finally, by multiplying both sides of the last two reductions obtained and using the reductions proved before, it is obtained thatx(α∧β)≈xαxβ. (g) By polynomial constraint (c4), it follows that xαxα ≈xα. On the other hand, polynomial constraint (cT) leads toxαxα≈xα. There- fore,xα≈xα.

(h) By property (g) and polynomial constraint (cNec).

(i) By polynomial constraint (cT) we have that x¬α((¬α) + 1) ≈ 1, which implies thatxα(x¬α+ 1)≈xα. On the other hand, by poly- nomial constraint (cB), we have that (¬α)(x¬¬¬α+ 1) ≈ 0. By x¬¬α ≈ xα, xα ≈ xα and the polynomial constraint (cNec), we

(7)

also have that x¬¬¬α ≈ x¬α and that x¬α ≈ x¬α. Thus, (xα+ 1)(x¬α+ 1)≈ 0, i.e. xα(x¬α+ 1) ≈ x¬α+ 1. Conse- quently,x¬α+ 1≈xα.

The following examples show how the PRC for S5 can be used to check validity and non-validity ofS5 formulas.

Example 2. |≈S5(♦p→p)∨(♦p→♦p):

((♦p→p)∨(♦p→♦p))

= (♦p→p)(♦p→♦p)+ (♦p→p)+ (♦p→♦p)

≈(♦p→♦p)((♦p→p)+ 1) + (♦p→p)

≈((♦p)((♦p)+ 1) + 1)((♦p)(p+ 1)) + (♦p)(p+ 1) + 1

≈((x¬p+ 1)(x¬¬p+ 1) + 1)((x¬p+ 1)(xp+ 1)) + (x¬p+ 1)(xp+ 1) + 1

≈((x¬p+ 1)(x¬p) + 1)((x¬p+ 1)(xp+ 1)) + (x¬p+ 1)(xp+ 1) + 1

≈(x¬p+ 1)(xp+ 1) + (x¬p+ 1)(xp+ 1) + 1

≈1.

Example 3. |≈S5((p→p)→p)→(♦p→p):

(((p→p)→p)→(♦p→p))

= (((p→p)→p))(((♦p→p))+ 1) + 1

=x((p→p)→p)(x(p→p)+ 1) + 1.

But we also have that:

(♦p→p)= (♦p)(p+ 1) + 1

= (x¬p+ 1)(p+ 1) + 1

≈1 (by property (d)and polynomial constraint (cB)).

Then, by polynomial constraint(cNec)we obtainx(p→p)≈1. Consequently, (((p→p)→p)→(♦p→p))≈1.

Example 4. |≈/S5((p→p)→p):

(((p→p)→p))=x((p→p)→p). But we also have that:

((p→p)→p)= ((p→p))(p+ 1) + 1

=x(p→p)(p+ 1) + 1, and:

(p→p)=p((p)+ 1) + 1

=xp(xp+ 1) + 1.

(8)

At this point, we cannot appeal to any further polynomial constraints. This shows that the hidden variablex((p→p)→p)has no determined value (it takes truth-values in a randomic way). Then(((p→p)→p))≈1./

Note that properties (a) and (b) in Lemma 1 permit the elimination of some occurrences of hidden variables in polynomials, and the other properties (except property (e)) permit to reduce the complexity of formulas that index hidden variables, but those are not all the admissible reductions. The following lemma establishes other two conditions for eliminations of hidden variables, as well as other properties that allow reductions in the complexity of indexing formulas.

Such properties, together with the previous ones, permit the reduction of hidden variables xα to cases in which α is a literal (i.e. a propositional variable or the negation of a propositional variable) or a sequence of disjunctions of non- contradictory literals (i.e. disjunctions of literals without occurrences of both pi and¬pi, for some propositional variablepi).

Lemma 2.

xαx(α∨β)≈xα, x(α∨¬α)≈1,

x(α∨α)≈xα, x(α∨β)≈x(β∨α),

x(α∨(β∨δ))≈x((α∨β)∨δ), x(α∨¬¬β)≈x(α∨β),

x(α∨(β∨¬β))≈x(β∨¬β), x(α∨(β∧δ))≈x(α∨β)x(α∨δ), x(α∨β)≈xαxβ+xα+xβ, x(α∨♦β)≈xαx¬β+x¬β+ 1.

Proof. It is left to the reader.

By definition of → in terms of ¬ and ∨, x(α→β) = x(¬α∨β) and x(α∨(β→δ))=x(α∨(¬β∨δ)).

Polynomial α never reduces to 1 for cases in which αis a literal or a se- quence of disjunctions of non-contradictory literals; then, by using properties in Lemma 1 (without considering property (e)) and properties in Lemma 2, it is possible to avoid the polynomial constraint (cNec), permiting a simpler and totally equational reduction of polynomials. This also shows that S5 can be formulated without the rule of necessitation (Nec) (but at the cost of adding extra axioms).

2 Soundness and completeness

It is well-known, by a clever argument due to James Dugundji (see for in- stance [5]) thatS5 and other modal logics cannot be characterized by means of truth-functional finite-valued matrices–and until now no non-truth-functional bi-valued semantics for this modal logic had been proposed. And indeed, prov- ing soundness and completeness of the PRC forS5 cannot be expected to be so easy as in the case ofCP L. Moreover, there is not a direct connection between

(9)

the PRC for S5 and other appropriate semantics for this logic, and therefore soundness and completeness will be proved directly.3

Theorem 1(Weak soundness). If `S5αthen |≈S5α.

Proof. Note that polynomial constraints (cK)-(c4) just establish the validity of, respectively, axioms (K), (T), (B) and (4), and that the polynomial constraint (cNec) establishes validity preservation under the necessitation rule (Nec). This, in conjunction with the fact that allCP Lformulas are valid (because the PRC forS5 is an extension of theP RCforCP L), leads to the weak soundness.

Theorem 2(Strong soundness). If Γ`S5αthenΓ|≈S5α.

Proof. The result is a consequence of the the finiteness of proofs, the validity of the metatheorem of deduction forS5 and the weak soundness above.

The strong completeness theorem is proven by adapting the familiar Lindenbaum-Asser argument for the CP L. Before establishing the theorem, some definitions and lemmas are in order.

Definition 5 (Valid S5-PRC-valuation). A S5-PRC-valuation is a valid S5- PRC-valuationif the values assigned to variables in X0 satisfy the polynomial constraints (cK)-(cNec).

Definition 6 (ϕ-S5-saturated set). Let Γ be a set of S5-formulas and let ϕ andα be S5-formulas. Γ is a ϕ-S5-saturated setif satisfies the following two conditions:

1. Γ0S5ϕ,

2. if α /∈Γ thenΓ, α`S5ϕ.

Lemma 3. LetΓbe a set ofS5-formulas and letϕandS5-formula. IfΓ0S5ϕ then there exists a set∆ such that Γ⊆∆ and∆ isϕ-S5-saturated.

Proof. The proof is the same as for the classical case.

Lemma 4. Let Γ be an ϕ-S5-saturated set and let Y ={xα1, xα2, . . .} be a set of algebraic variables indexed byS5-formulas. We define the function v:Y → {0,1} by v(xαi) = CΓi) (where CΓ is the characteristic function of Γ, i.e.

CΓi) = 1ifαi∈Γ, and CΓi) = 0otherwise). Thus, for anyS5-formulasα andβ,Γ andv satisfy the following properties:

1. α∈Γ if and only ifΓ`S5α, 2. ¬α∈Γ if and only ifα /∈Γ,

3As shown in Section 3, the structure of polynomials in the PRC forS5 correspond to a modal algebra in the class of modal algebras characterizingS5, but this does not directly entail the completeness for the PRC. Completeness results for modal algebras refer to a class of algebras, not to a specific algebra.

(10)

3. (α→β)∈Γ if and only ifα /∈Γ orβ∈Γ, 4. if `S5αthen α∈Γ,

5. the restriction of v to variables inX∪X0 is a validS5-PRC-valuation.

Proof. Items 1, 2 and 3 are proved as in the classical case, other items are proved below. In some places of the proof we will use the fact thatv(xα) =α[−−−−→

X∪X0v];

this fact can be easily proved by induction.

4. Suppose that `S5 α, by (Nec) it is obtained that `S5 α. Then, by monotonicity and item 1 we have thatα∈Γ.

5. We will prove thatvvalidates, respectively, polynomial constraints (cK)- (cNec):

(i) If (α → β) ∈/ Γ, by definition of v, v(x(α→β)) = 0. Then, independently of the values of v(xα) and v(xα), we have that v(x(α→β))(v(xα)(v(xβ) + 1)) = 0.

If(α→β)∈Γ by item 1 it follows that Γ`S5(α→β). Moreover, (α→β)`S5α→β, then Γ`S5α→β. Then, by item 1 we have that (α→β)∈Γ, and by item 3 it follows thatα /∈Γ or β∈Γ. Consequently, by definition ofv,v(xα) = 0 orv(xβ) = 1, and in both casesv(x(α→β))(v(xα)(v(xβ) + 1)) = 0.

(ii) If α /∈ Γ, by definition of v, v(xα) = 0. Then, independently of the value of v(xα), we have that v(xα)(v(xα) + 1) = 0 (i.e.

v(xα)(α[−−−−→

X∪X0v] + 1) = 0).

Ifα∈Γ by item 1 it follows that Γ`S5α. Moreover, we have that α`S5 α, then Γ `S5 α and item 1 imply that α∈ Γ. Therefore, by item 1, v(xα) = 1. Consequently, v(xα)(v(xα) + 1) = 0 (i.e.

v(xα)(α[−−−−→

X∪X0v] + 1) = 0).

(iii) If α /∈ Γ, by definition of v, v(xα) = 0. Then, independently of the value of v(xα), we have that v(xα)(v(xα) + 1) = 0 (i.e.

α[−−−−→

X∪X0v](v(xα) + 1) = 0).

Ifα∈Γ, by item 1 Γ`S5α. Moreover, we have thatα`S5♦α, then Γ`S5♦αand by item 1 it follows that♦α∈Γ. Therefore, by item 1 it we concludev(xα) = 1. Consequently,v(xα)(v(xα) + 1) = 0 (i.e. α[−−−−→

X∪X0v](v(xα) + 1) = 0).

(iv) If α /∈ Γ, by definition of v, v(xα) = 0. Then, independently of the value ofv(xα), we have thatv(xα)(v(xα) + 1) = 0.

Ifα∈Γ, item 1 implies that Γ`S5α. Moreover, asα`S5α, then Γ`S5 αand, by item 1,α∈Γ. Therefore, by item 1 it follows thatv(xα) = 1. Consequently,v(xα)(v(xα) + 1) = 0.

(v) Ifα∈Γ, by definition ofv,v(xα) = 1. Moreover, by item 2 it follows that ¬α /∈Γ, and by definition of v we have that v(x¬α) = 0. Thus v(x¬α) =v(xα) + 1. The case whereα /∈Γ is similar.

(11)

(vi) Suppose that v(xα) = 0, then by definition of v, α /∈ Γ; and therefore, by item 4, 0S5 α. This, in conjunction with Lemma 3 implies the existence of a ϕ-S5-saturated set ∆ such that α /∈ ∆ (∆ could be just Γ, if α /∈ Γ). Let the function v0 be defined as v, but considering the set ∆ instead of Γ. Then, v0) = 0 and consequentlyα[−−−−→

X∪X0v0] = 0, i.e. α≈1./

Theorem 3(Strong completeness). If Γ|≈S5αthenΓ`S5α.

Proof. Suppose that Γ 0S5 α. By Lemma 3 there exists aϕ-S5-saturated set

∆ such that Γ ⊆ ∆. Then, by Lemma 4, the function v: Y → {0,1} (where Y ={xα1, xα2, . . .}) defined byv(xαi) = Ci), when restricted to variables inX∪X0, is a validS5-valuation. Therefore, by definition ofvand by the fact thatv(xα) =α[−−−−→

X∪X0v], we have thatγ[−−−−→

X∪X0v] = 1 for allγ∈Γ and that α[−−−−→

X∪X0v] = 0. Then, Γ|≈/S5α.

3 The relationship with modal algebras

In [17] and [18], Edward J. Lemmon defines a series ofmodal algebras(also called boolean algebras with operatorsin other contexts) characterizing different modal logics, where the strongest system is S5. We show here how the polynomials in the PRC forS5 can be regarded as a modal algebra (in the class of modal algebras characterizingS5). Before that, we will present the required definitions and a theorem from [17] and [18]:4

Definition 7. A structure M=hM,t,u,−,ni is a modal algebra if M is a set of elements closed under operationst,u,−and nsuch that:

1. hM,t,u,−i is a boolean algebra, and 2. n(xuy) =n(x)un(y), for allx, y∈M.

A modal algebra isnormalifn(1) = 1. A normal modal algebra isepistemic ifn(x)≤x,symmetric ifx≤n(p(x)) and transitiveifn(n(x)) =n(x), for all x∈M.

Theorem 4. `S5αif and only ifαis satisfied by all (finite) normal epistemic symmetric and transitive modal algebras.

Proof. Cf. in [18].

4Definitions are adapted to consider the operatorn(for necessity) as primitive, instead of p(for possibility). The operatornis used to interpretandpis defined byp(x)def=n(−x), so as to interpret♦.

(12)

In order to regard the structure of polynomials inZ2[X∪X0] as an (infinite) normal-epistemic-symmetric-transitive modal algebra, we first define a function relating polynomials withS5-formulas:

Definition 8. Let P, Q and R be polynomials inZ2[X ∪X0], we recursively define the functionf:Z2[X∪X0]→F orS5 by:

f(P) =













α∨ ¬αifP = 1 (the constant polynomial 1), α∧ ¬αifP = 0 (the constant polynomial 0), αifP =xα,

f(Q)∧f(R)if P=QR, f(Q)Yf(R)if P =Q+R.

(1)

where the connectiveYrepresents the exclusive or (i.e. αYβ def= (α∨β)∧¬(α∧β)).

The following operations onZ2[X∪X0] are thus defined:

Definition 9. Let P andQbe polynomials in Z2[X∪X0], operations t,u,− andnare defined by:

• PtQ=P Q+P+Q,

• PuQ=P Q,

• −P =P+ 1,

• n(P) =xf(P).

The following relations are also defined:

Definition 10. Let P andQ be polynomials in Z2[X∪X0]; then, relations . and∼=are defined by:

• P .QifQ[−−−−→

X∪X0v] = 0impliesP[−−−−→

X∪X0v] = 0, for all validS5-P RC- valuations.

• P ∼=QifP .QandQ.P.

It is easy to show that.is a preorder relation and that∼= is an equivalence relation. Then ∼= partitions Z2[X ∪X0] in the quotient set Z2[X ∪X0]/ ∼==

{[P] : P ∈ Z2[X ∪X0]}, where [P] = {Q ∈ Z2[X ∪X0] : Q ∼= P} denotes the equivalence class of P. Moreover, ∼= is a congruence with respect to the operations in Definition 9. The following operations can thus be defined on Z2[X∪X0]/∼=:

Definition 11. Let [P]and[Q]be equivalence classes in Z2[X∪X0]/∼=, oper- ationst0,u0,−0 andn0 are defined by:

• [P]t0[Q] = [P Q+P+Q],

(13)

• [P]u0[Q] = [P Q],

• −0[P] = [P+ 1],

• n0([P]) = [xf(P)].

The order relation.0 onZ2[X∪X0]/∼= is defined by [P].0 [Q] ifP.Q.

Now, the following theorem can be proven:

Theorem 5. The structure Z=hZ2[X∪X0]/∼=,t0,u0,−0,n0i, with the order .0, is an (infinite) normal-epistemic-symmetric-transitive modal algebra.

Proof. • Z is a modal algebra:

– It is easy to prove thathZ2[X∪X0]/∼=,t0,u0,−0iis a boolean algebra, with [0] and [1] (the classes of the constant polynomials 0 and 1) being respectively the elements 0 and 1 of the algebra.

– Let [P] and [Q] equivalence classes inZ2[X∪X0]/∼=; we have then:

n0([P]u0[Q]) =n0([P Q]) (by definition ofu0)

= [xf(P Q)] (by definition ofn0)

= [x(f(P)∧f(Q))] (by definition off)

= [xf(P)xf(Q)] (by property (f) in Lemma 1)

= [xf(P)]u0[xf(Q)] (by definition ofu0)

=n0([P])u0n0([Q]) (by definition ofn0).

• Z is normal, epistemic, symmetric and transitive are direct consequences of, respectively, the polynomial constraints (cNec), (cT), (cB) and (c4).

The previous result shows that the structure Z defined on the algebra of polynomial classes inZ2[X∪X0] is a particular modal algebra, so the PRC makes a very natural bridge between semantics and algebra. From this point of view, PRC is an almost organic extension of the ‘boolean setting’, so characteristic of classical logic, to modal domains.

4 Polynomial reductions as an equational the- ory

As it is defined by Tarski in [20, p. 276], equational logic is “The part of predicate logic in which equations are the only admitted formulas”. In such a logic, equations are treated as if all variables were universally quantified; the only axiom isx=xand the deduction rules are uniform substitution and the replacing of equals by equals. Thus, by using equational logic, from a set of equations (in a given language) it is possible to deduce other equations. An

(14)

equational theory is defined as a setθcontaining all equations derivable from a set of equations Σ; such a set Σ is called abasis forθ. Theequational theory of an algebraAis the set of all equations satisfied byAand theequational theory of a class of algebras K is the set of equations satisfied by all the algebras in K. Moreover, a class of algebras K isequationally defined if there exists a set of equations Σ such thatK = Mod Σ, where Mod Σ is the class of models for the theory Σ.5

The ring rules and the polynomial rules defined in the PRC, if treated as equations, can be viewed as defining a basis for an equational theory (where the uniform substitution and the Leibniz rule correspond, respectively, to the uniform substitution and the replacing of equals by equals in the equational logic). In the case ofCP L, the polynomials operations in the PRC equationally define the class of boolean rings. It is well-known that boolean rings and boolean algebras are term-definitional equivalents, and that the boolean algebra of two elements is a generic algebra for that class. These facts, in conjunction with the fact that boolean algebras are an adequate semantic for CP L, imply the completeness of the PRC forCP L. The polynomial reductions of the PRC for S5, on the light of the properties in Lemma 1 (with exception of property (e)) and using Lemma 2 instead of the polynomial constraint (cNec), can be viewed as an equational extension of the equational theory for boolean rings.

In spite of boolean rings and boolean algebras being term-definitional equiv- alents, there are substantial distinctions between them. Indeed, as pointed out in [10], “The Boolean-ring formalism differs from Boolean algebra in that it defines a unique normal form (up to associativity and commutativity of the two operators) for every Boolean formula, called a Boolean polynomial (also known as aZhegalkin polynomial or Reed-Muller normal form).” Such prop- erty is useful for the definition of proof methods for propositional logic and to test satisfiability (see [15] and [10]). Another fundamental distinction between boolean rings and boolean algebras is that boolean rings directly generalize to- wards many-valued logics (by means of polynomials over finite Galois fields, see e.g. [6]) while boolean algebras do not. The PRC reduction rules extend the boolean polynomials preserving their good properties, which permit to perform deductions in non-classical logics. Not only that: the PRC also establishes a relationship between syntactic deductions in propositional calculus and poly- nomial handling, in some cases showing how the ‘indeterminism’ of logics non characterizable by finite matrices can be expressed by means of hidden variables.

5 Defining equational proof systems from PRC

In [11], Edsger W. Dijkstra and Carel S. Scholten introduce a proof format in which the replacement of logically equivalent formulas is emphasized (instead of using modus ponens), in such a way that deductions are realized in an equa- tional fashion. The Dijkstra-Scholten equational proof style is formalized for the

5For a good survey of equational logic see [21].

(15)

propositional logic in [14] (where some advantages of that method over the tra- ditional Hilbert style of proofs are also pointed) and for the intuitionistic logic in [4]. Defining an equational proof system (`a la Dijkstra-Scholten) for a spe- cific logic basically consists in determining a complete set of logical equivalences from which all theorems of the logic can be deduced (by replacement of equiv- alent formulas and uniform substitution). As it was described in the previous section, the polynomial reductions of the PRC forS5 can be viewed as equa- tions. Such algebraic equations have a direct correspondence with equivalences between formulas inS5 which, by theorems 2 and 3, are adequate to axiomatize S5. Following such guidelines, equational proof systems can be defined for other logics, provided they are characterized by a PRC.

6 Assessing the new semanics

The definition of PRC forS5 defined above can be easily adapted to other modal logics: for the systems K, T, B and S4 it is only necessary to disregard the polynomial constraints corresponding to axioms not in the respective system.

For other modal logics which extend theCP Lthe translation function can be the same, and polynomial constraints can be defined by translating axioms to polynomials, equaling them to the constant polynomial 1, and defining impli- cations between polynomials in order to validate deduction rules. This can be done without much ado by considering the well-known Lemmon-Scott axioms

klα→mnαand adding the constraintxkl(xmn+ 1)≈0 (withxα

meaningx¬α+ 1) to the polynomial constraints (cK) and (cNec). In this way, soundness and completeness theorems obtained forS5 can be adapted to other PRCs. Moreover, a relationship with their respective modal algebras can also be obtained: new polynomial constraints will correspond to algebraic conditions over the operatorn.

A PRC forS4 has an extra feature, since intuitionistic logic could in prin- ciple be also treated in polynomial terms having in sight the well-known corre- spondence betweenS4 and the propositional intuitionistic calculus. Issues on decidability of modal logics can also be treated through polynomials: this is, for instance, immediate for the above defined PRC for S5, although for other calculi connections with the finite-model property would have to be established.

The PRC for modal logic is also related thenon-deterministic matrices (cf.

[1]), a generalization of ordinary multi-valued matrices, in which the truth-value of a formula can be non-deterministically assigned: actually, our method is the first example of non-deterministic semantics for modal logics. It constitutes also a particular case ofpossible-translations semantics (cf. [9]) −not by accident, since the latter are more expressive than the former, as argued in [8] (Theorem 38 and the following discussion).

Our PRC for modal logics can be also seen as a simple system of equational logic. It is little surprise that the quotient equational logic constitutes a modal algebra (cf. Section 3): as a slogan in [2, p. xiv] defends, from the point of view of universal algebra modal logic is essentially the study of certain varieties of

(16)

equational logic. What is surprising is how elementary it is, and how easy it is to handle the resulting high-school-fashion polynomial calculus.

Acknowledgements. This research was supported by FAPESP- Funda¸c˜ao de Amparo `a Pesquisa do Estado de S˜ao Paulo, Brazil, Thematic Research Project grant 2004/14107-2. The first author has been also supported by a FAPESP scholarship grant 05/04123-3, and the second by a CNPq (Brazil) Research Grant 300702/2005-1 and by the Fonds National de la Recherche Luxembourg.

We would also like to thank several people who have heard about these ideas on several occasions, and have contributed with suggestions and criticisms: Roy Dickhoff, Justus Diller, J. Michael Dunn, Josep Font, Graham Priest, Jørgen Villadsen and Heinrich Wansing.

References

[1] Arnon Avron and Anna Zamansky. Generalized non-deterministic matrices and (n,k)-ary quantifiers. In S. Artemov and A. Nerode, editors,Proceed- ings of the Symposium on Logical Foundations of Computer Science, LNCS 4514, pages 26–40. Springer Berlin/Heidelberg, 2007.

[2] Patrick Blackburn, Maarten de Rijke, and Yde Venema. Modal Logic.

Cambridge University Press, Cambridge, 2002.

[3] Patrick Blackburn and Johan van Benthem. Modal logic: A semantic per- spective. In Patrick Blackburn, Johan van Benthem, and Frank Wolter, ed- itors, Handbook of Modal Logic, pages 1–82. Elsevier North-Holland, 2006.

[4] Jaime A. Boh´orquez. Intuitionistic logic according to dijkstra’s calculus of equational deduction.Notre Dame Journal of Formal Logic, 49(4):361–384, 2008.

[5] Walter Carnielli and Claudio Pizzi. Modalities and Multimodalities.

Springer, 2008.

[6] Walter A. Carnielli. Polynomial ring calculus for many-valued logics.

In B. Werner, editor, Proceedings of the 35th International Symposium on Multiple-Valued Logic, pages 20–25. IEEE Computer Society, 2005.

Preprint available at CLE e-Prints vol 5, n. 3, 2005: http://www.cle.unicamp.

br/e-prints/vol 5,n 3,2005.html.

[7] Walter A. Carnielli. Polynomizing: Logic inference in polynomial format and the legacy of Boole. In L. Magnani and P. Li, editors, Model-Based Reasoning in Science, Technology, and Medicine, volume 64 ofStudies in Computational Intelligence, pages 349–364. Springer, 2007.

[8] Walter A. Carnielli and Marcelo E. Coniglio. We Will Show Them! Essays in Honour of Dov Gabbay, chapter Splitting Logics, pages 389–414. College Publications, 2005.

(17)

[9] Walter A. Carnielli, Marcelo E. Coniglio, and Jo˜ao Marcos. Logics of formal inconsistency. In D. Gabbay and F. Guenthner, editors, Hand- book of Philosophical Logic, volume 14, pages 15–107. Springer, 2nd edi- tion, 2007. Preprint available at CLE e-Prints vol 5, n. 1, 2005. http:

//www.cle.unicamp.br/e-prints/vol 5,n 1,2005.html.

[10] Nachum Dershowitz, Jieh Hsiang, Guan S. Huang, and Daher Kaiss.

Boolean ring satisfiability. In Proc. 7th Intl. Conf. on Theory and Ap- plications of Satisfiability Testing (SAT 2004), pages 281–286, 2004.

[11] Edsger W. Dijkstra and Carel. S. Scholten.Predicate Calculus and Program Semantics. Springer-Verlag, New York, 1990.

[12] Ronald Fagin and Moshe Y. Vardi. An internal semantics for modal logic.

In Proceedings of the Seventeenth Annual ACM Symposium on Theory of Computing, pages 305–315. Association for Computing Machinery, 1985.

[13] Robert Goldblatt. Mathematical modal logic: a view of its evolution. In Dov M. Gabbay and John Woods, editors,Handbook of the History of Logic, volume 6. Elsevier, 2005.

[14] David Gries and Fred B. Schneider. Equational propositional logic. Infor- mation Processing Letters, 53:145–152, 1995.

[15] Jieh Hsiang and Guan S. Huang. Some fundamental properties of boolean ring normal forms. In Dingzhu Du, Jun Gu, and Panos M. Pardalos, edi- tors, DIMACS Series in Discrete Mathematics and Theoretical Computer Science, volume 35. 1997.

[16] John-Michael Kuczynski. Does possible world semantics turn all proposi- tions into necessary ones? Journal of Pragmatics, 39(5):872–916, 2007.

[17] Edward J. Lemmon. Algebraic semantics for modal logics I. Journal of Symbolic Logic, 31(1):46–65, 1966.

[18] Edward J. Lemmon. Algebraic semantics for modal logics II. Journal of Symbolic Logic, 31(2):191–218, 1966.

[19] Willard V. O. Quine. Two dogmas of empiricism, chapter From a Logical Point of View: Nine Logico-Philosophical Essays, pages 20–46. Harvard University Press (2nd, edition), 2006.

[20] Alfred Tarski. Equational logic and equational theories of algebra. In H. A. Schmidt et. al., editor, Contributions to Mathematical Logic, pages 275–288. North Holland, Amsterdam, 1968.

[21] Walter Taylor. Equational logic. Houston Journal of Mathematics, Survey 1979, 1979.

Referências

Documentos relacionados

Para efeito da versão preliminar (proposta) da regulamentação final e da obrigatoriedade de apresentação de notificação prévia para remessas de alimentos importados, o

Despercebido: não visto, não notado, não observado, ignorado.. Não me passou despercebido

O grande objetivo da educação aritmética e algébrica, hoje, deve ser o de encontrar um equilíbrio entre três frentes: i) o desenvolvimento da capacidade de pôr em jogo

A análise das Figuras 117 a 119 permite concluir que a inspeção por partículas magnéticas via úmida colorida foi capaz de detectar todas as descontinuidades

Do amor," mas do amor vago de poeta, Como um beijo invizivel que fluctua.... Ella

Neste caso, o atendimento é feito através de ramal de ligação subterrâneo em baixa tensão, derivado diretamente da rede de distribuição, seja esta aérea ou

b) Organizações do setor voluntário – Aplicação de formulário com questões abertas e fechadas, conforme mostra o Apêndice A, a 28 pessoas sendo: uma

Neste artigo, apresentamos um algoritmo de navegação robótica para a localização de um determinado nó sensor gerando um evento de interesse a partir do