<commit_before>(*  Title:      HOL/Library/Code_Integer.thy
    ID:         $Id$
    Author:     <NAME>, <NAME>
*)

header {* Pretty integer literals for code generation *}

theory Code_Integer
imports Presburger
begin

text {*
  HOL numeral expressions are mapped to integer literals
  in target languages, using predefined target language
  operations for abstract integer operations.
*}

code_type int
  (SML "IntInf.int")
  (OCaml "Big'_int.big'_int")
  (Haskell "Integer")

code_instance int :: eq
  (Haskell -)

setup {*<commit_msg>accomodated to sledgehammer theory dependency requirement<commit_after>(*  Title:      HOL/Library/Code_Integer.thy
    ID:         $Id$
    Author:     <NAME>, T<NAME>
*)

header {* Pretty integer literals for code generation *}

theory Code_Integer
imports ATP_Linkup
begin

text {*
  HOL numeral expressions are mapped to integer literals
  in target languages, using predefined target language
  operations for abstract integer operations.
*}

code_type int
  (SML "IntInf.int")
  (OCaml "Big'_int.big'_int")
  (Haskell "Integer")

code_instance int :: eq
  (Haskell -)

setup {*
{'fraction_non_alphanumeric': 0.09455842997323818, 'fraction_numerical': 0.0, 'mean_word_length': 3.7948717948717947, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7199250', 'n_tokens_mistral': 363, 'n_tokens_neox': 350, 'n_words': 113}