Visva-Bharati · Department of Mathematics
MMO-31(P3)
Theory of Computation-I
M.Sc. Mathematics · Semester III2017
- 1(a) Let $S$ be a finite-state sequential machine without output and $S^C$ be the connected submachine of $S$. If $S$ has $n$ states then show that\par \[(\forall s)_{S^C}\,(\exists x)_{\Sigma_k^*}\,\left(s=rp_s(x)\wedge lg(x)<n\right).\] [4]
- 1(b) Define homomorphism from a finite-state sequential machine $S$ into (onto) another Machine $T$. Show that if $\varphi$ is a homomorphism from\par \hspace*{2em}$S=\langle S,\Sigma_k,M,a\rangle$ into $T=\langle T,\Sigma_k,N,b\rangle$ then\par \[(\forall s)_S\,(\forall x)_{\Sigma_k^*}\,\varphi(M(s,x))=N(\varphi(s),x).\]
- 1(c) Define a right congruence relation $R$ on a sequential machine $S=\langle S,\Sigma_k,M,a\rangle$. Hence define the Quotient machine $S$ modulo $R$. Show that the Quotient machine is well-defined.
- 2(a) Let $R_1$ and $R_2$ be two right congruence relations on $\Sigma_k^*$. $T(R_1)$ and $T(R_2)$ be the quotient machines. Show that there exists a homomorphism from $T(R_1)$ onto $T(R_2)$ if and only if $R_1\subseteq R_2$. [5]
- 2(b) For any subset $\beta$ of $\Sigma_k^*$ define a Free automaton. Show that its behaviour is the set $\beta$. Define the Quotient sequential machine with output modulo-$R$ and parameter $\beta$. Show that it is well-defined and has the behaviour set $\beta$. [5]
- 3(a) Show that for any machine $S=\langle S,\Sigma_k,M,a,F\rangle$.\par $\perp(S)$ refines $\beta_S$ and\par $T(\perp(S),\beta_S)$ is isomorphic to $S^C$. [4]
- 3(b) Define the state equivalence relation $E_k$ on a single machine $S=\langle S,\Sigma_k,M,a,F\rangle$. Show that $E_k$ is an equivalence relation on $S$ which refines $F$. [4]
- 3(c) Define the minimal machine associated with a given connected machine $S=\langle S,\Sigma_k,M,a,F\rangle$ and a congruence relation $R_F$ on $S$ induced by $F$. \par\hfill P.T.O. [2]
- 4(a) Define a semantic tree for a given set $S$ of clauses. Show that a set $S$ of clauses is unsatisfiable if and only if there is a finite set of ground clauses that is unsatisfiable.
- 4(b) Use rules suggested by Davis and Putnam to check the satisfiability of the following formulas: \par \hspace*{1em}i) $(P\vee Q)\wedge(R\vee Q)\wedge\sim R\wedge\sim Q$\par \hspace*{1em}ii) $(P\vee Q)\wedge(\sim P\vee Q)\wedge R$
- 5(a) Define resolution deduction of a clause $C$ from a given set $S$ of clauses. Obtain a resolution deduction of $\sim B\vee E$ from\par \[F=\{A\vee(B\to D),\ \sim C\to(D\to E),\ A\to C,\ \sim C\}.\]
- 5(b) Define substitution, a most general unifier of expressions. Write an algorithm for unification of expressions. Show that your algorithm always terminates and finds the most general unifier, for a unifiable set of expressions.
- 6(a) Prove that a set $S$ of clauses is unsatisfiable if an only if there is a deduction of the empty clause from $S$. [6]
- 6(b) Construct a resolution proof of the following argument\par \hspace*{2em}$F_1:(\exists x)\left(P(x)\wedge(\forall y)(D(y)\to L(x,y))\right)$\par \hspace*{2em}$F_2:(\forall x)\left(P(x)\to(\forall y)(Q(y)\to\sim L(x,y))\right)$\par \hspace*{2em}$\therefore\ G:(\forall x)(D(x)\to\sim Q(x))$ [4]