Docsity

Theoretische Informatik 1, Vežbe od Informatika

Toggle sidebar
bg1
Exercise Sheet 13 — Written assignment
Theoretical Computer Science
TU Graz, Summer 2025
Please turn in the solution of the following exercises in writing.
Exercise 13.1. Is the language {anbmckan|n=m, m =k}regular or not? Prove it.
Exercise 13.2. Fix a finite set Sof size k. For an endomorphism φ:S→S, we denote by φcthe
composition of φwith itself ctimes. Show that the following language is in P:
{(φ, ψ, c)|φ=ψcwhere φand ψare endomorphisms of Sand cis a binary integer}.
Exercise 13.3. Show that if P=NP then we can factorize integers in polynomial time.
Exercise 13.4. Let MAX-CLIQUE = {(G, k )|a largest clique in Gis of size exactly k}. Show that
MAX-CLIQUE is NP-hard.
1

Delimični pregled teksta

Preuzmite Theoretische Informatik 1 i više Vežbe u PDF od Informatika samo na Docsity!

Exercise Sheet 13 — Written assignment

Theoretical Computer Science

TU Graz, Summer 2025

Please turn in the solution of the following exercises in writing.

Exercise 13.1. Is the language {anbmckan^ | n ̸= m, m ̸= k} regular or not? Prove it.

Exercise 13.2. Fix a finite set S of size k. For an endomorphism φ : S → S, we denote by φc^ the composition of φ with itself c times. Show that the following language is in P :

{(φ, ψ, c) | φ = ψc^ where φ and ψ are endomorphisms of S and c is a binary integer}.

Exercise 13.3. Show that if P = N P then we can factorize integers in polynomial time.

Exercise 13.4. Let MAX-CLIQUE = {(G, k) | a largest clique in G is of size exactly k}. Show that MAX-CLIQUE is NP-hard.