1 Inference Rules and Proofs Z: Inference Rules and Proofs.

Slides:



Advertisements
Similar presentations
Propositional Equivalences
Advertisements

Geometry Chapter 2 Terms.
Propositional Equivalences
Logic Use mathematical deduction to derive new knowledge.
1 Introduction to Abstract Mathematics Valid AND Invalid Arguments 2.3 Instructor: Hayk Melikya
Propositional Equivalences. L32 Agenda Tautologies Logical Equivalences.
Aim: How can we review logic proofs for the upcoming regents exam? Homework- Logic proof questions (2) Do Now- Name three reasons used when solving a logic.
Logic 2 The conditional and biconditional
Logic 1 Statements and Logical Operators. Logic Propositional Calculus – Using statements to build arguments – Arguments are based on statements or propositions.
Laws of , , and  Excluded middle law Contradiction law P   P  T P   P  F NameLaw Identity laws P  F  P P  T  P Domination laws P  T  T P.
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
Propositional Logic. Negation Given a proposition p, negation of p is the ‘not’ of p.
Chapter 4 Natural Deduction Different ways of formulating a logical system: Axiomatic and natural deduction Mental logic is natural deductive Key feature:
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
From Chapter 4 Formal Specification using Z David Lightfoot
1 Inference Rules and Proofs Z: Inference Rules and Proofs.
Proof by Deduction. Deductions and Formal Proofs A deduction is a sequence of logic statements, each of which is known or assumed to be true A formal.
Propositional Calculus Math Foundations of Computer Science.
Normal or Canonical Forms Rosen 1.2 (exercises). Logical Operators  - Disjunction  - Conjunction  - Negation  - Implication p  q   p  q  - Exclusive.
Propositions and Truth Tables
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
1 Inference Rules and Proofs (Z); Program Specification and Verification Inference Rules and Proofs (Z); Program Specification and Verification.
Propositional Equivalences
Chap. 2 Fundamentals of Logic. Proposition Proposition (or statement): an declarative sentence that is either true or false, but not both. e.g. –Margret.
DeMorgan’s Rule DM ~(p v q) :: (~p. ~q)“neither…nor…” is the same as “not the one and not the other” ~( p. q) :: (~p v ~q) “not both…” is the same as “either.
Thinking Mathematically Logic 3.6 Negations of Conditional Statements and De Morgan’s Laws.
Tautologies, contradictions, contingencies
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
Propositional Calculus – Methods of Proof Predicate Calculus Math Foundations of Computer Science.
Natural Deduction CS 270 Math Foundations of CS Jeremy Johnson.
Lecture Propositional Equivalences. Compound Propositions Compound propositions are made by combining existing propositions using logical operators.
AIM: WHAT IS AN INDIRECT PROOF?
CS 381 DISCRETE STRUCTURES Gongjun Yan Aug 25, November 2015Introduction & Propositional Logic 1.
1 IS 2150 / TEL 2810 Introduction to Security James Joshi Associate Professor, SIS Lecture 3 September 15, 2009 Mathematical Review Security Policies.
1 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
Exercises for CS3511 Week 31 (first week of practical) Propositional Logic.
Thinking Mathematically
CS6133 Software Specification and Verification
Chapter 1: The Foundations: Logic and Proofs
Propositional Equivalence A needed step towards proofs Copyright © 2014 Curt Hill.
Proof Tactics, Strategies and Derived Rules CS 270 Math Foundations of CS Jeremy Johnson.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 05 : Knowledge Base & First Order Logic.
Symbolic Logic The Following slide were written using materials from the Book: The Following slide were written using materials from the Book: Discrete.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
CS-7081 Application - 1. CS-7082 Example - 2 CS-7083 Simplifying a Statement – 3.
2. The Logic of Compound Statements Summary
Advanced Algorithms Analysis and Design
Thinking Mathematically
Truth Tables and Equivalent Statements
Chapter 1 – Logic and Proof
Chapter 1 Logic and Proofs.
How do I show that two compound propositions are logically equivalent?
Biconditional - 2 CS-708.
The Boolean Connectives
Chapter 8 Logic Topics
The Lost Art of Argument
Propositional Calculus: Boolean Algebra and Simplification
Propositional Equivalences
Information Technology Department
Logic Use mathematical deduction to derive new knowledge.
CS 270 Math Foundations of CS
Propositional Equivalences
CSE 311 Foundations of Computing I
CS 220: Discrete Structures and their Applications
Lecture 2: Propositional Equivalences
Discrete Mathematics Lecture 2: Propositional Logic
Symbolic Logic 2/25/2019 rd.
MAT 3100 Introduction to Proof
Proof Tactics, Strategies and Derived Rules
A THREE-BALL GAME.
Presentation transcript:

1 Inference Rules and Proofs Z: Inference Rules and Proofs

2 Propositional logic The Z methodology is based on propositional logic basic operators of propositional logic: conjunction (AND); disjunction (OR); implication (  ); equivalence (  ) ; negation (NOT, ~) propositions--statements about the system tautologies--propositions which are always true (A = A) contradictions--propositions which are never true (A = not A)

3 Logical Operators

4 Inference Rule--Z Notation Abbreviations:“intro” = introduction “elim” = elimination

5 AND Rules

6 OR Rules

7 IMPLICATION rules (implication, equivalence)

8 NEGATION Rules

9 Truth Table Formulation In terms of sets: P P “universe”  P Q P  Q P  Q Q P  Q P QP

10 Proof example: AND is commutative

11 Proof example: OR is commutative

12 Exercise: associativity

13 Proof example: implication (1)

14 Proof example: implication (2)

15 Proof example: deMorgan’s Law

16 Proof example: Law of the excluded middle