1 / 29

Periodic-Drop-Take Calculus for Stream Transformers (based on CS-Report 05-02)

Periodic-Drop-Take Calculus for Stream Transformers (based on CS-Report 05-02). Rudolf Mak January 21, 2005. Motivation. For stream processing systems build in a LEGO- like fashion from a fixed set of building blocks we want to specify verify analyze

carina
Télécharger la présentation

Periodic-Drop-Take Calculus for Stream Transformers (based on CS-Report 05-02)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Periodic-Drop-Take Calculus forStream Transformers(based on CS-Report 05-02) Rudolf Mak January 21, 2005 Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  2. Motivation • For stream processing systems build in a LEGO- • 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. Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  3. Question What does this system compute for various values of k? Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  4. Periodic Stream samplers Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  5. PDT-calculus • Operators • Drop operators • Take operators • Equational rules • Drop expansion/contraction • Drop exchange • Complement • Drop elimination/Introduction • Take composition Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  6. Drop operator Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  7. Canonical forms • Period-consecutive • Rank-increasing • Primitive X Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  8. Drop expansion/contraction rule Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  9. Example (l+1)-fold q-fold Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  10. Drop exchange rule Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  11. Completeness Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  12. Rewriting to canonical form Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  13. Take operator Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  14. Complement Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  15. Rules involving take operators • Drop elimination/introduction • Take composition Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  16. Split component Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  17. Merge component Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  18. Block reverser Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  19. Split-merge systems Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  20. The set of equations Esv Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  21. Solving a single equation 1 • Arbitrary shape • Canonical shape • Period-aligned, pseudo-canonical shape Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  22. Solving a single equation 2 Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  23. Example Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  24. Esv theorem for SISO systems Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  25. Split component Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  26. Emv theorem for SISO systems Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  27. Question revisited What does this system compute for various values of k? Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  28. Answer • k = 0, junk, irreparable deadlock • k = 1, 2-place buffer • k = 2, block reverser with block size 2 Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

  29. Conclusions • 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). • Algorithm to solve linear equations in a single variable (solves the division problem). • Functionality of arbitrary SISO-systems can be analyzed. • Only partial correctness is addressed. Rudolf Mak r.h.mak@tue.nl TU/e, Dept. of Math. and Comp. Sc., System Architecture and Networking

More Related