(* Author: Basil Fürer *) theory Prec_Tests imports TIGER_Grammar.LR_Prec_Parse Parser_Check begin text ‹The theorems of \<^theory>‹TIGER_Grammar.LR_Prec_Parse› relate \<^const>‹restrict› to \<^const>‹prec_ok›. What they cannot say is that \<^const>‹prec_ok› of a level table means what a reader expects, and that \<^const>‹restrict› computes. Both are checked here on small grammars by enumerating every tree of every short word.› section ‹Enumeration›