Docsity

digital circuit slides, Thesis of Circuit Theory

Partial preview of the text

Download digital circuit slides and more Thesis Circuit Theory in PDF only on Docsity!

Lecture 05: 불 대수 (Boolean algebra)

IT융합대학교 컴퓨터공학과

Postulate & theorems

❑ A statement which can be proved to be true using logical

(deductive) reasoning (논리적 (연역적) 추론을 통해 참이라는 것이

증명될 수 있는 명제)

❑ A proposition deducible from basic postulates

❑ A basic assumption that is accepted without proof (증명 없이

받아들여지는 기본적인 가정)

❑ Accepted as true in order to provide a basis for logical

reasoning

Postulate/Axiom (공리)

Theorem (정리)

용어 (Terminology)

  • Postulates: "We assume A and B are true."
  • Logical Reasoning: "If A and B are true, then C must also be true."
  • Theorem: "Therefore, C is a Theorem."
• 기본적인 불 대수식은 AND, OR, NOT을 이용하여 표현 ()
  • AND식은 곱셈의 형식으로 표현하고,
  • OR 식은 덧셈의 형식으로 표현
  • NOT식은

ҧ

𝐴

또는 A ˊ 로 표현

(complete logic expression) 은 입력 항목들의 상태에 따른 출력을 결정하는 식

A = 0 and B = 1 일 때 출력을 1 로 만들려는 경우

A = 0 or B = 1 일 때 출력을 1 로 만들려는 경우

( A = 0 and B = 1) or ( A = 1 and B = 0) 일 때

F = AB

F = A + B

F = AB + AB

기본 논리식의 표현

What Makes a Logic Expression "Complete"?

→ It accounts for all possible input combinations.

→ It includes all necessary logic operations (AND, OR, NOT, etc.) to determine the correct output.

F = A + B

A B F
A B C A= 1 C
A =0 또는 B =0일 때,

F = A + B C

B
B C
A + B C
A =1이거나 ( B =0이고 C =1)일 때,

기본 논리식의 표현

❑ 불 대수 공리(Boolean Algebra Axioms)

P1 A = 0 or A = 1

P2 0 ∙ 0 = 0

P3 1 ∙ 1 = 1

P4 0 + 0 = 0

P5 1 + 1 = 1

P6 1 ∙ 0 = 0 ∙ 1 = 0

P7 1 + 0 = 0 + 1 = 1

불 대수 공리

❑ 불 대수 법칙

Identity

1. A +0=0+ A = A 2. A ·1=1· A = A

불 대수 법칙

multiplicative identity element

곱셈 항등원

additive identity element

덧셈 항등원

a

a

1

a

a

0

OR operation

AND operation

❑ 불 대수 법칙

1. A +0=0+ A = A 2. A ·1=1· A = A 3. A +1=1+ A =

4. A ·0=0· A =0 5. A + A = A 6. A · A = A

A + A = 1

A A  = 0

A = A

불 대수 법칙

A.(7,8) Existence of a complement: For every element (원소) a  B

there exists an element a’ such that

[여집합의 존재: B의 모든 원소 aaa에 대하여, 어떤 원소 a′a'a′가

존재하여 ]

I. A + A’ = 1

II. A · A’ = 0

the complement(여집합) of a

13

❑쌍대성(duality)

불 대수 법칙

expressions or equations such that one is transformed into the other and vice-versa

by interchanging the operators, + ↔ ·, and identity elements, 0 ↔ 1.

Postulate

Duals

Expression 1 Expression 2

1 a, b, a + b ε B a, b, a · b ε B

2 a + 0 = a a · 1 = a

3 a + b = b + a a · b = b · a

4 a + (b + c) = (a + b) + c a · (b · c) = (a · b) · c

5 a + (b · c)=(a + b) · (a + c) a · (b + c)=(a · b)+(a · c)

6 a +a= 1

a • a = 0

14

❑쌍대성(duality)

불 대수 법칙

Why Is it Important?

→AND-OR 형태와 OR-AND 형태 간의 변환이 가능함

“Boolean algebra has a symmetry: if you swap AND with OR

and swap 0 with 1, the logic still works.”

a +a = 1

a • a = 0

❑ 진리표(Truth table)를 이용한 드모르간의 정리 The Morgan Theorem 증명

A B A + B

A + B

A B

A B

불 대수 법칙

❑ 드모르간 정리의 일반식

불 대수 법칙

A + B + C = A B C  
A B C   = A + B + C
A + B + C + D = A B C D   
A B C D    = A + B + C + D

1 2 3

1 2 3

n

n

A + A + A +  + A = A A A  A

1 2 3

1 2 3

n

n

A A A  A = A + A + A +  + A

다음 정리(concensus theorem)를 불 대수의 기본 법칙과 진리표를 이용해 증명하시오.

불 대수 법칙

A B C AB BC AB

AC AB + BC + AC

AB + AC AC

AB + BC + AC = AB + AC

불 대수 법칙