ХНУРЭ,кафедра ПО ЭВМ, Тел. 7021-446, N.V. Bilous Факультет компьютерных наук Кафедра ПО ЭВМ, ХНУРЭ Discrete mathematics.

Slides:



Advertisements
Similar presentations
KNURE, Software department, Ph , N.V. Bilous Faculty of computer sciences Software department, KNURE Boolean Algebra.
Advertisements

Lecture 5 EGRE 254 1/28/09. 2 Boolean algebra a.k.a. “switching algebra” –deals with Boolean values -- 0, 1 Positive-logic convention –analog voltages.
CSE 311: Foundations of Computing Fall 2013 Lecture 3: Logic and Boolean algebra.
Chapter 2 Logic Circuits.
ECE 331 – Digital System Design
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
1 Section 10.1 Boolean Functions. 2 Computers & Boolean Algebra Circuits in computers have inputs whose values are either 0 or 1 Mathematician George.
1 Inference Rules and Proofs Z: Inference Rules and Proofs.
1 Inference Rules and Proofs Z: Inference Rules and Proofs.
Chapter 9: Boolean Algebra
Algebraic Expressions and Formulas
Propositional Calculus Math Foundations of Computer Science.
Fall 2002CMSC Discrete Structures1 Yes, No, Maybe... Boolean Algebra.
EXAMPLE 1 Apply the distributive property
Boolean Functions.
Section Section Summary Introduction to Boolean Algebra Boolean Expressions and Boolean Functions Identities of Boolean Algebra Duality The Abstract.
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
Chapter 10.1 and 10.2: Boolean Algebra Based on Slides from Discrete Mathematical Structures: Theory and Applications.
CHAPTER 2 Boolean Algebra
Course Outline Book: Discrete Mathematics by K. P. Bogart Topics:
CS1502 Formal Methods in Computer Science
©2004 Brooks/Cole FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter in.
1 Section 10.2 Boolean Algebra Motivation: Notice the list of corresponding properties for the algebra of sets and the algebra of propositional wffs. These.
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
Boolean Logic and Circuits ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
PRASAD A. PAWASKAR SPN. NO DETE 2 SEMESTER lec1-11.
Propositional Calculus CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
ХНУРЭ,кафедра ПО ЭВМ, Тел , N.V. Bilous Факультет компьютерных наук Кафедра ПО ЭВМ, ХНУРЭ Discrete mathematics.
Discrete Mathematics CS 2610 February 12, Agenda Previously Finished functions Began Boolean algebras And now Continue with Boolean algebras.
Extra slides for Chapter 3: Propositional Calculus & Normal Forms Based on Prof. Lila Kari’s slides For CS2209A, 2009 By Dr. Charles Ling;
Discrete Mathematics CS 2610 September Equal Boolean Functions Two Boolean functions F and G of degree n are equal iff for all (x 1,..x n )  B.
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
1 CSE370, Lecture 3 Lecture 3: Boolean Algebra u Logistics u Last lecture --- Numbers n Binary numbers n Base conversion n Number systems for negative.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
BOOLEAN ALGEBRA Kamrul Ahsan Teacher of
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Boolean Algebra and Logic Gates
R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001 Chapter 9 Boolean Algebras and Combinatorial Circuits.
Lecture 18: Boolean Algebra Boolean Functions. w = Chris is allowed to watch television x = Chris's homework is finished y = it is a school night z =
Symbolic Logic The Following slide were written using materials from the Book: The Following slide were written using materials from the Book: Discrete.
Boolean Algebra ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
Boolean Algebra.
Mu.com.lec 9. Overview Gates, latches, memories and other logic components are used to design computer systems and their subsystems Good understanding.
Fundamentals of Logic Design, 7 th editionRoth/Kinney © 2014 Cengage Learning Engineering. All Rights Reserved. 1 Boolean Algebra (continued) UNIT 3.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Advanced Algorithms Analysis and Design
DISCRETE MATHEMATICS CHAPTER I.
CS 105 Digital Logic Design
CHAPTER 3 BOOLEAN ALGEBRA (continued)
CHAPTER 2 Boolean Algebra
Discussion #10 Logical Equivalences
… and now for the Final Topic:
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Boolean Algebra A Boolean algebra is a set B of values together with:
Lecture 2-1 Boolean Algebra
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
Lecture 3: Boolean Algebra
Boolean Algebra Why study Boolean Algebra?
Adding and Subtracting Polynomials
Propositional Calculus: Boolean Algebra and Simplification
Discrete Mathematics CS 2610
Solving Linear Systems Algebraically
Applied Discrete Mathematics Week 4: Functions
CHAPTER 3 BOOLEAN ALGEBRA (continued)
Faculty of Cybernetics, Statistics and Economic Informatics
Chapter 10.1 and 10.2: Boolean Algebra
Digital Systems Section 3 Boolean Algebra. Digital Systems Section 3 Boolean Algebra.
Presentation transcript:

ХНУРЭ,кафедра ПО ЭВМ, Тел , N.V. Bilous Факультет компьютерных наук Кафедра ПО ЭВМ, ХНУРЭ Discrete mathematics. Jegalkin Algebra.

2 Jegalkin algebra. Jegalkin algebra is an algebra, that uses the conjunction (x  y = x  y), the eXclusive OR (x  y) and the constant of unity 1 as an initial (or elementary) functions.

3 Identities of Jegalkin algebra. Properties of conjunction:  Associative law – х  (y  z) = (х  y)  z;  Commutative law – х  y=y  х;  Idempotence law – х  х=х;  Actions with the constants – x  0=0, x  1=x.

4 Identities of Jegalkin algebra. XOR operation properties ( addition by module 2):  The commutative law: x  y=y  x; xy xyxy Proof the commutative law : yxyx

5 Identities of Jegalkin algebra.  The associative law: х  (y  z)= (х  y)  z xyz yzyzx  (y  z)xyxy(x  y)  z Proof of the associative law :

6 Identities of Jegalkin algebra. Rules of the summand elimination:  x  x=0  x  0=x x xxxxx0x Proof of identity:

7 Identities of Jegalkin algebra.  The distributive law (  accordingly  ): x(y  z)=xy  xz xyz yzyzx(y  z) xyxz xy  xz Proof of distributiveness  accordingly 

8 Transition formulae from logic algebra to Jegalkin algebra.  Introducing of the negation in Jegalkin algebra: Prove this identity by the truth table:

9 Transition formulae from logic algebra to Jegalkin algebra.  I ntroducing of disjunction in Jegalkin algebra: Prove given formula analytically:

10 Jegalkin polynomial. Jegalkin polynomial is final addition by module 2 of two different elementary conjunctions above set of variables {x 1, x 2,…, x n }. The quantity of variables including into elementary conjunction is called the range of elementary conjunction. The quantity of two different elementary conjunctions in polynomial is called the length of polynomial.

11 Jegalkin polynomial and the rule of its building. For the building of Jegalkin polynomial for any function given by the formula of Jegalkin algebra it is needed to open all brackets in giving formula using the distributive law and do all possible simplifications with the help of the law for the constants, idempotence law and the rules of the summand elimination.

12 Jegalkin polynomial and the rule of its building. Example. Build Jegalkin polynomials for implication (  ) and equivalence (~). Solution.

13 Linear Boolean functions. A Boolean function is called linear if its Jegalkin polynomial does not contain conjunctions of variables. Example. Verify the function as for the linearity

14 Linear Boolean functions. Solution. Build Jegalkin polynomial of given function using the following identities:, х  у=xу  х  у, Transform the given result using the building rule of Jegalkin polynomial.

15 Linear Boolean functions. Continuation of example. Function is nonlinear.

16 Jegalkin polynomial and the rule of its building. Example. Build Jegalkin polynomial for the implication function using the method of the indefinite coefficients.

17 Jegalkin polynomial and the rule of its building. Solution. Write down polynomial for the given function in the form of sum by module 2 for all possible elementary conjunctions for x, y without the negation: f 13 (x,y) = x  y = a 1 xy  a 2 x  a 3 y  a 4,

18 Jegalkin polynomial and the rule of its building. Continuation of example. f 13 (0,0) = 0  0 = 1 1 = a 1  0  0  a 2  0  a 3  0  a 4 = a 4 f 13 (0,1) = 0  1 = 1 1 = a 1  0  1  a 2  0  a 3  1  1 = a 3  1, from here follows that a 3 = 0 f 13 (1,0) = 1  0 = 0 0 = a 1  1  0  a 2  1  a 3  0  1 = a 2  1, from here follows that a 2 = 1

19 Jegalkin polynomial and the rule of its building. Continuation of example. f 13 (1,1) = 1  1 = 1 1 = a 1  1  1  1  1  0  1  1 = a 1  1  1= a 1 Substitute given values of the coefficients in the polynomial: x  y=a 1 xy  a 2 x  a 3 y  a 4 =1  xy  1  x  0  y  1 =xy  x  1