Inference Rules and Proofs - PowerPoint PPT Presentation

About This Presentation
Title:

Inference Rules and Proofs

Description:

Title: Topics for Week 7 Author: Preferred Customer Last modified by: cpurdy Created Date: 2/18/2003 9:18:22 PM Document presentation format: On-screen Show – PowerPoint PPT presentation

Number of Views:41
Avg rating:3.0/5.0
Slides: 17
Provided by: Prefer1169
Learn more at: https://eecs.ceas.uc.edu
Category:

less

Transcript and Presenter's Notes

Title: Inference Rules and Proofs


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
For n input variables, truth table would have 2n
rows using truth tables for expressions and
proofs is therefore not a practical or efficient
method of computation
In terms of sets
universe
P ? Q
P ? Q
P
Q
P
Q
P
P
? P
P ? Q
Q
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 deMorgans Law
16
Proof example Law of the excluded middle
Write a Comment
User Comments (0)
About PowerShow.com