Let's say there is a grammar
- S -> PQT
- R -> T
- U -> aU | bX
- X -> Y
- P -> bQ
- Y -> SX | c | X
- Q -> aRY
- T -> U
There is a loop:
- X -> Y
- Y -> X
How to eliminate it when converting to CNF? I don't think it's fine to add a rule to grammar (as in unit elimination) X -> X, right, because it s basically another loop?