Question: Let A = { w w is a binary string containing at least 2 consecutive 1 s and an even number of 1 s }
Let Aww is a binary string containing at least consecutive s and an even number of s Let Bai
bjck 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 Problem
Qqqqaqrqq
Sab
Tab
qq
tapes
qqr:S; S
qq:aS; R
qqa:bS; S
q:aR; aR
qq:bS; L
qqa:S;S
q:bS; aL
qq:bS; R
q:bR; aR
qqr:S; S
qqa:S; aS
qqr:aS; aS
qqr:aS; S
qqa:bS; 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
