clear_overloads : term_grammar.grammar -> term_grammar.grammar
> ratTheory.RATND_RAT_OF_NUM; val it = |- (RATN (&n) = &n) /\ (RATD (&n) = 1): thm > rich_listTheory.MEM_TAKE; val it = |- !m l. m <= LENGTH l ==> !x. MEM x (TAKE m l) ==> MEM x l: thm val (tyG, tmG) = Parse.current_grammars () ; Parse.temp_set_grammars (tyG, term_grammar.clear_overloads tmG) ; > ratTheory.RATND_RAT_OF_NUM; val it = |- (RATN (rat_of_num n) = int_of_num n) /\ (RATD (rat_of_num n) = 1n): thm > rich_listTheory.MEM_TAKE; val it = |- !m l. m <= LENGTH l ==> !x. x IN LIST_TO_SET (TAKE m l) ==> x IN LIST_TO_SET l: thm Parse.temp_set_grammars (tyG, tmG) ;