I'm converting a CFG to CNF and there are some details that I'm unsure of. I know the form is
A-->BC
A-->a
Is a transition such as S-->AA|... acceptable? Or do they have to be two different variables?
Is something such as S-->aa|... acceptable? I don't know how to change 'aa' to something else without ending up with AA or aA one of which isn't allowed and the other I'm unsure of.