Handling Infinitely Branching WSTS Michael Blondin 1 2 , Alain Finkel - - PowerPoint PPT Presentation

handling infinitely branching wsts
SMART_READER_LITE
LIVE PREVIEW

Handling Infinitely Branching WSTS Michael Blondin 1 2 , Alain Finkel - - PowerPoint PPT Presentation

Introduction WSTS completion Applications Conclusion Handling Infinitely Branching WSTS Michael Blondin 1 2 , Alain Finkel 1 & Pierre McKenzie 1 2 1 LSV, ENS Cachan 2 DIRO, Universit de Montral PV 2015, Madrid, September 4, 2015 1 / 24


slide-1
SLIDE 1

Introduction WSTS completion Applications Conclusion

Handling Infinitely Branching WSTS

Michael Blondin 1 2, Alain Finkel1 & Pierre McKenzie 1 2

1LSV, ENS Cachan 2DIRO, Université de Montréal

PV 2015, Madrid, September 4, 2015

1 / 24

slide-2
SLIDE 2

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition systems (WSTS) encompass a large number of infinite state systems. Example of WSTS: Petri nets (Geeraerts, Heußner, Praveen & Raskin PN’13)

2 / 24

slide-3
SLIDE 3

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition systems (WSTS) encompass a large number of infinite state systems. Example of WSTS: Petri nets (Geeraerts, Heußner, Praveen & Raskin PN’13)

2 / 24

slide-4
SLIDE 4

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition systems (WSTS) encompass a large number of infinite state systems. Example of WSTS: Petri nets (Geeraerts, Heußner, Praveen & Raskin PN’13)

2 / 24

slide-5
SLIDE 5

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Multiple decidability results are known for finitely branching WSTS. Example of WSTS: Petri nets (Geeraerts, Heußner, Praveen & Raskin PN’13)

Post( ) =

2 / 24

slide-6
SLIDE 6

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

How to handle infinitely branching WSTS such as systems with infinitely many initial states, and parametric systems? Example of WSTS: ω–Petri nets (Geeraerts, Heußner, Praveen & Raskin PN’13) ω

2 / 24

slide-7
SLIDE 7

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

How to handle infinitely branching WSTS such as systems with infinitely many initial states, and parametric systems? Example of WSTS: ω–Petri nets (Geeraerts, Heußner, Praveen & Raskin PN’13) ω

2 / 24

slide-8
SLIDE 8

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

How to handle infinitely branching WSTS such as systems with infinitely many initial states, and parametric systems? Example of WSTS: ω–Petri nets (Geeraerts, Heußner, Praveen & Raskin PN’13) ω

2 / 24

slide-9
SLIDE 9

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

How to handle infinitely branching WSTS such as systems with infinitely many initial states, and parametric systems? Example of WSTS: ω–Petri nets (Geeraerts, Heußner, Praveen & Raskin PN’13) ω

2 / 24

slide-10
SLIDE 10

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

How to handle infinitely branching WSTS such as systems with infinitely many initial states, and parametric systems? Example of WSTS: ω–Petri nets (Geeraerts, Heußner, Praveen & Raskin PN’13) ω

2 / 24

slide-11
SLIDE 11

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

How to handle infinitely branching WSTS such as systems with infinitely many initial states, and parametric systems? Example of WSTS: ω–Petri nets (Geeraerts, Heußner, Praveen & Raskin PN’13) ω

Post( ) =

, , , . . .

2 / 24

slide-12
SLIDE 12

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition system (Finkel ICALP’87, Finkel & Schnoebelen TCS’01) S = (X, − →, ≤) where X set, − → ⊆X × X, monotony, well-quasi-ordered.

3 / 24

slide-13
SLIDE 13

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition system (Finkel ICALP’87, Finkel & Schnoebelen TCS’01) S = (X, − →, ≤) where N3, − → ⊆X × X, monotony, well-quasi-ordered.

3 / 24

slide-14
SLIDE 14

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition system (Finkel ICALP’87, Finkel & Schnoebelen TCS’01) S = (X, − →, ≤) where X set, − → ⊆N3 × N3, monotony, well-quasi-ordered.

3 / 24

slide-15
SLIDE 15

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition system (Finkel ICALP’87, Finkel & Schnoebelen TCS’01) S = (X, − →, ≤) where X set, − → ⊆X × X, monotony, well-quasi-ordered.

  • 3 / 24
slide-16
SLIDE 16

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition system (Finkel ICALP’87, Finkel & Schnoebelen TCS’01) S = (X, − →, ≤) where X set, − → ⊆X × X, monotony, well-quasi-ordered.

  • 3 / 24
slide-17
SLIDE 17

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition system (Finkel ICALP’87, Finkel & Schnoebelen TCS’01) S = (X, − →, ≤) where X set, − → ⊆X × X, monotony, well-quasi-ordered.

  • 3 / 24
slide-18
SLIDE 18

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition system (Finkel ICALP’87, Finkel & Schnoebelen TCS’01) S = (X, − →, ≤) where X set, − → ⊆X × X, monotony, well-quasi-ordered. ∀ x − → y

  • x′

− → y′ ∃

3 / 24

slide-19
SLIDE 19

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition system (Finkel ICALP’87, Finkel & Schnoebelen TCS’01) S = (X, − →, ≤) where X set, − → ⊆X × X, transitive monotony, well-quasi-ordered. ∀ x − → y

  • x′

+

− → y′ ∃

3 / 24

slide-20
SLIDE 20

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition system (Finkel ICALP’87, Finkel & Schnoebelen TCS’01) S = (X, − →, ≤) where X set, − → ⊆X × X, strong monotony, well-quasi-ordered. ∀ x − → y

  • x′

− → y′ ∃

3 / 24

slide-21
SLIDE 21

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Well-structured transition system (Finkel ICALP’87, Finkel & Schnoebelen TCS’01) S = (X, − →, ≤) where X set, − → ⊆X × X, monotony, well-quasi-ordered: ∀x0, x1, . . . ∃i < j s.t. xi ≤ xj.

3 / 24

slide-22
SLIDE 22

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Branching A WSTS (X, − →, ≤) is finitely branching if Post(x) is finite for every x ∈ X.

4 / 24

slide-23
SLIDE 23

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Branching A WSTS (X, − →, ≤) is finitely branching if Post(x) is finite for every x ∈ X. Some finitely branching WSTS Petri nets, vector addition systems,

4 / 24

slide-24
SLIDE 24

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Branching A WSTS (X, − →, ≤) is finitely branching if Post(x) is finite for every x ∈ X. Some finitely branching WSTS Petri nets, vector addition systems, Counter machines with affine updates,

4 / 24

slide-25
SLIDE 25

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Branching A WSTS (X, − →, ≤) is finitely branching if Post(x) is finite for every x ∈ X. Some finitely branching WSTS Petri nets, vector addition systems, Counter machines with affine updates, Lossy channel systems (Abdulla, Cerans, Jonsson & Tsay LICS’96),

4 / 24

slide-26
SLIDE 26

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Branching A WSTS (X, − →, ≤) is finitely branching if Post(x) is finite for every x ∈ X. Some finitely branching WSTS Petri nets, vector addition systems, Counter machines with affine updates, Lossy channel systems (Abdulla, Cerans, Jonsson & Tsay LICS’96), Much more.

4 / 24

slide-27
SLIDE 27

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Branching A WSTS (X, − →, ≤) is finitely branching if Post(x) is finite for every x ∈ X. Some infinitely branching WSTS Inserting FIFO automata (Cécé, Finkel, Iyer IC’96),

4 / 24

slide-28
SLIDE 28

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Branching A WSTS (X, − →, ≤) is finitely branching if Post(x) is finite for every x ∈ X. Some infinitely branching WSTS Inserting FIFO automata (Cécé, Finkel, Iyer IC’96), Inserting automata (Bouyer, Markey, Ouaknine, Schnoebelen, Worrell

FAC’12),

4 / 24

slide-29
SLIDE 29

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Branching A WSTS (X, − →, ≤) is finitely branching if Post(x) is finite for every x ∈ X. Some infinitely branching WSTS Inserting FIFO automata (Cécé, Finkel, Iyer IC’96), Inserting automata (Bouyer, Markey, Ouaknine, Schnoebelen, Worrell

FAC’12),

ω-Petri nets (Geeraerts, Heussner, Praveen & Raskin PN’13),

4 / 24

slide-30
SLIDE 30

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Branching A WSTS (X, − →, ≤) is finitely branching if Post(x) is finite for every x ∈ X. Some infinitely branching WSTS Inserting FIFO automata (Cécé, Finkel, Iyer IC’96), Inserting automata (Bouyer, Markey, Ouaknine, Schnoebelen, Worrell

FAC’12),

ω-Petri nets (Geeraerts, Heussner, Praveen & Raskin PN’13), Parametric WSTS.

4 / 24

slide-31
SLIDE 31

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Proposition Finite branching is undecidable for post-effective WSTS.

5 / 24

slide-32
SLIDE 32

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Proposition Finite branching is undecidable for post-effective WSTS. Proof Let Si = (N, − →Si, ≤) be the WSTS such that:

x − →Si x + 1 if TMi does not halt within ≤ x steps, x − →Si 0, 1, 2, . . . otherwise.

5 / 24

slide-33
SLIDE 33

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Proposition Finite branching is undecidable for post-effective WSTS. Proof Let Si = (N, − →Si, ≤) be the WSTS such that:

x − →Si x + 1 if TMi does not halt within ≤ x steps, x − →Si 0, 1, 2, . . . otherwise.

Si is post-effective (the cardinal of PostSi(x) is computable). Si has strong and strict monotony since x − →Si x + 1 for every x ∈ N.

5 / 24

slide-34
SLIDE 34

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Proposition Finite branching is undecidable for post-effective WSTS. Proof Let Si = (N, − →Si, ≤) be the WSTS such that:

x − →Si x + 1 if TMi does not halt within ≤ x steps, x − →Si 0, 1, 2, . . . otherwise.

Si is post-effective (the cardinal of PostSi(x) is computable). Si has strong and strict monotony since x − →Si x + 1 for every x ∈ N. TMi halts iff there exist x ∈ N and an execution 0 ∗ − →Si x such that PostSi(x) is infinite. The halting problem thus Turing-reduces to the infinite branching problem.

5 / 24

slide-35
SLIDE 35

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Objective We want to study the usual reachability problems for these infinitely branching systems, e.g.,

6 / 24

slide-36
SLIDE 36

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Objective We want to study the usual reachability problems for these infinitely branching systems, e.g., Termination,

6 / 24

slide-37
SLIDE 37

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Objective We want to study the usual reachability problems for these infinitely branching systems, e.g., Termination, Coverability,

6 / 24

slide-38
SLIDE 38

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Objective We want to study the usual reachability problems for these infinitely branching systems, e.g., Termination, Coverability, Boundedness.

6 / 24

slide-39
SLIDE 39

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Termination Input: (X, − →, ≤) a WSTS, x0 ∈ X. Question: ∃x0 − → x1 − → x2 − → . . .?

7 / 24

slide-40
SLIDE 40

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Termination Input: (X, − →, ≤) a WSTS, x0 ∈ X. Question: ∃x0 − → x1 − → x2 − → . . .? Theorem (Finkel ICALP’87) Termination is decidable for finitely branching WSTS with transitive monotony.

7 / 24

slide-41
SLIDE 41

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Termination Input: (X, − →, ≤) a WSTS, x0 ∈ X. Question: ∃x0 − → x1 − → x2 − → . . .? Theorem (deduced from Dufourd, Jančar & Schnoebelen ICALP’99) Termination is undecidable for infinitely branching WSTS.

7 / 24

slide-42
SLIDE 42

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Strong termination Input: (X, − →, ≤) a WSTS, x0 ∈ X. Question: ∃k bounding length of executions from x0?

8 / 24

slide-43
SLIDE 43

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Strong termination Input: (X, − →, ≤) a WSTS, x0 ∈ X. Question: ∃k bounding length of executions from x0? Remark Strong termination and termination are the same in finitely branching WSTS.

8 / 24

slide-44
SLIDE 44

Introduction WSTS completion Applications Conclusion Overview WSTS Reachability problems

Strong termination Input: (X, − →, ≤) a WSTS, x0 ∈ X. Question: ∃k bounding length of executions from x0? Theorem Strong termination is decidable for infinitely branching WSTS under some assumptions.

8 / 24

slide-45
SLIDE 45

Introduction WSTS completion Applications Conclusion Ideals Completion

Issues with finite branching techniques Some techniques for WSTS based on finite reachability trees; impossible for infinite branching. Some rely on upward closed sets; what about downward closed, in particular with infinite branching?

9 / 24

slide-46
SLIDE 46

Introduction WSTS completion Applications Conclusion Ideals Completion

Issues with finite branching techniques Some techniques for WSTS based on finite reachability trees; impossible for infinite branching. Some rely on upward closed sets; what about downward closed, in particular with infinite branching? A tool Develop from the WSTS completion introduced by Finkel & Goubault-Larrecq in STACS’09 and ICALP’09.

9 / 24

slide-47
SLIDE 47

Introduction WSTS completion Applications Conclusion Ideals Completion

Ideals I ⊆ X is an ideal if downward closed: I = ↓ I,

10 / 24

slide-48
SLIDE 48

Introduction WSTS completion Applications Conclusion Ideals Completion

Ideals I ⊆ X is an ideal if downward closed: I = ↓ I, directed: a, b ∈ I = ⇒ ∃c ∈ I s.t. a ≤ c and b ≤ c.

10 / 24

slide-49
SLIDE 49

Introduction WSTS completion Applications Conclusion Ideals Completion

Ideals I ⊆ X is an ideal if downward closed: I = ↓ I, directed: a, b ∈ I = ⇒ ∃c ∈ I s.t. a ≤ c and b ≤ c.

10 / 24

slide-50
SLIDE 50

Introduction WSTS completion Applications Conclusion Ideals Completion

Ideals I ⊆ X is an ideal if downward closed: I = ↓ I, directed: a, b ∈ I = ⇒ ∃c ∈ I s.t. a ≤ c and b ≤ c.

10 / 24

slide-51
SLIDE 51

Introduction WSTS completion Applications Conclusion Ideals Completion

Theorem (Finkel & Goubault-Larrecq ICALP’09; Goubault-Larrecq ’14) D downward closed = ⇒ D =

  • finite

Ideals

11 / 24

slide-52
SLIDE 52

Introduction WSTS completion Applications Conclusion Ideals Completion

Theorem (Finkel & Goubault-Larrecq ICALP’09; Goubault-Larrecq ’14) D downward closed = ⇒ D =

  • finite

Ideals Corollary Every downward closed set decomposes canonically as the union of its maximal ideals.

11 / 24

slide-53
SLIDE 53

Introduction WSTS completion Applications Conclusion Ideals Completion

Completion The completion of S = (X, − →S, ≤) is S = ( X, − →

S, ⊆) such that

12 / 24

slide-54
SLIDE 54

Introduction WSTS completion Applications Conclusion Ideals Completion

Completion The completion of S = (X, − →S, ≤) is S = ( X, − →

S, ⊆) such that

  • X = Ideals(X),

12 / 24

slide-55
SLIDE 55

Introduction WSTS completion Applications Conclusion Ideals Completion

Completion The completion of S = (X, − →S, ≤) is S = ( X, − →

S, ⊆) such that

  • X = Ideals(X),

I − →

S J if ↓ Post(I) =

. . . ∪ J ∪ . . .

  • canonical decomposition

12 / 24

slide-56
SLIDE 56

Introduction WSTS completion Applications Conclusion Ideals Completion

Theorem Let S = (X, − →S, ≤) be a WSTS, then S = ( X, − →

S, ⊆) is such

that:

  • S is finitely branching,

13 / 24

slide-57
SLIDE 57

Introduction WSTS completion Applications Conclusion Ideals Completion

Theorem Let S = (X, − →S, ≤) be a WSTS, then S = ( X, − →

S, ⊆) is such

that:

  • S is finitely branching,
  • S has (strong) monotony,

13 / 24

slide-58
SLIDE 58

Introduction WSTS completion Applications Conclusion Ideals Completion

Theorem Let S = (X, − →S, ≤) be a WSTS, then S = ( X, − →

S, ⊆) is such

that:

  • S is finitely branching,
  • S has (strong) monotony,
  • S is not always a WSTS (Jančar IPL’99).

13 / 24

slide-59
SLIDE 59

Introduction WSTS completion Applications Conclusion Ideals Completion

Theorem Let S = (X, − →S, ≤) be a WSTS, then S = ( X, − →

S, ⊆) is such

that:

  • S is finitely branching,
  • S has (strong) monotony,
  • S is not always a WSTS (Jančar IPL’99).

Jančar IPL’99 A wqo ≤ is a ω2-wqo iff ≤# is a wqo, where ≤# is the Hoare

  • rdering defined by A ≤# B iff ↑ B ⊆↑ A.

13 / 24

slide-60
SLIDE 60

Introduction WSTS completion Applications Conclusion Ideals Completion

Theorem Let S = (X, − →S, ≤) be a WSTS, then S = ( X, − →

S, ⊆) is such

that:

  • S is finitely branching,
  • S has (strong) monotony,
  • S is not always a WSTS (Jančar IPL’99).

Jančar IPL’99 A wqo ≤ is a ω2-wqo iff ≤# is a wqo, where ≤# is the Hoare

  • rdering defined by A ≤# B iff ↑ B ⊆↑ A.

Theorem Let S be a WSTS, then S is a WSTS iff S is a ω2-WSTS.

13 / 24

slide-61
SLIDE 61

Introduction WSTS completion Applications Conclusion Termination Coverability

Relating executions of S and S Let S = (X, − →S, ≤) be a WSTS, then if x

k

− →S y,

14 / 24

slide-62
SLIDE 62

Introduction WSTS completion Applications Conclusion Termination Coverability

Relating executions of S and S Let S = (X, − →S, ≤) be a WSTS, then if x

k

− →S y, then for every ideal I ⊇ ↓ x

14 / 24

slide-63
SLIDE 63

Introduction WSTS completion Applications Conclusion Termination Coverability

Relating executions of S and S Let S = (X, − →S, ≤) be a WSTS, then if x

k

− →S y, then for every ideal I ⊇ ↓ x there exists an ideal J ⊇ ↓ y

14 / 24

slide-64
SLIDE 64

Introduction WSTS completion Applications Conclusion Termination Coverability

Relating executions of S and S Let S = (X, − →S, ≤) be a WSTS, then if x

k

− →S y, then for every ideal I ⊇ ↓ x there exists an ideal J ⊇ ↓ y such that I

k

− →

S J,

14 / 24

slide-65
SLIDE 65

Introduction WSTS completion Applications Conclusion Termination Coverability

Relating executions of S and S Let S = (X, − →S, ≤) be a WSTS, then if x

k

− →S y, then for every ideal I ⊇ ↓ x there exists an ideal J ⊇ ↓ y such that I

k

− →

S J,

if I

k

− →

S J,

14 / 24

slide-66
SLIDE 66

Introduction WSTS completion Applications Conclusion Termination Coverability

Relating executions of S and S Let S = (X, − →S, ≤) be a WSTS, then if x

k

− →S y, then for every ideal I ⊇ ↓ x there exists an ideal J ⊇ ↓ y such that I

k

− →

S J,

if I

k

− →

S J, then for every y ∈ J

14 / 24

slide-67
SLIDE 67

Introduction WSTS completion Applications Conclusion Termination Coverability

Relating executions of S and S Let S = (X, − →S, ≤) be a WSTS, then if x

k

− →S y, then for every ideal I ⊇ ↓ x there exists an ideal J ⊇ ↓ y such that I

k

− →

S J,

if I

k

− →

S J, then for every y ∈ J there exists x ∈ I

14 / 24

slide-68
SLIDE 68

Introduction WSTS completion Applications Conclusion Termination Coverability

Relating executions of S and S Let S = (X, − →S, ≤) be a WSTS, then if x

k

− →S y, then for every ideal I ⊇ ↓ x there exists an ideal J ⊇ ↓ y such that I

k

− →

S J,

if I

k

− →

S J, then for every y ∈ J there exists x ∈ I such that

x

− →S y′ ≥ y.

14 / 24

slide-69
SLIDE 69

Introduction WSTS completion Applications Conclusion Termination Coverability

Relating executions of S and S Let S = (X, − →S, ≤) be a WSTS with transitive monotony, then if x

k

− →S y, then for every ideal I ⊇ ↓ x there exists an ideal J ⊇ ↓ y such that I

k

− →

S J,

if I

k

− →

S J, then for every y ∈ J there exists x ∈ I such that

x

≥k

− − →S y′ ≥ y.

14 / 24

slide-70
SLIDE 70

Introduction WSTS completion Applications Conclusion Termination Coverability

Relating executions of S and S Let S = (X, − →S, ≤) be a WSTS with strong monotony, then if x

k

− →S y, then for every ideal I ⊇ ↓ x there exists an ideal J ⊇ ↓ y such that I

k

− →

S J,

if I

k

− →

S J, then for every y ∈ J there exists x ∈ I such that

x

k

− →S y′ ≥ y.

14 / 24

slide-71
SLIDE 71

Introduction WSTS completion Applications Conclusion Termination Coverability

Relations between S and S

A generality The completion S = ( X, − →

S, ⊆) computes exactly the downward

closure of the reachability set of its original system S = (X, − →S, ≤). An equality We have: Post∗

  • S(↓ x)= ↓ Post∗

S(x).

In fact, it is more exactly: Theorem If Post∗

  • S(↓ x) = {J1, . . . , Jn} then ↓ Post∗

S(x) = J1 ∪ . . . ∪ Jn.

15 / 24

slide-72
SLIDE 72

Introduction WSTS completion Applications Conclusion Termination Coverability

Theorem Strong termination is decidable for infinitely branching WSTS with transitive monotony and such that S is a post-effective WSTS.

16 / 24

slide-73
SLIDE 73

Introduction WSTS completion Applications Conclusion Termination Coverability

Theorem Strong termination is decidable for infinitely branching WSTS with transitive monotony and such that S is a post-effective WSTS. Post-effectiveness Possible to compute cardinality of

Post( ) =

, , , . . .

16 / 24

slide-74
SLIDE 74

Introduction WSTS completion Applications Conclusion Termination Coverability

Theorem Strong termination is decidable for infinitely branching WSTS with transitive monotony and such that S is a post-effective WSTS. Proof Executions bounded in S iff bounded in S.

16 / 24

slide-75
SLIDE 75

Introduction WSTS completion Applications Conclusion Termination Coverability

Theorem Strong termination is decidable for infinitely branching WSTS with transitive monotony and such that S is a post-effective WSTS. Proof Executions bounded in S iff bounded in S.

  • S finitely branching, can decide termination in

S by Finkel ICALP’87, Finkel & Schnoebelen TCS’01.

16 / 24

slide-76
SLIDE 76

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x0

− → x′ ≥ x?

17 / 24

slide-77
SLIDE 77

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x0 ∈ ↑ Pre∗(↑ x)? Backward method (Abdulla, Cerans, Jonsson & Tsay IC’00) Compute ↑ Pre∗(↑ x) iteratively assuming ↑ Pre(↑ x) computable.

17 / 24

slide-78
SLIDE 78

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x0 ∈ ↑ Pre∗(↑ x)? Backward method (Abdulla, Cerans, Jonsson & Tsay IC’00) Compute ↑ Pre∗(↑ x) iteratively assuming ↑ Pre(↑ x) computable.

17 / 24

slide-79
SLIDE 79

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x ∈ ↓ Post∗(x0)?

17 / 24

slide-80
SLIDE 80

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x ∈ ↓ Post∗(x0)? Forward method Coverability: Enumerate executions ↓ x0

− →

S I,

Accept if x ∈ I.

17 / 24

slide-81
SLIDE 81

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x ∈ ↓ Post∗(x0)? Forward method Coverability: Enumerate executions ↓ x0

− →

S I,

Accept if x ∈ I. Non coverability: Enumerate D ⊆ X downward closed, x0 ∈ D and ↓ PostS(D) ⊆ D Reject if x ∈ D.

17 / 24

slide-82
SLIDE 82

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x ∈ ↓ Post∗(x0)? Forward method Coverability: Enumerate executions ↓ x0

− →

S I,

Accept if x ∈ I. Non coverability: Enumerate D = I1 ∪ . . . ∪ Ik Reject if x ∈ D.

17 / 24

slide-83
SLIDE 83

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x ∈ ↓ Post∗(x0)? Forward method Coverability: Enumerate executions ↓ x0

− →

S I,

Accept if x ∈ I. Non coverability: Enumerate D ⊆ X downward closed Reject if x ∈ D.

17 / 24

slide-84
SLIDE 84

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x ∈ ↓ Post∗(x0)? Forward method Coverability: Enumerate executions ↓ x0

− →

S I,

Accept if x ∈ I. Non coverability: Enumerate D ⊆ X downward closed, x0 ∈ D Reject if x ∈ D.

17 / 24

slide-85
SLIDE 85

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x ∈ ↓ Post∗(x0)? Forward method Coverability: Enumerate executions ↓ x0

− →

S I,

Accept if x ∈ I. Non coverability: Enumerate D ⊆ X downward closed, ↓ x0 ⊆ I1 ∪ . . . ∪ Ik Reject if x ∈ D.

17 / 24

slide-86
SLIDE 86

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x ∈ ↓ Post∗(x0)? Forward method Coverability: Enumerate executions ↓ x0

− →

S I,

Accept if x ∈ I. Non coverability: Enumerate D ⊆ X downward closed, ∃j s.t. ↓ x0 ⊆ Ij Reject if x ∈ D.

17 / 24

slide-87
SLIDE 87

Introduction WSTS completion Applications Conclusion Termination Coverability

Coverability Input: (X, − →, ≤) a WSTS, x0, x ∈ X. Question: x ∈ ↓ Post∗(x0)? Forward method Coverability: Enumerate executions ↓ x0

− →

S I,

Accept if x ∈ I. Non coverability: Enumerate D ⊆ X downward closed, x0 ∈ D and ↓ PostS(D) ⊆ D Reject if x ∈ D.

17 / 24

slide-88
SLIDE 88

Introduction WSTS completion Applications Conclusion Termination Coverability

Prebasis computability Prebasis computability is sufficient, but not necessary, to ensure decidability of coverability.

18 / 24

slide-89
SLIDE 89

Introduction WSTS completion Applications Conclusion Termination Coverability

Prebasis computability Prebasis computability is sufficient, but not necessary, to ensure decidability of coverability. Coverability is decidable in F1 The algorithm consists to enumerate strictly increasing reachable sequences until finding an y ≥ x.

18 / 24

slide-90
SLIDE 90

Introduction WSTS completion Applications Conclusion Termination Coverability

Prebasis computability Prebasis computability is sufficient, but not necessary, to ensure decidability of coverability. Coverability is decidable in F1 The algorithm consists to enumerate strictly increasing reachable sequences until finding an y ≥ x. Prebasis is not computable for F1 Let Si = (N, − →Si, ≤) be the WSTS such that: x − →Si 0 if TMi does not halt on its encoding in ≤ x steps, x − →Si 1 otherwise.

18 / 24

slide-91
SLIDE 91

Introduction WSTS completion Applications Conclusion Termination Coverability

Prebasis computability Prebasis computability is sufficient, but not necessary, to ensure decidability of coverability. Coverability is decidable in F1 The algorithm consists to enumerate strictly increasing reachable sequences until finding an y ≥ x. Prebasis is not computable for F1 Let Si = (N, − →Si, ≤) be the WSTS such that: x − →Si 0 if TMi does not halt on its encoding in ≤ x steps, x − →Si 1 otherwise. Then Si ∈ F1 and Si is effective.

18 / 24

slide-92
SLIDE 92

Introduction WSTS completion Applications Conclusion Termination Coverability

Three Pre sets PreSi(0) = {x ∈ N : TMi does not halt in ≤ x steps }, PreSi(1) = {x ∈ N : TMi halts in ≤ x steps }, PreSi(x) = ∅ for x ≥ 2.

19 / 24

slide-93
SLIDE 93

Introduction WSTS completion Applications Conclusion Termination Coverability

Three Pre sets PreSi(0) = {x ∈ N : TMi does not halt in ≤ x steps }, PreSi(1) = {x ∈ N : TMi halts in ≤ x steps }, PreSi(x) = ∅ for x ≥ 2. Conclusion: prebasis is not computable for F1 Therefore, ↑ PreSi(↑ 1) = ↑ PreSi(1) = PreSi(1). If an algorithm outputting a finite basis of ↑ PreSi(↑ 1) existed, then it would be possible to decide whether PreSi(1) = ∅.

19 / 24

slide-94
SLIDE 94

Introduction WSTS completion Applications Conclusion Termination Coverability

Three Pre sets PreSi(0) = {x ∈ N : TMi does not halt in ≤ x steps }, PreSi(1) = {x ∈ N : TMi halts in ≤ x steps }, PreSi(x) = ∅ for x ≥ 2. Conclusion: prebasis is not computable for F1 Therefore, ↑ PreSi(↑ 1) = ↑ PreSi(1) = PreSi(1). If an algorithm outputting a finite basis of ↑ PreSi(↑ 1) existed, then it would be possible to decide whether PreSi(1) = ∅. But PreSi(1) = ∅ iff TMi does not halt. The halting problem thus Turing-reduces to the prebasis computation.

19 / 24

slide-95
SLIDE 95

Introduction WSTS completion Applications Conclusion Termination Coverability

Boundedness for infinitely branching WSTS Boundedness is decidable for post-effective WSTS with strict monotony and a wpo.

20 / 24

slide-96
SLIDE 96

Introduction WSTS completion Applications Conclusion Termination Coverability

Boundedness for infinitely branching WSTS Boundedness is decidable for post-effective WSTS with strict monotony and a wpo. Proof We build a reachability tree T with root c0 labelled x0. If PostS(x0) is infinite, then we return “unbounded”,

  • therwise we mark c0 and for every x ∈ PostS(x0) we add a

child labelled x to c0.

20 / 24

slide-97
SLIDE 97

Introduction WSTS completion Applications Conclusion Termination Coverability

Boundedness for infinitely branching WSTS Boundedness is decidable for post-effective WSTS with strict monotony and a wpo. Proof We build a reachability tree T with root c0 labelled x0. If PostS(x0) is infinite, then we return “unbounded”,

  • therwise we mark c0 and for every x ∈ PostS(x0) we add a

child labelled x to c0. If c has an ancestor c′ labelled x′ such that x′ < x, we return “unbounded”. Otherwise,

if c has an ancestor c′ labelled x′ such that x′ = x, we mark c. Otherwise, if PostS(x) is infinite, then we return “unbounded”. Otherwise we mark c and for every y ∈ PostS(x) we add a child labelled y to c.

20 / 24

slide-98
SLIDE 98

Introduction WSTS completion Applications Conclusion Termination Coverability

Boundedness for infinitely branching WSTS Boundedness is decidable for post-effective WSTS with strict monotony and a wpo. Proof We build a reachability tree T with root c0 labelled x0. If PostS(x0) is infinite, then we return “unbounded”,

  • therwise we mark c0 and for every x ∈ PostS(x0) we add a

child labelled x to c0. If c has an ancestor c′ labelled x′ such that x′ < x, we return “unbounded”. Otherwise,

if c has an ancestor c′ labelled x′ such that x′ = x, we mark c. Otherwise, if PostS(x) is infinite, then we return “unbounded”. Otherwise we mark c and for every y ∈ PostS(x) we add a child labelled y to c.

T is finite and correct.

20 / 24

slide-99
SLIDE 99

Introduction WSTS completion Applications Conclusion

Further result for infinitely branching WSTS Strong maintainability is decidable for WSTS with strong monotony and such that S is a post-effective WSTS.

21 / 24

slide-100
SLIDE 100

Introduction WSTS completion Applications Conclusion

Further work ∃ general class of infinitely branching WSTS with a Karp-Miller procedure?

22 / 24

slide-101
SLIDE 101

Introduction WSTS completion Applications Conclusion

Further work ∃ general class of infinitely branching WSTS with a Karp-Miller procedure? Toward the algorithmics of complete WSTS.

22 / 24

slide-102
SLIDE 102

Introduction WSTS completion Applications Conclusion

Further work ∃ general class of infinitely branching WSTS with a Karp-Miller procedure? Toward the algorithmics of complete WSTS. What else can we do with the WSTS completion?

22 / 24

slide-103
SLIDE 103

Introduction WSTS completion Applications Conclusion

Thank you!

23 / 24