theory CFG imports Main begin section βΉAdjusted content from AFP/LocalLexingβΊ type_synonym 'a rule = "'a Γ 'a list" type_synonym 'a rules = "'a rule list"