Formal Proofs and Boolean Logic Chapter 6 Language, Proof and Logic.

Slides:



Advertisements
Similar presentations
Geometry Chapter 2 Terms.
Advertisements

CS1502 Formal Methods in Computer Science Lecture Notes 3 Consequence Rules Boolean Connectives.
With examples from Number Theory
Logic & Critical Reasoning
fitch rules for negation
Introduction to Theorem Proving
Logic Use mathematical deduction to derive new knowledge.
Deduction In addition to being able to represent facts, or real- world statements, as formulas, we want to be able to manipulate facts, e.g., derive new.
Logic.
Truth Trees Intermediate Logic.
CS128 – Discrete Mathematics for Computer Science
Formal Logic Proof Methods Direct Proof / Natural Deduction Conditional Proof (Implication Introduction) Reductio ad Absurdum Resolution Refutation.
Logic in general Logics are formal languages for representing information such that conclusions can be drawn Syntax defines the sentences in the language.
Chapter 4 Natural Deduction Different ways of formulating a logical system: Axiomatic and natural deduction Mental logic is natural deductive Key feature:
Alpha: Symbolization and Inference Bram van Heuveln Minds and Machines Lab RPI.
Chapter 3 Propositional Logic
EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction.
No new reading for Monday or Wednesday Exam #2 is next Friday, and we’ll review and work on proofs on Monday and Wed.
Logical and Rule-Based Reasoning Part I. Logical Models and Reasoning Big Question: Do people think logically?
Survey of Mathematical Ideas Math 100 Chapter 1 John Rosson Thursday January 18.
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
Inference is a process of building a proof of a sentence, or put it differently inference is an implementation of the entailment relation between sentences.
Methods of Proof involving  Symbolic Logic February 19, 2001.
Conditional Statements CS 2312, Discrete Structures II Poorvi L. Vora, GW.
Review I Rosen , 3.1 Know your definitions!
Chapter Six Sentential Logic Truth Trees. 1. The Sentential Logic Truth Tree Method People who developed the truth tree method: J. Hintikka— “model sets”
F22H1 Logic and Proof Week 6 Reasoning. How can we show that this is a tautology (section 11.2): The hard way: “logical calculation” The “easy” way: “reasoning”
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Logical Agents Chapter 7. Outline Knowledge-based agents Wumpus world Logic in general - models and entailment Propositional (Boolean) logic Equivalence,
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
Existential Graphs Intermediate Logic. Existential Graphs A graphical logic system developed by C.S. Peirce almost 100 years ago. Peirce studied semiotics:
Chapter Three Truth Tables 1. Computing Truth-Values We can use truth tables to determine the truth-value of any compound sentence containing one of.
Course Overview and Road Map Computability and Logic.
Today’s Topics Review of Sample Test # 2 A Little Meta Logic.
INTRODUCTION TO LOGIC Jennifer Wang Fall 2009 Midterm Review Quiz Game.
Chapter Four Proofs. 1. Argument Forms An argument form is a group of sentence forms such that all of its substitution instances are arguments.
Logical Reasoning:Proof Prove the theorem using the basic axioms of algebra.
Logical Agents Chapter 7. Knowledge bases Knowledge base (KB): set of sentences in a formal language Inference: deriving new sentences from the KB. E.g.:
LECTURE LECTURE Propositional Logic Syntax 1 Source: MIT OpenCourseWare.
Chapter Five Conditional and Indirect Proofs. 1. Conditional Proofs A conditional proof is a proof in which we assume the truth of one of the premises.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
assumption procedures
Introductory Logic PHI 120 Presentation: “Solving Proofs" Bring the Rules Handout to lecture.
Methods of Proof for Boolean Logic Chapter 5 Language, Proof and Logic.
The Logic of Atomic Sentences Chapter 2 Language, Proof and Logic.
2.3 Methods of Proof.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
Logical Agents Chapter 7. Outline Knowledge-based agents Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem.
The Logic of Conditionals Chapter 8 Language, Proof and Logic.
More Proofs. REVIEW The Rule of Assumption: A Assumption is the easiest rule to learn. It says at any stage in the derivation, we may write down any.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Sound Arguments and Derivations. Topics Sound Arguments Derivations Proofs –Inference rules –Deduction.
March 23 rd. Four Additional Rules of Inference  Constructive Dilemma (CD): (p  q) (r  s) p v r q v s.
Formal Proofs and Quantifiers
2. The Logic of Compound Statements Summary
Lecture Notes 8 CS1502.
{P} ⊦ Q if and only if {P} ╞ Q
Introductory Logic PHI 120
7.1 Rules of Implication I Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.
CS 1502 Formal Methods in Computer Science
Truth Trees.
CS 270 Math Foundations of CS
Review To check an argument with a tree:.
The Method of Deduction
Negation Rule Strategies
The most important idea in logic: Validity of an argument.
Proof Tactics, Strategies and Derived Rules
Arguments in Sentential Logic
Introductory Logic PHI 120
Presentation transcript:

Formal Proofs and Boolean Logic Chapter 6 Language, Proof and Logic

Conjunction rules 6.1  Elim: P 1  …  P i  …  P n … P i  Intro: P 1  P n … P 1  …  P n 1.A  B  C 2.B  Elim: 1 3.C  Elim: 1 4.C  B  Intro: 3,2

Disjunction rules 6.2a  Intro: P i … P 1  …  P i  …  P n  Elim: P 1  …  P n …  … S P1…SP1…S Pn…SPn…S

Example 6.2b 1. (A  B)  (C  D) 2. A  B 3. B  Elim: 2 4. B  D  Intro: 3 5. C  D 6. D  Elim: 5 7. B  D  Intro: 6 8. B  D  Elim: 1, 2-4, 5-7 You try it, page 152

Contradiction and negation rules 6.3  Elim:  … P  Intro: P …  P …   Elim:  P … P  Intro: P …   P You try it, p.163

The proper use of subproofs 6.4 A subproof may use any of its own assumptions and derived sentences, as well as those of its parent (or grandparent, etc.) proof. However, once a subproof ends, its statements are discharged. That is, nothing outside that subproof (say, in its parent or sibling proof) can cite anything from within that subproof.

Strategy and tactics 6.5 When looking for a proof, the following would help: 1.Understand what the sentences are saying. 2.Decide whether you think the conclusion follows from the premises. 3.If you think it does not follow, look for a counterexample. 4.If you think it does follow, try to give an informal proof first, and then turn it into a formal one. 5. Working backwards is always a good idea. 6. When working backwards, though, always check that your intermediate goals are consequences of the available information. You try it, page 170.

Proofs without premises 6.6 The conclusion of such a proof is always logically valid! 1. P  P 2. P  Elim: 1 3.  P  Elim: 1 4.   Intro: 2,3 5.  (P  P)  Intro: 1-4