src/HOL/Library/Code_Prolog.thy
author wenzelm
Fri, 27 Jul 2012 21:50:34 +0200
changeset 48564 eaa36c0d620a
parent 47108 2a1953f0d20d
child 48891 c0eafbd55de3
permissions -rw-r--r--
tuned proofs -- avoid odd situations of polymorphic Frees in goal state;

(*  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