/usr/share/hol88-2.02.19940316/contrib/integer/integer.ml is in hol88-contrib-source 2.02.19940316-14.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | % ===================================================================== %
% FILE : integer.ml %
% DESCRIPTION : Loads selected definitions, theorems, rules and %
% tactics developed for the theory of the integers. %
% All representation dependent facts are excluded. %
% %
% AUTHOR : E. L. Gunter %
% DATE : 89.3.27 %
% %
% Modified 23 July 1989 to include more theorems to be autoloaded. ELG %
% %
% REVISED : T Melham 90.12.02 91.01.29 %
% ===================================================================== %
% --------------------------------------------------------------------- %
% First, load the group library %
% --------------------------------------------------------------------- %
load_library `group`;;
% --------------------------------------------------------------------- %
% Put the pathname to the library onto the search path. %
% --------------------------------------------------------------------- %
let path = library_pathname() ^ `/integer/` in
print_string `Updating search path`; print_newline();
set_search_path (union (search_path()) [path]);;
% --------------------------------------------------------------------- %
% Load (or attempt to load) the theory integer %
% --------------------------------------------------------------------- %
if draft_mode()
then (print_string `Declaring theory integer a new parent`;
print_newline();
new_parent `integer`)
else (load_theory `integer` ?
(print_string `Defining ML function load_integer`;
print_newline() ;
loadf `load_integer`));;
% --------------------------------------------------------------------- %
% Load start_groups from group library. %
% --------------------------------------------------------------------- %
let path = library_pathname() ^ `/group/start_groups` in
load(path, get_flag_value `print_lib`);;
% --------------------------------------------------------------------- %
% Load compiled code, if possible %
% --------------------------------------------------------------------- %
if (draft_mode() or (current_theory() = `integer`)) then
let path st = library_pathname() ^ `/integer/` ^ st in
load(path `num_tac`, get_flag_value `print_lib`);
load(path `integer_tac`, get_flag_value `print_lib`);;
% --------------------------------------------------------------------- %
% Set up autoloading of definitions and theorems from integer.th %
% --------------------------------------------------------------------- %
if (draft_mode() or (current_theory() = `integer`)) then
let defs = map fst (definitions `integer`) in
map (\name. autoload_theory(`definition`,`integer`,name)) defs;
let thms = map fst (theorems `integer`) in
map (\name. autoload_theory(`theorem`,`integer`,name)) thms;
delete_cache `integer`; ();;
|