DEDUCTION IN POLYADIC ALGEBRA
Kahtan H. Alzubaidy and Nabila M. Benour*
Department of Mathematics, Science Faculty, Garyounis University, Benghazi, Libya *E-mail: [email protected]
(Received on: 25-11-11; Accepted on: 09-12-11)
________________________________________________________________________________________________
ABSTRACT
C
ertain polyadic filters and ultrafilters have been used to express deduction in polyadic algebra and functional polyadic algebra with terms.Keywords and phrases: polyadic algebra filter, terms, deduction.
2000 Mathematics Subject classification: 03Gxx: Algebraic logic and 03G15: Cylindric and polyadic algebras, relation algebras.
________________________________________________________________________________________________
1. INTRODUCTION:
Polyadic algebra is an extension of Boolean algebra with operators corresponding to the usual existential and universal quantifiers over several variables together with endomorphisms to represent first order logic algebraically.
In this paper we study deduction
Γ
a
in a polyadic algebraB
by using the polyadic filterF
(
Γ
)
generated byΓ
where
Γ
⊆
B
anda
∈
B
. The notion is extended to functional polyadic algebra with terms. Polyadic ultrafilter)
(
Γ
UF
generated byΓ
is also used to express the dichotomy eitherΓ
a
orΓ
a
' wherea
' is the complement ofa
inB
POLYADIC ALGEBRA:
Suppose that
B
is a complete Boolean algebra. An existential quantifier onB
is a mapping∃
:
B
→
B
such that i)∃
( )
0
=
0
ii)
a
≤
∃
( )
a
for anya
∈
B
iii)
∃
(
a
∧
∃
( )
b
)
=
∃
( )
a
∧
∃
( )
b
for anya
,
b
∈
B
(
B
,
∃
)
is called a monadic algebra.Let
I
be a set usually countable to index the variables . A mapping not necessarily one to one or onto fromI
intoitself is called a transformation. Let
I
I=
{
τ
τ
:
I
→
I
is
a
transforma
tion
}
. Denote the set of all endomorphisms onB
byEnd
( )
B
and the set of all quantifiers ofB
byQant
( )
B
.A polyadic algebra is
(
B
,
I
,
S
,
∃
)
whereS
:
I
I→
End
( )
B
and∃
:
2
I→
Qant
( )
B
such that for anyJ
,
K
∈
2
I and anyσ
,
τ
∈
I
I we have:1)
∃
(
φ
)
=
id
2)
∃
(
J
∪
K
)
=
∃
(
J
)
∃
(
K
)
3)
S
( )
id
=
id
4)
S
( )
στ
=
S
( ) ( )
σ
S
τ
5)
S
( ) ( )
σ
∃
J
=
S
( ) ( )
τ
∃
J
if
σ
I−J=
τ
I−J6)
∃
( ) ( )
J
S
τ
=
S
( )
τ
∃
(
τ
−1( )
J
)
if
τ
is
one
to
one
on
τ
−1( )
J
6 2 3 7 2 7 "
For
J
⊆
I
we may define∀
(
J
)
by∀
(
J
)(
a
)
=
(
∃
( )( )
J
a
'
)
'
for anya
∈
B
.3. POLYADIC IDEALS AND FILTERS:
A subset
U
of a Boolean algebraB
is called a Boolean ideal if i)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 if i)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
if i)U
is a Boolean idealii) If
J
⊆
I
and
a
∈
U
then
∃
( )( )
J
a
∈
U
iii) Ifa
∈
U
and
σ
∈
I
Ithen
S
( )( )
σ
a
∈
U
A subset
F
of a polyadic algebraB
is called a polyadic filter ofB
if i)F
is a Boolean filterii) If
J
⊆
I
and
a
∈
F
then
∀
( )( )
J
a
∈
F
iii) Ifa
∈
F
and
σ
∈
I
Ithen
S
( )( )
σ
a
∈
F
.Proposition: 3.1 [4] A subset
U
of a polyadic algebraB
is an ideal of it if and only ifU
is an ideal of the Boolean algebraB
and∃
( )( )
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
.Proof: Let
U
be an ideal of a polyadic algebra, by the definitionU
is an ideal of a Boolean algebraand
∃
( )( )
I
a
∈
U
.Let
U
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
, ifa
∈
U
andI
I
∈
σ
. We havea
<
∃
( )( )
I
a
andS
( )( )
σ
a
<
S
( ) ( )( )
σ
∃
I
a
, so it means to show that everyS
( )
σ
acts as identity transformation fromI
I since there is nothing out ofI
. ThenS
( ) ( )( ) ( ) ( )( )
σ
∃
I
a
=
id
∃
I
a
=
∃
( )( )
I
a
, therefore( )( )
a
U
S
σ
∈
.A similar argument proves the second part.
Proposition: 3.2 [4] There is a one to one correspondence between ideals and filters : if
U
is an ideal , then the setF
U
′
=
of alla
′
witha
∈
U
is a filter . Analogously, ifF
is a filter, thenU
=
F
′
=
{
a
′
:
a
∈
F
}
is an ideal.Proposition: 3.3 The set of all polyadic ideals and the set of all polyadic filters are closed under the arbitrary intersections.
6 2 3 7 2 7 "
Proposition: 3.4 Let
B
be a polyadic algebra andΓ
⊆
B
. Theni)
U
( )
Γ
=
{
b
∈
B
:
b
≤
x
1∨
x
2∨
...
∨
x
nfor
some
x
1,
x
2,...,
x
n∈
Γ
}
∪
{ }
0
ii)
F
( )
Γ
=
{
b
∈
B
:
b
≥
x
1∧
x
2∧
...
∧
x
nfor
some
x
1,
x
2,...,
x
n∈
Γ
}
∪
{ }
1
Proof:
i) Let
J
=
{
b
∈
B
:
b
≤
x
1∨
x
2∨
...
∨
x
nfor
some
x
1,
x
2,...,
x
n∈
Γ
}
∪
{ }
0
0
∈
J
. Letb
1,
b
2∈
J
. Thenn
x
x
x
b
1≤
1∨
2∨
...
∨
andb
2≤
y
1∧
y
2∧
...
∧
y
m for somex
i,
y
i∈
Γ
.m
n
y
y
y
x
x
x
b
b
1∨
2≤
1∨
2∨
....
∨
∨
1∨
2∨
...
∨
.Thereforeb
1∨
b
2∈
J
. Ifa
≤
b
≤
x
1∨
x
2∨
....
∨
x
n , thenJ
a
∈
. ThenJ
is a Boolean ideal containingΓ
. ThereforeU
( )
Γ
⊆
J
.If
b
∈
J
, thenb
1≤
x
1∨
x
2∨
...
∨
x
n wherex
i∈
Γ
i.e.x
i∈
U
( )
Γ
. Thenb
∈
U
( )
Γ
. ThusU
( )
Γ
=
J
as a Boolean ideal.Let
a
∈
J
thena
≤
x
1∨
x
2∨
...
∨
x
n∃
( )( )
I
a
≤
∃
( )(
I
x
1∨
x
2∨
...
∨
x
n)
=
∃
( )( )
I
x
1∨
∃
( )( )
I
x
2∨
...
∨
∃
( )( )
I
x
n . 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 [3]Proposition: 3.5 Let
F
be a filter of 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
iffa
∈
F
orb
∈
F
for anya
,
b
∈
F
. iii) Ifa
∈
B
−
F
, then there is an ultrafilterL
such thatF
⊂
L
anda
∈
L
.Let
Γ
⊆
B
. The ultrafilter containingF
(
Γ
)
is denoted byUF
(
Γ
)
.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 homomorphismii)
µ
∃
=
∃
µ
iii)
µσ
=
σµ
for anyσ
∈
I
IObviously,
µ
∀
=
∀
µ
.4. DEDUCTION:
Notation: for
Γ
⊆
B
andb
∈
B
,Γ
b
readsb
is deduced fromΓ
inB
. Now, we defineΓ
b
in a polyadic algebraB
iffb
∈
F
( )
Γ
.6 2 3 7 2 7 " 8
Proposition: 4.6
i)
Γ
1
andΓ
0
ii) If
Γ
x
,Γ
y
thenΓ
x
∧
y
.General properties of deduction are given by the following:
Theorem: 4.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Γ
0b
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 4.6n
x
x
x
1∧
2∧
...
∧
∈
F
( )
Σ
∴
b
∈
F
( )
Σ
∴
Σ
b
iv)
Γ
b
∴
b
∈
F
( )
Γ
∴
b
≥
x
1∧
x
2∧
...
∧
x
n for somex
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 3.4(ii) and proposition 4.6
5. FUNCTIONAL POLYADIC ALGEBRA:
Let
(
B
,
∨
,
∧
,
′
,
0
,
1
)
be a complete Boolean algebra,B
A=
{
p
p
:
A
→
B
is a function} whereA
is an algebra 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
( )
a
=
0
,1
( )
a
=
1
for anya
∈
A
.We have:
Proposition: 5.8 [2]
(
A,
∨
,
∧
,
′
,
0
,
1
)
B
is a functional Boolean algebra.Proposition: 5.9 [2]
(
B
A,
∃
)
is a functional monadic algebra, where∃
:
B
A→
B
A is given by( )( )
p
a
=
{
p
( )
a
a
∈
A
}
∃
sup
:
.Proposition: 5.10
(
B
A,
I
,
S
,
∃
)
is a functional polyadic algebra, whereS
:
I
I→
End
( )
B
A and∃
:
2
I→
Qant
( )
B
Aare given by
S
( )( )( )
τ
p
a
=
p
(
τ
( )
a
)
for anyτ
∈
I
I and( )
J
p
a
{
p
a
a
A
}
J∈
=
6 2 3 7 2 7 " 9
Proof: For any
J
,
M
∈
2
I and anyσ
,
τ
∈
I
Iwe have: i)∃
( ) ( )
p
a
=
{
p
( )
a
}
=
p
( )
a
φ
φ
sup
∴
∃
( )
φ
=
id
ii)
(
J
M
) ( )
p
a
{
p
( )
a
}
{
p
( )
a
}
{
p
( )
a
}
( ) ( ) ( ) ( )
J
p
a
M
p
a
M J M J∃
∃
=
=
=
∪
∃
∪sup
sup
sup
∴
∃
(
J
∪
M
) ( ) ( )
=
∃
J
∃
M
.iii)
S
( ) ( )
id
p
a
=
p
(
id
( )
a
)
=
p
( )
a
∴
S
( )
id
=
id
iv)
S
( ) ( )
στ
p
a
=
p
(
σ
(
τ
( )
a
)
)
=
S
( )
σ
p
(
τ
( )
a
)
=
(
S
( ) ( )
σ
S
τ
) ( )
p
a
∴
S
( )
στ
=
S
( ) ( )
σ
S
τ
v)S
( ) ( ) ( )
J
p
a
S
( )
{
P
( )
a
}
S
( )
{
p
( )
a
}
J J
sup
sup
τ
σ
σ
∃
=
=
ifσ
I−J=
τ
I−J
=
S
( ) ( ) ( )
τ
∃
J
p
a
∴
S
( ) ( )
σ
∃
τ
=
S
( ) ( )
τ
∃
J
ifσ
I−J=
τ
I−Jvi)
( ) ( ) ( )
J
S
p
a
( )
J
p
(
( )
a
)
{
p
(
( )
a
)
}
Jτ
τ
τ
=
∃
sup
∃
( ){
( ) ( )
}
a
p
S
Jτ
τ 1sup
−=
ifτ
is1
−
1
onτ
−1( )
J
( )
( )
( )
{
p
a
}
S
( )
(
( )
J
)
p
( )
a
S
J
1
1
sup
=
∃
−=
−τ
τ
τ
τ( ) ( )
J
S
S
( )
(
−1( )
J
)
∃
=
∃
∴
τ
τ
τ
.Natural inference rules of polyadic logic are now transferred into certain algebraic rules in
B
A governing the algebraicdeduction in
F
( )
Γ
whereΓ
⊆
B
A. These are given as follows: AB
⊆
Γ
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 5.6(i)
ii) Follows from definition of filter and proposition 3.1
iii) This is so because if both
Γ
p
andΓ
p
'
we getp
(
a
)
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
( )
Γ
∴
p
(
a
)
∨
q
(
a
)
≥
p
(
a
)
( )
Γ
∈
∨
∴
p
(
a
)
q
(
a
)
F
. ThereforeΓ
p
∨
q
.v) This is by
∀
p
≤
p
and∀
(
F
( )
Γ
)
⊆
F
( )
Γ
.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
ifp
∈
UF
( )
Γ
we get the following dichotomy by proposition 3.5Theorem: 5.12 Either
Γ
p
orΓ
p
'
.6. TERMS:
6 2 3 7 2 7 " 5 i)
X
∪
0⊆
T X
( )
ii) If
t
1,...,
t
n∈
T
(
X
)
andf
∈
nthenf
(
t
1,...,
t
n)
∈
T
(
X
)
.[ 3 ]For
t
∈
T
(
X
)
we often writet
ast
(
x
1,...,
x
n)
to indicate that the variables occurring int
are amongx
1,...,
x
n A termt
is an n-ary if the number of variables appearing explicitly is less than or equal ton
.The term
t
defines a functiont
A:
A
n→
A
as followst
A(
a
1,...
a
n)
=
t
(
x
i/
a
i)
fora
1,...,
a
n∈
A
. The term algebraT
(
X
)
of type F overX
has as its universe the setT
(
X
)
and the fundamental operations satisfy:)
,...,
(
)
,...
(
:
1 1) (
n n
X
T
t
t
f
t
t
f
forf
∈
Fn andt
i∈
T
(
X
)
,1
≤
t
≤
n
.Now, consider the functional polyadic algebra
(
B
A,
I
,
S
,
∃
)
. A termt
defines a functiont
*:
B
A→
B
A as follows:)
/
(
)
(
)
)(
(
*
p
a
pt
a
pt
x
a
t
=
A=
, wherex
=
(
x
1,...,
x
n)
anda
=
(
a
1,...,
a
n).
Proposition: 6.13 [1]
i)
t
*∈
End
(
B
A)
ii)
∃
( )
J
t
*=
t
*∃
( )
J
for anyJ
⊆
I
.Note that
t
*(
F
( )
Γ
)
=
F
(
t
*( )
Γ
)
andt
*(
UF
( )
Γ
)
=
UF
(
t
*( )
Γ
)
. DefineΓ
pt
ifpt
∈
F
(
t
*( )
Γ
)
.Then theorem 5.10 can be generalized with respect to terms as follows:Theorem: 6.14
i)
Γ
pt
∧
qt
iffΓ
pt
andΓ
qt
. ii)Γ
pt
iffΓ
p
'
t
iii)
Γ
pt
∨
qt
iffΓ
pt
orΓ
qt
. iv)Γ
pt
iffΓ
∀
( )
J
pt
.v)
Γ
pt
(
a
0)
iffΓ
∃
( )
J
pt
(
a
).
Also we have:Theorem: 6.15 With respect to
UF
( )
Γ
, eitherΓ
pt
orΓ
p
'
t
.REFERENCES:
[1] K. H. Alzubaidy, On Algebraization of Polyadic Logic, Journal of mathematical sciences, 18(2007), 15-18.
[2] K. H. Alzubaidy, Deduction in Monadic Algebra, Journal of mathematical sciences, 18, (2007), 1-5.
[3] S. Burris and H. P. Shakappanavor, A Course in Universal Algebra, Springer Verlag, New York, 1981.
[4] B. Plotkin, Universal Algebra, Algebraic Logic, and Databases, Kluwer academic publishers, 1994.