The Arithmetic of Reasoning. Chessa Horomanski & Matt Corson

Similar documents
Self-reproducing programs. And Introduction to logic. COS 116, Spring 2012 Adam Finkelstein

CISC-102 Fall 2018 Week 11

MODULE- 07 : FLUIDICS AND FLUID LOGIC

THE LOGIC OF COMPOUND STATEMENTS

CS 226: Digital Logic Design

cse541 LOGIC FOR COMPUTER SCIENCE

Chapter 2: Introduction to Propositional Logic

2. Associative Law: A binary operator * on a set S is said to be associated whenever (A*B)*C = A*(B*C) for all A,B,C S.

. T SHREE MAHAPRABHU PUBLIC SCHOOL & COLLEGE NOTES FOR BOARD EXAMINATION SUBJECT COMPUTER SCIENCE (Code: 083) Boolean Algebra

Note: The area of logic that deals with propositions is called the propositional calculus or propositional logic.

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

Quantifiers and Statements

CISC-102 Winter 2016 Lecture 17

From Greek philosophers to circuits: An introduction to boolean logic. COS 116, Spring 2011 Sanjeev Arora

An Introduction to Logic 1.1 ~ 1.4 6/21/04 ~ 6/23/04

NAME Activity Circuit Simplification: Boolean Algebra

ANS: If you are in Kwangju then you are in South Korea but not in Seoul.

THE LOGIC OF COMPOUND STATEMENTS

Boolean Algebra & Digital Logic

Section 3.1. Statements and Logical Connectives. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Introducing Proof 1. hsn.uk.net. Contents

Doc112: Hardware. Department of Computing, Imperial College London. Doc112: Hardware Lecture 1 Slide 1

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic

Topic 1: Propositional logic

Definition 2. Conjunction of p and q

CS187 - Science Gateway Seminar for CS and Math

UNIT-I: Propositional Logic

3.2. THE BASICS OF LOGIC

Propositional Logic. Spring Propositional Logic Spring / 32

CSE 20. Lecture 4: Introduction to Boolean algebra. CSE 20: Lecture4

INTRO TO I & CT. (Boolean Algebra and Logic Simplification.) Lecture # By: Department of CS & IT.

Chapter 2: The Logic of Compound Statements

Symbolic Logic Outline

Chapter 4, Logic using Propositional Calculus Handout

Chapter 1, Part I: Propositional Logic. With Question/Answer Animations

Computing via boolean logic. COS 116: 3/8/2011 Sanjeev Arora

Boolean Logic. CS 231 Dianna Xu

1 Propositional Logic

Generalized Quantifiers Logical and Linguistic Aspects

Exercise Set 2.1. Notes: is equivalent to AND ; both statements must be true for the statement to be true.

Set Theory Basics of Set Theory. mjarrar Watch this lecture and download the slides

Why digital? Overview. Number Systems. Binary to Decimal conversion

30. TRANSFORMING TOOL #1 (the Addition Property of Equality)

The Limit of Humanly Knowable Mathematical Truth

CprE 281: Digital Logic

Proposition/Statement. Boolean Logic. Boolean variables. Logical operators: And. Logical operators: Not 9/3/13. Introduction to Logical Operators

8. Reductio ad absurdum

Group 5. Jeremy Gutierrez. Jesus Ochoa Perez. Alvaro Gonzalez. MATH 170: Discrete Mathematics. Dr. Lipika Deka. March 14, 2014.

Math Notes of 8/25/17. Announcements

Mathematical Logic Part One

S C F F F T T F T T S C B F F F F F T F T F F T T T F F T F T T T F T T T

Unit. Elements of Symbolic Logic. Downloaded from Downloaded from Origin of symbolic logic:

4 Switching Algebra 4.1 Axioms; Signals and Switching Algebra

Announcements CompSci 102 Discrete Math for Computer Science

A statement is a sentence that is definitely either true or false but not both.

THE LOGIC OF COMPOUND STATEMENTS

Sample Copy. Not For Distribution.

Propositional Logic 1

Predicates, Quantifiers and Nested Quantifiers

Distance in the Plane

JUSTIFYING BOOLE S ALGEBRA of LOGIC for CLASSES

Digital electronics form a class of circuitry where the ability of the electronics to process data is the primary focus.

MA103 STATEMENTS, PROOF, LOGIC

A Primer on Boole s Algebra of Logic for Classes

IST 4 Information and Logic

Chapter 1, Part I: Propositional Logic. With Question/Answer Animations

Chapter 5: Section 5-1 Mathematical Logic

8. TRANSFORMING TOOL #1 (the Addition Property of Equality)

Math 2534 Solution Homework 2 Spring 2017

Mathematical Logic Part One

Section 1.2: Conditional Statements

5. Use a truth table to determine whether the two statements are equivalent. Let t be a tautology and c be a contradiction.

Content Standard 1: Numbers, Number Sense, and Computation Place Value

PRINCIPLE OF MATHEMATICAL INDUCTION

Discrete Structures for Computer Science

1.8 INTRODUCTION TO SOLVING LINEAR EQUATIONS

HW1 graded review form? HW2 released CSE 20 DISCRETE MATH. Fall

CS/COE0447: Computer Organization and Assembly Language

THE LOGIC OF QUANTIFIED STATEMENTS. Predicates and Quantified Statements I. Predicates and Quantified Statements I CHAPTER 3 SECTION 3.

Chapter Three. Deciphering the Code. Understanding Notation

CS 301. Lecture 17 Church Turing thesis. Stephen Checkoway. March 19, 2018

Development of Thought continued. The dispute between rationalism and empiricism concerns the extent to which we

20. Combinational Circuits

Florida State University Course Notes MAD 2104 Discrete Mathematics I

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Building a Computer Adder

Discrete Mathematics and Its Applications

ARTIFICIAL INTELLIGENCE

MATH 115 Concepts in Mathematics

Propositional logic (revision) & semantic entailment. p. 1/34

Chapter 1: The Logic of Compound Statements. January 7, 2008

Direct Proofs. the product of two consecutive integers plus the larger of the two integers

Tautologies, Contradictions, and Contingencies

1.3 Propositional Equivalences

Binary addition example worked out

Discrete Mathematics. CS204: Spring, Jong C. Park Computer Science Department KAIST

Math Fundamentals for Statistics I (Math 52) Unit 7: Connections (Graphs, Equations and Inequalities)

Honors Integrated Algebra/Geometry 3 Critical Content Mastery Objectives Students will:

CSE 311: Foundations of Computing I. Lecture 1: Propositional Logic

Chapter 1: Formal Logic

Transcription:

The Arithmetic of Reasoning LOGIC AND BOOLEAN ALGEBRA Chessa Horomanski & Matt Corson

Computers Ask us questions, correct our grammar, calculate our taxes But Misunderstand what we re sure we told them, lose our work, refuse to respond to our commands!

Gottfried Wilhelm Leibniz German mathematician 1694 mechanical calculating device that could +,-,x, Stepped Reckoner Used the binary numeration system in its calculation Expressed all numbers as sequences of 1s and 0s An improvement on the first known mechanical adding machine Pascal s Pascaline (could only + and -)

Universal System of Reasoning Leibniz set out to create a universal system of reasoning Wanted his system to work mechanically according to a simple set of rules for deriving new statements from ones already known Saw that statements would have to be represented symbolically Sought to develop to a universal characteristic (a universal symbolic language of logic)

Augustus De Morgan British mathematician Believed that the 19 th century separation between math and logic was artificial and harmful Worked to put many mathematical concepts on a firmer logical basis to make logic more mathematical

George Boole English mathematician Published The Mathematical Analysis of Logic and An Investigation of the Laws of Thought Approached logic in a new way reducing it to a simple algebra, incorporating logic into mathematics Pointed out the analogy between algebraic symbols and those that represent logical forms Boolean algebra (the basis for modern computer logic systems)

Key Element of Boole s Work His systematic treatment of statements as objects whose truth values can be combined by logical operations in much the same way as numbers are added or multiplied Example: If each of two statements P and Q can be either true or false, then there are only four possible truth-value cases to consider when they are combined.

P P T F Q T F T T F F F F Q T F T T T F T F P ~P F T P and Q True if and only if both of those statements are true P or Q True whenever at least one of the 2 component statements is true not A statement and its negation always have opposite truth values

Logical Operation Tables Easy step to translate T and F into 1 and 0 and or not 1 0 1 1 0 0 0 0 1 0 1 1 1 0 1 0 1 0 0 1 Became a workable arithmetic system (with many of the same algebraic properties as addition, multiplication and negation of numbers)

Use of Symbols Use of symbols for the basic logical connectives can be used in translating logical arguments into a language that a machine can understand

Example If the sun is not shining, then I ll go either to the mall or to the movies. P: If the sun is shining Q: I ll go the mall R: I ll go to the movies Written as:

You Try it! Directions: Assign variable names to the simple phrases, and write the statement using those variables along with the logical connectives 1. I ate my lunch but I did not eat breakfast. 2. It is false that this triangle has both a 30 angle and a 60 angle.

De Morgan An influential, persuasive proponent of the algebraic treatment of logic Helped to refine, extend and popularize the system by Boole 2 laws, now named for him not-(p and Q) (not-p) or (not-q) not-(p or Q) (not-p) and (not-q)

Charles Sanders Pierce Resurrected and extended De Morgan s important contributions Mathematicians want to get to their conclusions as quickly as possible and so are willing to jump over steps when they know where an argument is leading Logicians want to analyze deductions as carefully as possible, breaking them down into small, simple steps

Logic in Technology Reduction of mathematical reasoning to long strings of tiny, mechanical steps was a critical prerequisite for the computer age 20 th century advances in the design of electrical devices Electronic calculators that more than fulfilled the promise of Leibniz s Stepped Reckoner Standard codes for keyboard symbols allowed such machines to read and write words

Boolean Algebra in the Real World 1950s used for telephone switching units Now up and coming electronic computers Used in natural sciences, and in disciplines such as linguistics, law, and computer technology Today used everyday to help people when doing searches on the Internet Commonly referred to as a Boolean search The three Boolean operators used today are as follows: AND, OR, NOT.

Conclusion Work of Boole, De Morgan, C.S. Pierce and others in transforming reasoning from words to symbols and then to numbers that has led to the modern computers Modern computers use rapid calculations of long strings of 1s and 0s which empowers the computers to think 01010100 01101000 01100101 01000101 01101110 01100100

Activity Complete the following truth tables. P ~ Q ~(P Q) F ~Q T F ~Q T P T F T F T T ~P F T F F F T

Timeline 1642 - Blaise Pascal and his Pascaline 1694 - Leibniz creates the Stepped Reckoner 1847 - Boole publishes The Mathematical Analysis of Logic 1853 - De Morgan introduced his laws of negation in logic 1854 - Boole publishes An Investigation of the Laws of Thought 1880 - C. S. Pierce led movement to put more logic in math and soon Boolean algebra turns to strings of binary 1900s - 1s and 0s turn on and off electrical circuits Present day - logic can be seen in our technology.

References Berlinghoff, William P. and Fernando Q. Gouvea. Math Through the Ages. Oxton House Publishers, Maine, 2002. De Morgan s laws. http://en.wikipedia.org/wiki/de_morgan%27s_laws Ensley, Douglas E. and J. Winston Crawley. Discrete Mathematics: Mathematical Reasoning with Proof with Puzzles, Patterns, and Games. John Wiley & Sons, New Jersey, 2006. George Boole. http://en.wikipedia.org/wiki/george_boole George Boole. MacTutor Math History Archive. http://wwwhistory.mcs.st-andrews.ac.uk/biographies/boole.html