CHAPTER 1 BOOLEAN ALGEBRA CONTENTS

Similar documents
Mathematics Shape and Space: Polygon Angles

CROSS-REFERENCE TABLE ASME A Including A17.1a-1997 Through A17.1d 2000 vs. ASME A

[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics

At this point in our study of digital circuits, we have two methods for representing combinational logic: schematics and truth tables.

Introduction to Creo Elements/Direct 19.0 Modeling

2.2 Set Operations. Introduction DEFINITION 1. EXAMPLE 1 The union of the sets {1, 3, 5} and {1, 2, 3} is the set {1, 2, 3, 5}; that is, EXAMPLE 2

Certificate Program. Introduction to Microsoft Excel 2013

Annexure I: Contact Details:

SETS. Sets are of two sorts: finite infinite A system of sets is a set, whose elements are again sets.

What is Set? Set Theory. Notation. Venn Diagram

BOOLEAN ALGEBRA AND CIRCUITS

1.1 - Introduction to Sets

Introduction to Windchill PDMLink 10.2 for the Implementation Team

Measurement in Science

"Charting the Course... SharePoint 2007 Hands-On Labs Course Summary

Problem One: A Quick Algebra Review

Course Outline. ProTech Professional Technical Services, Inc. Veritas Backup Exec 20.1: Administration. Course Summary.

PROBLEM SOLVING WITH FORTRAN 90

Lecture-12: Closed Sets

A point is pictured by a dot. While a dot must have some size, the point it represents has no size. Points are named by capital letters..

AAM Guide for Authors

Chapter 3. Set Theory. 3.1 What is a Set?

SHSAT Review Class Week 3-10/21/2016

Lecture : Topological Space

Fónfix Repair Logging System

CSC Discrete Math I, Spring Sets

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

Introduction to PTC Windchill MPMLink 11.0

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

Summary of Course Coverage

COMP Logic for Computer Scientists. Lecture 17

LOGIC AND DISCRETE MATHEMATICS

Standard Boolean Forms

Update to Creo Parametric 4.0 from Creo Parametric 2.0

SHIVAJI UNIVERSITY, KOLHAPUR.

Introduction to PTC Windchill ProjectLink 11.0

Sets. Sets. Subset, universe. Specifying sets, membership. Examples: Specifying a set using a predicate. Examples

INFORMATION HIDING IN COMMUNICATION NETWORKS

BMEGUI Tutorial 1 Spatial kriging

Sets. {1, 2, 3, Calvin}.

The k-in-a-path problem for claw-free graphs

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine

This Document is intended as a user guide for providers who are planning to use the eligibility check system.

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. Numbers & Number Systems

CITY UNIVERSITY OF NEW YORK. Creating a New Project in IRBNet. i. After logging in, click Create New Project on left side of the page.

CHAPTER 7. Observations, Conclusions and Future Directions Observations 7.2. Limitations of the Model 7.3. Conclusions 7.4.

Digital Fundamentals

CONTENTS. PART 1 Structured Programming 1. 1 Getting started 3. 2 Basic programming elements 17

Andale Store Getting Started Manual

Efofex Function Graphing

RULES OF THE TENNESSEE DEPARTMENT OF STATE DIVISION OF BUSINESS SERVICES CHAPTER UNIFORM COMMERCIAL CODE SEARCH REQUESTS AND REPORTS

List of figures List of tables Acknowledgements

DATA STRUCTURES AND ALGORITHMS

Integrated Algebra 2 and Trigonometry. Quarter 1

in this web service Cambridge University Press

Kalaivani Ananthan Version 2.0 October 2008 Funded by the Library of Congress

CSE 20 DISCRETE MATH. Fall

Boolean Algebra & Digital Logic

EE292: Fundamentals of ECE

Chapter 2 Combinational Logic Circuits

TOPIC 2 Building Blocks of Geometry. Good Luck To

Boolean Reasoning. The Logic of Boolean Equations. Frank Markham Brown Air Force Institute of Technology

BFW-037 B.Sc. FOOTWEAR TECHNOLOGY (BSCFWT) Term-End Examination. December, 2014

TABLE OF CONTENTS SECTION 2 BACKGROUND AND LITERATURE REVIEW... 3 SECTION 3 WAVE REFLECTION AND TRANSMISSION IN RODS Introduction...

Chapter 2 Boolean algebra and Logic Gates

David Sievert Lavender Collection Dates circa Creator Lavender, David Sievert, Abstract

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine

Business Inclusive Minute tariff terms from 1st July 2015

LECTURE 2 An Introduction to Boolean Algebra

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine

CITY UNIVERSITY OF NEW YORK. i. Visit:

Based on CBSE, ICSE & GCSE Syllabus

7. Mobile Wallets 78

PERFORMANCE IN INITIATING AND DELIVERING CLINICAL RESEARCH CTP PLATFORM INSTRUCTIONS

Contents. Chapter 1 SPECIFYING SYNTAX 1

CONTENTS CHAPTER 1: NUMBER SYSTEM. Foreword...(vii) Preface... (ix) Acknowledgement... (xi) About the Author...(xxiii)

2. Sets. 2.1&2.2: Sets and Subsets. Combining Sets. c Dr Oksana Shatalov, Fall

SCCAP. User Guide: Version 198

The Two-Valued Iterative Systems of Mathematical Logic

Algebra of Sets (Mathematics & Logic A)

A Brief Outlook at Block Ciphers

nd Division with science and 3 years Diploma of Associate Matric 2

SQL Queries. for. Mere Mortals. Third Edition. A Hands-On Guide to Data Manipulation in SQL. John L. Viescas Michael J. Hernandez

"Charting the Course... Java Programming Language. Course Summary

Security Standards for Information Systems

Installing and Administering a Satellite Environment

Albertson AP Calculus AB AP CALCULUS AB SUMMER PACKET DUE DATE: The beginning of class on the last class day of the first week of school.

Discrete Mathematics Lecture 4. Harper Langston New York University

Eric Roberts Handout #39 CS 106B February 20, 2015 Sets

Volunteer Registration Instructions

GMAT Quant Concepts & Formulae

2.1 Sets 2.2 Set Operations

A Simplified Abstract Syntax for the Dataflow Algebra. A. J. Cowling

Mobile Device Security

Microsoft. Microsoft Visual C# Step by Step. John Sharp

Microsoft Visual C# Step by Step. John Sharp

DATA STRUCTURES AND ALGORITHMS

Propositional Logic. Part I

Approver. Approver Approver v 13.3 Page 1 Questions? Call or Revised 11/18/13

GSM ProTherm PT1000. User Guide

Transcription:

pplied R&M Manual for Defence Systems Part D - Supporting Theory HPTER 1 OOLEN LGER ONTENTS Page 1 INTRODUTION 2 2 NOTTION 2 3 XIOMS ND THEOREMS 3 4 SET THEORY 5 5 PPLITION 6 Issue 1 Page 1

hapter 1 oolean lgebra 1 INTRODUTION 1.1 oolean lgebra is a mathematical system for manipulating propositions, where a proposition is any statement which is either true or false. It was devised as a technique for undertaking logical analysis. It is also suitable for analysing other situations or systems which comprise elements which can be in only one of two possible states. It is therefore used in computing (where binary arithmetic is used) and in the analysis of switching circuits. 1.2 oolean lgebra provides a formal procedure for reducing a complex system of logical dependencies to its simplest form. 2 NOTTION 2.1 Upper case letters denote statements, e.g. could mean that a particular piece of hardware is functioning (up). denotes the converse of statement, e.g. the item is failed (down). 2.2 Several symbols are used to denote mathematical functions that are performed on such statements. Note that that many programmable systems (specifically those using weakly typed languages) use numbers to represent oolean states which conflict with the standard presented here. 0 is often used for true and -1 for false although any other value is also treated as false. Traditional symbol Simple symbol Definition Example / comment + The union or or operator provides a result = + of true when either or both statements linked by the operator are true = or. The intersect or and operator provides a result of true when, and only when, both statements linked by the operator are true =. = and true 1 Truth or, more colloquially, certainty + = 1 it is certain that is true or that is false. false 0 Falsity or, more colloquially, impossibility. = 0 it is impossible that is true and is false at the same time. n item cannot be up and down at the same time. Table 1: Notation used in oolean lgebra Weekly typed languages are programming languages which do not strictly enforce the consistency of variable type usage. For example a variable may be set to an inter value and later used as if it were a oolean variable (True or False). Strongly typed languages detect this as an error during completion. Page 2

pplied R&M Manual for Defence Systems Part D - Supporting Theory 3.1 Simple combinations 3 XIOMS ND THEOREMS 0 + 0 = 0 (i) 0. 0 = 0 (ii) 0 + 1 = 1 (iii) 0. 1 = 0 (iv) 1 + 0 = 1 (v) 1. 0 = 0 (vi) 1 + 1 = (vii) 1. 1 = 1 (viii) + 0 = (ix). 0 = 0 (x) + 1 = 1 (xi). 1 = (xii) + = 1 (xiii). = 0 (xiv) 3.2 ssociativity and order 3.3 ombinations + = +. =. + (. ) = ( + ). ( + ) (xv) (xvi) (xvii) ( + ). = (. ) + (. ) (xviii) ( ). = (xix) + ( + ). = +. ( + ) = + (. ) =.(. ) =. (xx) (xxi) (xxii) (xxiii)..= ( + ) (xxiv). = + (xxv) + = (.) (xxvi) Issue 1 Page 3

hapter 1 oolean lgebra +. =. (xxvii) If.=, then + = + and. =. (xxvi) 3.4 omplementary Principle The complementary principle (also known as DeMoivre s Theorem) is expressed in the theorems xxiv to xxvii above. If S.= f(,,,,, etc..., 0, 1) then S.= g(,,,,, etc..., 1,0) where the function g is obtained from the function f by negating all individual statements (i.e. X X, X X), by changing '+' to '.' and '.' to '+',. and by changing 0 to 1 and 1 to 0. e.g. if S = ( + ). (.{ + D}) then S = (. ) + ( +{. D }) 3.5 Operator precedence 3.5.1 s with the arithmetic of numbers there is a precedence of operators with respect to the order of evaluation. This is: 1. the contents of in brackets; 2. the intersect ( and ) operator is evaluated; 3. the union ( or ) operator. 3.5.2 rackets should be used to avoid ambiguity. For example, do not write +. but instead write either ( + ). or +(. ) whichever is appropriate. This is particularly important when applying the complementary principle. 3.6 Differences from numeric algebra 3.6.1 Note that the above theorems are not all equivalent to 'ordinary' algebra, and in particular the converse of (xvi) is not true, i.e. it is NOT necessarily true that if + = + then = NOR is it necessarily true that if. =. then = However, it is true that if both + = + and. =. then = Page 4

pplied R&M Manual for Defence Systems Part D - Supporting Theory Note also that in the above notation the plus sign (OR) indicates an inclusive OR, i.e. + means or or both. n exclusive OR, i.e. OR but not both, is written (. )+(. ). That is, ( ND not ) OR ( ND not ). 4 SET THEORY 4.1 lthough the theorems in Section 3 are not proved in this Manual, their truth can be determined by the reader if it is accepted that oolean lgebra may be represented by the methods of Set Theory given below. For the purposes of this leaflet a 'set' may be regarded as a collection of points on a plane. The propositions of oolean lgebra can then be represented pictorially by what are known as Venn Diagrams, as explained below. 4.2 1 in oolean lgebra is equivalent in Set Theory to the Universal set or the set of points on an infinite plane. It is represented in the Figures below by a rectangle. ll other sets lie within this set. Propositions,,, etc., are equivalent in Set Theory to regions within closed curves, and,,, etc., are the complement of these with respect to the universal set (see Figure 1). Figure 1: Venn diagrams for and 4.3 + is equivalent to the region covered by or, i.e. the 'union' of and.. is equivalent to the overlapping region or intersection of and (see Figure 2).... +. + Figure 2: Venn Diagrams for +,. and + 4.4 Thus, for example, the 'proof' of theorem ix above is as follows: Left Hand Side = +(. ) Issue 1 Page 5

hapter 1 oolean lgebra. +. Right Hand Side = ( + ). ( + ) Figure 3: Venn Diagrams for +(. ) + + ( + ). ( + ) Figure 4: Venn Diagrams for ( + ). ( + ) The final diagrams of Figures 3 and 4 are identical, proving the equality of the two expressions beneath them and hence theorem ix. 5.1 Reliability lock Diagrams (RDs) 5 PPLITION 5.1.1 Often it is not easy to determine by inspection or common sense consideration of a system just what is its RD, and further to determine the simplest RD. Even when one produces such a diagram one cannot be certain that it covers all eventualities simply by inspecting it, except for the simplest systems. surer method is to employ oolean lgebra. 5.1.2 The method of attack is to use the techniques described below to produce a oolean expression for the system up (or down) states; then reduce this expression using the theorems of section 3 to the simplest form for the system up state; then convert this to an RD. In doing this conversion it must be remembered that '+' (OR) indicates redundancy, and '.' (ND) indicates elements in series. Thus + is Page 6

pplied R&M Manual for Defence Systems Part D - Supporting Theory a b. is a b where lower case letters represent the hardware associated with statements,, etc. 5.1.3 In general, if there are fewer down states than up states, it will be simpler to attack the problem by analysing the down states, then apply the complementary principle (para 3.3). 5.1.4 The problem of producing an RD may be posed generally in one of two forms. Either: There will be a clear statement of the conditions for the system to be considered up (or down); or There will be no such statement, and the task might be, for example, to produce the RD for a given piece of hardware. 5.1.5 For the first form, the oolean expression for the system up (or down) state can be obtained directly from the statement of the problem, by expressing it in symbolic form. 5.1.6 For the latter form, the recommended method is to set up a truth table for the system (see Pt3h38), identify the system up (or down) states in the truth table (in consultation with designers and/or users), and thereby obtain an expression for the system up or down state. For an n element system there are 2 n lines or system states in the truth table, a number which rapidly becomes large as n increases. However, this problem may be alleviated if the system is broken down into independent groups of elements, and each group is analysed separately. lso, it will be evident from the following examples that the task is not necessarily as arduous as it appears at first sight. 5.2 Fault / Success Tree nalysis 5.2.1 The analysis techniques of Fault Tree nalysis (FT) and Success Tree nalysis (ST) are based on the logical combination of events and states. For example: the event of Man under ladder is hit by paint pot is a combination of the state Man is under ladder and the event Paint pot drops from top of ladder. This latter event is a combination of Paint pot accidentally falls from top of ladder or Paint pot deliberately dropped from top of ladder. The main elements of oolean lgebra form the basis for this technique. 5.2.2 FT and ST also provide a graphical representation of the combinatorial logic and ways of addressing the frequency and probability of events. These are, however, outside the scope of oolean lgebra (see Pt3h29 for FT/ST and Pt4h6 for probability). Issue 1 Page 7

hapter 1 oolean lgebra 5.2.3 It is possible to use negation in FT and ST but this should be avoided if possible. The negating of a state or event, by taking the converse (No man under ladder), introduces a level of complexity that reduces the benefit to be gained from the simple representation of the scenario. Negation changes a branch of a Fault Tree into a Success Tree and vice-versa. 5.2.4 FT and ST apply restrictions to the way in which events and states may be combined. This occurs because the statements of oolean lgebra are used to describe events and states. Events are, in theory, instantaneous and the probability of two happening at exactly the same time is negligible. It is essential that functions (and and or) are only applied to combinations of statements for which they are mathematically correct. 5.3 Functional system control 5.3.1 oolean lgebra forms a major element of many modern control systems. The subject of digital electronics is based on its principles and uses many extensions to the basic functions presented in this chapter. These allow negation, storage of data and even delay (time is not considered in basic oolean lgebra unless explicitly written into the description). 5.4 Legal Documents 5.4.1 oolean lgebra also has application to the simplification of conditions in legal documents, contracts and specifications, etc. Page 8

pplied R&M Manual for Defence Systems Part 4 - Supporting Theory Intentional blank page Issue 1 Page 9