Computing with lights. Thierry Monteil CNRS LIPN Université Paris 13

Similar documents
Outline Goals and Assumptions Real Numbers Rational and Irrational. L11: Numbers. Alice E. Fischer

Notes for Lecture Notes 2

Basic Principles of Algebra

1 Computational Problems

Sequences. Chapter 3. n + 1 3n + 2 sin n n. 3. lim (ln(n + 1) ln n) 1. lim. 2. lim. 4. lim (1 + n)1/n. Answers: 1. 1/3; 2. 0; 3. 0; 4. 1.

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

We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero

Abstract geometrical computation: Turing-computing ability and undecidability

On NP-Completeness for Linear Machines

R1: Sets A set is a collection of objects sets are written using set brackets each object in onset is called an element or member


Theory of Two-sided Experiments A new insight on measurable numbers (Extended Abstract)

CSCI3390-Lecture 14: The class NP

DRAFT. Algebraic computation models. Chapter 14

five line proofs Victor Ufnarovski, Frank Wikström 20 december 2016 Matematikcentrum, LTH

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

ALGEBRA 1B GOALS. 1. The student should be able to use mathematical properties to simplify algebraic expressions.

Badly approximable numbers over imaginary quadratic fields

Further discussion of Turing machines

Fundamentals of Mathematics I

Automata Theory CS S-12 Turing Machine Modifications

CSE 4111/5111/6111 Computability Jeff Edmonds Assignment 3: Diagonalization & Halting Problem Due: One week after shown in slides

Exponents. Reteach. Write each expression in exponential form (0.4)

Undecidability. Almost all Languages are undecidable. Question: Is it just weird languages that no one would care about which are undecidable?

Lecture 21: Algebraic Computation Models

Lebesgue Measure and The Cantor Set

2.2 Some Consequences of the Completeness Axiom

Section 1.1 Notes. Real Numbers

Fundamentals of Pure Mathematics - Problem Sheet

MATH 8. Unit 1: Rational and Irrational Numbers (Term 1) Unit 2: Using Algebraic Properties to Simplify Expressions - Probability

Game Theory and Algorithms Lecture 7: PPAD and Fixed-Point Theorems

Chapter 1 The Real Numbers

ON SPACE-FILLING CURVES AND THE HAHN-MAZURKIEWICZ THEOREM

1 Sequences and Summation

The domino problem for self-similar structures

A Universal Turing Machine

GLOSSARY TERM DEFINITIONS

Lecture Notes: The Halting Problem; Reductions

CSC Linear Programming and Combinatorial Optimization Lecture 8: Ellipsoid Algorithm

Infinite Continued Fractions

MATH 7 HONORS. Unit 1: Rational and Irrational Numbers (Term 1) Unit 2: Using Algebraic Properties to Simplify Expressions - Probability

Question 1: Is zero a rational number? Can you write it in the form p, where p and q are integers and q 0?

Turing Machines, diagonalization, the halting problem, reducibility

CSC : Homework #3

Computational Models Lecture 8 1

Algebra Revision Guide

Bjorn Poonen. MSRI Introductory Workshop on Rational and Integral Points on Higher-dimensional Varieties. January 18, 2006

Chapter 6. Systems of Equations and Inequalities

Computational Models Lecture 8 1

West Windsor-Plainsboro Regional School District Algebra Grade 8

Spring Lake Middle School- Accelerated Math 7 Curriculum Map Updated: January 2018

Compute the Fourier transform on the first register to get x {0,1} n x 0.

Expressions and Formulas 1.1. Please Excuse My Dear Aunt Sally

Minimizing Cubic and Homogeneous Polynomials over Integers in the Plane

Introduction to Computer Science and Programming for Astronomers

Math Lecture 3 Notes

REVIEW Chapter 1 The Real Number System

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

Intro to Maths for CS: Powers and Surds

Construction of a general measure structure

Topology. Xiaolong Han. Department of Mathematics, California State University, Northridge, CA 91330, USA address:

SOLUTIONS TO EXERCISES FOR. MATHEMATICS 205A Part 1. I. Foundational material

DR.RUPNATHJI( DR.RUPAK NATH )

Standard 1: Mathematical Processes Grade 8

5 Set Operations, Functions, and Counting

A non-turing-recognizable language

Problem Set 2: Solutions Math 201A: Fall 2016

SOLVING EQUATIONS AND DEVELOPING THE FOUNDATION FOR PROOFS

Math 1302 Notes 2. How many solutions? What type of solution in the real number system? What kind of equation is it?

TRANSCENDENTAL NUMBERS AND PERIODS. Contents

1.2 The Role of Variables

Chapter 8. P-adic numbers. 8.1 Absolute values

1.1.1 Algebraic Operations

An Algebraic Characterization of the Halting Probability

Expansions with P = NP. Christine Gaßner Greifswald

West Windsor-Plainsboro Regional School District Math A&E Grade 7

Computer Systems on the CERN LHC: How do we measure how well they re doing?

Investigation Find the area of the triangle. (See student text.)

Rational Approximation by Continued Fractions

Computational Models Lecture 8 1

Real Analysis - Notes and After Notes Fall 2008

Computational Tasks and Models

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

Equation. A mathematical sentence formed by setting two expressions equal to each other. Example 1: 3 6 = 18 Example 2: 7 + x = 12

ECS 120 Lesson 18 Decidable Problems, the Halting Problem

Part IA Numbers and Sets

V. Graph Sketching and Max-Min Problems

COM S 330 Homework 08 Solutions. Type your answers to the following questions and submit a PDF file to Blackboard. One page per problem.

M17 MAT25-21 HOMEWORK 6

Mid Term-1 : Practice problems

MATH 521, WEEK 2: Rational and Real Numbers, Ordered Sets, Countable Sets

A NEW SET THEORY FOR ANALYSIS

Turing Machines Part II

* 8 Groups, with Appendix containing Rings and Fields.

Abstract geometrical computation for Black hole computation

Automata-based Verification - III

Chapter One Hilbert s 7th Problem: It s statement and origins

INFINITY: CARDINAL NUMBERS

Turing s 1935: my guess about his intellectual journey to On Co

Course: Algebra 1-A Direct link to this page:

Transcription:

Computing with lights Thierry Monteil CNRS LIPN Université Paris 3

Signal machines [Durand-Lose 23]

Signal machines [Durand-Lose 23] continuous space (R)

Signal machines [Durand-Lose 23] continuous space (R) continuous time (R + )

Signal machines [Durand-Lose 23] continuous space (R) continuous time (R + ) finitely many signals with constant speed

Signal machines [Durand-Lose 23] continuous space (R) continuous time (R + ) finitely many signals with constant speed discrete events (deterministic collision rules) /2

Example: Middle machine

Example: Middle machine Colors: Black Green Red

Example: Middle machine Colors: Black Green Red 3 3 Meta-signals:

Example: Middle machine Colors: Black Green Red Meta-signals: Collision rules: 3 3 3 3 3

Example: Middle machine Colors: Black Green Red Meta-signals: Collision rules: Initial configuration: 3 3 3 3 3 x x 2 3

Example: Middle machine Colors: Black Green Red Meta-signals: Collision rules: Initial configuration: 3 3 3 3 3 x x 2 3 Execution: x x +x 2 x 2 2

What can signal machines compute?

Signal machines can construct cells

Signal machines can simulate Turing machines

The model without accumulations is well understood Theorem (Durand-Lose 27) Signal machines without accumulations and linear-bss model are computationally equivalent.

Acumulations can do weird things

How frugal can interesting signal machines be?

Four speeds were enough in the previous construction

Four speeds were enough in the previous construction Can we do less?

One speed: no collision

Two speeds: finitely many collisions

Three speeds + rational ratios: included in bounded mesh

Three speeds + one irrational ratio: Turing again [Durand-Lose CiE 23]

Conjecture [Durand-Lose CiE 23] An irrational ratio is an important piece of information (it could encode the halting problem). We conjecture that it is possible to use it as an oracle.

Simulation of Turing machines c c left right b c c q c q b right q q right enlarge enlargeq border q c c q q q q b q b border b c q q a q b c Turing machine [Durand-Lose 23]

Simulation of Turing machines with oracle c c left right b c c q c q b right right enlarge enlargeq q q border q answer wait for query compute next step c q c q query wait for query b q q b c q q b border noise compute one step q a q b c Turing machine [Durand-Lose 23] firewall oracle (to be designed)

Linear-BSS can easily extract binary expansion of real numbers def binary_oracle(p): while True: if p < /2: yield p = 2*p elif /2 < p: yield p = 2*p- else: return

Skip the general construction: iterate the middle construction as a dichotomy + interaction layer 3 p

Skip the general construction: iterate the middle construction as a dichotomy + interaction layer p

How frugal? The previous construction uses 5 speeds, and we can not hope to use less than 4 speeds to compute the half (resp. double) of any distance, otherwise we can create an accumulation (resp. an unbounded set) of collisions from a signal machine with at most 3 speeds and rational input.

Can we produce infinite expansion without multiplication by constants?

addition-bss model will also create unboundedness

Could we think of a kind of subtraction-bss restricted model?

Continued fractions! def continued_fractions_oracle(p): a,b = p,-p while True: if a < b: yield a,b = b-a,a elif b < a: yield a,b = b,a-b else: return

Basic block: a frugal subtraction machine a b

Basic block: a frugal subtraction machine b a a b a b a b a b

Continued fractions: iterate and interact p s s s s

Continued fractions: iterate and interact p

Continued fractions Theorem Every non-ultimately alternating infinite binary sequence appears for exactly one irrational number p (, ).

Continued fractions Theorem Every non-ultimately alternating infinite binary sequence appears for exactly one irrational number p (, ). Every finite binary sequence appears for exactly one rational number p (, ). When α is a rational number, the continued fraction algorithm eventually goes to zero (corresponds to both billiards reaching the gray line simultaneously), and we have to define a new rule for this case (purple stands for end of computation ): s s

Three speeds and one irrational parameter for the whole system The Turing machine described in [Durand-Lose CiE 23] also works with 3 speeds and a single irrational ratio. The speeds can be chosen identical for the Turing machine and the continued fraction oracle. However, for the Turing machine, the irrational parameter is the golden ratio, which allows to create cells accumulating on a single side. Here, the positions of the vertical strips which are created is not increasing, but oscillating in a way that depends on the continued fraction expansion of the irrational parameter. However, it is possible, still using only 3 speeds, to add some rules to the continued fraction machine that swap a and b before each subtraction step when a > b, so that each new vertical strips becomes larger than the previous one. In particular, a single irrational parameter can be first duplicated and used to construct both the oracle (as described in this paper) and the creation of cells for the Turing machine.

What computes this signal machine (α (, ))? Initial configuration: α /2 /2 Transitions: α /2 α /2 Accepting configuration:

What computes this signal machine (α (, ))? Initial configuration: α /2 /2 Transitions: [hint: Let x = /α ] α α /2 /2 (builds and exponential frame) (parallel billiard (fork)) (don t go back) Accepting configuration:

It accepts 2

It does not accept π/7

Theorem The previous machine reaches the accepting configuration if, and only if, α is an algebraic number.

A contradiction? Theorem The previous machine reaches the accepting configuration if, and only if, α is an algebraic number. Theorem (Durand-Lose 27) Signal machines and linear-bss model are computationally equivalent. Theorem No linear-bss machine can semi-decide the algebraicity of real numbers.

A contradiction? Theorem The previous machine reaches the accepting configuration if, and only if, α is an algebraic number. Theorem (Durand-Lose 27) Signal machines and linear-bss model are computationally equivalent. Theorem No linear-bss machine can semi-decide the algebraicity of real numbers. The previous construction is cheating, since the parameter α is not an input (signal position), but is part of the machine s definition (signal speed). Hence, we have a defined an uncountable family of machines, not a single one. Don t panic.

Appendix Theorem No linear-bss machine can semi-decide the algebraicity of real numbers. Proof. If M is such a machine, there are finitely many real numbers (α,..., α n) such that every operation done by M are addition (+), subtraction ( ), setting constant or, multiply by some α i, comparison ( ). Let K = Q(α,..., α n), and let x be an algebraic number not in K. Let T be the tree corresponding to all possible behaviours of M, and let P be the path in T corresponding to its behaviour on the input x. Since M accepts x, the path P if finite and the machine outputs at the end of P. Along the path P, all states of M are of the form k x + k 2 with k and k 2 in K, and each branching of T encountered along P can be reduced to a comparison of the form k x + k 2 with k. So the set S of inputs whose path in T is P is a finite intersection of sets defined by inequalities of the form: k x + k 2 with k i K and k. Since x is not in K, x belongs to the interrior of each set (k x + k 2 can not be equal to zero), hence the set S has non empty interior: there exists a transcendental number y (in S, whose path is P), that is accepted by M.

Space-time equivalence x

Space-time equivalence x x

Space-time equivalence x x x

Space-time equivalence x x x /2 x

Space-time equivalence x x x /2 x

Space-time equivalence x /2 x x /2 x

Slope is stronger than space (or time) /α

Slope is stronger than space (or time) /α

Slope is stronger than space (or time) /α α

Explosions Let us introduce explosions as pencils of signals of all speeds.

Explosions Let us introduce explosions as pencils of signals of all speeds. bounded speed

Explosions Let us introduce explosions as pencils of signals of all speeds. bounded speed cutted by other signals

Explosions Let us introduce explosions as pencils of signals of all speeds. bounded speed cutted by other signals can pass through events

Explosions Let us introduce explosions as pencils of signals of all speeds. bounded speed cutted by other signals can pass through events can interact with other signals

Explosions (slope-speed-space-time equivalence) α

Explosions (slope-speed-space-time equivalence) α

Explosions (slope-speed-space-time equivalence) /α space is stronger than slope α

Explosions (slope-speed-space-time equivalence) α α space is stronger than speed

Explosions (products and divisions) Theorem Explosive signal machines and full-bss model are computationally equivalent.

Accumulations: a very (resp. too much) powerful model

Acumulations: can draw nice (self-similar) compacts

Accumulations: a universal compact drawer K C t C, K [, ] compact, t [, ], acc (C(t)) = K

Accumulations: a Peano curve as a building block x y P t P, t P(t) = (x, y) is a continuous surjection [, ] [, ] 2 (note that the execution of the machine P itself is not continuous)

Accumulations: a universal analytic function f (x) A t x A, f C ω ([, ]), t [, ], x [, ], A(t, x) = f (x)