markdown
Basics of Boolean algebramd c719f41
lecture/math/discrete-math/boolean-algebra-basics.lecture.n.md
Download PDF

Basics of Boolean algebraブール代数だいすう

document_iddoc_f2c1125c4185993d00a57c7b4f3e09detitleブール代数の基本 講義type講義content_typelecturedate2026-07-01categorymathdescription命題論理、集合演算、べき集合の束をつなぐブール代数の基本を説明する。prerequisites集合演算 / 論理演算 / 半順序関係 / 束の基本relateddata/lecture/math/discrete-math/discrete-mathematics-portal.lecture.n.md / data/lecture/math/discrete-math/propositions-predicates-and-quantifiers.lecture.n.md / data/lecture/math/discrete-math/power-set-basics.lecture.n.md / data/lecture/math/discrete-math/lattice-basics.lecture.n.md / data/exercise/math/discrete-math/order-isomorphisms-and-boolean-algebras.exercise.n.md

Boolean algebraブール代数だいすう is a structure for treating logic論理ろんり and set operations集合演算しゅうごうえんざん in the same formal shape. The propositional operations “and,” “or,” and “not” correspond to intersection共通部分きょうつうぶぶん, union和集合わしゅうごう, and complement補集合ほしゅうごう of sets集合しゅうごう.

data/lecture/math/discrete-math/propositions-predicates-and-quantifiers.lecture.n.md data/lecture/math/discrete-math/lattice-basics.lecture.n.md

1Terms and definition

Let the latticeそく (B,,) have a least element 0 and a greatest element 1. Suppose that for every x,y,zB it satisfies both distributive laws分配律ぶんぱいりつ:

x(yz)=(xy)(xz),
x(yz)=(xy)(xz).

If every xB has a complement補元ほげん x satisfying

xx=0,xx=1,

then (B,,,,0,1) is a Boolean algebraブール代数だいすう. Thus a Boolean algebra is a bounded distributive lattice有界分配束ゆうかいぶんぱいそく equipped with a complement for every element. We will prove below that these axioms make the complement unique.

2Correspondence with truth sets of predicates

Fix a universal set全体集合ぜんたいしゅうごう U and predicates P(x),Q(x) on U. Let the truth set真理集合しんりしゅうごう of P be

SP={xUP(x)}.

Similarly, let SQ={xUQ(x)}.

Then logical operations and set operations correspond as follows.

FormulaTruth set
PQSPSQ
PQSPSQ
¬PUSP
PQ(USP)SQ
PQ(SPSQ)((USP)(USQ))

This correspondence lets us read transformations of logical formulas as set operations集合演算しゅうごうえんざん. In particular, PQ is true for every xU exactly when SPSQ, and PQ is true for every xU exactly when SP=SQ.

3A power set冪集合べきしゅうごう is a Boolean algebraブール代数だいすう

For any set U, the power set冪集合べきしゅうごう [PARSE ERROR: Undefined("Command(\"mathcal\")")]P(U) becomes a Boolean algebra using the inclusion order, union, intersection, and complement.

XY=XY
XY=XY
X=UX

Here denotes joinむす, denotes meetまじわり, and ' denotes complementation. Thus the logical operations ,,¬ correspond in this example to ,,U(-), respectively.

Here 0=[PARSE ERROR: Undefined("Command(\"varnothing\")")] and 1=U. Union and intersection satisfy both distributive laws, and X=UX satisfies XX=[PARSE ERROR: Undefined("Command(\"varnothing\")")] and XX=U. Thus every part of the definition of a Boolean algebra is satisfied.

data/lecture/math/discrete-math/power-set-basics.lecture.n.md

4De Morgan's lawsド・モルガンの法則

De Morgan's lawsド・モルガンの法則 say that negation interchanges “and” and “or.”

In logic,

¬(PQ)(¬P)(¬Q)
¬(PQ)(¬P)(¬Q)

and for sets,

U(AB)=(UA)(UB)
U(AB)=(UA)(UB).

5What is being abstracted

Boolean algebraブール代数だいすう temporarily ignores whether the objects are propositions or sets, and focuses only on the laws satisfied by the operations. The preserved structure concerns joinsむす, meetsまじわり, complements補元ほげん, greatest elements, and least elements.

This abstraction lets logical circuits, families of sets, conditional branches, and search conditions be handled by the same formal rules.

The point is that even after replacing concrete propositions命題めいだい or sets集合しゅうごう, calculations use the same laws for joinsむす, meetsまじわり, and complements補元ほげん. We are looking at the structure preserved by the operations, not at the objects themselves.

6Proof supplement: uniqueness of complements補元ほげん

In a Boolean algebraブール代数だいすう, the complement補元ほげん of x is unique. Suppose y and z are both complements of x, meaning

xy=0,xy=1,xz=0,xz=1.

Then

y=y1=y(xz)=(yx)(yz)=0(yz)=yz[PARSE ERROR: Undefined("Command(\"le\")")]z.

The same argument gives z[PARSE ERROR: Undefined("Command(\"le\")")]y, so antisymmetry反対称性はんたいしょうせい implies y=z.

7Proof supplement: De Morgan's lawsド・モルガンの法則

Using uniqueness of complements補元ほげん, De Morgan's lawsド・モルガンの法則 can be proved cleanly. For example, it is enough to show that xy is a complement of xy.

(xy)(xy)=((xy)x)((xy)y)=0,
(xy)(xy)=(xxy)(yxy)=1.

Therefore uniqueness of complements gives

(xy)=xy.

The same method gives (xy)=xy.

8Exercise link and summary

data/exercise/math/discrete-math/order-isomorphisms-and-boolean-algebras.exercise.n.md

Boolean algebraブール代数だいすう is a structure connecting logic論理ろんり and set operations集合演算しゅうごうえんざん. A power set冪集合べきしゅうごう is a standard example of a Boolean algebra, and De Morgan's lawsド・モルガンの法則 are central calculation laws in it.

raw .n.md をコピー
loc をコピー (filepath:line ~ line)
copy share link
copy encoded share link
path をコピー
copy share link
copy encoded share link
copy share link
copy encoded share link
タブを全て閉じる