On Algebraization of Classical First Order Logic
Nabila M. Bennour, Kahtan H. AlzubaidyAbstract - 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 onB
is a mapping
:
B
B
such thati)
(
0
)
0
ii)
a
(a
)
for anya
B
.iii)
(
a
(
b
))
(
a
)
(
b
)
for anya
,
b
B
.)
,
(
B
is called monadic algebra.Let
I
I
:
I
I
is
a
transforma
tion
. Denote theset of all endomorphisms on
B
byEnd
(B
)
and the set of all quantifiers onB
byQant
(B
)
.A polyadic algebra is
(
B
,
I
,
S
,
)
where)
(
:
I
End
B
S
I
and
:
2
I
Qant
(
B
)
such that forany
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
IJ6)
(
J
)
S
(
)
S
(
)
(
1(
J
))
if
is one to one on
J
1
.The cardinal numberI
is called the degree of thealgebra. If
I
=n
we get the so calledn
-adic algebra. If
I
then2
I
andI
I
id
. Therefore we get only the identity quantifier
(
)
id
. Thus0
-adicalgebra is just the Boolean algebra
B
. IfI
1
then
id
I
I
. Therefore there are only two quantifiers
(
)
and
(I
)
. Thus1
-adic algebra is the monadic algebra.Polyadic Ideals And Filters
A subset
U
of a Boolean algebraB
is called a Boolean ideal ifi)
0
U
ii)
a
b
U
for anya
,
b
U
iii)If
a
U
and
b
a
then
b
U
A subset
F
of a Boolean algebraB
is called a Boolean filter ifi)
1
F
ii)
a
b
F
for anya
,
b
F
iii)If
a
F
and
b
a
then
b
F
.A subset
U
of a polyadic algebraB
is called a polyadic ideal ofB
ifi)
U
is a Boolean idealii) If
J
I
and
a
U
then
J
a
U
iii)If
a
U
and
I
Ithen
S
a
U
A subset
F
of a polyadic algebraB
is called a polyadic filter ofB
ifi)
F
is a Boolean filterii) If
J
I
and
a
F
then
J
a
F
iii)If
a
F
and
I
Ithen
S
a
F
.Proposition 1) [3]
I
a
U
for everya
U
.F
is a filter ofB
if and only ifF
is a filter of the Boolean algebraB
and
I
a
F
whenevera
F
. ProofLet
U
be an ideal of a polyadic algebra , by the definitionU
is an ideal of a Boolean algebra and
I
a
U
. LetU
be an ideal of a Boolean algebraB
and
I
a
U
for everya
U
.If
J
I
, then
J
a
I
a
, so that
J
a
U
. Now we verify thatS
a
U
, ifU
a
and
I
I. We havea
I
a
and
a
S
I
a
S
, so it means to show that every
S
acts as identity transformation fromI
I since there is nothing out ofI
.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 setU
F
of alla
with
a
U
is a filter . Analogously, ifF
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
. LetU
(
)
denote the least polyadic ideal containing
andF
(
)
denote the least polyadic filter containing
.We say thatU
(
)
and)
(
F
are generated by
.Proposition 4)
Let
B
be a polyadic algebra and
B
. Theni)U
bB:bx1x2...xn forsomex1,x2,...,xn
0ii)F
bB:bx1x2...xn forsomex1,x2,...,xn
1Proof i) Let
: 1 2... 1, 2,...,
0b B b x x xn forsomex x xn
J
J
0 . Let b1,b2 J . Then b1 x1 x2 ... 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
. Ifn
x
x
x
b
a
1
2
....
, thena
J
. ThenJ
is a Boolean ideal containing
. ThereforeU
J
. Ifb
J
, thenb
1
x
1
x
2
...
x
n wherex
i
i.e.
x
i
U
. Thenb
U
. ThusU
J
as aBoolean ideal. Let
a
J
thena
x
1
x
2
...
x
n
I a I x x 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 ifF
is maximal with respect to the property that0
F
.Ultrafilters satisfy the following important properties [4].
Proposition 5)
Let
F
be a filter of a polyadic algebraB
. Theni)
F
is an ultrafilter ofB
iff for anya
F
exactly one ofa
,
a
'
belongs toF
.ii)
F
is ultrafilter ofB
iff0
F
anda
b
F
iffF
a
orb
F
for anya
,
b
F
.iii)If
a
B
F
, then there is an ultrafilterL
such thatL
F
anda
L
.Let
B
. The ultrafilter containingF
(
)
is denoted by)
(
UF
.A mapping
:
B
1
B
2 between two Boolean algebras is called a Boolean homomorphism ifi)
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 ifi)
is a Boolean homomorphism ii)
iii)
for any
I
IIII. DEDUCTION
Notation: for
B
andb
B
,
⊢b
readsb
is deduced from
inB
. Now , we define
⊢b
in a polyadic algebraB
iffb
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 anya
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 somex
i
b
F
⊢b
iii)Let
⊢b
b
F
n
x
x
x
b
1 2...
for somex
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
nfor 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
:
whereA
is analgebra of type F. For
p
,
q
B
A definep
q
,p
q
,p
and0
,
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 anya
A
. We haveProposition 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
IEnd
B
AS
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
1a
kp
a
(1)a
(k)S
for any
I
Iand
(
a
1,...,
a
k)
A
k. we haveProposition 11)
B
Ak,
I
,
S
,
is a polyadic algebra Proofi)
(
)
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
1a
kS
)
(
)
(
)
(
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
(
)
sup
(
1,...,
k)
Ja
a
p
S
S
(
)
(
J
)
p
(
a
1,...,
a
k)
)
(
)
(
)
(
)
(
J
S
J
S
if
IJ
IJvi)
(
J
)
S
(
)
p
(
a
1,...,
a
k)
(
J
)
p
(
a
(1),...,
a
(k))
sup
(
(1),...,
(k))
J
a
a
p
if
is1
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
isdefined by
a
(
i
)
a
(
i
)
i
I
. We haveProposition 12)
I
A
B
is a polyadic algebraProof
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
) ( 1i
a
p
J
if
is 1-1 on
1(
J
)
(
)
sup
(
)
sup
) ( ) ( 1 1i
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 inF
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)
iffF
⊢
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
))
'
inF
. Thus we get0
,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
orq
(
a
)
F
.Thus
⊢p
or
⊢q
. Let
⊢p
or
⊢q
p
(
a
)
F
orq
(
a
)
F
)
(
)
(
)
(
a
q
a
p
a
p
p
(
a
)
q
(
a
)
F
. Therefore
⊢p
q
.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 5Theorem 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).