• Keine Ergebnisse gefunden

Exercise 12.1 Prove that for every alphabetΣwith|Σ| ≥2it is undecidable whether for DCFL languages L1, L2 we have L1 ⊆L2

N/A
N/A
Protected

Academic year: 2022

Aktie "Exercise 12.1 Prove that for every alphabetΣwith|Σ| ≥2it is undecidable whether for DCFL languages L1, L2 we have L1 ⊆L2"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Universität Koblenz-Landau FB 4 Informatik

Prof. Dr. Viorica Sofronie-Stokkermans1 05.07.2021 M.Ed. Dennis Peuter2

Exercises for Advances in Theoretical Computer Science Exercise Sheet 12

Due at 13.07.2021, 10:00 s.t.

Exercise 12.1

Prove that for every alphabetΣwith|Σ| ≥2it is undecidable whether for DCFL languages L1, L2 we have L1 ⊆L2.

Hint: Reduction to the problem of testing emptiness for intersection of DFCL languages.

Use the fact that the complement of a DCFL language is a DCFL language.

Exercise 12.2

Definition: A map h : Σ1 → Σ2 is a monoid homomorphism if it has the property that for all words w1, w2 ∈Σ1, h(w1w2) =h(w1)h(w2).

Prove that the following problem is undecidable:

Letf, g: Σ1 →Σ2 be monoid homomorphisms. Assume that Σ1 ={a1, . . . , an}. Is there a wordw∈Σ1 such thatf(w) =g(w)?

Hint: Note that f andg are completely described by their values on a1, . . . , an.

Exercise 12.3

Definitions: Assume we are in propositional logic with propositional variablesΠ.

• A literal L is a propositional variable P or the negation of a propositional variable

¬P.

• A propositional formula is in disjunctive normal form (DNF) if it has the form (L11∧ · · · ∧L1n1)∨ · · · ∨(Lm1 ∧ · · · ∧Lmnm).

• A propositional formula is aclauseif it is of the formL1∨· · ·∨Ln(i.e. is a disjunction of literals). AHorn clauseis a clause which contains at most one positive literal. (For instance P∨¬Q∨¬R and ¬Q∨¬R are Horn clauses, but P∨Q∨¬R is not.)

a) Is it true that for every formulaF in disjunctive normal form we can check whetherF is satisfiable in polynomial time? Briefly justify your answer.

b) Is it true that for every formula F which is a conjunction of Horn clauses we can check whetherF is satisfiable in polynomial time? Briefly justify your answer.

Remark:For answering these questions you do not need to construct Turing machines. You can use results on propositional logic presented e.g. in the lecture “Logik für Informatiker”

(e.g. the existence of algorithms for checking the satisfiability of sets (= conjunctions) of Horn clauses).

1

B 225 sofronie@uni-koblenz.de https://userpages.uni-koblenz.de/~sofronie/

2

B 223 dpeuter@uni-koblenz.de https://userpages.uni-koblenz.de/~dpeuter/

If you want to submit solutions, please do so until 13.07.2021, 10:00 s.t. via e-mail (with “Homework ACTCS” in the subject) todpeuter@uni-koblenz.de.

Referenzen

ÄHNLICHE DOKUMENTE

For the past decade, Dr Fleet’s research group has studied one aspect or another of rural emergency care in more than 300 rural hospitals in Canada, defined as institutions

to■ a■ representation■ that■ the■ configured■ Loca- tion■ Dimension■ Instance■ understands.■ The■ Address ■.

the original meaning of the Ossetic word for 'smoked' (fat) and 'settled'.. (beer) should be reconstructed as 'put, settled' and the word

Perspectives on integrating PS enterprises in training delivery under ATVET (Agricultural Technical and Vocational Education and Training) in Rwanda and

[r]

Exercise 4 ∗ 6 ∗ Points A (totally) ordered class hA, ≤i is perfectly ordered if it satisfies the following conditions:. • A has a

Let Φ PA be the axiom system of Peano arithmetic and let Cons Φ PA be the formula that expresses the consistency of Φ PA (as defined in

[r]