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

4.5. Normal Forms of Boolean Functions

De/'M'Y'oM. Elementary conjunction is a conjunction of any number of Boolean variables taken with negation or without it in which each variable occurs not more than one time.

An elementary conjunction containing none variable we assume the constant 1.

Exaw^/e 4.J.7. Elementary conjunctions for a function of one variable might be y, z; for a function of two variables - x A y, x A z.

De/'M'Y'oM. By a disjunctive normal form (DNF) we mean a formula represented in the form of a disjunction of elementary conjunctions.

Exaw^/e 4.J.2. DNF : (x1 A x2 A x3) v(x1 A x2 )v(x3 A x2 )v x3 .

De/'M'Y'oM. An elementary conjunction xj^1 A x22 A ... A xJM is called a constituent of unit of a function /(x1,x2,...,xM) if /(j1, j2,..., jM) = 1, that is an interpretation reducing the given elementary conjunction into unit, turns also a function / into 1.

Exaw^/e 4.J.3. The elementary conjunction x 1 A x 2 is the constituent of a function of two variables / (x1, x 2) on the interpretation (1,0) since

x 1 A x 2 = x^ A x2 and x 1 A x 2 = 1.

The elementary conjunction .x1 A..2 A is the constituent of unit of a function of three variables /(.x1,..2, ..3) on the interpretation (1,1,1) since

.x1 A ..2 A ..3 = .X1 A ..2 A ..j1 and .x1 A ..2 A ..3 = 1.

A formula represented in the form of disjunction of constituents of unit of the given function is called a perfect disjunction normal form (PDNF).

An elementary disjunction is a disjunction of any number of Boolean variables taken with negation or without it in which, each variable occurs not more than one time.

Elementary disjunction, containing none variables we assume the constant 0.

A formula represented in the form of a conjunction of elementary disjunctions is called a conjunction normal form (CVF).

E.^w^/e 4.J.4. (.x1 V..2 V ..3 )v(.x1 V.. 3 )A..2 - CA^F.

An elementary disjunction ..j^1 V ..i^2 V... V ..J" is called a constituent of zero of a function /(.x1,..2,...,) if /(j1,j2,...,)= 0, that is an interpretation reducing given elementary disjunction into zero turns also a function / into zero.

E^^w^/e 4.J.J. The elementary disjunction .. V y is a constituent of zero of a function /(.., y) on the interpretation (0,1), since .. V y=.Y1 V y 0 =.. 0 V y1, therefore on interpretation (.., y)= (0,1)we have the equality .. V y = 0.

A formula represented in the form of conjunction of constituents of zero of the given function is called a perfect conjunction normal form (FCVF).

4.6. Zhegalkin Algebra

The algebra (R, A, @,0,1) formed by the set R = {0,1} together with operations A, @ and constants 0, 1 is called Zhegalkin algebra. The basic laws of this algebra are:

  1. Commutative laws: .x1 @ ..2 = ..2 @ .x1; .x1 A ..2 =..2 A .x1.

  2. Associative laws: .x1 @ (..2 @ ..3) = (.x1 @ ..2) @ ..3;

.1 A(. 2 A .3 ) = (.1 A . 2)A .3.

  1. Distributive law: .x1 A (..2 @ ..3) = (.x1 A ..2) @ (.x1 A ..3).

  2. Idempotent law: . A . = . .

  3. Operations with constants: .. A0 = 0, .. A1 = .. .

De//'M/Y/oM. Zhegalkin polynomial is a finite sum taken absolutely 2 mutually distinct elementary conjunctions over a set of variables .. 2,..., .YM }.

E.^wp/e 4.d.7. 1) Zhegalkin polynomial of constant is equal to this constant.

    1. /(.)=h0 e ..

    2. /(..^,..2)=hQ e h^e h2..2 e h12 (..^ A..2).

y^eorew. Each Boolean function /(..!,..2,...,.YM) can be represented in the form of Zhegalkin polynomial in a unique way up to order of summands.

De//'M/Y/oM Boolean function is called linear if its Zhegalkin polynomial does not contain conjunctions of variables, that is its Zhegalkin polynomial is of the form

hQ e h^e... e hM.YM.

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