(** * CFP to CFI *)
Section Palindrome.
Variable Sigma : list symbol.
Notation StartG := (fresh Sigma).
Definition palin_G : cfg :=
(StartG, (StartG, []) ::
flat_map (fun g => [ (StartG, [g]);  (StartG, [g; StartG; g]) ]) Sigma).

Lemma G_left x :
rewt palin_G [StartG] x -> rev x = x /\ count x StartG <= 1.