Degrees of Streams. Jörg Endrullis Dimitri Hendriks Jan Willem Klop. Streams Seminar Nijmegen, 20th April Vrije Universiteit Amsterdam

Similar documents
Mix-Automatic Sequences

The Final Deterministic Automaton on Streams

Decreasing Diagrams: Two Labels Suffice

Ordering sequences by permutation transducers

Streams and Coalgebra Lecture 2

Open Problems in Automata Theory: An Idiosyncratic View

Measures of relative complexity

On the Accepting Power of 2-Tape Büchi Automata

Kolmogorov Complexity and Diophantine Approximation

2 Plain Kolmogorov Complexity

VIC 2004 p.1/26. Institut für Informatik Universität Heidelberg. Wolfgang Merkle and Jan Reimann. Borel Normality, Automata, and Complexity

Advanced Automata Theory 2 Finite Automata

Data-Oblivious Stream Productivity

Words generated by cellular automata

Answers to the CSCE 551 Final Exam, April 30, 2008

CSCI 2200 Foundations of Computer Science Spring 2018 Quiz 3 (May 2, 2018) SOLUTIONS

Turing Machine properties. Turing Machines. Alternate TM definitions. Alternate TM definitions. Alternate TM definitions. Alternate TM definitions

Data-Oblivious Stream Productivity

Part I: Definitions and Properties

Constant Space and Non-Constant Time in Distributed Computing

Production-rule complexity of recursive structures

The Pumping Lemma. for all n 0, u 1 v n u 2 L (i.e. u 1 u 2 L, u 1 vu 2 L [but we knew that anyway], u 1 vvu 2 L, u 1 vvvu 2 L, etc.

Randomness and Complexity of Sequences over Finite Fields. Harald Niederreiter, FAMS. RICAM Linz and University of Salzburg (Austria)

Combinatorics on Finite Words and Data Structures

Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death

} Some languages are Turing-decidable A Turing Machine will halt on all inputs (either accepting or rejecting). No infinite loops.

Turing s thesis: (1930) Any computation carried out by mechanical means can be performed by a Turing Machine

From Fundamentele Informatica 1: inleverdatum 1 april 2014, 13:45 uur. A Set A of the Same Size as B or Larger Than B. A itself is not.

CISC 876: Kolmogorov Complexity

CSE 105 THEORY OF COMPUTATION

CPSC 421: Tutorial #1

Busch Complexity Lectures: Turing Machines. Prof. Busch - LSU 1

Uncountable Automatic Classes and Learning

1 Computational Problems

Introduction to Turing Machines. Reading: Chapters 8 & 9

5 3 Watson-Crick Automata with Several Runs

Notes for Lecture Notes 2

Computational Models: Class 3

A Hierarchy of Automatic ω-words having a decidable MSO GAMES LAAW 06 Theory 1 / 14

Theory of Computer Science

Blackhole Pushdown Automata

Decidability: Church-Turing Thesis

arxiv: v1 [cs.lo] 29 May 2014

CSCE 551: Chin-Tser Huang. University of South Carolina

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012

Confusion of Memory. Lawrence S. Moss. Department of Mathematics Indiana University Bloomington, IN USA February 14, 2008

Most General computer?

Turing Machines. Wolfgang Schreiner

Computability and Complexity

Undecidability COMS Ashley Montanaro 4 April Department of Computer Science, University of Bristol Bristol, UK

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

Streams and Coalgebra Lecture 1

CSE 105 THEORY OF COMPUTATION. Spring 2018 review class

Subwords, Regular Languages, and Prime Numbers

Inf2A: The Pumping Lemma

Automatic Sequences and Transcendence of Real Numbers

CS21 Decidability and Tractability

Computational Models Lecture 8 1

CS4232 Theory of Computation

arxiv:cs/ v1 [cs.dm] 7 May 2006

INITIAL POWERS OF STURMIAN SEQUENCES

The Power of Extra Analog Neuron. Institute of Computer Science Academy of Sciences of the Czech Republic

Decidability. William Chan

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION

Randomness, probabilities and machines

CSE 105 THEORY OF COMPUTATION

arxiv: v2 [math.co] 24 Oct 2012

Fundamental Inequalities, Convergence and the Optional Stopping Theorem for Continuous-Time Martingales

Undecidability. We are not so much concerned if you are slow as when you come to a halt. (Chinese Proverb)

1 The decision problem for First order logic

DM17. Beregnelighed. Jacob Aae Mikkelsen

A Hierarchy of Automatic ω-words having a decidable MSO Theory

Rectangles and squares recognized by two-dimensional automata

What we have done so far

Decidability. Linz 6 th, Chapter 12: Limits of Algorithmic Computation, page 309ff

ACS2: Decidability Decidability

CSE 105 THEORY OF COMPUTATION

CHAPTER 5. Interactive Turing Machines

Mathematics for linguists

Turing machine. Turing Machine Model. Turing Machines. 1. Turing Machines. Wolfgang Schreiner 2. Recognizing Languages

A Universal Turing Machine

Hausdorff Measures and Perfect Subsets How random are sequences of positive dimension?

Verifying whether One-Tape Turing Machines Run in Linear Time

Homework. Turing Machines. Announcements. Plan for today. Now our picture looks like. Languages

On the coinductive nature of centralizers

Theorem 4.18 ( Critical Pair Theorem ) A TRS R is locally confluent if and only if all its critical pairs are joinable.

Stat 451: Solutions to Assignment #1

Turing Machines. Lecture 8

arxiv: v2 [cs.lo] 26 Mar 2018

Games derived from a generalized Thue-Morse word

The complexity of automatic complexity

Formal Languages, Automata and Models of Computation

CSE 105 THEORY OF COMPUTATION

acs-07: Decidability Decidability Andreas Karwath und Malte Helmert Informatik Theorie II (A) WS2009/10

FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS

Decidability. Human-aware Robotics. 2017/10/31 Chapter 4.1 in Sipser Ø Announcement:

Finite Automata. Mahesh Viswanathan

Mm7 Intro to distributed computing (jmp) Mm8 Backtracking, 2-player games, genetic algorithms (hps) Mm9 Complex Problems in Network Planning (JMP)

Non-emptiness Testing for TMs

Turing Machines. The Language Hierarchy. Context-Free Languages. Regular Languages. Courtesy Costas Busch - RPI 1

Transcription:

Degrees of Streams Jörg Endrullis Dimitri Hendriks Jan Willem Klop Vrije Universiteit Amsterdam Streams Seminar Nijmegen, 20th April 2010

Complexity of streams Complexity measures for infinite streams: Subword complexity Kolmogorov complexity Comparing streams by transforming them into each other: Recursion theoretic degrees of unsolvability (transformation via Turing machines)

Complexity of streams Complexity measures for infinite streams: Subword complexity Kolmogorov complexity Comparing streams by transforming them into each other: Recursion theoretic degrees of unsolvability (transformation via Turing machines) We envisage: infinitary view on information content complexity invariant under exchange of finitely many elements capture the intrinsic, invariant infinite pattern of streams We propose a comparison via finite state transducers (FSTs).

Subword complexity Definition Subword complexity is a measure on streams σ, that records as a function of n, how many of the finite words of length n occur in σ. Examples: Sturmian words: n + 1 morphic words: linear automatic sequences: quadratic

Subword complexity Definition Subword complexity is a measure on streams σ, that records as a function of n, how many of the finite words of length n occur in σ. Examples: Sturmian words: n + 1 morphic words: linear automatic sequences: quadratic Interesting, but... Even non-computable streams can have linear subword complexity.

Kolmogorov complexity Definition The Kolmogorov complexity K (w) of a word w is the length of the shortest program computing w. (in a fixed universal programming system, e.g., Turing machines) Examples: Thue Morse: K (M) 6 (Turing machine needs 6 states)

Kolmogorov complexity Definition The Kolmogorov complexity K (w) of a word w is the length of the shortest program computing w. (in a fixed universal programming system, e.g., Turing machines) Examples: Thue Morse: K (M) 6 (Turing machine needs 6 states) Interesting, but... The Kolmogorov complexity can be increased arbitrarily by: prefixing a finite word, changing the encoding (0 I am a zero!, 1 Here is a one!)

Finite state transducers Definition A finite state transducer (FST) is a deterministic finite automaton with: output words w Σ along the edges, a transition function δ : Q Σ Q, an output function λ : Q Σ Γ. The following automaton computes the diff of a stream: 0 ε q 1 0 0 q 0 0 1 1 1 1 ε q 2 1 0 Thus it reduces Thue Morse to Toeplitz: 01101001... 1011101...

Partial order of stream degrees Definition (Equivalence of streams) We write M N if there exists an FST that transforms M into N. := We use σ := {τ σ τ} to denote the equivalence class of σ. Note that: is reflexive and transitive ( ) implies a partial order on the equivalence classes w.r.t.. We are interested in the hierarchy of streams created by.

Hierarchy of streams sup? descending sequence of degrees M = T =? S ascending sequence of degrees? prime degree 0 eventually periodic streams (wuuu...) A stream M is prime if there is no N strictly in-between M and 0.

Hierarchy of streams: degrees are countable We can enumerate all FSTs (and hence all reducts of a stream). Hence: Theorem Every degree is countable. Theorem Every degree has only a countable number of degrees below it.

Hierarchy of streams: upper bounds upper bound Lemma zip n,m (σ,τ) σ zip n,m (σ,τ) τ

Hierarchy of streams: upper bounds upper bound Lemma zip n,m (σ,τ) σ zip n,m (σ,τ) τ Theorem A set A of streams has an upper bound A is countable. Proof. Let A = {σ 1,σ 2,...} be a set of streams. We define: τ n = zip(σ n,τ n+1 ) Then τ 1 is an upper bound, that is, τ 1 σ n for all n.

Hierarchy of streams: least upper bounds sup? Theorem Not every pair of streams has a supremum. Proof. For suitable σ and τ: no common reduct of zip 1,1 (σ,τ) and zip 1,2 (σ,τ) is an upper bound for σ and τ.

Hierarchy of streams: infinite ascending sequences ascending sequence of degrees Theorem There exist infinite ascending sequences. Proof. Take any stream σ. The degree σ is countable. There exist uncountably many streams. Hence there exists τ such that σ τ. Then zip(σ,τ) σ but not σ zip(σ,τ).

Hierarchy of streams: primes prime degree 0 eventually periodic streams (wuuu...) Definition A stream M is prime if there exists no N such that: M N 0 N N M, that is N is strictly in-between M and 0. Theorem The following stream is prime: P = 101001000100001000001... = 10 1 10 2 10 3 10 4 10 5 10 6 1...

A prime stream: P = 1101001000100001000001... Heuristic evidence 1: 1 1 0 0 q 0 q 1 0 0 1 0 This FST deletes every second 1, that is, it reduces P to: P 1 = 1000010000000010000000000001... = 1 0 4 10 8 10 12 10 16 1...

A prime stream: P = 1101001000100001000001... Heuristic evidence 1: 1 1 0 0 q 0 q 1 0 0 1 0 This FST deletes every second 1, that is, it reduces P to: P 1 = 1000010000000010000000000001... = 1 0 4 10 8 10 12 10 16 1... We can transform P 1 back to P by: 0000 0

A prime stream: P = 1101001000100001000001... Heuristic evidence 2: 1 1 0 0 q 0 q 1 0 00 1 0 This FST deletes every second 1, that is, it reduces P to: P 2 = 1000001000000000001000000000000000001... = 1 0 5 10 11 10 17 1...

A prime stream: P = 1101001000100001000001... Heuristic evidence 2: 1 1 0 0 q 0 q 1 0 00 1 0 This FST deletes every second 1, that is, it reduces P to: P 2 = 1000001000000000001000000000000000001... = 1 0 5 10 11 10 17 1... We can transform P 2 back to P by compressing blocks of zeros: 0 n 0 n+1 6

A prime stream: P = 1101001000100001000001... Heuristic evidence 2: 1 1 0 0 q 0 q 1 0 00 1 0 This FST deletes every second 1, that is, it reduces P to: P 2 = 1000001000000000001000000000000000001... = 1 0 5 10 11 10 17 1... We can transform P 2 back to P by compressing blocks of zeros: 0 n 0 n+1 6 FSTs can perform arbitrary linear compressions.

A prime stream: P = 1101001000100001000001... 100000000000000000000... w 1 w 2 w 2 Lemma Let Z be the least common multiple of all 0-loops in the FST. For all n > Q and states s there exist w 1,w 2 Γ s.t. for all i N: δ(s,10 n+i Z ) = δ(s,10 n ) λ(s,10 n+i Z ) = w 1 w2 i Proof. Analogous to the pumping lemma for regular languages.

A prime stream: P = 1101001000100001000001... Lemma For every FST A there exist n N, w,w j,1,w j,2 Γ such that: A(P) = w i=0 n w j,1 wj,2 i j=0 Proof. By the pigeonhole principle we find blocks 10 m 1 and 10 m 2 in P s.t.: Q < m 1 < m 2, m 1 m 2 mod Z, the FST A enters 10 m 1 and 10 m 2 with the same state q. Define n = m 2 m 1. Then we have: A also leaves 10 m 1 and 10 m 2 with the same state q, and m 1 + 1 m 2 + 1 mod Z,... The w j,1,w j,2 are derived from the previous lemma.

Questions and open problems Is Sierpinsky interreducible with Morse? Is Morse prime? How many primes are out there? Are there interesting invariants for FST-transductions?