SlideShare a Scribd company logo
z
FORMAL LOGIC
Discrete Structures I
FOR-IAN V. SANDOVAL
z
Lesson 1
Introduction to Logic
z
LESSON OBJECTIVES
❑ Use the formal symbols for logic
❑ Define logic and mathematical logic
❑ Differentiate a proposition from non-proposition; a
statement from not a statement;
❑ Determine the truth values of an expression in propositional
logic
z
PRE-TEST ACTIVITY 1
❑ Examine whether the following are propositions or not
proposition
1. Earth is the only planet in the universe, that has life.
2. 12 /4 = 3.
3. Who are you talking to?
4. Read this sentence carefully.
5. X + 4 = 1
6. 3 is on odd integer.
7. V + V =W
8. Quezon City is the capital of the Philippines.
9. 2+4=6
10. The World is Bat?
11. What time is it?
12. Read this carefully?
13. x+y=z
14. x is greater than 2
15. Close the door.
z
LOGIC
❑ the science of the correctness or incorrectness of
reasoning, or the study of the evaluation of arguments.
❑ the study of the principles and methods that distinguishes
between a valid and an invalid arguments
❑ technically defined as “the science or study of how to
evaluate arguments and reasoning.”
❑ methods of reasoning
❑ focus on relation
z
LOGICAL REASONING
❑ used on mathematics to prove theorems
❑ computer science – to verify correctness of programs and
to prove theorems.
Aristotle (382-322 BC) is generally
regarded as the Father of Logic.
z
MATHEMATICAL LOGIC
❑ symbolic logic
❑ a branch of mathematics with close connections to
computer science.
❑ the discipline that mathematicians invented in the late 19th
and early 20th centuries to stop talking nonsense
z
Note:
❑ logic and mathematical reasoning, has numerous
applications in computer science as well as in Information
Technology
❑ these rules are used in the design of computer circuits, the
construction of computer programs, the verification of the
correctness of programs
z
STATEMENT
❑ proposition
❑ basic building block of logic
❑ a declarative sentence which is either true (T) or false (F),
but not both
❑ a statement is atomic if it cannot be divided into smaller
statements, otherwise it is called molecular.
❑ i.e. atomic statements
❑ Telephone numbers in the USA have 10 digits.
❑ The moon is made of cheese.
❑ 42 is a perfect square.
z
STATEMENT
❑ i.e. atomic statements
❑ Every even number greater than 2 can be expressed as
the sum of two primes.
❑ 3 + 7 = 12
❑ i.e. not statements
❑ Would you like some cake?
❑ The sum of two squares.
❑ 1 + 3 + 5 + 7 + · · · + 2n + 1.
❑ Go to your room!
❑ 3 + x = 12
z
STATEMENT
❑ There are also statements (or propositions) which are
considered ambiguous such as
❑ Mathematics is fun.
❑ Calculus is more interesting than Trigonometry.
❑ It was hot in Manila.
❑ Street vendors are poor.
z
STATEMENT
❑ we can build more complicated (molecular) statements out
of simpler (atomic or molecular) ones using logical
connectives (“and”, “or”, “if…then”, “if and only if”, “not”)
❑ binary connectives (connect two statements)
❑ unary connective (applies to single statement)
❑ logical connectives
❑ “and” (∧)
❑ “or” (∨)
❑ “if…then” (→)
❑ “if and only if” (↔)
❑ “not” (¬)
z
STATEMENT
❑ i.e. molecular statement
❑ Sam is a man and Chris is a woman
❑ Sam is a man or Chris is a woman
❑ if Sam is a man, then Chris is a woman
❑ Sam is a man if and only if Chris is a woman
❑ Sam is not a man
❑ axioms that are true statements about the model
❑ a list of inference rules that let us derive new true
statements from the axioms
❑ a theory that consists of all statements that can be
constructed from the axioms by applying the inference rules
z
STATEMENT
❑ i.e.
❑ All fish are green (axiom).
❑ George Washington is a fish (axiom).
❑ From “all X are Y ” and “Z is X”, we can derive “Z is Y ”
(inference rule).
❑ Thus George Washington is green (theorem).
❑ Theories are attempts to describe models.
❑ A model is typically a collection of objects and relations
between them.
❑ A theory is consistent if it can’t prove both P and not -P for
any P.
z
STATEMENT
❑ Note:
❑ If we throw in too many axioms, you can get an
inconsistency:
❑ i.e. “All fish are green; all sharks are not green; all
sharks are fish; George Washington is a shark”
❑ If we don’t throw in enough axioms, we under constrain
the model.
z
THE LANGUAGE OF LOGIC
❑ the basis of mathematical logic is propositional logic
❑ here the model is a collection of statements that are either
true or false
❑ “George Washington is a fish”
❑ “George Washington is a fish or 2+2=5”
❑ Predicate logic adds both constants (stand-ins for objects in
the model like “George Washington”) and predicates
(stand-ins for properties like “is a fish”)
z
PROPOSITION
❑ a proposition (simple statement) may be denoted by a
variable like P, Q, R, …., called a proposition (statement)
variable or sentential variable.
❑ the value of a proposition called its “Truth Value” (the truth
and falsity of the statement); denoted by
❑ T or 1 – if it is TRUE
❑ F or 0 – if it is FALSE
❑ opinion, interrogative, and imperative are not propositions
❑ Truth Table
P
0
1
z
PROPOSITION
❑ Examples that are propositions
❑ “Beijing is the capital of China.”
❑ “1+2=3”
❑ 1+0=1
❑ 1+2=3
❑ Every cow has four legs.
❑ Grass is green.
❑ There are four finger in a hand.
z
PROPOSITION
❑ Examples that are not propositions
❑ Sit down! (imperative, command)
❑ X+1=2 (not clear)
❑ Who’s there? (interrogative, question)
❑ “1+2” (expressions with a non-true / false value)
❑ X+2=3
z
POST-TEST ACTIVITY 1
❑ Examine whether the following are propositions or not
proposition
1. Earth is a planet in the solar system, that has one moon.
2. 16 / 4 = 3.
3. Where are you going?
4. Listen carefully.
5. Y + 2 = 3
6. 4 is on even integer.
7. F + V + S = FVS
8. Sta. Cruz is the capital of the Laguna.
9. 10 + 4 = 14
10. Who is your favorite Marvel Hero?
11. When is your birthday?
12. Read this carefully.
13. x + y = z
14. y is lesser than 2
15. Open the door.
z
• Levin, O. (2019). Discrete Mathematics: An Open Introduction 3rd Edition. Colorado: School of Mathematics Science
University of Colorado.
• Aslam, A. (2016). Proposition in Discrete Mathematics retrieved from https://www.slideshare.net/AdilAslam4/chapter-1-
propositions-in-discrete-mathematics
• Operator Precedence retrieved from http://intrologic.stanford.edu/glossary/operator_precedence.html
REFERENCES

More Related Content

What's hot

First Order Logic resolution
First Order Logic resolutionFirst Order Logic resolution
First Order Logic resolution
Amar Jukuntla
 
Proposition (Logic)
Proposition (Logic)Proposition (Logic)
Proposition (Logic)
EFREN ARCHIDE
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
blaircomp2003
 
Predicates and quantifiers
Predicates and quantifiersPredicates and quantifiers
Predicates and quantifiers
Istiak Ahmed
 
Logic (PROPOSITIONS)
Logic (PROPOSITIONS)Logic (PROPOSITIONS)
Logic (PROPOSITIONS)
D Nayanathara
 
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inferenceSlideshare
 
Formal Logic: Teaching Practice
Formal Logic: Teaching PracticeFormal Logic: Teaching Practice
Formal Logic: Teaching Practice
Ivan Ruchkin
 
Discrete Mathematics
Discrete MathematicsDiscrete Mathematics
Discrete Mathematics
metamath
 
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Ashish Duggal
 
CMSC 56 | Lecture 4: Rules of Inference
CMSC 56 | Lecture 4: Rules of InferenceCMSC 56 | Lecture 4: Rules of Inference
CMSC 56 | Lecture 4: Rules of Inference
allyn joy calcaben
 
Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)
Ikhtiar Khan Sohan
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
raksharao
 
What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?
Anant Soft Computing
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
Babu Appat
 
Knowledge representation and Predicate logic
Knowledge representation and Predicate logicKnowledge representation and Predicate logic
Knowledge representation and Predicate logic
Amey Kerkar
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
blaircomp2003
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical InductionEdelyn Cagas
 
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Amr Rashed
 

What's hot (20)

First Order Logic resolution
First Order Logic resolutionFirst Order Logic resolution
First Order Logic resolution
 
Proposition (Logic)
Proposition (Logic)Proposition (Logic)
Proposition (Logic)
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
 
Predicates and quantifiers
Predicates and quantifiersPredicates and quantifiers
Predicates and quantifiers
 
Logic (PROPOSITIONS)
Logic (PROPOSITIONS)Logic (PROPOSITIONS)
Logic (PROPOSITIONS)
 
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inference
 
Formal Logic: Teaching Practice
Formal Logic: Teaching PracticeFormal Logic: Teaching Practice
Formal Logic: Teaching Practice
 
Discrete Mathematics
Discrete MathematicsDiscrete Mathematics
Discrete Mathematics
 
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
 
First order logic
First order logicFirst order logic
First order logic
 
CMSC 56 | Lecture 4: Rules of Inference
CMSC 56 | Lecture 4: Rules of InferenceCMSC 56 | Lecture 4: Rules of Inference
CMSC 56 | Lecture 4: Rules of Inference
 
Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
 
What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Knowledge representation and Predicate logic
Knowledge representation and Predicate logicKnowledge representation and Predicate logic
Knowledge representation and Predicate logic
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical Induction
 
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
 
Recursion DM
Recursion DMRecursion DM
Recursion DM
 

Similar to Formal Logic - Lesson 1 - Introduction to Logic

1.1 sets, statements, and reasoning
1.1 sets, statements, and reasoning1.1 sets, statements, and reasoning
1.1 sets, statements, and reasoning
sadhwani37
 
discrete structures and their introduction
discrete structures and their introductiondiscrete structures and their introduction
discrete structures and their introduction
ZenLooper
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
University of Potsdam
 
Formal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical ConnectivesFormal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical Connectives
Laguna State Polytechnic University
 
Quantification
QuantificationQuantification
Quantification
Abdur Rehman
 
First order logic
First order logicFirst order logic
First order logic
Chinmay Patel
 
Logic.pdf
Logic.pdfLogic.pdf
Logic.pdf
Jihudumie.Com
 
Discrete Mathematics
Discrete MathematicsDiscrete Mathematics
Discrete Mathematics
Jihudumie.Com
 
proposition Logic-1.pptx Discrete Mathematics
proposition Logic-1.pptx Discrete Mathematicsproposition Logic-1.pptx Discrete Mathematics
proposition Logic-1.pptx Discrete Mathematics
VimalKumar375828
 
Intro to disceret structure
Intro to disceret structureIntro to disceret structure
Intro to disceret structure
Abdur Rehman
 
Discrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete MathematicsDiscrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete Mathematics
AbdulRehman378540
 
Discrete structures & optimization unit 1
Discrete structures & optimization unit 1Discrete structures & optimization unit 1
Discrete structures & optimization unit 1
SURBHI SAROHA
 
Logic
LogicLogic
Logic.pptx
Logic.pptxLogic.pptx
Logic.pptx
NathanielRapanut2
 
MFCS PPT.pdf
MFCS PPT.pdfMFCS PPT.pdf
MFCS PPT.pdf
jayarao21
 
Discrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.pptDiscrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.ppt
NandiniSR2
 
Formal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and QuantifiersFormal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and Quantifiers
Laguna State Polytechnic University
 
PROOF TECHNIQUES
PROOF TECHNIQUESPROOF TECHNIQUES
PROOF TECHNIQUES
Meutiah Nahrisyah
 
1019Lec1.ppt
1019Lec1.ppt1019Lec1.ppt
1019Lec1.ppt
VimbainasheMavhima
 

Similar to Formal Logic - Lesson 1 - Introduction to Logic (20)

1.1 sets, statements, and reasoning
1.1 sets, statements, and reasoning1.1 sets, statements, and reasoning
1.1 sets, statements, and reasoning
 
discrete structures and their introduction
discrete structures and their introductiondiscrete structures and their introduction
discrete structures and their introduction
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Formal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical ConnectivesFormal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical Connectives
 
Quantification
QuantificationQuantification
Quantification
 
First order logic
First order logicFirst order logic
First order logic
 
Logic.pdf
Logic.pdfLogic.pdf
Logic.pdf
 
Discrete Mathematics
Discrete MathematicsDiscrete Mathematics
Discrete Mathematics
 
proposition Logic-1.pptx Discrete Mathematics
proposition Logic-1.pptx Discrete Mathematicsproposition Logic-1.pptx Discrete Mathematics
proposition Logic-1.pptx Discrete Mathematics
 
Intro to disceret structure
Intro to disceret structureIntro to disceret structure
Intro to disceret structure
 
Course notes1
Course notes1Course notes1
Course notes1
 
Discrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete MathematicsDiscrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete Mathematics
 
Discrete structures & optimization unit 1
Discrete structures & optimization unit 1Discrete structures & optimization unit 1
Discrete structures & optimization unit 1
 
Logic
LogicLogic
Logic
 
Logic.pptx
Logic.pptxLogic.pptx
Logic.pptx
 
MFCS PPT.pdf
MFCS PPT.pdfMFCS PPT.pdf
MFCS PPT.pdf
 
Discrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.pptDiscrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.ppt
 
Formal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and QuantifiersFormal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and Quantifiers
 
PROOF TECHNIQUES
PROOF TECHNIQUESPROOF TECHNIQUES
PROOF TECHNIQUES
 
1019Lec1.ppt
1019Lec1.ppt1019Lec1.ppt
1019Lec1.ppt
 

More from Laguna State Polytechnic University

Number Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number TheoryNumber Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number Theory
Laguna State Polytechnic University
 
Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)
Laguna State Polytechnic University
 
Artificial Intelligence Algorithms
Artificial Intelligence AlgorithmsArtificial Intelligence Algorithms
Artificial Intelligence Algorithms
Laguna State Polytechnic University
 
Formal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of InferenceFormal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of Inference
Laguna State Polytechnic University
 
Formal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching CircuitsFormal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching Circuits
Laguna State Polytechnic University
 
Formal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical EquivalenceFormal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical Equivalence
Laguna State Polytechnic University
 
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and ContingencyFormal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Laguna State Polytechnic University
 
Formal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth TablesFormal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth Tables
Laguna State Polytechnic University
 
Ethical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on ComputingEthical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on Computing
Laguna State Polytechnic University
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
Laguna State Polytechnic University
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
Laguna State Polytechnic University
 
Exploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information SystemExploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information System
Laguna State Polytechnic University
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Laguna State Polytechnic University
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to Computers
Laguna State Polytechnic University
 
Introduction to Computing Logic Formulation
Introduction to Computing Logic FormulationIntroduction to Computing Logic Formulation
Introduction to Computing Logic Formulation
Laguna State Polytechnic University
 
Oasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing TruismsOasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing Truisms
Laguna State Polytechnic University
 
My Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation TrackMy Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation Track
Laguna State Polytechnic University
 
A Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information TechnologyA Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information Technology
Laguna State Polytechnic University
 
Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool
Laguna State Polytechnic University
 
E-commerce Security and Payment
E-commerce Security and PaymentE-commerce Security and Payment
E-commerce Security and Payment
Laguna State Polytechnic University
 

More from Laguna State Polytechnic University (20)

Number Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number TheoryNumber Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number Theory
 
Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)
 
Artificial Intelligence Algorithms
Artificial Intelligence AlgorithmsArtificial Intelligence Algorithms
Artificial Intelligence Algorithms
 
Formal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of InferenceFormal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of Inference
 
Formal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching CircuitsFormal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching Circuits
 
Formal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical EquivalenceFormal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical Equivalence
 
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and ContingencyFormal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
 
Formal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth TablesFormal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth Tables
 
Ethical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on ComputingEthical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on Computing
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
 
Exploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information SystemExploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information System
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to Computers
 
Introduction to Computing Logic Formulation
Introduction to Computing Logic FormulationIntroduction to Computing Logic Formulation
Introduction to Computing Logic Formulation
 
Oasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing TruismsOasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing Truisms
 
My Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation TrackMy Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation Track
 
A Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information TechnologyA Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information Technology
 
Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool
 
E-commerce Security and Payment
E-commerce Security and PaymentE-commerce Security and Payment
E-commerce Security and Payment
 

Recently uploaded

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 

Formal Logic - Lesson 1 - Introduction to Logic

  • 1. z FORMAL LOGIC Discrete Structures I FOR-IAN V. SANDOVAL
  • 3. z LESSON OBJECTIVES ❑ Use the formal symbols for logic ❑ Define logic and mathematical logic ❑ Differentiate a proposition from non-proposition; a statement from not a statement; ❑ Determine the truth values of an expression in propositional logic
  • 4. z PRE-TEST ACTIVITY 1 ❑ Examine whether the following are propositions or not proposition 1. Earth is the only planet in the universe, that has life. 2. 12 /4 = 3. 3. Who are you talking to? 4. Read this sentence carefully. 5. X + 4 = 1 6. 3 is on odd integer. 7. V + V =W 8. Quezon City is the capital of the Philippines. 9. 2+4=6 10. The World is Bat? 11. What time is it? 12. Read this carefully? 13. x+y=z 14. x is greater than 2 15. Close the door.
  • 5. z LOGIC ❑ the science of the correctness or incorrectness of reasoning, or the study of the evaluation of arguments. ❑ the study of the principles and methods that distinguishes between a valid and an invalid arguments ❑ technically defined as “the science or study of how to evaluate arguments and reasoning.” ❑ methods of reasoning ❑ focus on relation
  • 6. z LOGICAL REASONING ❑ used on mathematics to prove theorems ❑ computer science – to verify correctness of programs and to prove theorems. Aristotle (382-322 BC) is generally regarded as the Father of Logic.
  • 7. z MATHEMATICAL LOGIC ❑ symbolic logic ❑ a branch of mathematics with close connections to computer science. ❑ the discipline that mathematicians invented in the late 19th and early 20th centuries to stop talking nonsense
  • 8. z Note: ❑ logic and mathematical reasoning, has numerous applications in computer science as well as in Information Technology ❑ these rules are used in the design of computer circuits, the construction of computer programs, the verification of the correctness of programs
  • 9. z STATEMENT ❑ proposition ❑ basic building block of logic ❑ a declarative sentence which is either true (T) or false (F), but not both ❑ a statement is atomic if it cannot be divided into smaller statements, otherwise it is called molecular. ❑ i.e. atomic statements ❑ Telephone numbers in the USA have 10 digits. ❑ The moon is made of cheese. ❑ 42 is a perfect square.
  • 10. z STATEMENT ❑ i.e. atomic statements ❑ Every even number greater than 2 can be expressed as the sum of two primes. ❑ 3 + 7 = 12 ❑ i.e. not statements ❑ Would you like some cake? ❑ The sum of two squares. ❑ 1 + 3 + 5 + 7 + · · · + 2n + 1. ❑ Go to your room! ❑ 3 + x = 12
  • 11. z STATEMENT ❑ There are also statements (or propositions) which are considered ambiguous such as ❑ Mathematics is fun. ❑ Calculus is more interesting than Trigonometry. ❑ It was hot in Manila. ❑ Street vendors are poor.
  • 12. z STATEMENT ❑ we can build more complicated (molecular) statements out of simpler (atomic or molecular) ones using logical connectives (“and”, “or”, “if…then”, “if and only if”, “not”) ❑ binary connectives (connect two statements) ❑ unary connective (applies to single statement) ❑ logical connectives ❑ “and” (∧) ❑ “or” (∨) ❑ “if…then” (→) ❑ “if and only if” (↔) ❑ “not” (¬)
  • 13. z STATEMENT ❑ i.e. molecular statement ❑ Sam is a man and Chris is a woman ❑ Sam is a man or Chris is a woman ❑ if Sam is a man, then Chris is a woman ❑ Sam is a man if and only if Chris is a woman ❑ Sam is not a man ❑ axioms that are true statements about the model ❑ a list of inference rules that let us derive new true statements from the axioms ❑ a theory that consists of all statements that can be constructed from the axioms by applying the inference rules
  • 14. z STATEMENT ❑ i.e. ❑ All fish are green (axiom). ❑ George Washington is a fish (axiom). ❑ From “all X are Y ” and “Z is X”, we can derive “Z is Y ” (inference rule). ❑ Thus George Washington is green (theorem). ❑ Theories are attempts to describe models. ❑ A model is typically a collection of objects and relations between them. ❑ A theory is consistent if it can’t prove both P and not -P for any P.
  • 15. z STATEMENT ❑ Note: ❑ If we throw in too many axioms, you can get an inconsistency: ❑ i.e. “All fish are green; all sharks are not green; all sharks are fish; George Washington is a shark” ❑ If we don’t throw in enough axioms, we under constrain the model.
  • 16. z THE LANGUAGE OF LOGIC ❑ the basis of mathematical logic is propositional logic ❑ here the model is a collection of statements that are either true or false ❑ “George Washington is a fish” ❑ “George Washington is a fish or 2+2=5” ❑ Predicate logic adds both constants (stand-ins for objects in the model like “George Washington”) and predicates (stand-ins for properties like “is a fish”)
  • 17. z PROPOSITION ❑ a proposition (simple statement) may be denoted by a variable like P, Q, R, …., called a proposition (statement) variable or sentential variable. ❑ the value of a proposition called its “Truth Value” (the truth and falsity of the statement); denoted by ❑ T or 1 – if it is TRUE ❑ F or 0 – if it is FALSE ❑ opinion, interrogative, and imperative are not propositions ❑ Truth Table P 0 1
  • 18. z PROPOSITION ❑ Examples that are propositions ❑ “Beijing is the capital of China.” ❑ “1+2=3” ❑ 1+0=1 ❑ 1+2=3 ❑ Every cow has four legs. ❑ Grass is green. ❑ There are four finger in a hand.
  • 19. z PROPOSITION ❑ Examples that are not propositions ❑ Sit down! (imperative, command) ❑ X+1=2 (not clear) ❑ Who’s there? (interrogative, question) ❑ “1+2” (expressions with a non-true / false value) ❑ X+2=3
  • 20. z POST-TEST ACTIVITY 1 ❑ Examine whether the following are propositions or not proposition 1. Earth is a planet in the solar system, that has one moon. 2. 16 / 4 = 3. 3. Where are you going? 4. Listen carefully. 5. Y + 2 = 3 6. 4 is on even integer. 7. F + V + S = FVS 8. Sta. Cruz is the capital of the Laguna. 9. 10 + 4 = 14 10. Who is your favorite Marvel Hero? 11. When is your birthday? 12. Read this carefully. 13. x + y = z 14. y is lesser than 2 15. Open the door.
  • 21. z • Levin, O. (2019). Discrete Mathematics: An Open Introduction 3rd Edition. Colorado: School of Mathematics Science University of Colorado. • Aslam, A. (2016). Proposition in Discrete Mathematics retrieved from https://www.slideshare.net/AdilAslam4/chapter-1- propositions-in-discrete-mathematics • Operator Precedence retrieved from http://intrologic.stanford.edu/glossary/operator_precedence.html REFERENCES