Question: Let A = { w w is a binary string containing at least 2 consecutive 1 s and an even number of 1 s }

Let A={ww is a binary string containing at least 2 consecutive 1s and an even number of 1 s}. Let B={a^i
b^jc^k0< i < j < k}.
Show the YESNO table for A and B.
Construct a mapping reduction function to show that A m B. Write the Grafstate code for a Turing machine that computes your mapping reduction function.
GRAFSTATE TURING MACHINE CODE FORMAT:
:+ tm Problem3
Q={q0,q1,qa,qr,q2,q3}
S={a,b}
T={a,b,\_}
q0=q0
tapes=2
q0->qr:\_,S; \_,S
q0->q1:a,S; \_,R
q0->qa:b,S; \_,S
q1:a,R; \_->a,R
q1->q2:b,S; \_,L
q1->qa:\_,S;\_,S
q2:b,S; a,L
q2->q3:b,S; \_,R
q3:b,R; a,R
q3->qr:\_,S; \_,S
q3->qa:\_,S; a,S
q3->qr:a,S; a,S
q3->qr:a,S; \_,S
q3->qa:b,S; \_,S
done.
Choose a string wY that represents YES for A and a string wN that represents NO for A. Show the simulation output for your TM on wY and wN.
Prove that your function form has the mapping reduction property.
Prove that ECFG m EPDA.
a Find a mapping reduction function.
b Prove that your function has the mapping reduction property.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!