• Keine Ergebnisse gefunden

Problem 1: Petri Nets and wsts

N/A
N/A
Protected

Academic year: 2021

Aktie "Problem 1: Petri Nets and wsts"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Concurrency Theory(SS 2015) Out: Wed, May 27 Due: Tue, June 2

Exercise Sheet 6

Prof. Meyer, Furbach, D’Osualdo Technische Universit¨at Kaiserslautern

Problem 1: Petri Nets and wsts

(a) The transition system of a Petri net N = (S, T, W, M0)is T S(N) := (R(N), M0,→).

A transition M1 → M2 exists if M1[tiM2 for somet ∈ T. Show that T S(N)is well- structured.

(b) Consider the following variant of Petri nets. A Petri net with zero-tests is a tupleN = (S, T, W, Z, M0) whereS, T, W andM0 are defined as in regular Petri nets, and Z ⊆ (S ×T). A transition t ∈ T is enabled inM if M ≥ W(—, t) and M(s) = 0 holds for eachs such that(s, t)∈ Z. The transition system of a Petri net with zero-tests N = (S, T, W, Z, M0)is(R(N), M0,→)as above.

Argue whether the transition system of a Petri net with zero-tests is a wsts under the order (N|S|,≤).

Problem 2: Is any TS well-structured?

(a) Consider the setNω =N∪ {ω}and the order≤ωsuch that for alln, n0 ∈N,n ≤ω n0 if n≤n0, and for alln ∈Nω,n≤ω ω. Prove that(Nω,≤ω)is a wqo.

(b) Take an arbitrary (finitely branching) transition systemTS = (Γ, γ0,→). Define`(γ)for γ ∈Γto be the length of the longest runγ →γ1 →. . . inTS, orωif there is an infinite run fromγ. Prove that anyTS = (Γ, γ0,→)is well-structured under the order4where γ 4γ0 if`(γ)≤ω `(γ0).

(c) Is4decidable in general?

Problem 3: Representing Upward/Downward-Closed Sets

Let(A,≤)be a wqo.

(a) LetI ⊆ Abe an upward closed set. Prove Lemma 6.2 given in class: if Min(I)is the finite set of minimal elements ofI, thenI =Min(I)↑.

(b) Consider the dual notion of downward-closed set D, i.e. for alla ∈ A, and d ∈ D, if a≤dthena∈D. GivenB ⊆A, we writeB↓={a∈A|a ≤b, b∈B}. How can you finitely represent any downward-closed setB ⊆A?

Hint: considerA\B.

(2)

Problem 4: Termination for wsts

Given a wsts(Γ,→, γ0,≤), describe an algorithm to decide if every run fromγ0 is terminating or not. Assume the wsts to be finitely branching, i.e., for every configurationγ1 ∈ Γthere are finitely manyγ2 ∈Γwithγ1 →γ2. Prove correctness of your algorithm.

Hint: start from the reachability tree for Petri nets and lift the construction for wsts.

Referenzen

ÄHNLICHE DOKUMENTE

One main use of implicit conversions is to add methods to existing types. Technically these methods are not added to the type itself but defined in a wrapper class. The wrapper

The following labelled transition systems are defined in combination with Maude term replacement rules so that their labels are given for reconfigurable Petri nets (in Def..

The aim of this thesis is to: present a concept for a hierarchical reconfigurable Petri net (HRPN) model based on substitution transitions (with mathematical definition), prove

Flows (inflows and out flows) in SD are linked to Object types in ORM and Transitions in Petri nets because they all connect different stocks (SD), Unary fact types (ORM) and

The main innovation of our PNFL approach is the use of elements from fuzzy logic theory to describe biological systems: Fuzzy sets describe arbitrary entities or properties of a

208  Pape UF, Niederle B, Costa F, Gross D,   Kelestimur F, Kianmanesh R, Knigge U, Öberg K, Pavel  M,  Perren  A,  Toumpanakis  C,  O'Connor  J,  Krenning  E, 

While the Petri net from Figure 3 exactly represents the control flow of our example learning process, the annotations together with the associated state diagram of Figure 4 model

We start with a brief discussion of causal semantics of p/t-nets (Subsection 2.1), then introduce the charac- terization of executions of p/t-nets called token flow property