布尔代数

A Boolean Algebra is an algebra(set, operations, elements) consisting of a set B with >=2 elements, together with three operations- the AND operation(Boolean Product), the OR operation(Boolean Sum), and the NOT operation(Complement) - defined on the set, such that for any element a, b, c…. of set B, a*b, a+b and a' are in B.

布尔代数是由具有> = 2个元素的集合B以及三个运算组成的代数(集合,运算,元素),这三个运算分别是AND运算(布尔乘积), OR运算(布尔和)和NOT运算(补码)-在集合上定义,使得对于任何元素a,b,c…。 集合B中的a * b,a + b和a'在B中。

For Example:

例如:

  • Consider the four-element Boolean algebra B4 = ( {0, x, y, 1}; *, +, '; 0, 1). The AND, OR and NOT operations are described by the following tables:

    考虑四元素布尔代数B4 =({0,x,y,1}; *,+,'; 0,1) 。 下表描述了ANDORNOT运算:

  • Consider the two-element Boolean algebra B2 = ({0,1}; *, +, '; 0, 1). The three operations *(AND), +(OR) and '(NOT) are defined as follows:

    考虑二元布尔代数B2 =({0,1}; *,+,'; 0,1) 。 定义三个操作*(AND)+(OR)'(NOT)如下:

一些关键术语 (Some Key Terms)

Here are some key terms of the Boolean Algebra with a brief description about them:

以下是布尔代数的一些关键术语,并对其进行了简要说明:

布尔函数 (Boolean Function)

Boolean algebra is a switching algebra that deals with binary variables and logic operations. The variables are designated by letters such as A, B, x, and y. The three basic logic operations are AND, OR and NOT. A Boolean function can be expressed algebraically with binary variables, the logic operation symbols, parentheses and equal sign. For a given combination of values of the variables, the Boolean function can be either 1 or 0. Consider for example, the Boolean Function:

布尔代数是处理二进制变量和逻辑运算的交换代数。 变量由字母(例如A,B,x和y)指定。 三个基本逻辑运算是AND,OR和NOT。 布尔函数可以用二进制变量,逻辑运算符号,括号和等号代数表示。 对于给定的变量值组合,布尔函数可以为1或0。例如,考虑布尔函数:

F = x + y'z

The Function F is equal to 1 if x is 1 or if both y' and z are equal to 1; F is equal to 0 otherwise.

如果x为1或y'和z都等于1,则函数F等于1; 否则F等于0。

真相表 (Truth Table)

The relationship between a function and its binary variables can be represented in a truth table. To represent a function in a truth table we need a list of the 2n combinations of the n binary variables.

函数及其二进制变量之间的关系可以在真值表中表示。 为了在真值表中表示一个函数,我们需要n个二进制变量的2 n个组合的列表。

逻辑图 (Logic Diagram)

A Boolean function can be transformed from an algebraic expression into a logic diagram composed of AND, OR and NOT gates.

布尔函数可以从代数表达式转换为由AND,OR和NOT门组成的逻辑图。

The purpose of Boolean algebra is to facilitate the analysis and design of digital circuits. It provides a convenient tool to:

布尔代数的目的是促进数字电路的分析和设计。 它提供了一个方便的工具来:

  • Express in algebraic form a truth table relationship between binary variables.

    以代数形式表示二进制变量之间的真值表关系。

  • Express in algebraic for the input-output relationship of logic diagrams.

    以代数形式表示逻辑图的输入输出关系。

  • Find simpler circuits for the same function.

    查找具有相同功能的更简单的电路。

A Boolean function specified by a truth table can be expressed algebraically in many different ways. Two ways of forming Boolean expressions are Canonical and Non-Canonical forms.

由真值表指定的布尔函数可以用许多不同的方式代数表示。 形成布尔表达式的两种方法是经典非规范的形式。

规范形式 (Canonical Form)

It expresses all binary variables in every product(AND) or sum(OR) term of the Boolean function. To determine the canonical sum-of-products form for a Boolean function F(A, B, C) = A'B + C' + ABC, which is in non-canonical form, the following steps are used:

它表示布尔函数的每个乘积(AND)或sum(OR)项中的所有二进制变量。 要确定非规范形式的布尔函数F(A,B,C)= A'B + C'+ ABC的规范乘积和形式 ,请使用以下步骤:

F = A'B + C' + ABC= A'B(C + C') + (A + A')(B + B')C' + ABC

where x + x' = 1 is a basic identity of Boolean algebra

其中x + x'= 1是布尔代数的基本恒等式

= A'BC + A'BC' + ABC' + AB'C' + A'BC' + A'B'C' + ABC
= A'BC + A'BC' + ABC' + AB'C' + A'B'C' + ABC

By manipulating a Boolean expression according to Boolean algebra rules, one may obtain a simpler expression that will require fewer gates.

通过根据布尔代数规则操纵布尔表达式,可以得到需要较少门的较简单表达式。

The below table lists the most basic identities of Boolean algebra. All the identities in the table can be proven by means of truth tables.

下表列出了布尔代数的最基本身份。 表格中的所有身份都可以通过真值表来证明。

翻译自: https://www.studytonight.com/computer-architecture/boolean-algebra

布尔代数

布尔代数_布尔代数简介相关推荐

  1. 计算机硬件简介ppt,_计算机硬件简介.ppt

    _计算机硬件简介 计算机基础教程 内容提要 微型计算机硬件系统概述 微型计算机硬件系统 计算机引导过程(自学) 计算机选购(自学) 学习要求 基本要求 理解微机主板的作用并且能识别主板上的部件: 能够 ...

  2. 义乌市爱因宝母婴用品有限公司_公司简介

    义乌市爱因宝母婴用品有限公司_公司简介 义乌市爱因宝母婴用品有限公司_公司简介 义乌市爱因宝母婴用品连锁有限公司成立于2005年,主营孕婴童服装.食品.用品.车床.书籍音像.玩具等商品,品项达1000 ...

  3. retext代码高亮_实例简介Markdown格式

    简介 Markdown 是一种轻量级标记语言,由John Gruber和Aaron Swartz创建,使其成为可读性最大并可再发行的可输入输出的格式. Markdown 并不是为了取代 Html,因为 ...

  4. 音频(六)Mel滤波器组_原理简介

    为什么会产生出Mel 这种尺度的机制呢? 人耳朵具有特殊的功能,可以使得人耳朵在嘈杂的环境中,以及各种变异情况下仍能正常的分辨出各种语音: 其中,耳蜗有关键作用; 耳蜗实质上的作用相当于一个滤波器组, ...

  5. 域名管理系统 二级域名_域名系统简介

    域名管理系统 二级域名 by Sumedh Nimkarde 由Sumedh Nimkarde 域名系统简介 (An introduction to the Domain Name System) Y ...

  6. 正则表达式发明者_正则表达式 – 简介

    正则表达式 - 简介 除非您以前使用过正则表达式,否则您可能不熟悉此术语.但是,毫无疑问,您已经使用过不涉及脚本的某些正则表达式概念. 例如,您很可能使用 ? 和 * 通配符来查找硬盘上的文件.通配符 ...

  7. 双目视觉焦距_双目视觉简介

    双目立体视觉简介 1. 什么是视觉 视觉是一个古老的研究课题,同时又是人类观察世界.认知世界的重要功能和 手段.人类从外界获得的信息约有 75% 来自视觉系统,用机器模拟人类的视觉功能 是人们多年的梦 ...

  8. android 辅助功能_辅助功能简介

    android 辅助功能 Accessibility may be more than a moral imperative to ensure products are inclusive of m ...

  9. 23种设计模式简介_设计模式简介

    23种设计模式简介 本文是我们名为" Java设计模式 "的学院课程的一部分. 在本课程中,您将深入研究大量的设计模式,并了解如何在Java中实现和利用它们. 您将了解模式如此重要 ...

最新文章

  1. 如何看待计算机视觉未来的走向?
  2. 照片墙专业版 V1.1 发布
  3. 分布式系统 缓存穿透与失效时的雪崩效应
  4. 【正一专栏】中国足球不是你想不玩就不玩的
  5. 数据结构之Treap
  6. 计算机与应用化学怎么投稿,计算机与应用化学杂志
  7. 程序员是终身学习的职业,应该怎么学习?
  8. dubbo ,dubbo-provider、dubbo-consumer 配置参数说明
  9. 如何将网站升级为HTTPS协议(整理)
  10. Google专卖店顾客消费预测问题:如何将数据的json格式转换成csv格式
  11. SVN客户端安装及使用
  12. OA选择首先要清晰概念
  13. 简单的mock-server 解决方案
  14. 十六、算术编码_2、算术编码举例实现
  15. ul阻燃标准有几个等级_UL阻燃等级
  16. IntelliJ Idea编译报错:请使用 -source 7 或更高版本以启用 diamond 运算符
  17. 中国矿业大学考研计算机应用技术,2020中国矿业大学计算机专业课考试科目变动...
  18. USB1.0 2.0区别
  19. Kalman实际应用总结
  20. Qt5中使用lambda表达式

热门文章

  1. WIN10精简和优化策略
  2. php lvs,lvs是什么意思
  3. Java Swing 界面学习笔记
  4. 墨画子卿第一章第2节:是仇,是恩
  5. 咪咕盒子MGV2000_JL/KL代工-S905L3-B-当贝纯净桌面-线刷固件包
  6. java毕业设计辅助教育系统mybatis+源码+调试部署+系统+数据库+lw
  7. 前端视角下的转转客服通信过程
  8. C++项目新冠疫苗预约系统
  9. 二十四、Gtk4-GtkExpression
  10. 基于python的OCR字符识别