• No se han encontrado resultados

PROGRAMA DE CONTINGENCIAS Y RIESGOS MEDIDA #

In document E S T UD IO D E I M P A C T O (página 156-161)

OCUPACIONAL EQUIPO DE PROTECCIÓN

NOMBRE DE LA MEDIDA: GESTIÓN SOCIAL

4.2.8. PROGRAMA DE CONTINGENCIAS Y RIESGOS MEDIDA #

We show how this construction works for determinising parity automata to determin- istic parity automata. As the parity condition subsumes the 1-pair Rabin condition, which in turn subsumes the Büchi condition, this construction works for the deter- minisation of automata that express all the above acceptance conditions.

For an ordered treeT withmnodes that are not Rabin roots, an LIR is a sequence

v1, v2, . . . vm that contains the nodes of T that are not Rabin root nodes, such that,

each node appears after its ancestors and older siblings.

For example, consider the ordered tree given in Figure 3.10 where the numbers leading to the states describe its ordering with respect to time of generation of the node. The LIR corresponding to the ordered tree is[0123456].0denotes the root.

For convenience in the lower bound proof, we represent a nodev∈ T of an NHT

d = (T, l, λ) in the LIR by a triple (Sv, πv, Pv) where Sv = l(v), is the label of v,

πv =λ(v)the level ofv, andPv = {q ∈Q |v = hostπv(q, d)}is the set of statesπv

a,b,c,d,e,f,g b,c,d d e,f,g c,f,g b b,c c e,f f,g c 1 4 5 7 2 3 8 9 6 10 11 12 13

Figure 3.11: This figure shows an example transition on reading a letter σ just like the examples shown for the construction to Rabin automata. The corresponding LIR is now [0 1 2 3 4 5 6 7 8 9 10 11 12 13]. We will skip several steps like deleting duplicates horizontally and vertically and go straight to the next step where nodes are deleted for purposes of illustration of the LIR.

sequences of these triples LIR-NHTs. Obviously, each LIR-NHT defines an NHT, but not the other way round.

Definition 3.6.1 (LIR-NHT) A finite sequence (S1, π1, P1)(S2, π2, P2)(S3, π3, P3). . . (Sk, πk, Pk)of triples is a LIR-NHT if it satisfies the following requirements for alli∈[k].

1. Pi ⊆Si,

2. {Pi} ∪ {Sj |j>i, πi=πj,andSj∩Si6=∅}partitionsSi.

3. {Sj |j > i, πi =πj+ 2,andSj ∩Pi6=∅}partitionPi.

4. If the highest priority ofP is even, thenπi =eimpliesSi ⊆S1. (In this case, the

lowest level construction is Büchi and the first triple always refers to the root.) 5. Forπi < e, there is aj < iwithSi ⊆Pj.

To define the transitions of D, we can work in two steps. First, we identify, for each positioniof a stateN = (S1, π1, P1)(S2, π2, P2)(S3, π3, P3). . .ofD, the nodevi

of the NHT d = (T, l, λ) for the same input letter. We then perform the transition

d, σ,(T0, l0, λ0)

a,b,c,d,e,f,g

b,c,d e,f,g

b c

1 5

2 3

Figure 3.12: Here, some nodes have been deleted. Node 5 still remains and its position in the LIR is advanced. The LIR now looks like this: [0 1 2 354 6 7 8 9 10 11 12 13]. The transition leading to this state is now labelled with priority 6 as the smallest node position in the LIR that is either accepting or rejecting is position 3. non-rejecting nodes from this transition and their indices. These indices are moved to the left, otherwise maintaining their order. All remaining vertices ofT0 are added

at the right, maintaining orderedness.

The priority of the transition is determined by the smallest positioniin the se- quence, where the related node in the underlying tree is accepting or rejecting. It is therefore more convenient to use a min-parity condition, where the parity of lim infn→∞pri(ρ)determines acceptance of a run ρ. As this means smaller numbers

have higher priority,pri is representing the opposite of a priority function, and we refer to the priority as theco-priorityfor clear distinction.

If the smallest node is rejecting, the transition has co-priority 2i−1, if it is ac- cepting (and not rejecting), then the transition has co-priority2i, and if no such node exists, then the transition has co-priorityne+ 1.

In case the nondeterministic automaton is Büchi or 1-pair Rabin, when we aug- ment a LIR to a history tree/RHT, the LIR-NHT reduces to the order in which the nodes of the history tree/RHT are introduced.

Lemma 3.6.2 Given a nondeterministic parity automatonP with |P|= nstates and

maximal priority π, we can construct a language equivalent deterministic parity au-

tomaton Dwith ne+ 1 priorities for e = 2b0.5πc, whose states are the LIR-NHTs de-

Proof. We use our determinisation technique from Section 3.3 to construct a de- terministic parity automaton, whose states consist of the LIR-NHTs, i.e., the NHTs augmented with the Later Introduction Records, with the parity index on the transi- tions from the states of the automata.

First, we observe that P is language equivalent to the deterministic Rabin au- tomatonRπ from the construction of Section 3.3 by Corollary 3.3.4.

Let α be a word in the language L(Rπ) of the automaton Rπ. By definition of

acceptance, we have an indexvsuch that the node vis a node, which is eventually always stable and always eventually accepting in the transitions of the run ofRπ on

α. Note thatvcannot be a Rabin root, as Rabin roots cannot be accepting.

Once stable, the position of this node in the LIR is non-increasing, and it decreases exactly when a node at a smaller position is deleted. This can obviously happen only finitely many times, and the position will thus eventually stabilise at some position

p. Moreover, all positions≤pwill then be henceforth stable.

Then, by our construction, it is easy to see that henceforth no transition can have a co-priority<2p. At the same time, for each following transition wherevis accept- ing in the deterministic Rabin automaton, the respective transition of the run of P

has a priority≤2p. (At some node that is represented in a position≤2p, an accept- ing or rejecting event happens.) These two observations provide, together with the fact that these priorities≤2pmust occur infinitely many times by the deterministic Rabin automaton being accepting, that the dominating priority of the run is an even priority≤2p.

In the other direction, let 2i be the dominant priority for a run of our DPA D

on a word α. This leads to a scenario where all positions ≤ ieventually maintain their positions in the LIR. The respective nodes they represent remain stable, but not accepting, from then on in the transitions of the run ofRπ onα.

Observe that all older siblings (and ancestors, except for the omitted Rabin root) of a node v of an NHT are represented on a smaller position than v. The node

corresponding to the positioni is always eventually accepting in the transitions of

onα, such thatαis accepted byRπ. 2

Size estimation for determinisation of 1-pair Rabin and Büchi automata to par- ity automata

Lemma 3.6.3 A deterministic parity automaton resulting from determinising a one-

pair Rabin automatonR1hasO(n!2)states

Proof. Let|Q|=nbe the number of states of our nondeterministic one-pair Rabin automaton. We explicitly represent (for the sake of evaluating the state-space) the tree structure of an RHT/LIR pair with m nodes by a sequence of m−1 integers

i1, i2. . . imsuch thatij points to the position< j of the parent of the nodevj in the

LIRv1, v2, . . . vm. There are(m−1)!such sequences. There is an obvious bijection be-

tween this representation of an LIR and its original definition. Thus, for an RHT/LIR pair withn+ 1nodes, we can have up ton!such RHT/LIR pairs just by virtue of the order of introduction of the nodes.

To more accurately evaluate the number of states, we have to consider the way RHTs are labelled. The root is always labelled with the complete set of reachable states.

We first consider the case where the root is labelled with all |n| states of the nondeterministic one-pair Rabin automatonR1.

For history trees with m nodes over n = |Q| states and n states labelling the root, Lett(n, m)denote the number of such trees augmented with later introduction record.

First of all,t(n, n+ 1) = (n!·n!)holds : For such a tree, there can be up ton!onto functions that resemble the labelling of states of the deterministic automaton andn! RHTs augmented with LIRs.

For everym ≤ (n+ 1), the following is a coarse estimation from [Sch09b] pro- vidingt(n, m−1)≤ 1

2t(n, m). Hence, Pn

We next consider the case where the root is not labelled with all |n| states of the nondeterministic one-pair Rabin automatonR1. Now, we lett0(n, m)denote the

number of root history trees withm nodes overnstates augmented with LIRS. We now havet0(n, n) = (n−1)!n!and, by a similar analysis to the case oft, we also have

t0(n, m−1)≤ 1 2t

0(n, m)for everymn, and hencePn−1

i=1 t0(n, i)≤2(n−1)!n!.

Overall, the number of Root History Trees augmented with LIRs isPn

i=1t(n, i) + Pn−1

i=1 t

0(n, i) O(n!2). The number of states of the resulting deterministic parity

automaton isO(n!2), which equates to a linear increase in size when compared with a deterministic parity automaton resulting from the determinisation of a language equivalent nondeterministic Büchi automaton instead of a nondeterministic one-pair

Rabin automaton. 2

Lemma 3.6.4 A deterministic parity automaton resulting from determinising a Büchi

automatonBhasO n!(n−1!)

states.

A similar estimation for the case of determinising Büchi automata to parity au- tomata would result inO (n−1)!n!states, when the acceptance condition is placed on the transitions rather than the states. This is because over a set ofnstates, an RHT has a redundant root node when compared to a history tree over the same number of states.

In document E S T UD IO D E I M P A C T O (página 156-161)

Documento similar