Rudolf Mak r.h.mak@tue.nl - PowerPoint PPT Presentation

About This Presentation
Title:

Rudolf Mak r.h.mak@tue.nl

Description:

Motivation for a calculus. For stream processing systems build in a LEGOr-like ... PDT-calculus is sound and complete. Semantic model in the form of a monoid. ... – PowerPoint PPT presentation

Number of Views:100
Avg rating:3.0/5.0
Slides: 28
Provided by: Rudol
Category:
Tags: calculus | mak | rudolf | tue

less

Transcript and Presenter's Notes

Title: Rudolf Mak r.h.mak@tue.nl


1
Periodic-Drop-Take Calculus forStream
Transformers(based on CS-Report 05-02)
  • Rudolf Mak
  • January 21, 2005

2
Motivation for a calculus
  • For stream processing systems build in a
    LEGOr-like
  • fashion from a fixed set of building blocks we
    want to
  • specify
  • verify
  • analyze
  • their functional behavior. Moreover we want to
  • design
  • systems of specified functionality.

3
Periodic Stream samplers
4
Periodic Stream samplers
5
PDT-calculus
  • Operators
  • Unit
  • Drop operators
  • Take operators
  • Equational rules
  • Unit rule
  • Drop expansion/contraction
  • Drop exchange
  • Complement
  • Drop elimination/introduction
  • Take composition

6
Drop operator
X
7
Canonical forms
  1. Period-consecutive
  2. Rank-increasing
  3. Primitive (no repetitive rank-pattern)

8
Transform to period-consecutive
9
Drop expansion/contraction rule
10
Transform to rank-increasing
11
Drop exchange rule
12
Completeness
13
Rewriting to canonical form
14
Take operator
15
Complement rule
16
Rules involving take operators
  • Drop elimination/introduction
  • Take composition

17
Split component
18
Merge component
19
Block reverser design
20
Split-merge systems
21
The set of equations Esv
22
Solving a single equation 1
  • Arbitrary shape
  • Canonical shape
  • Period-aligned, pseudo-canonical shape

23
Solving a single equation 2
24
Example
25
Esv theorem for SISO systems
26
Split component
27
Emv theorem for SISO systems
28
Analysis problem (cyclic system)
What does this system compute for various values
of k?
29
Solution
  • k 0, junk, irreparable deadlock
  • k 1, 2-place buffer
  • k 2, block reverser with block size 2

suffers from reparable deadlock
30
Summary
  • PDT-calculus is a simple calculus to reason about
    periodically sampled streams.
  • PDT-calculus is sound and complete.
  • Semantic model in the form of a monoid.
  • Algorithm to determine canonical forms (solves
    the word problem in the monoid).
  • Algorithm to solve linear equations in a single
    variable (solves the division problem in the
    monoid).
  • Functionality of arbitrary SISO-systems
    consisting of split and merge components can be
    analyzed.
  • Only partial correctness is addressed.
Write a Comment
User Comments (0)
About PowerShow.com