src/HOL/Library/Code_Prolog.thy
author paulson <lp15@cam.ac.uk>
Mon Feb 22 14:37:56 2016 +0000 (2016-02-22)
changeset 62379 340738057c8c
parent 60500 903bb1495239
child 69593 3dda49e08b9d
permissions -rw-r--r--
An assortment of useful lemmas about sums, norm, etc. Also: norm_conv_dist [symmetric] is now a simprule!
bulwahn@38117
     1
(*  Title:      HOL/Library/Code_Prolog.thy
bulwahn@38117
     2
    Author:     Lukas Bulwahn, TUM 2010
bulwahn@38117
     3
*)
bulwahn@38117
     4
wenzelm@60500
     5
section \<open>Code generation of prolog programs\<close>
bulwahn@38117
     6
bulwahn@38117
     7
theory Code_Prolog
bulwahn@38117
     8
imports Main
wenzelm@55447
     9
keywords "values_prolog" :: diag
bulwahn@38117
    10
begin
bulwahn@38117
    11
wenzelm@48891
    12
ML_file "~~/src/HOL/Tools/Predicate_Compile/code_prolog.ML"
wenzelm@48891
    13
wenzelm@60500
    14
section \<open>Setup for Numerals\<close>
bulwahn@38731
    15
wenzelm@60500
    16
setup \<open>Predicate_Compile_Data.ignore_consts [@{const_name numeral}]\<close>
huffman@47108
    17
wenzelm@60500
    18
setup \<open>Predicate_Compile_Data.keep_functions [@{const_name numeral}]\<close>
bulwahn@38731
    19
bulwahn@38117
    20
end