Totalization To define refinement for partial relations, we consider their totalised forms: where X = X ⋃ {⊥} Y = Y ⋃ {⊥}

Slides:



Advertisements
Similar presentations
The Important Thing About By. The Important Thing About ******** The important thing about ***** is *****. It is true s/he can *****, *****, and *****.
Advertisements

Mathematical Preliminaries
THE WELL ORDERING PROPERTY Definition: Let B be a set of integers. An integer m is called a least element of B if m is an element of B, and for every x.
Equivalence Relations
parity bit is 1: data should have an odd number of 1's
Primitive Recursive Functions (Chapter 3)
Domain Restriction on Relation domain restriction operator,, restricts a relation to only those members whose domain is in a specified set. domain restriction.
Cook’s Theorem The Foundation of NP-Completeness.
The Engineering Design of Systems: Models and Methods
Practical Business Modeling in the Unified Process Tom Morgan Software Architect, Fidelity National Information Services
Programming Language Semantics Denotational Semantics Chapter 5 Based on a lecture by Martin Abadi.
1 Design of a Sequence Detector (14.1) Seq. ends in > Z=1 (no reset) Otherwise--> Z=0 Typical input/output sequence Partial Soln. (Mealy Network):
New Algorithm DOM for Graph Coloring by Domination Covering
Sequences. What is sequence? A sequence is an ordered collection of objects. We use sequences to model collections in which order or multiplicity is important.
Programming Language Semantics Denotational Semantics Chapter 5 Part III Based on a lecture by Martin Abadi.
Fussy Set Theory Definition A fuzzy subset A of a universe of discourse U is characterized by a membership function which associate with each element.
(a) (b) (c) (d). What is (1,2,3)  (3,4,2)? (a) (1, 2, 3, 4) (b) (1,2)  (3,4) (c) (1,3,4,2) (d) (3,1)  (4,2)
SET Miss.Namthip Meemag Wattanothaipayap School. Definition of Set Set is a collection of objects, things or symbols. There is no precise definition for.
Factorial Notation For any positive integer n, n! means: n (n – 1) (n – 2)... (3) (2) (1) 0! will be defined as equal to one. Examples: 4! = =
INM175 Topic 7 1 Module INM175 Discrete Mathematics Topic 7 Set Theoretic Models.
ECSE Software Engineering 1I HO 5 © HY 2012 Lecture 5 Formal Methods Isn’t this really getting old?
+ 7.2 The Real nth Roots of a Number How many values in the domain of f are paired with the value in the range? That is, how many x values satisfy.
Lesson 8.1 Page #1-25(EOO), 33, 37, (ODD), 69-77(EOO), (ODD), 99, (ODD)
How do I use an index? A review. Where is the index located? In most reference books the index is located at the end of the book. In most non-fiction/
Section 11.1 Sequences and Summation Notation Objectives: Definition and notation of sequences Recursively defined sequences Partial sums, including summation.
Formal Methods in Software Engineering “And they made their lives bitter with hard bondage … all their service … was with rigour.” Ex 1:14.
For Steifel’s IB Mathematical Studies Class.   A limit is a value that a function or sequence approaches as the input or index approaches some value.
Basic Definitions of Set Theory Lecture 24 Section 5.1 Fri, Mar 2, 2007.
Computing Machinery Chapter 4: Finite State Machines.
9.1 Sequences and Series. Definition of Sequence  An ordered list of numbers  An infinite sequence is a function whose domain is the set of positive.
Proof by Induction 1.Explanation 1Explanation 1 2.Explanation 2Explanation 2 3.Example DivisionExample Division 4.Example SequencesExample Sequences 5.Example.
Introduction to Graph Theory & its Applications
Thinking Mathematically Venn Diagrams and Subsets.
A real sequence is a real function S whose domain is the set of natural numbers IN. The range of the sequence is simply the range of the function S. range.
1 Requirements Specification and Verification Using Z A. Rasoolzadegan July, 2009 AUT CEIT.
Set Notation 1.3 – 1.4 Quiz Topics
Introduction to Differential Equations
parity bit is 1: data should have an odd number of 1's
Error Detection and Correction
Formal Methods in SE Lecture 21.
Chapter 8: Concurrency Control on Relational Databases
Introduction to Differential Equations
Error Detection and Correction
Arithmetic Sequences January 26, 2017.
L1= { w  {a,b}* : w consists of all strings that begin with an even number of a's followed by an odd number of b's. } L2= { w  {a,b}* : the number of.
Prediction of Regulatory Elements for Non-Model Organisms Rachita Sharma, Patricia.
CSCE Fall 2013 Prof. Jennifer L. Welch.
Class Notes 9: Power Series (1/3)
פחת ורווח הון סוגיות מיוחדות תהילה ששון עו"ד (רו"ח) ספטמבר 2015
Program A sequence of operations on a data type.
Basic concepts Networks must be able to transfer data from one device to another with complete accuracy. Data can be corrupted during transmission. For.
What comes next in this sequence
The Big 6 Research Model Step 3: Location and Access
Other Requirement Artifacts
CSCE Fall 2012 Prof. Jennifer L. Welch.
Partition Refinement 更多精品PPT模板下载: 1
Decoupling Regulation and Standards
CSE 105 theory of computation
VI.3 Spectrum of compact operators
Power Series (9.8) March 9th, 2017.
Refinement Refine a formal specification by adding more information
Algebraic Trace Theory
parity bit is 1: data should have an odd number of 1's

- '1:- bs? a ' I.
Activity 2 How is the word length of a two’s complement representation changed without affecting its value? In this activity, we are going to study how.
39 32 Exponent Sign 31 Mantissa 30 Operations are perfomred with an implied binary point between bits 31 and 30. When the implied most significant.
Homework 1 (May 31) Material covered: Episodes 1 and 2
Terminology and Symbols
CSE 105 theory of computation
Presentation transcript:

Totalization To define refinement for partial relations, we consider their totalised forms: where X = X ⋃ {⊥} Y = Y ⋃ {⊥}

Complement of s

Example

Example a b c d ⊥ a b c d ⊥

Example a b c d ⊥ a b c d ⊥

Refinement Having decided upon totalization using ⊥, we may derive the conditions for one partial relation to be a correct refinement of another. If σ and ρ are two partial relations of the same type then σ refines ρ precisely when is a subset of . This is true if and only if the domain of σ is at least as big as that of ρ and σ agrees with ρ on dom ρ.

Refinement

Refinement a a b b c ρ a a Provided some additional information by extending the domain and removed some non-determinism b b c c σ

Not a Refinement

Using Totalization

Refinement If σ and ρ are two partial relations of the same type then σ refines ρ precisely when is a subset of .

Example We may corrupt a bit – an element of set {0, 1} – by changing its value.

The relation corruptsto associates two sequences of bits if the second is no longer than the first, and no two adjacent bits have been corrupted. _corruptsto_ : seq Bit ↔ seq Bit ∀ bs, bs’ : seq Bit ∙ bs corruptsto bs’ ⇔ #bs’ ≤ #bs ∧ ∀ i : 1 .. #bs’ – 1 ∙ bs i ≠ bs’ i ⇒ bs(i + 1) = bs’(i + 1) For example, <1, 0, 0, 0, 1, 1> corruptsto <1, 0, 1, 0, 0, 1> <1, 1, 0, 1, 1, 1, 0, 0> corruptsto <0, 1, 0, 0, 1>

The relation changesto associates two sequences of bits if the second is no longer than the first, and every bit with an odd index has been corrupted. _changesto_ : seq Bit ↔ seq Bit ∀ bs, bs’ : seq Bit ∙ bs changesto bs’ ⇔ #bs’ ≤ #bs ∧ ∀ i : 1 .. (#bs’ – 1) ∙ i ∈ {n : N1 ∙ 2 * n} ⇒ bs i = bs’ i ∧ i ∈ {n : N1 ∙ 2 * n + 1} ⇒ bs i ≠ bs’ i For example, <1, 1, 0, 1, 1, 1, 0, 0> changesto <0, 1, 1, 1, 0> <1, 0, 0, 0, 1, 1> changesto <0, 0, 1, 0, 0, 1>

The second relation is a refinement of the first: both are total relations on seq Bit changesto resolves all the non-determinism present in the definition of corruptsto. If we are content with the behavior of corruptsto, then we will be content with changesto.