Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Ministry of Transport and Communications of Ukr...doc
Скачиваний:
0
Добавлен:
01.07.2025
Размер:
949.25 Кб
Скачать

4. Boolean algebra

4.1. Boolean Functions

De/'M'MY'oM. A function / (x1, x 2,..., xM) which takes one of two values 0 or 1 of M variables each of those also assumes one of two values 0 or 1 is called a Boolean function.

Two Boolean functions are said to be equal if for any tuple of values these two functions take equal values.

We have four Boolean functions of one variable and sixteen functions of two

variables. 2 is the number of Boolean functions of M variables.

Let us consider truth tables of functions of one and two variables.

x

^2

0

0

0

1

1

1

0

1

0

1


Functions ^Q (x) and (x) are called constants respectively 0 and 1. The function (x) coincides with a variable x and is called identical, that is (x )= x.

The function (..) takes the values opposite to those of .., and is called a

negation of .. denoted by .. : (..) = .. .

The truth table of a function of two variables is of the form:

.1

. 2

^0

^2

^3

^4

^5

^ 6

^ 8

^9

^10

^12

^13

^14

^15

0

0

0

0

0

0

0

0

0

0

1

1

1

1

1

1

1

1

0

1

0

0

0

0

1

1

1

1

0

0

0

0

1

1

1

1

1

0

0

0

1

1

0

0

1

1

0

0

1

1

0

0

1

1

1

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

..1

.1

Operatio n

0

A

.1

A

.2

e

v

^

.. 2

v

.1

^

1

. 2

. 2


Th^/e 4.7.2

              1. The functions and are constants.

              2. The functions ^10 and essentially depend on one variable:

^3 = Y1, ^5 = .2, ^10 = ..2 , ^12 = ..1 .

              1. The function = A ..2 is called conjunction.

              2. The function = v ..2 is called disjunction.

              3. The function = ^ ..2, or ~ ..2 is called equivalence.

              4. The function = @ ..2 is called the sum taken absolutely 2.

              5. The function = ..2 ^ is called conversion.

              6. The function = ^.. 2 is called implication.

              7. The function = ..2 is called Scheffer's prime.

              8. The function = ^ ..2is called Peirce's arrow.

              9. The functions and are called exclusion's functions.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]