src/Tools/code/code_funcgr.ML
changeset 25103 1ee419a5a30f
parent 24969 b38527eefb3b
child 25485 33840a854e63
equal deleted inserted replaced
25102:db3e412c4cb1 25103:1ee419a5a30f
   300     val ct'' = Thm.rhs_of thm6;
   300     val ct'' = Thm.rhs_of thm6;
   301     val c_exprs = consts_of ct'';
   301     val c_exprs = consts_of ct'';
   302     val drop = drop_classes thy tfrees;
   302     val drop = drop_classes thy tfrees;
   303     val instdefs = instances_of_consts thy algebra funcgr' c_exprs;
   303     val instdefs = instances_of_consts thy algebra funcgr' c_exprs;
   304     val funcgr'' = ensure_consts thy algebra instdefs funcgr';
   304     val funcgr'' = ensure_consts thy algebra instdefs funcgr';
   305   in (f drop thm5 funcgr'' ct'' , funcgr'') end;
   305   in (f drop thm5 funcgr'' ct'', funcgr'') end;
   306 
   306 
   307 fun raw_eval_conv thy conv =
   307 fun raw_eval_conv thy conv =
   308   let
   308   let
   309     fun conv' drop_classes thm1 funcgr ct =
   309     fun conv' drop_classes thm1 funcgr ct =
   310       let
   310       let