• Keine Ergebnisse gefunden

Exercise 5.1 Quantifier Elimination

N/A
N/A
Protected

Academic year: 2021

Aktie "Exercise 5.1 Quantifier Elimination"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Applied Automata Theory (WS 2012/2013) Technische Universit¨ at Kaiserslautern

Exercise Sheet 5

Jun.-Prof. Roland Meyer, Reiner H¨ uchting, Georgel C˘ alin Due: Tue, Nov 20 (noon)

Exercise 5.1 Quantifier Elimination

Eliminate the quantifiers of the following formulas using the method described in class:

(a) ∃x. u − 1 < 3x ∧ 2x < t + 6 ∧ x ≡

2

1

(b) ∃x. [x + u ≥ 0 ∨ x ≡

5

2] → [3x + t ≤ 1 ∧ 1 ≤ 2x − u]

Exercise 5.2 Semilinear Sets

(a) Prove that for a semilinear set S ⊆ N

n

and v ∈ N

n

, it is decidable whether v ∈ S.

(b) Prove that S

1

+ S

2

:= {x + y | x ∈ S

1

, y ∈ S

2

} is semilinear if S

1

, S

2

are semilinear.

Exercise 5.3 Parikh Images of Regular Languages

For a word w ∈ Σ

, the Parikh image Ψ(w) : Σ 7→ N yields the number of occurrences of each letter in w: Ψ(w)(a) = ]

a

in w. For example, Ψ(aabbb)(a) = 2 and Ψ(aabbb)(b) = 3.

Thus, Ψ(w) ∈ N

|Σ|

is a vector and for a language L, we define Ψ(L) := {Ψ(w) | w ∈ L}.

(a) Prove that Ψ(L) is semilinear if L ∈ REG

Σ

. (Prove the equalities you use as well.) (b) Prove that for a semilinear set S ⊆ N

n

there is a regular language L with S = Ψ(L).

Exercise 5.4 Semilinear Extensions of Regular Languages

Consider extended regular expressions (r, S) where r ∈ REG

Σ

and S ⊆ N

|Σ|

is semilinear, and define L(r, S) := {w ∈ Σ

| w ∈ L(r) and Ψ(w) ∈ S}.

(a) Prove that emptiness of L(r, S ) is decidable for any extended regexp (r, S).

(b) Find an extended regexp (r, S) such that a

n

b

n

c

n

= L(r, S).

(c) What is the language r accepted by the ”request/acknowledge” automaton below?

up

down

up up

down up

req ack

Describe the semilinear set S for which the extended regexp L(r, S) represents > 80%

system availability, i.e. the transition sequences with ≤ 20% down time.

Referenzen

ÄHNLICHE DOKUMENTE

The equals method for class Object implements the most discriminating possible equivalence relation on objects; that is, for any non-null reference values x and y, this method

In the kinematic dynamo problem it is assumed that the evolved magnetic field is so small that the Lorentz force generated by it is too weak to influence the velocity field.. In

Logarithmically convergent series are rather slowly convergent, and often, one tries to use convergence acceleration methods to speed up the convergence.. Some important references

We propose to map logarithmically converging sequences to linearly converging sequences using interpolation. After this, convergence acceler- ators for linear convergence

The first parallel version (with the OpenMP reduction) does not compute exactly the same result as the sequential code..

Try different values for the matrix size (reference values: 500, 2000 and 6000) and measure the speedup with different (2 to 16, possibly even more) processes.. If necessary, do a

Mean temperature-salinity, salinity-depth and density-depth relationships are determined for 3 x 3° squares, using hydrographie data from World Oceanographie Data Centre

In order to uniquely determine the elastic thickness of the lithosphere, Te, from gravity and topography data, the coherence method explicitly assumes that surface