Reachability Problems in Nondeterministic Polynomial . Maps on the - - PowerPoint PPT Presentation

reachability problems in nondeterministic polynomial
SMART_READER_LITE
LIVE PREVIEW

Reachability Problems in Nondeterministic Polynomial . Maps on the - - PowerPoint PPT Presentation

. . . . . . . . . . . . Reachability Problems in Nondeterministic Polynomial . Maps on the Integers Sang-Ki Ko 1 Reino Niskanen 2 Igor Potapov 3 1 Korea Electronics Technology Institute, South Korea 2 Department of Computer Science,


slide-1
SLIDE 1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Reachability Problems in Nondeterministic Polynomial Maps on the Integers

Sang-Ki Ko1 Reino Niskanen2 Igor Potapov3

1Korea Electronics Technology Institute, South Korea 2Department of Computer Science, University of Oxford, UK 3Department of Computer Science, University of Liverpool, UK

DLT 2018, Tokyo

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 1 / 27

slide-2
SLIDE 2

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Reachability in Iterative Maps

Consider an iterative map: xn+1 = f(xn) Reachability problem: Decide whether y is reachable from x0 following a fjnite number of iterations, namely, k y f k x0 The complexity could vary depending on the factors such as

the type of iterative functions (i.e., affjne, linear, polynomial, elementary, etc.), the form of maps (i.e., deterministic, nondeterministic), the number of variables (i.e., dimension of a system), and even history dependence (i.e., when the next value depends on several previous values of counters/variables).

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 2 / 27

slide-3
SLIDE 3

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Reachability in Iterative Maps

Consider an iterative map: xn+1 = f(xn) Reachability problem: Decide whether y is reachable from x0 following a fjnite number of iterations, namely, ∃k ∈ N, y = f k(x0) The complexity could vary depending on the factors such as

the type of iterative functions (i.e., affjne, linear, polynomial, elementary, etc.), the form of maps (i.e., deterministic, nondeterministic), the number of variables (i.e., dimension of a system), and even history dependence (i.e., when the next value depends on several previous values of counters/variables).

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 2 / 27

slide-4
SLIDE 4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Reachability in Iterative Maps

Consider an iterative map: xn+1 = f(xn) Reachability problem: Decide whether y is reachable from x0 following a fjnite number of iterations, namely, ∃k ∈ N, y = f k(x0) The complexity could vary depending on the factors such as

the type of iterative functions (i.e., affjne, linear, polynomial, elementary, etc.), the form of maps (i.e., deterministic, nondeterministic), the number of variables (i.e., dimension of a system), and even history dependence (i.e., when the next value depends on several previous values of counters/variables).

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 2 / 27

slide-5
SLIDE 5

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Program Termination

Halting problem (Alan Turing, 1936)

Termination of a generic program with a loop: while ( conditions ) { commands } is undecidable.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 3 / 27

slide-6
SLIDE 6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Program Termination

Halting problem (Alan Turing, 1936)

Termination of a generic program with a loop: while ( conditions ) { commands } is undecidable.

With an affjne function

Let’s consider termination of the following simple program: while ( x ̸= t ) { x ← ax + b }

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 3 / 27

slide-7
SLIDE 7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Program Termination

Halting problem (Alan Turing, 1936)

Termination of a generic program with a loop: while ( conditions ) { commands } is undecidable.

With a polynomial function

Let’s consider termination of the following simple program: while ( x ̸= t ) { x ← ax2 + bx + c }

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 3 / 27

slide-8
SLIDE 8

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Program Termination

Halting problem (Alan Turing, 1936)

Termination of a generic program with a loop: while ( conditions ) { commands } is undecidable.

With two independent variables

Let’s consider termination of the following simple program: while ( x ̸= t1 and y ̸= t2 ) { x ← ax2 + bx + c y ← dy + e }

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 3 / 27

slide-9
SLIDE 9

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Program Termination

Halting problem (Alan Turing, 1936)

Termination of a generic program with a loop: while ( conditions ) { commands } is undecidable.

With dependency between variables

Let’s consider termination of the following simple program: while ( x ̸= t1 and y ̸= t2 ) { x ← ax2 + by + c y ← dy + e }

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 3 / 27

slide-10
SLIDE 10

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Program Termination

Halting problem (Alan Turing, 1936)

Termination of a generic program with a loop: while ( conditions ) { commands } is undecidable.

With nondeterminism

Let’s consider termination of the following simple program: while ( x ̸= t1 and y ̸= t2 ) { x ← ax2 + by + c or x ← ax + b y ← dy + e }

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 3 / 27

slide-11
SLIDE 11

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Nondeterministic Polynomial Map

Defjnition (Nondeterministic polynomial map)

An n-dimensional (nondeterministic) polynomial map is a tuple R = (Q, ∆), where Q is a singleton set and ∆ ⊆ Z[x]n is a fjnite set of transitions labelled by polynomials with variable x ∈ Zn.

q0 2x2 + x + 3 10x + 2 x − 5 x2 q0 p1 x p2 x p3 x p4 x

6 p3 x p2 x p2 x p1 x p3 x

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 4 / 27

slide-12
SLIDE 12

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Nondeterministic Polynomial Map

Defjnition (Nondeterministic polynomial map)

An n-dimensional (nondeterministic) polynomial map is a tuple R = (Q, ∆), where Q is a singleton set and ∆ ⊆ Z[x]n is a fjnite set of transitions labelled by polynomials with variable x ∈ Zn.

q0 p1(x) p2(x) p3(x) p4(x)

6 p3 x p2 x p2 x p1 x p3 x

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 4 / 27

slide-13
SLIDE 13

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Nondeterministic Polynomial Map

Defjnition (Nondeterministic polynomial map)

An n-dimensional (nondeterministic) polynomial map is a tuple R = (Q, ∆), where Q is a singleton set and ∆ ⊆ Z[x]n is a fjnite set of transitions labelled by polynomials with variable x ∈ Zn.

q0 p1(x) p2(x) p3(x) p4(x)

6 p3 x p2 x p2 x p1 x p3 x

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 4 / 27

slide-14
SLIDE 14

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Nondeterministic Polynomial Map

Defjnition (Nondeterministic polynomial map)

An n-dimensional (nondeterministic) polynomial map is a tuple R = (Q, ∆), where Q is a singleton set and ∆ ⊆ Z[x]n is a fjnite set of transitions labelled by polynomials with variable x ∈ Zn.

q0 p1(x) p2(x) p3(x) p4(x)

6 p3(x) p2 x p2 x p1 x p3 x

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 4 / 27

slide-15
SLIDE 15

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Nondeterministic Polynomial Map

Defjnition (Nondeterministic polynomial map)

An n-dimensional (nondeterministic) polynomial map is a tuple R = (Q, ∆), where Q is a singleton set and ∆ ⊆ Z[x]n is a fjnite set of transitions labelled by polynomials with variable x ∈ Zn.

q0 p1(x) p2(x) p3(x) p4(x)

6 p3(x) p2(x) p2 x p1 x p3 x

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 4 / 27

slide-16
SLIDE 16

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Nondeterministic Polynomial Map

Defjnition (Nondeterministic polynomial map)

An n-dimensional (nondeterministic) polynomial map is a tuple R = (Q, ∆), where Q is a singleton set and ∆ ⊆ Z[x]n is a fjnite set of transitions labelled by polynomials with variable x ∈ Zn.

q0 p1(x) p2(x) p3(x) p4(x)

6 p3(x) p2(x) p2(x) p1 x p3 x

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 4 / 27

slide-17
SLIDE 17

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Nondeterministic Polynomial Map

Defjnition (Nondeterministic polynomial map)

An n-dimensional (nondeterministic) polynomial map is a tuple R = (Q, ∆), where Q is a singleton set and ∆ ⊆ Z[x]n is a fjnite set of transitions labelled by polynomials with variable x ∈ Zn.

q0 p1(x) p2(x) p3(x) p4(x)

6 p3(x) p2(x) p2(x) p1(x) p3 x

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 4 / 27

slide-18
SLIDE 18

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Nondeterministic Polynomial Map

Defjnition (Nondeterministic polynomial map)

An n-dimensional (nondeterministic) polynomial map is a tuple R = (Q, ∆), where Q is a singleton set and ∆ ⊆ Z[x]n is a fjnite set of transitions labelled by polynomials with variable x ∈ Zn.

q0 p1(x) p2(x) p3(x) p4(x)

6 p3(x) p2(x) p2(x) p1(x) p3(x)

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 4 / 27

slide-19
SLIDE 19

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Polynomial Register Machine (PRM)

Defjnition (Polynomial register machine)

An n-dimensional polynomial register machine (n-PRM) is a tuple R = (Q, ∆), where Q is a fjnite set of states and ∆ ⊆ Q × Z[x]n × Q is a fjnite set of transitions labelled by polynomials with variable x ∈ Zn.

q0 q1 q2 q3 2 x x2 + 4 −x + 1 2x+4x + 1 3x

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 5 / 27

slide-20
SLIDE 20

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Class of Polynomials

Defjnition

Additive polynomials: AddZ = {±x + b | b ∈ Z}, Affjne polynomials: AfgZ[x] = {ax + b | a, b ∈ Z}, Quadratic polynomials: QuadZ[x] = {ax2 + bx + c | a, b, c ∈ Z}.

∈QuadZ[x]

  • anxn + . . . + a2x2 + a1x + a0 ∈ Z[x]
  • ∈AfgZ[x]

±x + a0 ∈ AddZ

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 6 / 27

slide-21
SLIDE 21

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Class of Polynomials

Defjnition

Additive polynomials: AddZ = {±x + b | b ∈ Z}, Affjne polynomials: AfgZ[x] = {ax + b | a, b ∈ Z}, Quadratic polynomials: QuadZ[x] = {ax2 + bx + c | a, b, c ∈ Z}.

Defjnition (Polynomials without additive polynomials)

AfgZ[x] \ AddZ = {ax + b ∈ AfgZ[x] | a ̸= ±1}, Z[x] \ AddZ = {p(x) ∈ Z[x] | p(x) ̸= ±x + b, where b ∈ Z}.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 6 / 27

slide-22
SLIDE 22

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Previous Work

The additive form (i.e., x ← x + b) of a map with polynomial updates can be seen as a vector addition systems on Zn.

If n = 1, the reachability problem can be reduced to the solution of a single linear Diophantine equation over natural numbers. Otherwise, the problem is in the form of the n-dimensional VAS on Zn.

Bell & Potapov showed that with seven 2-d affjne updates of the form x ax by c y dy e (variables are not independent, stateless) the reachability problem is undecidable over

  • 2. [TCS 2008]

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 7 / 27

slide-23
SLIDE 23

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Previous Work

The additive form (i.e., x ← x + b) of a map with polynomial updates can be seen as a vector addition systems on Zn.

If n = 1, the reachability problem can be reduced to the solution of a single linear Diophantine equation over natural numbers. Otherwise, the problem is in the form of the n-dimensional VAS on Zn.

Bell & Potapov showed that with seven 2-d affjne updates of the form { x ← ax + by + c y ← dy + e , (variables are not independent, stateless) the reachability problem is undecidable over Q2. [TCS 2008]

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 7 / 27

slide-24
SLIDE 24

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Previous Work

Finkel et al. [MFCS 2013] considered that the reachability problem for polynomial register machines (with states) on Zn,

PSPACE-complete for 1-d polynomials and undecidable for 2-d polynomials with independent variables.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 7 / 27

slide-25
SLIDE 25

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Previous Work

Finkel et al. [MFCS 2013] considered that the reachability problem for polynomial register machines (with states) on Zn,

PSPACE-complete for 1-d polynomials and undecidable for 2-d polynomials with independent variables.

Niskanen [RP 2017] showed that the reachability problem is

PSPACE-complete in 1-d polynomial maps of degree four and undecidable in 3-d polynomial maps. (stateless)

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 7 / 27

slide-26
SLIDE 26

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Reachability in Maps over AfgZ[x]3 and QuadZ[x]2

In the three-dimensional variant, we are investigating functions of the form      x1 ← a1x1 + b1 x2 ← a2x2 + b2 x3 ← a3x3 + b3 , where ai, bi ∈ Z.

First, we will show that

The reachability problem for Afg x 3 is undecidable and PSPACE-hard for Quad x 2.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 8 / 27

slide-27
SLIDE 27

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Reachability in Maps over AfgZ[x]3 and QuadZ[x]2

In the three-dimensional variant, we are investigating functions of the form      x1 ← a1x1 + b1 x2 ← a2x2 + b2 x3 ← a3x3 + b3 , where ai, bi ∈ Z.

First, we will show that

The reachability problem for AfgZ[x]3 is undecidable and PSPACE-hard for QuadZ[x]2.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 8 / 27

slide-28
SLIDE 28

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Theorem

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-29
SLIDE 29

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Theorem

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. Proof sketch. Let P = {(u1, v1), . . . , (un, vn)} ⊆ Σ∗ × Σ∗ be an instance of the PCP. u1 v1 u2 v2 u1 v1 u3 v3 u 221 12 221 1 v 22 11 22 211

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-30
SLIDE 30

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Theorem

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. Proof sketch. Let P = {(u1, v1), . . . , (un, vn)} ⊆ Σ∗ × Σ∗ be an instance of the PCP. u1 v1 u2 v2 u1 v1 u3 v3 u = bba ab bba a v = bb aa bb baa u1 v1 u2 v2 u1 v1 u3 v3 u 221 12 221 1 v 22 11 22 211

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-31
SLIDE 31

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Theorem

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. Proof sketch. Let P = {(u1, v1), . . . , (un, vn)} ⊆ Σ∗ × Σ∗ be an instance of the PCP. (u1, v1) u2 v2 u1 v1 u3 v3 u = bba ab bba a v = bb aa bb baa u1 v1 u2 v2 u1 v1 u3 v3 u 221 12 221 1 v 22 11 22 211

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-32
SLIDE 32

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Theorem

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. Proof sketch. Let P = {(u1, v1), . . . , (un, vn)} ⊆ Σ∗ × Σ∗ be an instance of the PCP. (u1, v1) (u2, v2) u1 v1 u3 v3 u = bba ab bba a v = bb aa bb baa u1 v1 u2 v2 u1 v1 u3 v3 u 221 12 221 1 v 22 11 22 211

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-33
SLIDE 33

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Theorem

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. Proof sketch. Let P = {(u1, v1), . . . , (un, vn)} ⊆ Σ∗ × Σ∗ be an instance of the PCP. (u1, v1) (u2, v2) (u1, v1) u3 v3 u = bba ab bba a v = bb aa bb baa u1 v1 u2 v2 u1 v1 u3 v3 u 221 12 221 1 v 22 11 22 211

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-34
SLIDE 34

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Theorem

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. Proof sketch. Let P = {(u1, v1), . . . , (un, vn)} ⊆ Σ∗ × Σ∗ be an instance of the PCP. (u1, v1) (u2, v2) (u1, v1) (u3, v3) u = bba ab bba a v = bb aa bb baa u1 v1 u2 v2 u1 v1 u3 v3 u 221 12 221 1 v 22 11 22 211

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-35
SLIDE 35

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Theorem

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. Proof sketch. Let P = {(u1, v1), . . . , (un, vn)} ⊆ Σ∗ × Σ∗ be an instance of the PCP. (u1, v1) (u2, v2) (u1, v1) (u3, v3) u = 221 12 221 1 v = 22 11 22 211

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-36
SLIDE 36

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Theorem

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. Proof sketch. Let P = {(u1, v1), . . . , (un, vn)} ⊆ Σ∗ × Σ∗ be an instance of the PCP. (u1, v1) (u2, v2) (u1, v1) (u3, v3) u = 221 12 221 1 v = 22 11 22 211 We can simulate concatenations with affjne functions as follows: 3|ui|σ(uj) + σ(ui) = σ(ujui).

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-37
SLIDE 37

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Proof sketch. We show that (0, 0, 1) is reachable from (0, 0, 0) if and only if the PCP has a solution.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-38
SLIDE 38

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Proof sketch. We show that (0, 0, 1) is reachable from (0, 0, 0) if and only if the PCP has a solution. Defjne the following sets of affjne functions in dimension three:

F1 = {(3|ui|x1 + σ(ui), 3|vi|x2 + σ(vi), 2x3) | (ui, vi) ∈ P for all 1 ⩽ i ⩽ n}, F2 = {(3|ui|x1 + σ(ui), 3|vi|x2 + σ(vi), 2x3 + 1) | (ui, vi) ∈ P for all 1 ⩽ i ⩽ n}, F3 = {(x1 − 1, x2 − 1, 2x3 − 1)}.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-39
SLIDE 39

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgZ[x]3

Proof sketch. We show that (0, 0, 1) is reachable from (0, 0, 0) if and only if the PCP has a solution. Defjne the following sets of affjne functions in dimension three:

F1 = {(3|ui|x1 + σ(ui), 3|vi|x2 + σ(vi), 2x3) | (ui, vi) ∈ P for all 1 ⩽ i ⩽ n}, F2 = {(3|ui|x1 + σ(ui), 3|vi|x2 + σ(vi), 2x3 + 1) | (ui, vi) ∈ P for all 1 ⩽ i ⩽ n}, F3 = {(x1 − 1, x2 − 1, 2x3 − 1)}.

1 ⊥ 2x 2x + 1 2x − 1 2 x , 2 x + 1 2x − 1 2x, 2x + 1, 2x − 1

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 9 / 27

slide-40
SLIDE 40

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Simulating State Structure with Affjne Functions

Let’s take an any graph for example as follows: 1 2 3 For each edge vi vj (possibly i j) of G, we add an affjne polynomial fij x m x i j to the map. For example, let us try with f03 x 4x 3 and f21 x 4 x 2 1.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 10 / 27

slide-41
SLIDE 41

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Simulating State Structure with Affjne Functions

Let’s take an any graph for example as follows: 1 2 3 For each edge (vi, vj) (possibly i = j) of G, we add an affjne polynomial fij(x) = m(x − i) + j to the map. For example, let us try with f03 x 4x 3 and f21 x 4 x 2 1.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 10 / 27

slide-42
SLIDE 42

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Simulating State Structure with Affjne Functions

Let’s take an any graph for example as follows: 1 2 3 For each edge (vi, vj) (possibly i = j) of G, we add an affjne polynomial fij(x) = m(x − i) + j to the map. For example, let us try with f03(x) = 4x + 3 and f21(x) = 4(x − 2) + 1.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 10 / 27

slide-43
SLIDE 43

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hard over QuadZ[x]2

Theorem

The reachability problem for nondeterministic maps over QuadZ[x]2 is PSPACE-hard. Proof sketch. Let Q , where Q q0 qm

1 , be a one-dimensional

PRM with PSPACE-hard reachability problem. Note that the update polynomials of are quadratic. For each transition qi p x qj of , we add two-dimensional function p x m x j m i to the map. It is clear that 0 k is reachable from 0 if and only if q qk 0 .

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 11 / 27

slide-44
SLIDE 44

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hard over QuadZ[x]2

Theorem

The reachability problem for nondeterministic maps over QuadZ[x]2 is PSPACE-hard. Proof sketch. Let R = (Q, ∆), where Q = {q0, . . . , qm−1}, be a one-dimensional PRM with PSPACE-hard reachability problem. Note that the update polynomials of are quadratic. For each transition qi p x qj of , we add two-dimensional function p x m x j m i to the map. It is clear that 0 k is reachable from 0 if and only if q qk 0 .

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 11 / 27

slide-45
SLIDE 45

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hard over QuadZ[x]2

Theorem

The reachability problem for nondeterministic maps over QuadZ[x]2 is PSPACE-hard. Proof sketch. Let R = (Q, ∆), where Q = {q0, . . . , qm−1}, be a one-dimensional PRM with PSPACE-hard reachability problem. Note that the update polynomials of R are quadratic. For each transition qi p x qj of , we add two-dimensional function p x m x j m i to the map. It is clear that 0 k is reachable from 0 if and only if q qk 0 .

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 11 / 27

slide-46
SLIDE 46

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hard over QuadZ[x]2

Theorem

The reachability problem for nondeterministic maps over QuadZ[x]2 is PSPACE-hard. Proof sketch. Let R = (Q, ∆), where Q = {q0, . . . , qm−1}, be a one-dimensional PRM with PSPACE-hard reachability problem. Note that the update polynomials of R are quadratic. For each transition (qi, p(x), qj) of R, we add two-dimensional function (p(x), m · x + j − m · i) to the map. It is clear that 0 k is reachable from 0 if and only if q qk 0 .

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 11 / 27

slide-47
SLIDE 47

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hard over QuadZ[x]2

Theorem

The reachability problem for nondeterministic maps over QuadZ[x]2 is PSPACE-hard. Proof sketch. Let R = (Q, ∆), where Q = {q0, . . . , qm−1}, be a one-dimensional PRM with PSPACE-hard reachability problem. Note that the update polynomials of R are quadratic. For each transition (qi, p(x), qj) of R, we add two-dimensional function (p(x), m · x + j − m · i) to the map. It is clear that (0, k) is reachable from (0, ℓ) if and only if [qℓ, 0] →∗

R [qk, 0].

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 11 / 27

slide-48
SLIDE 48

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

What happens without additive updates?

Let’s consider a restricted class of maps over AfgZ[x], in the sense that every affjne function in the map is not of the form ±x + b. It is easy to see that the reachability problem for maps over Afg x n is NP-hard by reduction to the Subset Sum Problem (SSP). The NP-hardness proof relies on the use of polynomials of the form x b that correspond to integers in the SSP.

Question

Does the NP-hardness still hold over the restricted class of maps over Afg x Add ?

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 12 / 27

slide-49
SLIDE 49

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

What happens without additive updates?

Let’s consider a restricted class of maps over AfgZ[x], in the sense that every affjne function in the map is not of the form ±x + b. It is easy to see that the reachability problem for maps over AfgZ[x]n is NP-hard by reduction to the Subset Sum Problem (SSP). The NP-hardness proof relies on the use of polynomials of the form x b that correspond to integers in the SSP.

Question

Does the NP-hardness still hold over the restricted class of maps over Afg x Add ?

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 12 / 27

slide-50
SLIDE 50

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

What happens without additive updates?

Let’s consider a restricted class of maps over AfgZ[x], in the sense that every affjne function in the map is not of the form ±x + b. It is easy to see that the reachability problem for maps over AfgZ[x]n is NP-hard by reduction to the Subset Sum Problem (SSP). The NP-hardness proof relies on the use of polynomials of the form x + b that correspond to integers in the SSP.

Question

Does the NP-hardness still hold over the restricted class of maps over Afg x Add ?

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 12 / 27

slide-51
SLIDE 51

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

What happens without additive updates?

Let’s consider a restricted class of maps over AfgZ[x], in the sense that every affjne function in the map is not of the form ±x + b. It is easy to see that the reachability problem for maps over AfgZ[x]n is NP-hard by reduction to the Subset Sum Problem (SSP). The NP-hardness proof relies on the use of polynomials of the form x + b that correspond to integers in the SSP.

Question

Does the NP-hardness still hold over the restricted class of maps over AfgZ[x] \ AddZ?

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 12 / 27

slide-52
SLIDE 52

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

NP-hardness over AfgZ[x] \ AddZ

Lemma

The reachability problem for maps over AfgZ[x] \ AddZ is NP-hard. Proof sketch. Let S s be an instance of the SSP, where S s1 sk and s is the target integer. We construct the set of affjne functions F n x ni

1 si

n x 1 i k with target s nk

1, where n

S S is a prime. The map reaches s nk

1 if and only if there is a subset of S such

that its elements add up to s.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 13 / 27

slide-53
SLIDE 53

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

NP-hardness over AfgZ[x] \ AddZ

Lemma

The reachability problem for maps over AfgZ[x] \ AddZ is NP-hard. Proof sketch. Let (S, s) be an instance of the SSP, where S = {s1, . . . , sk, } and s is the target integer. We construct the set of affjne functions F n x ni

1 si

n x 1 i k with target s nk

1, where n

S S is a prime. The map reaches s nk

1 if and only if there is a subset of S such

that its elements add up to s.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 13 / 27

slide-54
SLIDE 54

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

NP-hardness over AfgZ[x] \ AddZ

Lemma

The reachability problem for maps over AfgZ[x] \ AddZ is NP-hard. Proof sketch. Let (S, s) be an instance of the SSP, where S = {s1, . . . , sk, } and s is the target integer. We construct the set of affjne functions F = {n · x + ni−1 · si, n · x | 1 ⩽ i ⩽ k} with target s · nk−1, where n > max(S) · |S| is a prime. The map reaches s nk

1 if and only if there is a subset of S such

that its elements add up to s.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 13 / 27

slide-55
SLIDE 55

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

NP-hardness over AfgZ[x] \ AddZ

Lemma

The reachability problem for maps over AfgZ[x] \ AddZ is NP-hard. Proof sketch. Let (S, s) be an instance of the SSP, where S = {s1, . . . , sk, } and s is the target integer. We construct the set of affjne functions F = {n · x + ni−1 · si, n · x | 1 ⩽ i ⩽ k} with target s · nk−1, where n > max(S) · |S| is a prime. The map reaches s · nk−1 if and only if there is a subset of S such that its elements add up to s.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 13 / 27

slide-56
SLIDE 56

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE Upper Bound over Z[x]n \ AddZ

−12−10 −8 −6 −4 −2 2 4 6 8 10 12 −10 −8 −6 −4 −2 2 4 6 8 10 x y p1(x) = x2 + 3x

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 14 / 27

slide-57
SLIDE 57

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE Upper Bound over Z[x]n \ AddZ

−12−10 −8 −6 −4 −2 2 4 6 8 10 12 −10 −8 −6 −4 −2 2 4 6 8 10 x y p1(x) = x2 + 3x p2(x) = 2x − 4

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 14 / 27

slide-58
SLIDE 58

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE Upper Bound over Z[x]n \ AddZ

−12−10 −8 −6 −4 −2 2 4 6 8 10 12 −10 −8 −6 −4 −2 2 4 6 8 10 x y p1(x) = x2 + 3x p2(x) = 2x − 4

Observation

There exists a bound b ∈ N such that every polynomial in Z[x] \ AddZ is monotonically increasing or decreasing in Z \ [−b, b].

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 14 / 27

slide-59
SLIDE 59

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE Upper Bound over Z[x]n \ AddZ

Theorem

The reachability problem for maps over Z[x]n \ AddZ is decidable in PSPACE for any n ⩾ 1. Proof sketch. Let z be the target integer. We can compute the bound b which is polynomial in size of the input. If z b, we can decide whether the integer z is reachable in PSPACE by applying the given functions since we can store the current value and the computation path in space polynomial in b. Otherwise, due to monotonicity properties of x Add functions, we do not need to consider the integers outside the interval z z .

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 15 / 27

slide-60
SLIDE 60

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE Upper Bound over Z[x]n \ AddZ

Theorem

The reachability problem for maps over Z[x]n \ AddZ is decidable in PSPACE for any n ⩾ 1. Proof sketch. Let z be the target integer. We can compute the bound b which is polynomial in size of the input. If z b, we can decide whether the integer z is reachable in PSPACE by applying the given functions since we can store the current value and the computation path in space polynomial in b. Otherwise, due to monotonicity properties of x Add functions, we do not need to consider the integers outside the interval z z .

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 15 / 27

slide-61
SLIDE 61

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE Upper Bound over Z[x]n \ AddZ

Theorem

The reachability problem for maps over Z[x]n \ AddZ is decidable in PSPACE for any n ⩾ 1. Proof sketch. Let z be the target integer. We can compute the bound b which is polynomial in size of the input. If z b, we can decide whether the integer z is reachable in PSPACE by applying the given functions since we can store the current value and the computation path in space polynomial in b. Otherwise, due to monotonicity properties of x Add functions, we do not need to consider the integers outside the interval z z .

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 15 / 27

slide-62
SLIDE 62

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE Upper Bound over Z[x]n \ AddZ

Theorem

The reachability problem for maps over Z[x]n \ AddZ is decidable in PSPACE for any n ⩾ 1. Proof sketch. Let z be the target integer. We can compute the bound b which is polynomial in size of the input. If |z| ⩽ b, we can decide whether the integer z is reachable in PSPACE by applying the given functions since we can store the current value and the computation path in space polynomial in b. Otherwise, due to monotonicity properties of x Add functions, we do not need to consider the integers outside the interval z z .

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 15 / 27

slide-63
SLIDE 63

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE Upper Bound over Z[x]n \ AddZ

Theorem

The reachability problem for maps over Z[x]n \ AddZ is decidable in PSPACE for any n ⩾ 1. Proof sketch. Let z be the target integer. We can compute the bound b which is polynomial in size of the input. If |z| ⩽ b, we can decide whether the integer z is reachable in PSPACE by applying the given functions since we can store the current value and the computation path in space polynomial in b. Otherwise, due to monotonicity properties of Z[x] \ AddZ functions, we do not need to consider the integers outside the interval [−z, z].

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 15 / 27

slide-64
SLIDE 64

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgQ[x]3 \ AddQ

Theorem

The reachability problem for nondeterministic maps over AfgQ[x]3 \ AddQ is undecidable with at least 11 affjne functions over Q. Proof sketch. Let P be an instance of the PCP with n elements. For each pair ui vi P, where 1 i n, we defjne the following sets of affjne functions in dimension three:

1

3 ui x1 ui n 1 x2 i 2 x3 F1 for all 1 i n,

2

3 ui x1 ui n 1 x2 i 2 x3 1 F2 for some 1 i n, and

3

1 3 vi x1 vi 1 n 1 x2 i 2 x3 1 F3 for all 1 i n.

First construct a word u ui1ui2 uik

1, where 1

ij n for all 1 j k 1, in the fjrst dimension.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 16 / 27

slide-65
SLIDE 65

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgQ[x]3 \ AddQ

Theorem

The reachability problem for nondeterministic maps over AfgQ[x]3 \ AddQ is undecidable with at least 11 affjne functions over Q. Proof sketch. Let P be an instance of the PCP with n elements. For each pair ui vi P, where 1 i n, we defjne the following sets of affjne functions in dimension three:

1

3 ui x1 ui n 1 x2 i 2 x3 F1 for all 1 i n,

2

3 ui x1 ui n 1 x2 i 2 x3 1 F2 for some 1 i n, and

3

1 3 vi x1 vi 1 n 1 x2 i 2 x3 1 F3 for all 1 i n.

First construct a word u ui1ui2 uik

1, where 1

ij n for all 1 j k 1, in the fjrst dimension.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 16 / 27

slide-66
SLIDE 66

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgQ[x]3 \ AddQ

Theorem

The reachability problem for nondeterministic maps over AfgQ[x]3 \ AddQ is undecidable with at least 11 affjne functions over Q. Proof sketch. Let P be an instance of the PCP with n elements. For each pair (ui, vi) ∈ P, where 1 ⩽ i ⩽ n, we defjne the following sets of affjne functions in dimension three:

1

(3|ui| · x1 + σ(ui), (n + 1) · x2 + i, 2 · x3) ∈ F1 for all 1 ⩽ i ⩽ n,

2

(3|ui| · x1 + σ(ui), (n + 1) · x2 + i, 2 · x3 + 1) ∈ F2 for some 1 ⩽ i ⩽ n, and

3

( 1 3|vi| · (x1 − σ(vi)), 1 n + 1 · (x2 − i), 2 · x3 − 1 ) ∈ F3 for all 1 ⩽ i ⩽ n.

First construct a word u ui1ui2 uik

1, where 1

ij n for all 1 j k 1, in the fjrst dimension.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 16 / 27

slide-67
SLIDE 67

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Undecidability over AfgQ[x]3 \ AddQ

Theorem

The reachability problem for nondeterministic maps over AfgQ[x]3 \ AddQ is undecidable with at least 11 affjne functions over Q. Proof sketch. Let P be an instance of the PCP with n elements. For each pair (ui, vi) ∈ P, where 1 ⩽ i ⩽ n, we defjne the following sets of affjne functions in dimension three:

1

(3|ui| · x1 + σ(ui), (n + 1) · x2 + i, 2 · x3) ∈ F1 for all 1 ⩽ i ⩽ n,

2

(3|ui| · x1 + σ(ui), (n + 1) · x2 + i, 2 · x3 + 1) ∈ F2 for some 1 ⩽ i ⩽ n, and

3

( 1 3|vi| · (x1 − σ(vi)), 1 n + 1 · (x2 − i), 2 · x3 − 1 ) ∈ F3 for all 1 ⩽ i ⩽ n.

First construct a word u′ = ui1ui2 · · · uik−1, where 1 ⩽ ij ⩽ n for all 1 ⩽ j ⩽ k − 1, in the fjrst dimension.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 16 / 27

slide-68
SLIDE 68

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Linear Bounded Automaton

Lemma

The reachability problem for maps over AfgZ[x]n \ AddZ is PSPACE-hard. A linear bounded automaton (LBA) is a Turing machine with a fjnite tape whose length is bounded by a linear function of the size of the input. A confjguration is [q, i, w], where q ∈ Q, i is the position of the head, w ∈ {0, 1}n is the word written

  • n the tape.

The reachability problem: [q0, 1, 0n] →∗ [qf, 1, 0n]? q3 · · · n

Known fact

The reachability problem for LBAs is PSPACE-complete.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 17 / 27

slide-69
SLIDE 69

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Linear Bounded Automaton

Lemma

The reachability problem for maps over AfgZ[x]n \ AddZ is PSPACE-hard. A linear bounded automaton (LBA) is a Turing machine with a fjnite tape whose length is bounded by a linear function of the size of the input. A confjguration is [q, i, w], where q ∈ Q, i is the position of the head, w ∈ {0, 1}n is the word written

  • n the tape.

The reachability problem: [q0, 1, 0n] →∗ [qf, 1, 0n]? q3 · · · n

Known fact

The reachability problem for LBAs is PSPACE-complete.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 17 / 27

slide-70
SLIDE 70

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hardness over AfgZ[x]n \ AddZ

Lemma

The reachability problem for maps over AfgZ[x]n \ AddZ is PSPACE-hard. Proof sketch. Reduce the reachability problem of an LBA to the reachability problem for maps over Afg x k

1

Add . Store the tape content of the LBA in the fjrst k dimensions and the current state in the last dimension of the affjne map.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 18 / 27

slide-71
SLIDE 71

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hardness over AfgZ[x]n \ AddZ

Lemma

The reachability problem for maps over AfgZ[x]n \ AddZ is PSPACE-hard. Proof sketch. Reduce the reachability problem of an LBA to the reachability problem for maps over Afg x k

1

Add . Store the tape content of the LBA in the fjrst k dimensions and the current state in the last dimension of the affjne map.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 18 / 27

slide-72
SLIDE 72

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hardness over AfgZ[x]n \ AddZ

Lemma

The reachability problem for maps over AfgZ[x]n \ AddZ is PSPACE-hard. Proof sketch. Reduce the reachability problem of an LBA A to the reachability problem for maps over AfgZ[x]k+1 \ AddZ. Store the tape content of the LBA in the fjrst k dimensions and the current state in the last dimension of the affjne map.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 18 / 27

slide-73
SLIDE 73

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hardness over AfgZ[x]n \ AddZ

Lemma

The reachability problem for maps over AfgZ[x]n \ AddZ is PSPACE-hard. Proof sketch. Reduce the reachability problem of an LBA A to the reachability problem for maps over AfgZ[x]k+1 \ AddZ. Store the tape content of the LBA A in the fjrst k dimensions and the current state in the last dimension of the affjne map.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 18 / 27

slide-74
SLIDE 74

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hardness over AfgZ[x]n \ AddZ (continue)

Proof sketch. (continue) Let [qj, i, w] be the current confjguration of A. Denote w w1w2 wk 0 1 k. The corresponding register value in the affjne map is as follows: w1 w2 wk

k

z qj i

Example

The affjne function corresponding to qj1 0 qj2 1 L is x x 2x 1 x x a x b where a x b corresponds to the edge qj1 i qj2 i 1 in G , and 2x 1 is in the ith dimension.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 19 / 27

slide-75
SLIDE 75

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hardness over AfgZ[x]n \ AddZ (continue)

Proof sketch. (continue) Let [qj, i, w] be the current confjguration of A. Denote w = w1w2 · · · wk ∈ {0, 1}k. The corresponding register value in the affjne map is as follows: w1 w2 wk

k

z qj i

Example

The affjne function corresponding to qj1 0 qj2 1 L is x x 2x 1 x x a x b where a x b corresponds to the edge qj1 i qj2 i 1 in G , and 2x 1 is in the ith dimension.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 19 / 27

slide-76
SLIDE 76

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hardness over AfgZ[x]n \ AddZ (continue)

Proof sketch. (continue) Let [qj, i, w] be the current confjguration of A. Denote w = w1w2 · · · wk ∈ {0, 1}k. The corresponding register value in the affjne map is as follows: (w1, w2, . . . , wk

  • k

, z = (qj, i)).

Example

The affjne function corresponding to qj1 0 qj2 1 L is x x 2x 1 x x a x b where a x b corresponds to the edge qj1 i qj2 i 1 in G , and 2x 1 is in the ith dimension.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 19 / 27

slide-77
SLIDE 77

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PSPACE-hardness over AfgZ[x]n \ AddZ (continue)

Proof sketch. (continue) Let [qj, i, w] be the current confjguration of A. Denote w = w1w2 · · · wk ∈ {0, 1}k. The corresponding register value in the affjne map is as follows: (w1, w2, . . . , wk

  • k

, z = (qj, i)).

Example

The affjne function corresponding to (qj1, 0, qj2, 1, L) is (x, . . . , x, 2x + 1, x, . . . , x, a · x + b), where a · x + b corresponds to the edge ((qj1, i), (qj2, i − 1)) in GA, and 2x + 1 is in the ith dimension.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 19 / 27

slide-78
SLIDE 78

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Main Results

Theorem

If the dimension n is not fjxed, then the reachability problem for maps over AfgZ[x]n \ AddZ is PSPACE-complete.

Corollary

If the dimension n is not fjxed, then the reachability problem for n-ARMs and n-PRMs, where the update polynomials are not of the form x b, is PSPACE-complete.

Corollary

If the dimension n is not fjxed, then the reachability problem for maps over x n Add is PSPACE-complete.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 20 / 27

slide-79
SLIDE 79

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Main Results

Theorem

If the dimension n is not fjxed, then the reachability problem for maps over AfgZ[x]n \ AddZ is PSPACE-complete.

Corollary

If the dimension n is not fjxed, then the reachability problem for n-ARMs and n-PRMs, where the update polynomials are not of the form ±x + b, is PSPACE-complete.

Corollary

If the dimension n is not fjxed, then the reachability problem for maps over x n Add is PSPACE-complete.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 20 / 27

slide-80
SLIDE 80

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Main Results

Theorem

If the dimension n is not fjxed, then the reachability problem for maps over AfgZ[x]n \ AddZ is PSPACE-complete.

Corollary

If the dimension n is not fjxed, then the reachability problem for n-ARMs and n-PRMs, where the update polynomials are not of the form ±x + b, is PSPACE-complete.

Corollary

If the dimension n is not fjxed, then the reachability problem for maps over Z[x]n \ AddZ is PSPACE-complete.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 20 / 27

slide-81
SLIDE 81

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Maps as Language Acceptors

Let’s extend our models to operate on words.

p1(x) p2(x) p

3

(x) p4(x) p5(x)

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 21 / 27

slide-82
SLIDE 82

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Maps as Language Acceptors

Let’s extend our models to operate on words.

p1(x)/a p2(x)/b p

3

(x)/a p4(x)/b p5(x)/a

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 21 / 27

slide-83
SLIDE 83

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Maps as Language Acceptors

Let’s extend our models to operate on words. p1(x)/a p2(x)/b p3(x)/a p4(x)/b

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 21 / 27

slide-84
SLIDE 84

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Maps as Language Acceptors

Let’s extend our models to operate on words. p1(x)/a p2(x)/b p3(x)/a p4(x)/b The word w is accepted if there is a computation path from the initial value to the target value reading w in the map.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 21 / 27

slide-85
SLIDE 85

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Maps as Language Acceptors

Let’s extend our models to operate on words. p1(x)/a p2(x)/b p3(x)/a p4(x)/b The word w is accepted if there is a computation path from the initial value to the target value reading w in the map. In this context, the reachability problems of the previous sections can be seen as language emptiness problem.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 21 / 27

slide-86
SLIDE 86

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Maps as Language Acceptors

Let’s extend our models to operate on words. p1(x)/a p2(x)/b p3(x)/a p4(x)/b The word w is accepted if there is a computation path from the initial value to the target value reading w in the map. In this context, the reachability problems of the previous sections can be seen as language emptiness problem. The language accepted by the map is empty if and only if the fjnal confjguration is not reachable from the initial confjguration.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 21 / 27

slide-87
SLIDE 87

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Universality is Undecidable over AfgZ[x]2

Theorem

The universality problem for maps over AfgZ[x]2 is undecidable. Proof sketch. Let be an integer weighted automaton over alphabet for which the universality problem is undecidable [Halava & Harju, 1998]. The idea is to encode into maps in such way that the second dimension is used to simulate the state transitions of the automaton. For a transition qi a qj z , we construct an affjne function a x1 z m x2 j m i to simulate the transition on the map. Then, a word w is accepted by the map if and only if the register values 0 m 1 are reachable from 0 0 while reading word w.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 22 / 27

slide-88
SLIDE 88

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Universality is Undecidable over AfgZ[x]2

Theorem

The universality problem for maps over AfgZ[x]2 is undecidable. Proof sketch. Let Aγ be an integer weighted automaton over alphabet Σ for which the universality problem is undecidable [Halava & Harju, 1998]. The idea is to encode into maps in such way that the second dimension is used to simulate the state transitions of the automaton. For a transition qi a qj z , we construct an affjne function a x1 z m x2 j m i to simulate the transition on the map. Then, a word w is accepted by the map if and only if the register values 0 m 1 are reachable from 0 0 while reading word w.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 22 / 27

slide-89
SLIDE 89

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Universality is Undecidable over AfgZ[x]2

Theorem

The universality problem for maps over AfgZ[x]2 is undecidable. Proof sketch. Let Aγ be an integer weighted automaton over alphabet Σ for which the universality problem is undecidable [Halava & Harju, 1998]. The idea is to encode Aγ into maps in such way that the second dimension is used to simulate the state transitions of the automaton. For a transition qi a qj z , we construct an affjne function a x1 z m x2 j m i to simulate the transition on the map. Then, a word w is accepted by the map if and only if the register values 0 m 1 are reachable from 0 0 while reading word w.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 22 / 27

slide-90
SLIDE 90

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Universality is Undecidable over AfgZ[x]2

Theorem

The universality problem for maps over AfgZ[x]2 is undecidable. Proof sketch. Let Aγ be an integer weighted automaton over alphabet Σ for which the universality problem is undecidable [Halava & Harju, 1998]. The idea is to encode Aγ into maps in such way that the second dimension is used to simulate the state transitions of the automaton. For a transition (qi, a, qj, z), we construct an affjne function (a, (x1 + z, m · x2 + j − m · i)) to simulate the transition on the map. Then, a word w is accepted by the map if and only if the register values 0 m 1 are reachable from 0 0 while reading word w.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 22 / 27

slide-91
SLIDE 91

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Universality is Undecidable over AfgZ[x]2

Theorem

The universality problem for maps over AfgZ[x]2 is undecidable. Proof sketch. Let Aγ be an integer weighted automaton over alphabet Σ for which the universality problem is undecidable [Halava & Harju, 1998]. The idea is to encode Aγ into maps in such way that the second dimension is used to simulate the state transitions of the automaton. For a transition (qi, a, qj, z), we construct an affjne function (a, (x1 + z, m · x2 + j − m · i)) to simulate the transition on the map. Then, a word w ∈ Σ∗ is accepted by the map if and only if the register values (0, m − 1) are reachable from (0, 0) while reading word w.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 22 / 27

slide-92
SLIDE 92

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Intersection Emptiness is Undecidable over AfgZ[x]2

Defjnition (Reachability set of a map)

Let F ⊆ Z[x]n be a map over Z[x]n and let x0 ∈ Zn be the initial value. The reachability set of F is defjned iteratively: Reach0(F) = {x0}, Reachi(F) = {f(x) | x ∈ Reachi−1(F), f ∈ F}, Reach(F) =

i=0

Reachi(F).

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 23 / 27

slide-93
SLIDE 93

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Intersection Emptiness is Undecidable over AfgZ[x]2

Defjnition (Reachability set of a map)

Let F ⊆ Z[x]n be a map over Z[x]n and let x0 ∈ Zn be the initial value. The reachability set of F is defjned iteratively: Reach0(F) = {x0}, Reachi(F) = {f(x) | x ∈ Reachi−1(F), f ∈ F}, Reach(F) =

i=0

Reachi(F).

Lemma

Let F and G be two-dimensional affjne maps. It is undecidable whether the intersection of the respective reachability sets is empty or not.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 23 / 27

slide-94
SLIDE 94

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Intersection Emptiness is Undecidable over AfgZ[x]2

Defjnition (Reachability set of a map)

Let F ⊆ Z[x]n be a map over Z[x]n and let x0 ∈ Zn be the initial value. The reachability set of F is defjned iteratively: Reach0(F) = {x0}, Reachi(F) = {f(x) | x ∈ Reachi−1(F), f ∈ F}, Reach(F) =

i=0

Reachi(F).

Theorem

Let F, G ⊆ Σ × AfgZ[x]2 and x0F, x0G and xfF, xfG be the respective initial and target values. It is undecidable whether the intersection of the respective languages is empty.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 23 / 27

slide-95
SLIDE 95

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Complexity Landscape

Complexity of reachability problems in nondeterministic polynomial maps according to the degrees.

PPPPPPPP P

dim. degree 1 2 3 4 the leading coeffjcient a1 = ±1 a1 ∈ Z 1 NP-c. [2]1 NP-h. [2]/PSPACE [1]2 PSPACE-c. [3]3 2 NP-h. [2]/? PSPACE-h./? PSPACE-h. [3]/? 3 undecid.

  • undecid. [3]

1[2] Haase and Halfon. “Integer Vector Addition Systems with States”. RP 2014. 2[1] Finkel, Göller, and Haase. “Reachability in Register Machines with Polynomial Updates”.

MFCS 2013.

3[3] Niskanen. “Reachability problem for polynomial iteration is PSPACE-complete”. RP

2017.

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 24 / 27

slide-96
SLIDE 96

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Complexity Landscape from Difgerent View

Complexity of reachability problems in affjne and polynomial maps with respect to inclusion of polynomials of the form ±x + b.

PPPPPPPP P

dim. type affjne polynomial a1 ̸= ±1 a1 ∈ Z a1 ̸= ±1 a1 ∈ Z 1 NP-h. [2]/PSPACE [1] PSPACE-c. [3] 2 NP-h. [2]/? PSPACE-h. [3]/? 3

  • undecid. [3]

. . . NP-h./PSPACE NP-h./PSPACE n PSPACE-c. undecid. PSPACE-c.

Our goal was also to

Investigate the efgect of polynomials of the form x b on the decidability and complexity of the reachability problems!

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 25 / 27

slide-97
SLIDE 97

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Complexity Landscape from Difgerent View

Complexity of reachability problems in affjne and polynomial maps with respect to inclusion of polynomials of the form ±x + b.

PPPPPPPP P

dim. type affjne polynomial a1 ̸= ±1 a1 ∈ Z a1 ̸= ±1 a1 ∈ Z 1 NP-h. [2]/PSPACE [1] PSPACE-c. [3] 2 NP-h. [2]/? PSPACE-h. [3]/? 3

  • undecid. [3]

. . . NP-h./PSPACE NP-h./PSPACE n PSPACE-c. undecid. PSPACE-c.

Our goal was also to

Investigate the efgect of polynomials of the form ±x + b on the decidability and complexity of the reachability problems!

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 25 / 27

slide-98
SLIDE 98

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Concluding Remarks

Summary

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. If the dimension n is not fjxed, then the reachability problem for maps

  • ver Afg

x n Add is PSPACE-complete. The universality problem for maps over Afg x 2 is undecidable. It is undecidable whether or not the intersection of the languages accepted by two-dimensional affjne maps is empty.

Open problems

Complexity of the reachability problem for affjne maps? Decidability of the reachability problem for 2-D affjne maps? Decidability of the reachability problem for 2-D polynomial maps?

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 26 / 27

slide-99
SLIDE 99

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Concluding Remarks

Summary

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. If the dimension n is not fjxed, then the reachability problem for maps

  • ver AfgZ[x]n \ AddZ is PSPACE-complete.

The universality problem for maps over Afg x 2 is undecidable. It is undecidable whether or not the intersection of the languages accepted by two-dimensional affjne maps is empty.

Open problems

Complexity of the reachability problem for affjne maps? Decidability of the reachability problem for 2-D affjne maps? Decidability of the reachability problem for 2-D polynomial maps?

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 26 / 27

slide-100
SLIDE 100

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Concluding Remarks

Summary

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. If the dimension n is not fjxed, then the reachability problem for maps

  • ver AfgZ[x]n \ AddZ is PSPACE-complete.

The universality problem for maps over AfgZ[x]2 is undecidable. It is undecidable whether or not the intersection of the languages accepted by two-dimensional affjne maps is empty.

Open problems

Complexity of the reachability problem for affjne maps? Decidability of the reachability problem for 2-D affjne maps? Decidability of the reachability problem for 2-D polynomial maps?

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 26 / 27

slide-101
SLIDE 101

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Concluding Remarks

Summary

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. If the dimension n is not fjxed, then the reachability problem for maps

  • ver AfgZ[x]n \ AddZ is PSPACE-complete.

The universality problem for maps over AfgZ[x]2 is undecidable. It is undecidable whether or not the intersection of the languages accepted by two-dimensional affjne maps is empty.

Open problems

Complexity of the reachability problem for affjne maps? Decidability of the reachability problem for 2-D affjne maps? Decidability of the reachability problem for 2-D polynomial maps?

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 26 / 27

slide-102
SLIDE 102

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Concluding Remarks

Summary

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. If the dimension n is not fjxed, then the reachability problem for maps

  • ver AfgZ[x]n \ AddZ is PSPACE-complete.

The universality problem for maps over AfgZ[x]2 is undecidable. It is undecidable whether or not the intersection of the languages accepted by two-dimensional affjne maps is empty.

Open problems

Complexity of the reachability problem for affjne maps? Decidability of the reachability problem for 2-D affjne maps? Decidability of the reachability problem for 2-D polynomial maps?

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 26 / 27

slide-103
SLIDE 103

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Concluding Remarks

Summary

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. If the dimension n is not fjxed, then the reachability problem for maps

  • ver AfgZ[x]n \ AddZ is PSPACE-complete.

The universality problem for maps over AfgZ[x]2 is undecidable. It is undecidable whether or not the intersection of the languages accepted by two-dimensional affjne maps is empty.

Open problems

Complexity of the reachability problem for affjne maps? Decidability of the reachability problem for 2-D affjne maps? Decidability of the reachability problem for 2-D polynomial maps?

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 26 / 27

slide-104
SLIDE 104

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Concluding Remarks

Summary

The reachability problem for maps over AfgZ[x]3 is undecidable with at least 7 affjne functions over Z. If the dimension n is not fjxed, then the reachability problem for maps

  • ver AfgZ[x]n \ AddZ is PSPACE-complete.

The universality problem for maps over AfgZ[x]2 is undecidable. It is undecidable whether or not the intersection of the languages accepted by two-dimensional affjne maps is empty.

Open problems

Complexity of the reachability problem for affjne maps? Decidability of the reachability problem for 2-D affjne maps? Decidability of the reachability problem for 2-D polynomial maps?

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 26 / 27

slide-105
SLIDE 105

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Ko, Niskanen, and Potapov Reachability in Polynomial Maps on Z DLT 2018 27 / 27