prove a free_vars cheat in compile_top_thm