1 It pays to be Persistent Dina Goldin, U.Mass/Boston (U.Conn) Joint work with Scott Smolka, SUNY at Stony Brook Peter Wegner, Brown University.

Slides:



Advertisements
Similar presentations
Turing Machines Memory = an infinitely long tape Persistent storage A read/write tape head that can move around the tape Initially, the tape contains only.
Advertisements

Theory of Computing Lecture 23 MAS 714 Hartmut Klauck.
Cook’s Theorem The Foundation of NP-Completeness.
Architecture Representation
CSC 3130: Automata theory and formal languages Andrej Bogdanov The Chinese University of Hong Kong Variants.
Sep. 29, 2004Tufts University1 Interaction: Conjectures, Results, and Myths Dina Goldin University of Connecticut.
1 Introduction to Computability Theory Lecture11: Variants of Turing Machines Prof. Amos Israeli.
Courtesy Costas Busch - RPI1 A Universal Turing Machine.
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata are like Turing Machines with a restriction: The working space of the tape is the space of the.
CS 584. A Parallel Programming Model We need abstractions to make it simple. The programming model needs to fit our parallel machine model. Abstractions.
Finite Automata Finite-state machine with no output. FA consists of States, Transitions between states FA is a 5-tuple Example! A string x is recognized.
CS 310 – Fall 2006 Pacific University CS310 Turing Machines Section 3.1 November 6, 2006.
Turing Machines, Transition Systems, and Interaction
Lecture 5 Turing Machines
A Denotational Semantics For Dataflow with Firing Edward A. Lee Jike Chong Wei Zheng Paper Discussion for.
1 Lecture 13 Turing machine model of computation –Sequential access memory (tape) –Limited data types and instructions –Formal Definition –Equivalence.
Fall 2004COMP 3351 A Universal Turing Machine. Fall 2004COMP 3352 Turing Machines are “hardwired” they execute only one program A limitation of Turing.
EXPRESS'011 Turing Machines, Transition Systems, and Interaction Dina Goldin, U.Connecticut Scott Smolka, SUNY at Stony Brook Peter Wegner, Brown University.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 18 Instructor: Paul Beame.
January 28, 2015CS21 Lecture 101 CS21 Decidability and Tractability Lecture 10 January 28, 2015.
Turing Machines CS 105: Introduction to Computer Science.
國立中正大學資訊工程所計算理論實驗室榮譽出品. The Church-Turing Thesis: Breaking the Myth Speaker: Chuang-Chieh Lin Advisor: Professor Maw-Shang Chang Computation Theory Laboratory,
Final Exam Review Cummulative Chapters 0, 1, 2, 3, 4, 5 and 7.
Turing Machines A more powerful computation model than a PDA ?
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen Department of Computer Science University of Texas-Pan American.
Constraints on Hypercomputation Greg Michaelson 1 & Paul Cockshott 2 1 HeriotWatt University, 2 University of Glasgow.
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
Introduction to CS Theory Lecture 15 –Turing Machines Piotr Faliszewski
A Theory of Interactive Computation Jan van Leeuwen, Jiri Widermann Presented by Choi, Chang-Beom KAIST.
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 15-1 Mälardalen University 2012.
TRANSITION DIAGRAM BASED LEXICAL ANALYZER and FINITE AUTOMATA Class date : 12 August, 2013 Prepared by : Karimgailiu R Panmei Roll no. : 11CS10020 GROUP.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
Automata & Formal Languages, Feodor F. Dragan, Kent State University 1 CHAPTER 3 The Church-Turing Thesis Contents Turing Machines definitions, examples,
1 Extensions to Turing machines TMs are clumsy. Can we make them more efficient or more powerful? We will consider 6 possibilities: 1.Multiple tapes 2.Multiple.
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata (LBAs) are the same as Turing Machines with one difference: The input string tape space is the.
 2005 SDU Lecture13 Reducibility — A methodology for proving un- decidability.
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
September1999 CMSC 203 / 0201 Fall 2002 Week #15 – 2/4/6 December 2002 Prof. Marie desJardins.
T. Gregory BandyInteraction Machines SeminarFebruary 21, Union College - Computer Science Graduate Program Interaction Machines Are they more.
1 IDT Open Seminar ALAN TURING AND HIS LEGACY 100 Years Turing celebration Gordana Dodig Crnkovic, Computer Science and Network Department Mälardalen University.
1 Turing Machines and Equivalent Models Section 13.1 Turing Machines.
High Performance Embedded Computing © 2007 Elsevier Lecture 4: Models of Computation Embedded Computing Systems Mikko Lipasti, adapted from M. Schulte.
Interactive computability Episode 13 0 Hard-play machines (HPMs) Easy-play machines (EPMs) Definition of interactive computability The interactive version.
Automata & Formal Languages, Feodor F. Dragan, Kent State University 1 CHAPTER 3 The Church-Turing Thesis Contents Turing Machines definitions, examples,
1 CD5560 FABER Formal Languages, Automata and Models of Computation Lecture 12 Mälardalen University 2007.
1 8.4 Extensions to the Basic TM Extended TM’s to be studied: Multitape Turing machine Nondeterministic Turing machine The above extensions make no increase.
Recall last lecture and Nondeterministic TMs Ola Svensson.
The Church-Turing Thesis
Turing Machines CS 130 Theory of Computation HMU Textbook: Chap 8.
Universal Turing Machine
MA/CSSE 474 Theory of Computation Decision Problems, Continued DFSMs.
1 A Universal Turing Machine. 2 Turing Machines are “hardwired” they execute only one program A limitation of Turing Machines: Real Computers are re-programmable.
Turing’s Thesis.
More variants of Turing Machines
CS154, Lecture 7: Turing Machines.
OTHER MODELS OF TURING MACHINES
Turing’s Thesis Costas Busch - RPI.
CSE 105 theory of computation
Turing Machines Acceptors; Enumerators
CS154, Lecture 10: Rice’s Theorem, Oracle Machines
Summary.
CS154, Lecture 10: Rice’s Theorem, Oracle Machines
Turing Machines Chapter 17.
CS21 Decidability and Tractability
Formal Languages, Automata and Models of Computation
Compositional Refinement for Hierarchical Hybrid Systems
Instructor: Aaron Roth
CSE 105 theory of computation
Interactive computability
CSE 105 theory of computation
Presentation transcript:

1 It pays to be Persistent Dina Goldin, U.Mass/Boston (U.Conn) Joint work with Scott Smolka, SUNY at Stony Brook Peter Wegner, Brown University

2 Functions or objects? Functions (side-effect-free) or objects: does it matter for modeling programs? Objects contain persistent values: x1 = foo(args 1)y1 = cntr(add 1) x2 = foo(args 2) y2 = cntr(get ttl) x3 = foo(args 3)y3 = cntr(add 2) x4 = foo(args 2)y4 = cntr(get ttl) _________________________________________________ x2 = x4y2  y4 History dependence (emerges in the context of multiple invocations).

3 Concurrent Processes Concurrency: parallel execution of interacting processes. Processes: stream-based computational semantics. Bisimulation: a finer notion of equivalence, appropriate for dynamic environments. s P(s) = a.P(s’) S’ a

4 Algorithmic vs. Interactive Computation finite-size input (string) all necessary info available at start (closed system) computation ends once answer is generated this notion of computation is captured by Church-Turing thesis dynamically generated stream of input tokens (requests, percepts, messages) later inputs depend on earlier outputs (“lack of modularity”) and vice versa (“history dep.”) computation not assumed to end objects, processes, components, control devices, reactive systems, intelligent agents,

5 Persistent Turing Machines (PTMs) Equivalence relations for PTMs Amnesic Turing Machines (ATMs) Comparing PTMs and ATMs Outline

6 Nondeterministic 3-tape TMs s - current state w 1 - contents of input tape w 2 - contents of work tape w 3 - contents of output tape n 1, n 2, n 3 - tape head posns Computation is a sequence of transitions: Configurations: input work output S

7 Extending N3TM computations Inputs are dynamic streams of tokens (strings). For each input token, there is an N3TM computation generating a corresponding output token. The contents w of the work tape at the beginning of each N3TM computation is the same as at the end of the previous one. f M (input k, w k-1 ) = (output k, w k )

8 Persistent Stream Language of a PTM: set of streams Persistent Stream Languages in 1 S0S0   ShSh out 1 w1w1 in 1 in 2 S0S0 w1w1  ShSh out 2 w2w2 in 2... Persistent Turing Machine (PTM): N3TM with persistent stream-based computational semantics

9 inputs in 1 ; outputs 1 inputs in 2 ; outputs 1 st bit of in 1 inputs in 3 ; outputs 1 st bit of in 2... Example: PTM Example : # 1 0 (1*,1) (0*,1) (1*,0) (1*,1) (0*,0) )( Latch MPSL 

10 = ms = PSL PTM Equivalence Relations M 1 = PSL M 2 : PSL (M 1 ) = PSL (M 2 ) M 1 = ms M 2 :  bijection  between their reachable memories s.t. 1.  (  ) =  2. f M 1 (i, w) = (o, w’) iff f M 2 (i,  (w)) = (o,  (w’))

11 = ms = bisim = PSL PTM Equivalence Relations M 1 = bisim M 2 :  relation R between their reachable memories s.t. 1. R( ,  ) 2. If R(w 1,w 2 ) and f M 1 (i,w 1 ) = (o,w 1 ’), then  w 2 ’ s.t. R(w 1 ’,w 2 ’) and f M 2 (i,w 2 ) = (o,w 2 ’) 3. Same thing, but with 1 and 2 reversed

12 Infinite Equivalence Hierarchy L k (M) - stream prefix language of PTM M set of prefixes of length  k for streams in PSL(M). L  (M) - U k L k (M) A new notion of equivalence: M 1 = k M 2 : L k (M 1 ) = L k ( M 2 ) == =2=2 =1=1...

13 Equivalence Hierarchy Gap Proof: construct PTMs M 1 and M 2 where L  (M 1 ) = L  (M 2 ) but PSL (M 1 ) = PSL (M 2 ) Note: M 2 exhibits unbounded non-determinism / = ms = bisim = PSL == =2=2 =1=1...

14 Amnesic PTM Computation: stream-based but not persistent in 1 S0S0   ShSh out 1 w1w1 in 1 in 2 S0S0   ShSh out 2 w2w2 in 2 Amnesic Stream Language of M: ASL(M) M 1 = ASL M 1 : ASL(M 1 ) = ASL(M 2 ) ASL = {ASL(M) | M is an N3TM }

15 Proof : Given an N3TM M, construct M ’ such that PSL(M') = ASL(M) Consider 3 rd elem. (0,0) of  io for M latch ! For any M with  io in ASL(M), there will also be a stream in ASL(M) with (0,0) as 1 st element. Therefore, for all M, ASL(M)  PSL(M latch ). It pays to be Persistent ASLPSL

16 Interactive computability - A stream language L is interactively computable if L  PSL (L’s properties expressed in Temporal Logic) - A behavior B is interactively computable if B is bisimilar to some PTM M Interactive complexity Where are the ports? Future Work

17 Sequential Interaction Machines [Wegner&Goldin] Online algorithms Dataflow, process algebra, I/O automata, synchronous languages, finite/pushdown automata over infinite words, interaction games, reactive modules, … Our approach: language- and domain-independent effective devices that distinguish inputs and outputs Related Work

18 Reachable Memories of a PTM Set of words (work-tape contents) w encountered after zero or more macrosteps: