Computation with Absolutely No Space Overhead Lane Hemaspaandra 1 - - PowerPoint PPT Presentation

computation with absolutely no space overhead
SMART_READER_LITE
LIVE PREVIEW

Computation with Absolutely No Space Overhead Lane Hemaspaandra 1 - - PowerPoint PPT Presentation

Outline Computation with Absolutely No Space Overhead Lane Hemaspaandra 1 Proshanto Mukherji 1 Till Tantau 2 1 Department of Computer Science University of Rochester 2 Fakult at f ur Elektrotechnik und Informatik Technical University of


slide-1
SLIDE 1

Outline

Computation with Absolutely No Space Overhead

Lane Hemaspaandra1 Proshanto Mukherji1 Till Tantau2

1Department of Computer Science

University of Rochester

2Fakult¨

at f¨ ur Elektrotechnik und Informatik Technical University of Berlin

Developments in Language Theory Conference, 2003

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-2
SLIDE 2

Outline

Outline

1

The Model of Overhead-Free Computation The Standard Model of Linear Space Our Model of Absolutely No Space Overhead

2

The Power of Overhead-Free Computation Palindromes Linear Languages Context-Free Languages with a Forbidden Subword Languages Complete for Polynomial Space

3

Limitations of Overhead-Free Computation Linear Space is Strictly More Powerful

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-3
SLIDE 3

Outline

Outline

1

The Model of Overhead-Free Computation The Standard Model of Linear Space Our Model of Absolutely No Space Overhead

2

The Power of Overhead-Free Computation Palindromes Linear Languages Context-Free Languages with a Forbidden Subword Languages Complete for Polynomial Space

3

Limitations of Overhead-Free Computation Linear Space is Strictly More Powerful

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-4
SLIDE 4

Outline

Outline

1

The Model of Overhead-Free Computation The Standard Model of Linear Space Our Model of Absolutely No Space Overhead

2

The Power of Overhead-Free Computation Palindromes Linear Languages Context-Free Languages with a Forbidden Subword Languages Complete for Polynomial Space

3

Limitations of Overhead-Free Computation Linear Space is Strictly More Powerful

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-5
SLIDE 5

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Outline

1

The Model of Overhead-Free Computation The Standard Model of Linear Space Our Model of Absolutely No Space Overhead

2

The Power of Overhead-Free Computation Palindromes Linear Languages Context-Free Languages with a Forbidden Subword Languages Complete for Polynomial Space

3

Limitations of Overhead-Free Computation Linear Space is Strictly More Powerful

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-6
SLIDE 6

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

The Standard Model of Linear Space

Turing machine 0 0 1 0 0 1 0 0 tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet is larger than input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-7
SLIDE 7

The Standard Model of Linear Space

Turing machine 0 0 1 0 0 1 0 0 tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet is larger than input alphabet

2004-04-19

Computation with Absolutely No Space Overhead The Model of Overhead-Free Computation The Standard Model of Linear Space The Standard Model of Linear Space

  • 1. Point out that $ is a marker symbol.
  • 2. Stress the larger tape alphabet.
slide-8
SLIDE 8

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

The Standard Model of Linear Space

Turing machine $ 0 1 0 0 1 0 0 tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet is larger than input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-9
SLIDE 9

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

The Standard Model of Linear Space

Turing machine $ 0 1 0 0 1 0 0 tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet is larger than input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-10
SLIDE 10

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

The Standard Model of Linear Space

Turing machine $ 0 1 0 0 1 0 $ tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet is larger than input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-11
SLIDE 11

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

The Standard Model of Linear Space

Turing machine $ 0 1 0 0 1 0 $ tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet is larger than input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-12
SLIDE 12

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

The Standard Model of Linear Space

Turing machine $ $ 1 0 0 1 0 $ tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet is larger than input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-13
SLIDE 13

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

The Standard Model of Linear Space

Turing machine $ $ 1 0 0 1 0 $ tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet is larger than input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-14
SLIDE 14

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

The Standard Model of Linear Space

Turing machine $ $ 1 0 0 1 $ $ tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet is larger than input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-15
SLIDE 15

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

The Standard Model of Linear Space

Turing machine $ $ $ $ $ $ $ $ tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet is larger than input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-16
SLIDE 16

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

The Standard Model of Linear Space

Turing machine $ $ $ $ $ $ $ $ tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet is larger than input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-17
SLIDE 17

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Linear Space is a Powerful Model

CFL DLINSPACE NLINSPACE = CSL PSPACE PSPACE-hard

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-18
SLIDE 18

Linear Space is a Powerful Model

CFL DLINSPACE NLINSPACE = CSL PSPACE PSPACE-hard

2004-04-19

Computation with Absolutely No Space Overhead The Model of Overhead-Free Computation The Standard Model of Linear Space Linear Space is a Powerful Model

  • 1. Explain CSL.
  • 2. Point out the connections to formal language theory.
slide-19
SLIDE 19

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Outline

1

The Model of Overhead-Free Computation The Standard Model of Linear Space Our Model of Absolutely No Space Overhead

2

The Power of Overhead-Free Computation Palindromes Linear Languages Context-Free Languages with a Forbidden Subword Languages Complete for Polynomial Space

3

Limitations of Overhead-Free Computation Linear Space is Strictly More Powerful

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-20
SLIDE 20

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Our Model of “Absolutely No Space Overhead”

Turing machine 0 0 1 0 0 1 0 0 tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet equals input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-21
SLIDE 21

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Our Model of “Absolutely No Space Overhead”

Turing machine 1 0 1 0 0 1 0 0 tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet equals input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-22
SLIDE 22

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Our Model of “Absolutely No Space Overhead”

Turing machine 1 0 1 0 0 1 0 0 tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet equals input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-23
SLIDE 23

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Our Model of “Absolutely No Space Overhead”

Turing machine 1 0 1 0 0 1 0 1 tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet equals input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-24
SLIDE 24

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Our Model of “Absolutely No Space Overhead”

Turing machine 1 0 1 0 0 1 0 1 tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet equals input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-25
SLIDE 25

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Our Model of “Absolutely No Space Overhead”

Turing machine 1 1 1 0 0 1 0 1 tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet equals input alphabet

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-26
SLIDE 26

Our Model of “Absolutely No Space Overhead”

Turing machine 1 1 1 0 0 1 0 1 tape Characteristics Input fills fixed-size tape Input may be modified Tape alphabet equals input alphabet

2004-04-19

Computation with Absolutely No Space Overhead The Model of Overhead-Free Computation Our Model of Absolutely No Space Overhead Our Model of “Absolutely No Space Overhead”

  • 1. Point out that no markers are used.
slide-27
SLIDE 27

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Our Model of “Absolutely No Space Overhead”

Turing machine Intuition Tape is used like a RAM module.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-28
SLIDE 28

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Definition of Overhead-Free Computations

Definition A Turing machine is overhead-free if

1 it has only a single tape, 2 writes only on input cells, 3 writes only symbols drawn from the input alphabet. Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-29
SLIDE 29

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Overhead-Free Computation Complexity Classes

Definition A language L ⊆ Σ∗ is in

DOF if L is accepted by a deterministic overhead-free

machine with input alphabet Σ,

DOFpoly if L is accepted by a deterministic overhead-free

machine with input alphabet Σ in polynomial time.

NOF is the nondeterministic version of DOF, NOFpoly is the nondeterministic version of DOFpoly.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-30
SLIDE 30

Overhead-Free Computation Complexity Classes

Definition A language L ⊆ Σ∗ is in DOF if L is accepted by a deterministic overhead-free machine with input alphabet Σ, DOFpoly if L is accepted by a deterministic overhead-free machine with input alphabet Σ in polynomial time. NOF is the nondeterministic version of DOF, NOFpoly is the nondeterministic version of DOFpoly.

2004-04-19

Computation with Absolutely No Space Overhead The Model of Overhead-Free Computation Our Model of Absolutely No Space Overhead Overhead-Free Computation Complexity Classes

  • 1. Joke about German pronunciation
slide-31
SLIDE 31

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Overhead-Free Computation Complexity Classes

Definition A language L ⊆ Σ∗ is in

DOF if L is accepted by a deterministic overhead-free

machine with input alphabet Σ,

DOFpoly if L is accepted by a deterministic overhead-free

machine with input alphabet Σ in polynomial time.

NOF is the nondeterministic version of DOF, NOFpoly is the nondeterministic version of DOFpoly.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-32
SLIDE 32

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Overhead-Free Computation Complexity Classes

Definition A language L ⊆ Σ∗ is in

DOF if L is accepted by a deterministic overhead-free

machine with input alphabet Σ,

DOFpoly if L is accepted by a deterministic overhead-free

machine with input alphabet Σ in polynomial time.

NOF is the nondeterministic version of DOF, NOFpoly is the nondeterministic version of DOFpoly.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-33
SLIDE 33

Overhead-Free Computation Complexity Classes

Definition A language L ⊆ Σ∗ is in DOF if L is accepted by a deterministic overhead-free machine with input alphabet Σ, DOFpoly if L is accepted by a deterministic overhead-free machine with input alphabet Σ in polynomial time. NOF is the nondeterministic version of DOF, NOFpoly is the nondeterministic version of DOFpoly.

2004-04-19

Computation with Absolutely No Space Overhead The Model of Overhead-Free Computation Our Model of Absolutely No Space Overhead Overhead-Free Computation Complexity Classes

  • 1. Stress meaning of D and N.
slide-34
SLIDE 34

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Overhead-Free Computation Complexity Classes

Definition A language L ⊆ Σ∗ is in

DOF if L is accepted by a deterministic overhead-free

machine with input alphabet Σ,

DOFpoly if L is accepted by a deterministic overhead-free

machine with input alphabet Σ in polynomial time.

NOF is the nondeterministic version of DOF, NOFpoly is the nondeterministic version of DOFpoly.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-35
SLIDE 35

Models Power of the Model Limitations of the Model Summary Standard Model Our Model

Simple Relationships among Overhead-Free Computation Classes

DOFpoly DOF NOFpoly NOF NLINSPACE

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-36
SLIDE 36

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Outline

1

The Model of Overhead-Free Computation The Standard Model of Linear Space Our Model of Absolutely No Space Overhead

2

The Power of Overhead-Free Computation Palindromes Linear Languages Context-Free Languages with a Forbidden Subword Languages Complete for Polynomial Space

3

Limitations of Overhead-Free Computation Linear Space is Strictly More Powerful

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-37
SLIDE 37

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 0 1 0 0 1 0 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-38
SLIDE 38

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 0 1 0 0 1 0 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

2004-04-19

Computation with Absolutely No Space Overhead The Power of Overhead-Free Computation Palindromes Palindromes Can be Accepted in an Overhead-Free Way

Use 3 minutes.

slide-39
SLIDE 39

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

1 0 1 0 0 1 0 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-40
SLIDE 40

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

1 0 1 0 0 1 0 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-41
SLIDE 41

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

1 0 1 0 0 1 0 1 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-42
SLIDE 42

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

1 0 1 0 0 1 0 1 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-43
SLIDE 43

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 1 1 0 0 1 0 1 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-44
SLIDE 44

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 1 1 0 0 1 0 1 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-45
SLIDE 45

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 1 1 0 0 1 1 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-46
SLIDE 46

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 1 1 0 0 1 1 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-47
SLIDE 47

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 0 1 0 0 1 1 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-48
SLIDE 48

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 0 1 0 0 1 1 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-49
SLIDE 49

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 0 1 0 0 1 0 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-50
SLIDE 50

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 0 1 0 0 1 0 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-51
SLIDE 51

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 0 0 1 0 1 0 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-52
SLIDE 52

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 0 0 1 0 1 0 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-53
SLIDE 53

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Palindromes Can be Accepted in an Overhead-Free Way

  • verhead-free machine

0 0 0 1 1 0 0 0 tape Algorithm Phase 1: Compare first and last bit Place left end marker Place right end marker Phase 2: Compare bits next to end markers Find left end marker Advance left end marker Find right end marker Advance right end marker

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-54
SLIDE 54

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Relationships among Overhead-Free Computation Classes

DOFpoly DOF NOFpoly NOF

Palindromes

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-55
SLIDE 55

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Outline

1

The Model of Overhead-Free Computation The Standard Model of Linear Space Our Model of Absolutely No Space Overhead

2

The Power of Overhead-Free Computation Palindromes Linear Languages Context-Free Languages with a Forbidden Subword Languages Complete for Polynomial Space

3

Limitations of Overhead-Free Computation Linear Space is Strictly More Powerful

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-56
SLIDE 56

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

A Review of Linear Grammars

Definition A grammar is linear if it is context-free and there is only one nonterminal per right-hand side. Example G1 : S → 00S0 | 1 and G2 : S → 0S10 | 0. Definition A grammar is deterministic if “there is always only one rule that can be applied.” Example G1 : S → 00S0 | 1 is deterministic. G2 : S → 0S10 | 0 is not deterministic.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-57
SLIDE 57

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

A Review of Linear Grammars

Definition A grammar is linear if it is context-free and there is only one nonterminal per right-hand side. Example G1 : S → 00S0 | 1 and G2 : S → 0S10 | 0. Definition A grammar is deterministic if “there is always only one rule that can be applied.” Example G1 : S → 00S0 | 1 is deterministic. G2 : S → 0S10 | 0 is not deterministic.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-58
SLIDE 58

A Review of Linear Grammars

Definition A grammar is linear if it is context-free and there is only one nonterminal per right-hand side. Example G1 : S → 00S0 | 1 and G2 : S → 0S10 | 0. Definition A grammar is deterministic if “there is always only one rule that can be applied.” Example G1 : S → 00S0 | 1 is deterministic. G2 : S → 0S10 | 0 is not deterministic.

2004-04-19

Computation with Absolutely No Space Overhead The Power of Overhead-Free Computation Linear Languages A Review of Linear Grammars

Just explain intution.

slide-59
SLIDE 59

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Deterministic Linear Languages Can Be Accepted in an Overhead-Free Way

Theorem Every deterministic linear language is in DOFpoly.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-60
SLIDE 60

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Metalinear Languages Can Be Accepted in an Overhead-Free Way

Definition A language is metalinear if it is the concatenation

  • f linear languages.

Example triple-palindrome = {uvw | u, v, and w are palindromes}. Theorem Every metalinear language is in NOFpoly.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-61
SLIDE 61

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Metalinear Languages Can Be Accepted in an Overhead-Free Way

Definition A language is metalinear if it is the concatenation

  • f linear languages.

Example triple-palindrome = {uvw | u, v, and w are palindromes}. Theorem Every metalinear language is in NOFpoly.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-62
SLIDE 62

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Metalinear Languages Can Be Accepted in an Overhead-Free Way

Definition A language is metalinear if it is the concatenation

  • f linear languages.

Example triple-palindrome = {uvw | u, v, and w are palindromes}. Theorem Every metalinear language is in NOFpoly.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-63
SLIDE 63

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Relationships among Overhead-Free Computation Classes

DOFpoly NOFpoly NOF

deterministic metalinear linear

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-64
SLIDE 64

Relationships among Overhead-Free Computation Classes

DOFpoly NOFpoly NOF deterministic metalinear linear

2004-04-19

Computation with Absolutely No Space Overhead The Power of Overhead-Free Computation Linear Languages Relationships among Overhead-Free Computation Classes

  • 1. Skip next subsection if more than 18 minutes have passed.
slide-65
SLIDE 65

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Outline

1

The Model of Overhead-Free Computation The Standard Model of Linear Space Our Model of Absolutely No Space Overhead

2

The Power of Overhead-Free Computation Palindromes Linear Languages Context-Free Languages with a Forbidden Subword Languages Complete for Polynomial Space

3

Limitations of Overhead-Free Computation Linear Space is Strictly More Powerful

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-66
SLIDE 66

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Definition of Almost-Overhead-Free Computations

Definition A Turing machine is almost-overhead-free if

1 it has only a single tape, 2 writes only on input cells, 3 writes only symbols drawn from the input alphabet

plus one special symbol.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-67
SLIDE 67

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Definition of Almost-Overhead-Free Computations

Definition A Turing machine is almost-overhead-free if

1 it has only a single tape, 2 writes only on input cells, 3 writes only symbols drawn from the input alphabet

plus one special symbol.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-68
SLIDE 68

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Definition of Almost-Overhead-Free Computations

Definition A Turing machine is almost-overhead-free if

1 it has only a single tape, 2 writes only on input cells, 3 writes only symbols drawn from the input alphabet

plus one special symbol.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-69
SLIDE 69

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Context-Free Languages with a Forbidden Subword Can Be Accepted in an Overhead-Free Way

Theorem Let L be a context-free language with a forbidden word. Then L ∈ NOFpoly.

Skip proof Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-70
SLIDE 70

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Context-Free Languages with a Forbidden Subword Can Be Accepted in an Overhead-Free Way

Theorem Let L be a context-free language with a forbidden word. Then L ∈ NOFpoly. Proof. Every context-free language can be accepted by a nondeterministic almost-overhead-free machine in polynomial time.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-71
SLIDE 71

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Relationships among Overhead-Free Computation Classes

DOFpoly NOFpoly NOF

CFL with forbidden subwords

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-72
SLIDE 72

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Outline

1

The Model of Overhead-Free Computation The Standard Model of Linear Space Our Model of Absolutely No Space Overhead

2

The Power of Overhead-Free Computation Palindromes Linear Languages Context-Free Languages with a Forbidden Subword Languages Complete for Polynomial Space

3

Limitations of Overhead-Free Computation Linear Space is Strictly More Powerful

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-73
SLIDE 73

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Overhead-Free Languages can be PSPACE-Complete

Theorem

DOF contains languages that are complete for PSPACE.

Proof details Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-74
SLIDE 74

Models Power of the Model Limitations of the Model Summary Palindromes Linear Languages Forbidden Subword Complete Languages

Relationships among Overhead-Free Computation Classes

DOFpoly DOF NOFpoly NOF PSPACE-hard

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-75
SLIDE 75

Models Power of the Model Limitations of the Model Summary Strict Inclusion

Outline

1

The Model of Overhead-Free Computation The Standard Model of Linear Space Our Model of Absolutely No Space Overhead

2

The Power of Overhead-Free Computation Palindromes Linear Languages Context-Free Languages with a Forbidden Subword Languages Complete for Polynomial Space

3

Limitations of Overhead-Free Computation Linear Space is Strictly More Powerful

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-76
SLIDE 76

Models Power of the Model Limitations of the Model Summary Strict Inclusion

Some Context-Sensitive Languages Cannot be Accepted in an Overhead-Free Way

Theorem

DOF DLINSPACE.

Theorem

NOF NLINSPACE.

The proofs are based on old diagonalisations due to Feldman, Owings, and Seiferas.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-77
SLIDE 77

Models Power of the Model Limitations of the Model Summary Strict Inclusion

Relationships among Overhead-Free Computation Classes

DOF NOF DLINSPACE NLINSPACE PSPACE-hard

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-78
SLIDE 78

Models Power of the Model Limitations of the Model Summary Strict Inclusion

Candidates for Languages that Cannot be Accepted in an Overhead-Free Way

Conjecture double-palindromes / ∈ DOF. Conjecture {ww | w ∈ {0, 1}∗} / ∈ NOF. Proving the first conjecture would show DOF NOF.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-79
SLIDE 79

Models Power of the Model Limitations of the Model Summary Strict Inclusion

Candidates for Languages that Cannot be Accepted in an Overhead-Free Way

Theorem double-palindromes ∈ DOF. Conjecture {ww | w ∈ {0, 1}∗} / ∈ NOF. Proving the first conjecture would show DOF NOF.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-80
SLIDE 80

Models Power of the Model Limitations of the Model Summary Summary Further Reading

Summary

Overhead-free computation is a more faithful model of fixed-size memory. Overhead-free computation is less powerful than linear space. Many context-free languages can be accepted by overhead-free machines. We conjecture that all context-free languages are in NOFpoly. Our results can be seen as new results on the power of linear bounded automata with fixed alphabet size.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-81
SLIDE 81

Summary

Overhead-free computation is a more faithful model of fixed-size memory. Overhead-free computation is less powerful than linear space. Many context-free languages can be accepted by overhead-free machines. We conjecture that all context-free languages are in NOFpoly. Our results can be seen as new results on the power of linear bounded automata with fixed alphabet size.

2004-04-19

Computation with Absolutely No Space Overhead Summary Summary Summary

  • 1. Point out result concerning all context-free languages.
  • 2. Relationship to restart automata.
slide-82
SLIDE 82

Models Power of the Model Limitations of the Model Summary Summary Further Reading

For Further Reading

  • A. Salomaa.

Formal Languages. Academic Press, 1973.

  • E. Dijkstra.

Smoothsort, an alternative for sorting in situ. Science of Computer Programming, 1(3):223–233, 1982.

  • E. Feldman and J. Owings, Jr.

A class of universal linear bounded automata. Information Sciences, 6:187–190, 1973.

  • P. Janˇ

car, F. Mr´ az, M. Pl´ atek, and J. Vogel. Restarting automata. FCT Conference 1995, LNCS 985, pages 282–292. 1995.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-83
SLIDE 83

Models Power of the Model Limitations of the Model Summary Summary Further Reading

For Further Reading

  • A. Salomaa.

Formal Languages. Academic Press, 1973.

  • E. Dijkstra.

Smoothsort, an alternative for sorting in situ. Science of Computer Programming, 1(3):223–233, 1982.

  • E. Feldman and J. Owings, Jr.

A class of universal linear bounded automata. Information Sciences, 6:187–190, 1973.

  • P. Janˇ

car, F. Mr´ az, M. Pl´ atek, and J. Vogel. Restarting automata. FCT Conference 1995, LNCS 985, pages 282–292. 1995.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-84
SLIDE 84

Models Power of the Model Limitations of the Model Summary Summary Further Reading

For Further Reading

  • A. Salomaa.

Formal Languages. Academic Press, 1973.

  • E. Dijkstra.

Smoothsort, an alternative for sorting in situ. Science of Computer Programming, 1(3):223–233, 1982.

  • E. Feldman and J. Owings, Jr.

A class of universal linear bounded automata. Information Sciences, 6:187–190, 1973.

  • P. Janˇ

car, F. Mr´ az, M. Pl´ atek, and J. Vogel. Restarting automata. FCT Conference 1995, LNCS 985, pages 282–292. 1995.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-85
SLIDE 85

Models Power of the Model Limitations of the Model Summary Summary Further Reading

For Further Reading

  • A. Salomaa.

Formal Languages. Academic Press, 1973.

  • E. Dijkstra.

Smoothsort, an alternative for sorting in situ. Science of Computer Programming, 1(3):223–233, 1982.

  • E. Feldman and J. Owings, Jr.

A class of universal linear bounded automata. Information Sciences, 6:187–190, 1973.

  • P. Janˇ

car, F. Mr´ az, M. Pl´ atek, and J. Vogel. Restarting automata. FCT Conference 1995, LNCS 985, pages 282–292. 1995.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-86
SLIDE 86

Appendix Complete Languages Improvements for Context-Free Languages Abbreviations

Appendix Outline

4

Appendix Complete Languages Improvements for Context-Free Languages Abbreviations

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-87
SLIDE 87

Appendix Complete Languages Improvements for Context-Free Languages Abbreviations

Overhead-Free Languages can be PSPACE-Complete

Theorem

DOF contains languages that are complete for PSPACE.

Proof.

1 Let A ∈ DLINSPACE be PSPACE-complete.

Such languages are known to exist.

2 Let M be a linear space machine that accepts A ⊆ {0, 1}∗

with tape alphabet Γ.

3 Let h: Γ → {0, 1}∗ be an isometric, injective homomorphism. 4 Then h(L) is in DOF and it is PSPACE-complete. Return Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-88
SLIDE 88

Appendix Complete Languages Improvements for Context-Free Languages Abbreviations

Improvements

Theorem

1

DCFL ⊆ DOFpoly.

2

CFL ⊆ NOFpoly.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead

slide-89
SLIDE 89

Appendix Complete Languages Improvements for Context-Free Languages Abbreviations

Explanation of Different Abbreviations

DOF

Deterministic Overhead-Free.

NOF

Nondeterministic Overhead-Free.

DOFpoly

Deterministic Overhead-Free, polynomial time.

DOFpoly

Nondeterministic Overhead-Free, polynomial time.

Table: Explanation of what different abbreviations mean.

Hemaspaandra, Mukherji, Tantau Computation with Absolutely No Space Overhead