Question: 1. Consider the set {A, B} * of strings over the symbols A and B. Recall that is the empty string. Define the relationg

1. Consider the set {A, B} * of strings over the symbols A and B. Recall that is the empty string. Define the relationg on {A, B}*x N such that (,0) Eg (A.s, n x 100 + 12)Eg (B.s, n x 1000+ 1 22)Eg if (s, n) Eg then (d) Show that g is an encoding function for { A, B}*. (2) (e) Show that g is a Gdel numbering of {A, B}*. (3) (f) Use g to give an enumeration of {A, B }*. (2)
Step by Step Solution
3.52 Rating (155 Votes )
There are 3 Steps involved in it
d g is an encoding function for A B because it maps elements of A B to elements of N the set of na... View full answer
Get step-by-step solutions from verified subject matter experts
