• No results found

On Algebraization of Classical First Order Logic

N/A
N/A
Protected

Academic year: 2020

Share "On Algebraization of Classical First Order Logic"

Copied!
5
0
0

Loading.... (view fulltext now)

Full text

(1)

On Algebraization of Classical First Order Logic

Nabila M. Bennour, Kahtan H. Alzubaidy

Abstract - Algebraization of first order logic and its deduction are introduced according to Halmos approach. Application to functional polyadic algebra is done.

Index Term: Polyadic algebra, Polyadic ideal, Polyadic filter, Functional polyadic algebra.

I. INTRODUCTION

There are mainly three approaches to the algebraization of first order logic. One approach is to develop cylindric algebras[1]. The second approach is by polyadic algebra[2]. the third one is by category theory [3].

In 1956 P. R. Halmos introduced polyadic algebra to express first order logic algebraically.

Polyadic algebra is an extension of Boolean algebra with operators corresponding to the usual existential and universal quantifiers over several variables together with endomorphi- sms to represent first order logic algebraically.

Certain polyadic filters and ultra filters have been used to express deduction in polyadic algebra. These ideas are applied to the specific case functional polyadic algebra.

II. POLYADIC ALGEBRA General definition[3]

Suppose that

B

is a complete Boolean algebra. An existential quantifier on

B

is a mapping

:

B

B

such that

i)

(

0

)

0

ii)

a

(a

)

for any

a

B

.

iii)

(

a

(

b

))

(

a

)

(

b

)

for any

a

,

b

B

.

)

,

(

B

is called monadic algebra.

Let

I

I

:

I

I

is

a

transforma

tion

. Denote the

set of all endomorphisms on

B

by

End

(B

)

and the set of all quantifiers on

B

by

Qant

(B

)

.

A polyadic algebra is

(

B

,

I

,

S

,

)

where

)

(

:

I

End

B

S

I

and

:

2

I

Qant

(

B

)

such that for

any

J

,

K

2

Iand

,

I

Iwe have 1)

 

id

2)

J

K

    

J

K

Manuscript received February 06 2014; revised March 24 2014

Nabila M. Bennour is a lecturer at Mathematics department, faculty of science, Benghazi university; e-mail: n.benour@yahoo.com

Kahtan H. Alzubaidy is a lecturer at Mathematics department, faculty of science, Benghazi university; e-mail: kahtanalzubaidy@yahoo.com

3)

S

(



)

S

(

)

S

(

)

4)

S

(

id

)

id

5)

S

(

)

(

J

)

S

(

)

(

J

)

if

IJ

IJ

6)

(

J

)

S

(

)

S

(

)

(

1

(

J

))

if

is one to one on

 

J

1

.The cardinal number

I

is called the degree of the

algebra. If

I

=

n

we get the so called

n

-adic algebra. If

I

then

2

I

 

and

I

I

 

id

. Therefore we get only the identity quantifier

(

)

id

. Thus

0

-adic

algebra is just the Boolean algebra

B

. If

I

1

then

 

id

I

I

. Therefore there are only two quantifiers

(

)

and

(I

)

. Thus

1

-adic algebra is the monadic algebra.

Polyadic Ideals And Filters

A subset

U

of a Boolean algebra

B

is called a Boolean ideal if

i)

0

U

ii)

a

b

U

for any

a

,

b

U

iii)If

a

U

and

b

a

then

b

U

A subset

F

of a Boolean algebra

B

is called a Boolean filter if

i)

1

F

ii)

a

b

F

for any

a

,

b

F

iii)If

a

F

and

b

a

then

b

F

.

A subset

U

of a polyadic algebra

B

is called a polyadic ideal of

B

if

i)

U

is a Boolean ideal

ii) If

J

I

and

a

U

then

  

J

a

U

iii)If

a

U

and

I

I

then

S

  

a

U

A subset

F

of a polyadic algebra

B

is called a polyadic filter of

B

if

i)

F

is a Boolean filter

ii) If

J

I

and

a

F

then

  

J

a

F

iii)If

a

F

and

I

I

then

S

  

a

F

.

Proposition 1) [3]

(2)

  

I

a

U

for every

a

U

.

F

is a filter of

B

if and only if

F

is a filter of the Boolean algebra

B

and

  

I

a

F

whenever

a

F

. Proof

Let

U

be an ideal of a polyadic algebra , by the definition

U

is an ideal of a Boolean algebra and

  

I

a

U

. Let

U

be an ideal of a Boolean algebra

B

and

  

I

a

U

for every

a

U

.

If

J

I

, then

     

J

a

I

a

, so that

  

J

a

U

. Now we verify that

S

  

a

U

, if

U

a

and

I

I. We have

a

  

I

a

and

       

a

S

I

a

S

, so it means to show that every

 

S

acts as identity transformation from

I

I since there is nothing out of

I

.Then

            

I

a

id

I

a

I

a

S

, therefore

  

a

U

S

.

A similar argument proves the second part.

Proposition 2) [3]

There is a one to one correspondence between ideals and filters : if

U

is an ideal , then the set

U

F

of all

a

with

a

U

is a filter . Analogously, if

F

is a filter , then

a

a

F

F

U

:

is an ideal.

Proposition 3)

The set of all polyadic ideals and the set of all polyadic filters are closed under the arbitrary intersections.

Let

B

be a polyadic algebra and

B

. Let

U

(

)

denote the least polyadic ideal containing

and

F

(

)

denote the least polyadic filter containing

.We say that

U

(

)

and

)

(

F

are generated by

.

Proposition 4)

Let

B

be a polyadic algebra and

B

. Then

i)U

 

 

bB:bx1x2...xn forsomex1,x2,...,xn

 

0

ii)F

 

 

bB:bx1x2...xn forsomex1,x2,...,xn



1

Proof i) Let

 :  1 2... 1, 2,..., 

 

0

b B b x x xn forsomex x xn

J

J

0 . Let b1,b2J . Then b1x1x2 ... xn

and b2  y1  y2  ...  ym

for some

x

i

,

y

i

.

m

n

y

y

y

x

x

x

b

b

1

2

1

2

....

1

2

...

.

Therefore

b

1

b

2

J

. If

n

x

x

x

b

a

1

2

....

, then

a

J

. Then

J

is a Boolean ideal containing

. Therefore

U

 

J

. If

b

J

, then

b

1

x

1

x

2

...

x

n where

x

i

i.e.

x

i

U

 

. Then

b

U

 

. Thus

U

 

J

as a

Boolean ideal. Let

a

J

then

a

x

1

x

2

...

x

n

    

I a I xx  xn

      

I x I x  

  

I xn

1 2 ... 1 2 ...

Therefore

  

 

I

a

U

.

ii) A similar argument leads to (ii).

A filter

F

of a polyadic algebra is called ultrafilter if

F

is maximal with respect to the property that

0

F

.

Ultrafilters satisfy the following important properties [4].

Proposition 5)

Let

F

be a filter of a polyadic algebra

B

. Then

i)

F

is an ultrafilter of

B

iff for any

a

F

exactly one of

a

,

a

'

belongs to

F

.

ii)

F

is ultrafilter of

B

iff

0

F

and

a

b

F

iff

F

a

or

b

F

for any

a

,

b

F

.

iii)If

a

B

F

, then there is an ultrafilter

L

such that

L

F

and

a

L

.

Let

B

. The ultrafilter containing

F

(

)

is denoted by

)

(

UF

.

A mapping

:

B

1

B

2 between two Boolean algebras is called a Boolean homomorphism if

i)

a

b

   

a

b

ii)

 

a

 

a

Obviously,

a

b

   

a

b

,

 

0

0

,

 

1

1

.

A mapping

:

B

1

B

2 between two polyadic algebras is called polyadic homomorphism if

i)

is a Boolean homomorphism ii)

iii)





for any

I

I
(3)

III. DEDUCTION

Notation: for

B

and

b

B

,

b

reads

b

is deduced from

in

B

. Now , we define

b

in a polyadic algebra

B

iff

b

F

 

.

By definitions of filter and deduction ⊢ we have :

Proposition 6) i)

1

and

0

ii) If

x

,

y

then

x

y

.

General properties of deduction are given by the following: Theorem 7)

i) If

b

then

b

ii) If

b

and

then

b

iii)If

a

for any

a

and

b

, then

b

iv)If

b

, then

 

 

b

for any substitution

v) If

b

, then

0⊢

b

for some finite

0

.

Proof.

i)

b

b

F

 

b

ii)

b

b

F

 

b

x

1

x

2

...

x

n for some

x

i

b

F

 

b

iii)Let

b

b

F

 

n

x

x

x

b

1 2

...

for some

x

i

x

1,

x

2,…,

x

n

x

1

x

2

...

x

n by proposition (6)

n

x

x

x

1

2

...

F

 

b

F

 

b

iv)

b

b

F

 

b

x

1

x

2

...

x

n

for some

x

i

  

b

x

x

x

n

    

x

x

 

x

n

1

2

...

1

2

...

for some

 

x

i

F

 

 

 

b

F

 

 

b

v) By proposition 4 (ii) and proposition (6)

IV. FUNCTIONAL POLYADIC ALGEBRA Let

B

B

,

,

,

,

0

,

1

be a complete Boolean algebra,

p

p

A

B

is

a

function

B

A

:

where

A

is an

algebra of type F. For

p

,

q

B

A define

p

q

,

p

q

,

p

and

0

,

1

pointwise as follows:

)

(

)

(

)

)(

(

p

q

a

p

a

q

a

,

)

(

)

(

)

)(

(

p

q

a

p

a

q

a

,

p

(

a

)

p

(

a

)

,

0

)

(

0

a

,

1

(

a

)

1

for any

a

A

. We have

Proposition 8) [2]

B

A

,

,

,

,

0

,

1

is a functional Boolean algebra.

Proposition 9)[5]

B

A

,

is a monadic algebra, where

:

B

A

B

A is given by

(

p

)(

a

)

sup

p

(

a

)

:

a

A

Proposition 10)[2]

B

A

,

I

,

S

,

is a polyadic algebra, where

)

(

:

I

I

End

B

A

S

and

:

2

I

Qant

(

B

A

)

.

Now, let

B

Ak

p

p

:

A

k

B

is

a

function

;

,...

2

,

1

,

0

k

. Define

)

,...,

(

)

,...,

(

)

(

p

a

1

a

k

p

a

(1)

a

(k)

S

for any

I

I

and

(

a

1

,...,

a

k

)

A

k. we have

Proposition 11)

B

Ak

,

I

,

S

,

is a polyadic algebra Proof

i)

(

)

p

(

a

1

,...,

a

k

)

sup

p

(

a

1

,...,

a

k

)

p

(

a

1

,...,

a

k

)

(

)

id

ii)

(

)

sup

(

1

,...

k

)

M J

a

a

p

M

J

sup

(

1

,...

)

 

sup

(

1

,...,

k

)

K k J

a

a

p

a

a

p

(

J

)

p

(

a

1

,...,

a

k

)

(

M

)

p

(

a

1

,...,

a

k

)

)

(

)

(

)

(

J

M

J

M

iii)

S

(

id

)

p

(

a

1

,...,

a

k

)

p

(

a

id(1)

,...

a

id(k)

)

p

(

a

1

,...,

a

k

)

S

(

id

)

id

iv) S()p(a1,...ak) p(a(1),...,a(k)) p(a((1)),...,a((k)))

)

,...,

(

)

(

)

(

)

,...,

(

)

(

p

a

(1)

a

(k)

S

S

p

a

1

a

k

S

)

(

)

(

)

(



S

S

S

v)

k

J

k S p a a

a a p J

S()( ) ( 1,..., ) ()sup ( 1,...,

=

sup

(

(1)

,...

(k)

)

J

a

a

p

sup

(

(1)

,...,

(k)

J

a

a

p

(4)

(

)

sup

(

1

,...,

k

)

J

a

a

p

S

S

(

)

(

J

)

p

(

a

1

,...,

a

k

)

)

(

)

(

)

(

)

(

J

S

J

S

if

IJ

IJ

vi)

(

J

)

S

(

)

p

(

a

1

,...,

a

k

)

(

J

)

p

(

a

(1)

,...,

a

(k)

)

sup

(

(1)

,...,

(k)

)

J

a

a

p

if

is

1

1

on

1

(

J

)

sup

(

(1)

,...,

( )

)

) ( 1 k J

a

a

p



sup

(

)

(

1

,...,

)

) ( 1 k J

a

a

p

S



S

(

)

(

1

(

J

))

p

(

a

1

,...,

a

k

)

(

J

)

S

(

)

S

(

)

(

1

(

J

))

Finally, let

I

1

,

2

,...

be a countable set,

p

p

A

B

is

a

function

B

AI

:

I

,

I

A

a

;

a

:

I

A

is a function. For

I

I,

a

is

defined by

a

(

i

)

a

(

i

)

i

I

. We have

Proposition 12)

I

A

B

is a polyadic algebra

Proof

i)

(

)

p

(

a

)

sup

p

(

a

)

p

(

a

)

id

(

)

ii)

(

J

M

)

p

(

a

)

sup

p

(

a

)

sup

p

(

a

)

 

sup

p

(

a

)

M J M J

(

J

)

p

(

a

)

(

M

)

p

(

a

)

J

M

    

J

M

iii)

S

(

id

)

p

 

a

(

i

)

p

a

(

id

(

i

))

p

 

a

(

i

)

 

id

id

S

iv) S

  

 p a(i)

p

a

(i)

p

a

(i)

S

  

p

a

(

i

)

      

S

S

p

a

(

i

)

     



S

S

S

v) S

 

(J)p

a(i)

S

 

sup

p

a(i)

sup

p

a (i)

J J      

(

)

sup

p

a

i

J

if

IJ

IJ

=

S

 

sup

p

 

a

(

i

)

      

S

J

p

a

(

i

)

J

       

J

S

J

S

vi)

        

J

S

p

a

(

i

)

J

p

a

(

i

)

sup

p

a

(

i

)

J

(

)

sup

) ( 1

i

a

p

J



if

is 1-1 on

1

(

J

)

   

(

)

  

sup

 

(

)

sup

) ( ) ( 1 1

i

a

p

S

i

a

p

S

J J  

 

 

1

(

J

)

p

 

a

(

i

)

S

     

J

S

S

1

(

J

)

Natural inference rules of polyadic logic are now transferred into certain algebraic rules in

B

A governing the algebraic deduction in

F

 

where

B

A. These are given as follows:

Theorem 13) Let

B

A.Then i)

1

and

0

.

ii)

p

q

iff

p

and

q

. iii)

p

iff

p

'

.

iv)

p

q

iff

p

or

q

. v)

p

iff

 

J

p

.

vi)

F

 

p

(

a

0

)

iff

F

 

 

J

p

(a

)

. Proof.

i) By proposition 6(i)

ii) Follows from definition of filter and proposition 1 iii) This is so because if both

p

and

p

'

we get

)

(a

p

and

(

p

(

a

))

'

in

F

 

. Thus we get

0

,which is a contradiction.

iv)Let

p

q

 

p

(

a

)

q

(

a

)

F

 

p

(

a

)

q

(

a

)

'

F

p

(

a

)

 

'

q

(

a

)

'

F

 

p

 

a

'

F

 

or

q

(

a

)

'

F

 

 

p

(

a

)

F

or

q

(

a

)

F

 

.

Thus

p

or

q

. Let

p

or

q

 

p

(

a

)

F

or

q

(

a

)

F

 

)

(

)

(

)

(

a

q

a

p

a

p

 

p

(

a

)

q

(

a

)

F

. Therefore

p

q

.
(5)

vi)This is so by the definition

 

J

p

a

p

a

a

A

J

(

)

sup

(

)

:

.

If we alter the definition of deduction to

p

if

 

UF

p

we get the following dichotomy by proposition 5

Theorem 14)

Either

p

or

p

'

.

REFERENCES

[1] L. Henkin , J. D. Monk, and A. Tarski, "Cylindric Algebras Part I" . North-Holland publishing company Amsterdam. London (1971).

[2] P.R . Halmos, "Algebraic Logic II .Homogenous Locally Finite Polyadic BooleanAlgebras Of Infinite Degree". Fundamenta Mathematicae 43, 255-325 (1965). [3] B. Plotkin, "Universal Algebra, Algebraic Logic, and

Databases", Kluwer academic publishers (1994). [4] S. Burris, & H.P. Shakappanavor, "A Course in

Universal Algebra", Springer Verlag, New York (1981).

[5] K.H. Alzubaidy, "Deduction in Monadic Algebra", Journal of mathematical sciences,18, 1-5 (2007). [6] K.H. AlzubaidyOn "Algebraization of Polyadic Logic",

Journal of mathematical sciences,18 , 15-18 (2007). [7] P.R. Halmos, "Lectures on Boolean Algebra" . D.Van

Nostran, Princeton (1963).

[8] A.G.Hamilton, "Logic for Mathematicians". Cambridge University Press, Cambridge (1988).

 

 

 

 

 

 

 

 

 

References

Related documents

In order to understand how AI researchers gave agents the ability to reason, we first look at how information about the world is represented using first-order logic.. This will lead

We establish the upper bound by character- izing the satisfiability of a formula in GFU via mosaics, where a mosaic is a special (finite) collection of types that can be used to build

questionnaire; CU: Callous Unemotional traits; dACC: Dorsal anterior cingulate cortex; DOHaD: Developmental Origins of Health and Disease; DSM IV: Diagnostic and Statistical Manual

The percentage of runs that find a global optimum % success, is lower the larger the number of cities for all instance types except the uniform random ‘E’ instances, where the

Rather, the ARCF is a place where all the water users and sectors involved in the spill can come together including: water rights holders, governments, educators, water

Under this interpretation, Brother(Richard, John) is true just in case Richard the Lionheart and the evil King John are in the brotherhood relation in the model.. Models for

Whereas propositional logic assumes world contains facts, first-order logic (like natural language) assumes the world contains. • Objects: people, houses, numbers, theories,

Tan-Y-Bedw-Isa is a superbly situated 3 / 4 bedroomed detached country house, with landscaped gardens, most useful outbuilding's and approximately 7.5 acres of land, enjoying