Context Free Grammar (eliminate the unit of production rules)

  • Thread starter Thread starter zulkifli
  • Start date Start date
  • Tags Tags
    Rules Unit
zulkifli
Messages
4
Reaction score
0
I have grammar

S → ABaC | BaC | AaC | ABa | aC | Aa | Ba | a
A → B | C | BC
B → b
C → D
D → d

Can someone please help me to eliminate all the rules of grammar production unit. Thanks for help! :biggrin:
 
Physics news on Phys.org
zulkifli said:
I have grammar

S → ABaC | BaC | AaC | ABa | aC | Aa | Ba | a
A → B | C | BC
B → b
C → D
D → d

Can someone please help me to eliminate all the rules of grammar production unit. Thanks for help!

Welcome to PF, zulkifli! :smile:

Did you try anything?
What do you think you should do?
We can help you better if we can tell what it is you're having difficulties with...
 
Hey zulkifli and welcome to the forums.

Some quick hints is to simplify the last three tokens (as they just point to single elements and can be substituted) and then to simplify the OR statements by recognizing duplicate entities and other simplifications.
 
I asked online questions about Proposition 2.1.1: The answer I got is the following: I have some questions about the answer I got. When the person answering says: ##1.## Is the map ##\mathfrak{q}\mapsto \mathfrak{q} A _\mathfrak{p}## from ##A\setminus \mathfrak{p}\to A_\mathfrak{p}##? But I don't understand what the author meant for the rest of the sentence in mathematical notation: ##2.## In the next statement where the author says: How is ##A\to...
The following are taken from the two sources, 1) from this online page and the book An Introduction to Module Theory by: Ibrahim Assem, Flavio U. Coelho. In the Abelian Categories chapter in the module theory text on page 157, right after presenting IV.2.21 Definition, the authors states "Image and coimage may or may not exist, but if they do, then they are unique up to isomorphism (because so are kernels and cokernels). Also in the reference url page above, the authors present two...
##\textbf{Exercise 10}:## I came across the following solution online: Questions: 1. When the author states in "that ring (not sure if he is referring to ##R## or ##R/\mathfrak{p}##, but I am guessing the later) ##x_n x_{n+1}=0## for all odd $n$ and ##x_{n+1}## is invertible, so that ##x_n=0##" 2. How does ##x_nx_{n+1}=0## implies that ##x_{n+1}## is invertible and ##x_n=0##. I mean if the quotient ring ##R/\mathfrak{p}## is an integral domain, and ##x_{n+1}## is invertible then...
Back
Top