Parameter-Synthesis Problems for One-Counter Automata Guillermo A. - - PowerPoint PPT Presentation

parameter synthesis problems for one counter automata
SMART_READER_LITE
LIVE PREVIEW

Parameter-Synthesis Problems for One-Counter Automata Guillermo A. - - PowerPoint PPT Presentation

Parameter-Synthesis Problems for One-Counter Automata Guillermo A. P erez (slides by Ritam Raha) INFINITY 2020 Outline 1. One-Counter Automata (Parametric) and Synthesis Problem 2. Previous Approach 3. Approach with Alternating Two-Way


slide-1
SLIDE 1

Parameter-Synthesis Problems for One-Counter Automata

Guillermo A. P´ erez

(slides by Ritam Raha) INFINITY 2020

slide-2
SLIDE 2

Outline

  • 1. One-Counter Automata (Parametric) and Synthesis Problem
  • 2. Previous Approach
  • 3. Approach with Alternating Two-Way Automata for a subclass
  • 4. (Failed) Approach with Partial Observation Games

Guillermo A. P´ erez 2/27

slide-3
SLIDE 3

One-Counter Automata

1 n = 5 2 n = max(0, n - 5) 3 if n = 0: 4

while n < 10:

5

n = n + 1

6

n = n + 100

7

# make progress

8 else: 9

assert(False)

Guillermo A. P´ erez 3/27

slide-4
SLIDE 4

One-Counter Automata

1 n = 5 2 n = max(0, n - 5) 3 if n = 0: 4

while n < 10:

5

n = n + 1

6

n = n + 100

7

# make progress

8 else: 9

assert(False) false

5 −5 = 0 ≥ 10 +100 +1 ≥ 1

◮ Configurations: (q, c), c ≥ 0;

Guillermo A. P´ erez 3/27

slide-5
SLIDE 5

One-Counter Automata

1 def foobar(x): 2

n = 5

3

n = max(0, n - x)

4

if n = 0:

5

while n < 10:

6

n = n + 1

7

n = n + 100

8

# make progress

9

else:

10

assert(False)

Guillermo A. P´ erez 4/27

slide-6
SLIDE 6

One-Counter Automata

1 def foobar(x): 2

n = 5

3

n = max(0, n - x)

4

if n = 0:

5

while n < 10:

6

n = n + 1

7

n = n + 100

8

# make progress

9

else:

10

assert(False) false

5 −x = 0 ≥ 10 +100 +1 ≥ 1

Guillermo A. P´ erez 4/27

slide-7
SLIDE 7

Parametric One-Counter Automata

false X = {x1, . . . , xn}

5 −x1 = 0 ≥ x2 +x3 +1 ≥ 1

Guillermo A. P´ erez 5/27

slide-8
SLIDE 8

Parametric One-Counter Automata

false X = {x1, . . . , xn}

5 −x1 = 0 ≥ x2 +x3 +1 ≥ 1

Definition (Succinct OCA with Parameters)

A = (Q, qin, T, δ, X) δ : T → Op with Op the union of

Guillermo A. P´ erez 5/27

slide-9
SLIDE 9

Parametric One-Counter Automata

false X = {x1, . . . , xn}

5 −x1 = 0 ≥ x2 +x3 +1 ≥ 1

Definition (Succinct OCA with Parameters)

A = (Q, qin, T, δ, X) δ : T → Op with Op the union of

  • CU := {+a : a ∈ Z}
  • CT := {= 0, ≥ a, = a : a ∈ Z}

Guillermo A. P´ erez 5/27

slide-10
SLIDE 10

Parametric One-Counter Automata

false X = {x1, . . . , xn}

5 −x1 = 0 ≥ x2 +x3 +1 ≥ 1

Definition (Succinct OCA with Parameters)

A = (Q, qin, T, δ, X) δ : T → Op with Op the union of

  • CU := {+a : a ∈ Z}
  • PU := {+x, −x : x ∈ X}
  • CT := {= 0, ≥ a, = a : a ∈ Z}
  • PT := {= x, ≥ x : x ∈ X}

Guillermo A. P´ erez 5/27

slide-11
SLIDE 11

Parametric One-Counter Automata

false X = {x1, . . . , xn}

5 −x1 = 0 ≥ x2 +x3 +1 ≥ 1

Definition (Succinct OCA with Parameters)

A = (Q, qin, T, δ, X) δ : T → Op with Op the union of

  • CU := {+a : a ∈ Z}
  • PU := {+x, −x : x ∈ X}
  • CT := {= 0, ≥ a, = a : a ∈ Z}
  • PT := {= x, ≥ x : x ∈ X}

Non-parametric: X = ∅

Guillermo A. P´ erez 5/27

slide-12
SLIDE 12

One-Counter Automata

Models CU PU ZT PT Non-Parametric SOCA ✓ ✘ ✓ ✘ Parametric OCAPT {−1, 0, 1} ✘ ✓ ✓ SOCAP ✓ ✓ ✓ ✓

Guillermo A. P´ erez 6/27

slide-13
SLIDE 13

Decision Problems

Non-Parametric: Parametric:

Guillermo A. P´ erez 7/27

slide-14
SLIDE 14

Decision Problems

Non-Parametric: ∃ρ such that (qin, 0)

ρ

− → qf Reach Parametric:

Guillermo A. P´ erez 7/27

slide-15
SLIDE 15

Decision Problems

Non-Parametric: ∃ρ such that (qin, 0)

ρ

− → qf Reach [NP-complete (HKOW’09)] Parametric:

Guillermo A. P´ erez 7/27

slide-16
SLIDE 16

Decision Problems

Non-Parametric: ∃ρ such that (qin, 0)

ρ

− → qf Reach [NP-complete (HKOW’09)] Parametric: ∃V : X → N s.t. ∃ρ, (qin, 0)

ρ

− →V qf Par-Reach

Guillermo A. P´ erez 7/27

slide-17
SLIDE 17

Decision Problems

Non-Parametric: ∃ρ such that (qin, 0)

ρ

− → qf Reach [NP-complete (HKOW’09)] Parametric: ∃V : X → N s.t. ∃ρ, (qin, 0)

ρ

− →V qf Par-Reach [in NEXP (HKOW’09,LOW’15)]

Guillermo A. P´ erez 7/27

slide-18
SLIDE 18

Decision Problems

Non-Parametric: ∃ρ such that (qin, 0)

ρ

− → qf Reach [NP-complete (HKOW’09)] For all infinite ρ, (qin, 0)

ρ

− → qf UnivReach Parametric: ∃V : X → N s.t. ∃ρ, (qin, 0)

ρ

− →V qf Par-Reach [in NEXP (HKOW’09,LOW’15)]

Guillermo A. P´ erez 7/27

slide-19
SLIDE 19

Decision Problems

Non-Parametric: ∃ρ such that (qin, 0)

ρ

− → qf Reach [NP-complete (HKOW’09)] For all infinite ρ, (qin, 0)

ρ

− → qf UnivReach Parametric: ∃V : X → N s.t. ∃ρ, (qin, 0)

ρ

− →V qf Par-Reach [in NEXP (HKOW’09,LOW’15)] ∃V s.t. for all infinite ρ, (qin, 0)

ρ

− →V qf SynthReach

Guillermo A. P´ erez 7/27

slide-20
SLIDE 20

Decision Problems

Non-Parametric: ∃ρ such that (qin, 0)

ρ

− → qf Reach [NP-complete (HKOW’09)] For all infinite ρ, (qin, 0)

ρ

− → qf UnivReach Parametric: ∃V : X → N s.t. ∃ρ, (qin, 0)

ρ

− →V qf Par-Reach [in NEXP (HKOW’09,LOW’15)] ∃V s.t. for all infinite ρ, (qin, 0)

ρ

− →V qf SynthReach

Guillermo A. P´ erez 7/27

slide-21
SLIDE 21

UnivReach for SOCA

Model and problem

◮ Op = CU ∪ ZT ◮ UnivReach: all infinite paths reach qf

Guillermo A. P´ erez 8/27

slide-22
SLIDE 22

UnivReach for SOCA

Model and problem

◮ Op = CU ∪ ZT ◮ UnivReach: all infinite paths reach qf ∃ infinite path avoiding qf = two Reach queries

Guillermo A. P´ erez 8/27

slide-23
SLIDE 23

UnivReach for SOCA

Model and problem

◮ Op = CU ∪ ZT ◮ UnivReach: all infinite paths reach qf ∃ infinite path avoiding qf = two Reach queries (coNP)

Guillermo A. P´ erez 8/27

slide-24
SLIDE 24

UnivReach for SOCA

Model and problem

◮ Op = CU ∪ ZT ◮ UnivReach: all infinite paths reach qf ∃ infinite path avoiding qf = two Reach queries (coNP) Hardness from reduction from co-subsetsum.

Proposition

The UnivReach problem for SOCA is coNP-complete.

Guillermo A. P´ erez 8/27

slide-25
SLIDE 25

Decision Problems

Non-Parametric: ∃ρ such that (qin, 0)

ρ

− → qf Reach [NP-complete (HKOW’09)] For all infinite ρ, (qin, 0)

ρ

− → qf UnivReach Parametric: ∃V : XN s.t. ∃ρ, (qin, 0)

ρ

− →V qf Par-Reach [in NEXP (HKOW’09,LOW’15)] ∃V s.t. for all infinite ρ, (qin, 0)

ρ

− →V qf SynthReach

Guillermo A. P´ erez 9/27

slide-26
SLIDE 26

Decision Problems

Non-Parametric: ∃ρ such that (qin, 0)

ρ

− → qf Reach [NP-complete (HKOW’09)] For all infinite ρ, (qin, 0)

ρ

− → qf UnivReach [coNP-complete] Parametric: ∃V : XN s.t. ∃ρ, (qin, 0)

ρ

− →V qf Par-Reach [in NEXP (HKOW’09,LOW’15)] ? ∃V s.t. for all infinite ρ, (qin, 0)

ρ

− →V qf SynthReach

Guillermo A. P´ erez 9/27

slide-27
SLIDE 27

Outline

  • 1. One-Counter Automata (Parametric) and Synthesis Problem
  • 2. Previous Approach
  • 3. Approach with Alternating Two-Way Automata for a subclass
  • 4. Approach with Partial Observation Games

Guillermo A. P´ erez 10/27

slide-28
SLIDE 28

PAD & Extensions

◮ Presburger arithmetic (PA) := N, 0, 1, +, <

Guillermo A. P´ erez 11/27

slide-29
SLIDE 29

PAD & Extensions

◮ Presburger arithmetic (PA) := N, 0, 1, +, < ◮ Presburger arithmetic with Divisibility (PAD) := PA + | (a | b ⇐ ⇒ ∃c ∈ Z : b = ac)

Guillermo A. P´ erez 11/27

slide-30
SLIDE 30

PAD & Extensions

◮ Presburger arithmetic (PA) := N, 0, 1, +, < ◮ Presburger arithmetic with Divisibility (PAD) := PA + | (a | b ⇐ ⇒ ∃c ∈ Z : b = ac)

Theorem (Robinson’49, Lipshitz’81)

Full PAD is undecidable; one alternation suffices for undecidability.

Guillermo A. P´ erez 11/27

slide-31
SLIDE 31

PAD & Extensions

◮ Presburger arithmetic (PA) := N, 0, 1, +, < ◮ Presburger arithmetic with Divisibility (PAD) := PA + | (a | b ⇐ ⇒ ∃c ∈ Z : b = ac)

Theorem (Robinson’49, Lipshitz’81)

Full PAD is undecidable; one alternation suffices for undecidability.

Theorem (Lipshitz’78, Lechner-Ouaknine-Worrell’15)

The existential fragment of PAD (EPAD) is decidable in NEXP.

Guillermo A. P´ erez 11/27

slide-32
SLIDE 32

∀∃RPAD & Undecidability

◮ ∀∃RPAD := ∀z1 . . . ∀zn∃x1 . . . ∃xm. ϕ(x, z)

◮ divisibilities of the form f (z) | g(x, z)

Guillermo A. P´ erez 12/27

slide-33
SLIDE 33

∀∃RPAD & Undecidability

◮ ∀∃RPAD := ∀z1 . . . ∀zn∃x1 . . . ∃xm. ϕ(x, z)

◮ divisibilities of the form f (z) | g(x, z)

◮ ∀∃RPAD+ := ∀∃RPAD with ¬ not allowed before divisibility.

Guillermo A. P´ erez 12/27

slide-34
SLIDE 34

∀∃RPAD & Undecidability

◮ ∀∃RPAD := ∀z1 . . . ∀zn∃x1 . . . ∃xm. ϕ(x, z)

◮ divisibilities of the form f (z) | g(x, z)

◮ ∀∃RPAD+ := ∀∃RPAD with ¬ not allowed before divisibility.

Claim (Bozga-Iosif’05, Lechner’15)

SynthReach for SOCAP is decidable by a reduction to ∀∃RPAD+.

Guillermo A. P´ erez 12/27

slide-35
SLIDE 35

∀∃RPAD & Undecidability

◮ ∀∃RPAD := ∀z1 . . . ∀zn∃x1 . . . ∃xm. ϕ(x, z)

◮ divisibilities of the form f (z) | g(x, z)

◮ ∀∃RPAD+ := ∀∃RPAD with ¬ not allowed before divisibility.

Claim (Bozga-Iosif’05, Lechner’15)

SynthReach for SOCAP is decidable by a reduction to ∀∃RPAD+. ∀∃RPAD ≡ ∀∃RPAD+

Guillermo A. P´ erez 12/27

slide-36
SLIDE 36

∀∃RPAD & Undecidability

◮ ∀∃RPAD := ∀z1 . . . ∀zn∃x1 . . . ∃xm. ϕ(x, z)

◮ divisibilities of the form f (z) | g(x, z)

◮ ∀∃RPAD+ := ∀∃RPAD with ¬ not allowed before divisibility.

Claim (Bozga-Iosif’05, Lechner’15)

SynthReach for SOCAP is decidable by a reduction to ∀∃RPAD+. ∀∃RPAD ≡ ∀∃RPAD+ Idea: We have to rewrite ¬(a | b)

Guillermo A. P´ erez 12/27

slide-37
SLIDE 37

∀∃RPAD & Undecidability

◮ ∀∃RPAD := ∀z1 . . . ∀zn∃x1 . . . ∃xm. ϕ(x, z)

◮ divisibilities of the form f (z) | g(x, z)

◮ ∀∃RPAD+ := ∀∃RPAD with ¬ not allowed before divisibility.

Claim (Bozga-Iosif’05, Lechner’15)

SynthReach for SOCAP is decidable by a reduction to ∀∃RPAD+. ∀∃RPAD ≡ ∀∃RPAD+ Idea: We have to rewrite ¬(a | b) ¬(a | b) ≡ b = aq + r where, 0 < r < b.

Guillermo A. P´ erez 12/27

slide-38
SLIDE 38

∀∃RPAD & Undecidability

Theorem (Bozga-Iosif’05)

∀∃RPAD is undecidable. Idea: Using the single restricted alternation we define

  • 1. LCM

Guillermo A. P´ erez 13/27

slide-39
SLIDE 39

∀∃RPAD & Undecidability

Theorem (Bozga-Iosif’05)

∀∃RPAD is undecidable. Idea: Using the single restricted alternation we define

  • 1. LCM
  • 2. Square (x2)

Guillermo A. P´ erez 13/27

slide-40
SLIDE 40

∀∃RPAD & Undecidability

Theorem (Bozga-Iosif’05)

∀∃RPAD is undecidable. Idea: Using the single restricted alternation we define

  • 1. LCM
  • 2. Square (x2)
  • 3. Multiplication

Undecidable!!

Guillermo A. P´ erez 13/27

slide-41
SLIDE 41

Decision Problems

Non-Parametric: ∃ρ such that (qin, 0)

ρ

− → qf Reach [NP-complete (HKOW’09)] For all infinite ρ, (qin, 0)

ρ

− → qf UnivReach [coNP-complete] Parametric: ∃V : X → N s.t. ∃ρ, (qin, 0)

ρ

− →V qf Par-Reach [in NEXP (HKOW’09,LOW’15)] ∃V s.t. for all infinite ρ, (qin, 0)

ρ

− →V qf SynthReach

Guillermo A. P´ erez 14/27

slide-42
SLIDE 42

Outline

  • 1. One-Counter Automata (Parametric) and Synthesis Problem
  • 2. Previous Approach
  • 3. Approach with Alternating Two-Way Automata for a subclass
  • 4. Approach with Partial Observation Games

Guillermo A. P´ erez 15/27

slide-43
SLIDE 43

Alternating Two-Way Automaton

q1 q2 q3 q4 q5 w = abω a a b b b b a

Guillermo A. P´ erez 16/27

slide-44
SLIDE 44

Alternating Two-Way Automaton

q1 q2 q3 q4 q5 w = abω ∨ a b b b b a

Guillermo A. P´ erez 16/27

slide-45
SLIDE 45

Alternating Two-Way Automaton

q1 q2 q3 q4 q5 w = abω ∧ a b b b b a

Guillermo A. P´ erez 16/27

slide-46
SLIDE 46

Alternating Two-Way Automaton

q1 q2 q3 q4 q5 w = abω ∧ a

+ 1 + 1

b, +1 a, +1 b, +1 b, +1 b, +1

Guillermo A. P´ erez 16/27

slide-47
SLIDE 47

Alternating Two-Way Automaton

q1 q2 q3 q4 q5 w = abω ∧ a

+ 1 + 1

b, +1 a, +1 b, +1 b, +1 b, +1 b, +1 a, +1

Guillermo A. P´ erez 16/27

slide-48
SLIDE 48

Alternating Two-Way Automaton

q1 q2 q3 q4 q5 w = abω ∧ a

+ 1 + 1

b, +1 a, +1 b, +1 b, +1 b, −1

Guillermo A. P´ erez 16/27

slide-49
SLIDE 49

Alternating Two-Way Automaton

q1 q2 q3 q4 q5 w = abω ∧ a

+ 1 + 1

b, +1 a, +1 b, +1 b, +1 b, −1

Theorem (Serre’06)

The non-emptiness problem for A2As is in PSPACE.

Guillermo A. P´ erez 16/27

slide-50
SLIDE 50

From OCAPT to A2A

Op = {−1, 0, +1} ∪ ZT ∪ PT

Guillermo A. P´ erez 17/27

slide-51
SLIDE 51

From OCAPT to A2A

Op = {−1, 0, +1} ∪ ZT ∪ PT

Proposition (Based on Bollig-Quaas-Sangnier’19)

For every OCAPT A we construct an A2A T of poly-size which accepts words corresponding to valuations that witness SynthReach is true.

Guillermo A. P´ erez 17/27

slide-52
SLIDE 52

From OCAPT to A2A

Op = {−1, 0, +1} ∪ ZT ∪ PT

Proposition (Based on Bollig-Quaas-Sangnier’19)

For every OCAPT A we construct an A2A T of poly-size which accepts words corresponding to valuations that witness SynthReach is true. Idea:

Guillermo A. P´ erez 17/27

slide-53
SLIDE 53

From OCAPT to A2A

Op = {−1, 0, +1} ∪ ZT ∪ PT

Proposition (Based on Bollig-Quaas-Sangnier’19)

For every OCAPT A we construct an A2A T of poly-size which accepts words corresponding to valuations that witness SynthReach is true. Idea: ◮ Encode valuations as parameter words

Guillermo A. P´ erez 17/27

slide-54
SLIDE 54

From OCAPT to A2A

Op = {−1, 0, +1} ∪ ZT ∪ PT

Proposition (Based on Bollig-Quaas-Sangnier’19)

For every OCAPT A we construct an A2A T of poly-size which accepts words corresponding to valuations that witness SynthReach is true. Idea: ◮ Encode valuations as parameter words ◮ For every transition we build an A2A

Guillermo A. P´ erez 17/27

slide-55
SLIDE 55

From OCAPT to A2A

Op = {−1, 0, +1} ∪ ZT ∪ PT

Proposition (Based on Bollig-Quaas-Sangnier’19)

For every OCAPT A we construct an A2A T of poly-size which accepts words corresponding to valuations that witness SynthReach is true. Idea: ◮ Encode valuations as parameter words ◮ For every transition we build an A2A ◮ Accept the reaching runs ◮ (. . . and runs that “die off”)

Guillermo A. P´ erez 17/27

slide-56
SLIDE 56

OCAPT to A2A

Valuation to words:

Guillermo A. P´ erez 18/27

slide-57
SLIDE 57

OCAPT to A2A

Valuation to words: V : X → N; Σ = X ∪ {};

Guillermo A. P´ erez 18/27

slide-58
SLIDE 58

OCAPT to A2A

Valuation to words: V : X → N; Σ = X ∪ {};

  • Guillermo A. P´

erez 18/27

slide-59
SLIDE 59

OCAPT to A2A

Valuation to words: V : X → N; Σ = X ∪ {}; x1x2ω

Guillermo A. P´ erez 18/27

slide-60
SLIDE 60

OCAPT to A2A

Valuation to words: V : X → N; Σ = X ∪ {}; x1x2ω ⇒ x1 → 2, x2 → 3;

Guillermo A. P´ erez 18/27

slide-61
SLIDE 61

OCAPT to A2A

Valuation to words: V : X → N; Σ = X ∪ {}; x1x2ω ⇒ x1 → 2, x2 → 3; Op to A2A:

Guillermo A. P´ erez 18/27

slide-62
SLIDE 62

OCAPT to A2A

Valuation to words: V : X → N; Σ = X ∪ {}; x1x2ω ⇒ x1 → 2, x2 → 3; Op to A2A:

q ∨ ∧ q′ violation validation s i m u l a t i

  • n

Guillermo A. P´ erez 18/27

slide-63
SLIDE 63

OCAPT to A2A

Valuation to words: V : X → N; Σ = X ∪ {}; x1x2ω ⇒ x1 → 2, x2 → 3; Op to A2A:

q ∨ ∧ q′ violation validation s i m u l a t i

  • n

Accept reaching runs:

qf true Guillermo A. P´ erez 18/27

slide-64
SLIDE 64

OCAPT to A2A

  • Encoding Equality Test:

Guillermo A. P´ erez 19/27

slide-65
SLIDE 65

OCAPT to A2A

  • Encoding Equality Test:

q ∨ ∧ q′ true

  • +1

+1 x

  • X\{x}, +1

X\{x}, +1

Guillermo A. P´ erez 19/27

slide-66
SLIDE 66

OCAPT to A2A

  • Encoding Decrement:

Guillermo A. P´ erez 20/27

slide-67
SLIDE 67

OCAPT to A2A

  • Encoding Decrement:

∨ q q′ true

  • −1

, 0 x, −1 first?

Guillermo A. P´ erez 20/27

slide-68
SLIDE 68

OCAPT to A2A

We want to check all runs:

Guillermo A. P´ erez 21/27

slide-69
SLIDE 69

OCAPT to A2A

We want to check all runs: q

  • p1

− − → q1 ⇒ (q, , T1)

Guillermo A. P´ erez 21/27

slide-70
SLIDE 70

OCAPT to A2A

We want to check all runs: q

  • p1

− − → q1 ⇒ (q, , T1) q

  • p2

− − → q2 ⇒ (q, , T2)

Guillermo A. P´ erez 21/27

slide-71
SLIDE 71

OCAPT to A2A

We want to check all runs: q

  • p1

− − → q1 ⇒ (q, , T1) q

  • p2

− − → q2 ⇒ (q, , T2) (q, , T1 ∧ T2) ∈ T

Guillermo A. P´ erez 21/27

slide-72
SLIDE 72

OCAPT to A2A

Proposition

SynthReach for OCAPT is in PSPACE.

Guillermo A. P´ erez 22/27

slide-73
SLIDE 73

OCAPT to A2A

Proposition

SynthReach for OCAPT is in PSPACE. ◮ For every A2A T there is an NBA B of exponential size accepting same language ◮ Non-emptiness witnesses for NBAs are simple “lassos” ◮ = ⇒ SynthReach admits exponential (w.r.t. the OCAPT) witnesses and thus polynomial in binary encoding

Guillermo A. P´ erez 22/27

slide-74
SLIDE 74

OCAPT to A2A

Proposition

SynthReach for OCAPT is in PSPACE. ◮ For every A2A T there is an NBA B of exponential size accepting same language ◮ Non-emptiness witnesses for NBAs are simple “lassos” ◮ = ⇒ SynthReach admits exponential (w.r.t. the OCAPT) witnesses and thus polynomial in binary encoding ◮ Guess a valuation and check UnivReach for resulting SOCA

Theorem

SynthReach for OCAPT is in NPcoNP.

Guillermo A. P´ erez 22/27

slide-75
SLIDE 75

Outline

  • 1. One-Counter Automata (Parametric) and Synthesis Problem
  • 2. Previous Approach
  • 3. Approach with Alternating Two-Way Automata for a subclass
  • 4. Approach with Partial Observation Games

Guillermo A. P´ erez 23/27

slide-76
SLIDE 76

Partial Observation Energy Games

a, 4 a, 1

b, −5 a, −2 a, −3 b, 0 Σ, 0 Σ, 0 Σ, 0

Guillermo A. P´ erez 24/27

slide-77
SLIDE 77

Partial Observation Energy Games

a, 4 a, 1

b, −5 a, −2 a, −3 b, 0 Σ, 0 Σ, 0 Σ, 0

Guillermo A. P´ erez 24/27

slide-78
SLIDE 78

Partial Observation Energy Games

a, 4 a, 1

b, −5 a, −2 a, −3 b, 0 Σ, 0 Σ, 0 Σ, 0

◮ Chooses an action ◮ Resolves non-determinism

Guillermo A. P´ erez 24/27

slide-79
SLIDE 79

Partial Observation Energy Games

a, 4 a, 1

b, −5 a, −2 a, −3 b, 0 Σ, 0 Σ, 0 Σ, 0

◮ Chooses an action ◮ Keeps the energy level positive ◮ Resolves non-determinism ◮ Wants it eventually negative

Guillermo A. P´ erez 24/27

slide-80
SLIDE 80

Partial Observation Energy Games

a, 4 a, 1

b, −5 a, −2 a, −3 b, 0 Σ, 0 Σ, 0 Σ, 0

◮ Chooses an action ◮ Keeps the energy level positive ◮ Resolves non-determinism ◮ Wants it eventually negative

Guillermo A. P´ erez 24/27

slide-81
SLIDE 81

SOCAP to POEG

Claim

For every SOCAP A we construct a POEG which Eve wins iff for all valuations V there exists a reaching run of A.

Guillermo A. P´ erez 25/27

slide-82
SLIDE 82

SOCAP to POEG

Claim

For every SOCAP A we construct a POEG which Eve wins iff for all valuations V there exists a reaching run of A. Idea: ◮ Adam chooses valuations, Eve simulates a reaching run

Guillermo A. P´ erez 25/27

slide-83
SLIDE 83

SOCAP to POEG

Claim

For every SOCAP A we construct a POEG which Eve wins iff for all valuations V there exists a reaching run of A. Idea: ◮ Adam chooses valuations, Eve simulates a reaching run ◮ We create gadgets in the game simulating Op

Guillermo A. P´ erez 25/27

slide-84
SLIDE 84

SOCAP to POEG

Claim

For every SOCAP A we construct a POEG which Eve wins iff for all valuations V there exists a reaching run of A. Idea: ◮ Adam chooses valuations, Eve simulates a reaching run ◮ We create gadgets in the game simulating Op ◮ The PO helps Adam force Eve to simulate runs faithfully

Guillermo A. P´ erez 25/27

slide-85
SLIDE 85

SOCAP to POEG

Claim

For every SOCAP A we construct a POEG which Eve wins iff for all valuations V there exists a reaching run of A. Idea: ◮ Adam chooses valuations, Eve simulates a reaching run ◮ We create gadgets in the game simulating Op ◮ The PO helps Adam force Eve to simulate runs faithfully

Conjecture

SynthReach problem for SOCAP is decidable.

Guillermo A. P´ erez 25/27

slide-86
SLIDE 86

Decision Problems

Non-Parametric: ∃ρ such that (qin, 0)

ρ

− → qf Reach [NP-complete] For all infinite ρ, (qin, 0)

ρ

− → qf UnivReach [coNP-complete] Parametric: ∃V : X → N s.t. ∃ρ, (qin, 0)

ρ

− →V qf Par-Reach [in NEXP] ∃V s.t. for all infinite ρ, (qin, 0)

ρ

− →V qf SynthReach [Decidable?]

Guillermo A. P´ erez 26/27

slide-87
SLIDE 87

Conclusion

◮ If parameters are only allowed on tests, the problem is in NPNP ◮ In full generality, for SOCAP it is still open

Guillermo A. P´ erez 27/27