src/HOL/Library/Code_Prolog.thy
author huffman
Fri, 01 Jun 2012 11:55:06 +0200
changeset 48065 8aa05d38299a
parent 47108 2a1953f0d20d
child 48891 c0eafbd55de3
permissions -rw-r--r--
transfer method now avoids generalizing over free variables that are known to appear in registered transfer rules

(*  Title:      HOL/Library/Code_Prolog.thy
    Author:     Lukas Bulwahn, TUM 2010
*)

header {* Code generation of prolog programs *}

theory Code_Prolog
imports Main
uses "~~/src/HOL/Tools/Predicate_Compile/code_prolog.ML"
begin

section {* Setup for Numerals *}

setup {* Predicate_Compile_Data.ignore_consts
  [@{const_name numeral}, @{const_name neg_numeral}] *}

setup {* Predicate_Compile_Data.keep_functions
  [@{const_name numeral}, @{const_name neg_numeral}] *}

end