Models of Computation: Automata and Processes - PowerPoint PPT Presentation

About This Presentation
Title:

Models of Computation: Automata and Processes

Description:

Automata and Processes Jos Baeten Models of computation Automata theory and formal languages Turing machine Computability Algorithm Complexity Models of computation ... – PowerPoint PPT presentation

Number of Views:121
Avg rating:3.0/5.0
Slides: 27
Provided by: paulLuonN
Category:

less

Transcript and Presenter's Notes

Title: Models of Computation: Automata and Processes


1
Models of Computation Automata and Processes
  • Jos Baeten

2
Models of computation
  • Automata theory and formal languages
  • Turing machine
  • Computability
  • Algorithm
  • Complexity

3
Models of computation
  • Automaton is model of computer
  • input/output function
  • stand alone
  • batch process
  • Add notion of interaction -gt
  • concurrency theory, process theory

4
Thesis
  • Process theory is just as important to every
    computer science student as automata theory
  • Can be taught together in every undergraduate
    curriculum
  • Analogies help, standardization can ensue

5
A Cooks tour of automata and processes
  • Some answers, some questions

6
From automata theory
  • A regular language
  • deterministic finite automaton
  • non-deterministic finite automaton
  • right-linear grammar
  • left-linear grammar
  • regular expression

7
From process theory
  • A regular process
  • deterministic finite automaton
  • non-deterministic finite automaton
  • right-linear grammar
  • left-linear grammar
  • regular expression

8
A regular process
  • A finite transition system modulo bisimulation
  • edge-labeled, initial state, set of final
    states
  • A finite guarded linear recursive specification
  • action prefix
  • recursion
  • 0
  • 1

9
A regular expression
  • Not all regular processes can be described by a
    regular expression (w.r.t. bisimulation)

10
Example
a
b
  • X a Y 1
  • Y b X 1
  • X aY 1 a(bX 1) 1 abX a 1
  • X (ab)(a 1)
  • Y b(ab)(a 1) 1
  • left distributivity of over holds
  • in language equivalence

11
Milner 1984
  • Not for bisimulation equivalence.
  • Question which finite behaviours are
    bisimulation equivalent to a regular expression?
  • Answer well-behaved ones
  • B, Corradini, Grabmayer. JACM 2007.

12
Consequence
  • Iteration not basic programming construct for
    parallel programming.

13
Regular expressions
  • choice
  • sequential composition
  • 0 inaction, d
  • 1 skip, e
  • a action
  • iteration

14
Reg. exp. to finite automata
15
Algebra for regular expressions
16
Recursive specifications (grammars)
  • X a Y 1 Y b X 1
  • RSP x yx z ? x yz
  • guarded, i.e.
  • y does not have the empty word property,
  • y ? y 1

17
Open question
  • The algebra with RSP is ground-complete.

18
Context-free language
  • Context-free grammar
  • Push-down automaton

19
What is a context-free process?
  • A guarded recursive specification over TSP
  • choice
  • sequential composition
  • 0 inaction
  • 1 skip
  • a action (prefix)

20
Context-free process
  • B, Bergstra, Klop. JACM 1993.
  • Restricted Greibach normal form.

21
A push-down automaton?
  • Theorem any context-free process is bisimulation
    equivalent to a regular process communicating
    with a stack.

22
Stack
  • S T S
  • T ? ?d U !d
  • U 1 T U

23
Different classes of processes
  • Regular action, , 0, 1
  • Context-free add seq. comp.
  • Basic parallel add , no communication
  • Basic communicating add with comm.
  • Parallel add seq.comp. to basic parallel
  • Communicating add seq.comp. to basic comm.

24
Bag
  • B ? ?d . (B !d)

25
A non-theorem
  • Theorem any basic parallel process is
    bisimulation equivalent to a regular process
    communicating with a bag.
  • Problem need to detect termination.
  • Bag with termination is not basic parallel.

26
More questions
  • What set of processes do you get as a regular
    process communicating with a queue
    (with termination)?
  • A queue is a communicating process, only if
    arbitrary communication is allowed (or binary
    communication plus renaming).
Write a Comment
User Comments (0)
About PowerShow.com