/usr/share/hol88-2.02.19940316/contrib/quotient/quotient.ml is in hol88-contrib-source 2.02.19940316-19.
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 | % ===================================================================== %
% FILE : quotient.ml %
% DESCRIPTION : loads the library quotient into hol. %
% %
% AUTHOR : T. Kalker %
% DATE : 7 June 1989 %
% REVISED (TFM) : 29 January 1991 %
% ===================================================================== %
% --------------------------------------------------------------------- %
% First, load the auxiliary. %
% --------------------------------------------------------------------- %
load_library `auxiliary`;;
% --------------------------------------------------------------------- %
% Put the pathname to the library onto the search path. %
% --------------------------------------------------------------------- %
let path = library_pathname() ^ `/quotient/` in
print_string `Updating search path`; print_newline();
set_search_path (union (search_path()) [path]);;
% --------------------------------------------------------------------- %
% Load (or attempt to load) the theory quotient %
% --------------------------------------------------------------------- %
if draft_mode()
then (print_string `Declaring theory quotient a new parent`;
print_newline();
new_parent `quotient`)
else (load_theory `quotient` ?
(print_string `Defining ML function load_quotient`;
print_newline() ;
loadf `load_quotient`));;
% --------------------------------------------------------------------- %
% Set up autoloading if possible %
% --------------------------------------------------------------------- %
if (draft_mode() or (current_theory() = `quotient`)) then
(autoload_theory(`definition`,`quotient`,`REFLEX`);
autoload_theory(`definition`,`quotient`,`SYMMETRY`);
autoload_theory(`definition`,`quotient`,`TRANSITIVITY`);
autoload_theory(`definition`,`quotient`,`EQUIVALENCE`); ());;
% --------------------------------------------------------------------- %
% Load compiled code if possible %
% --------------------------------------------------------------------- %
if (draft_mode() or (current_theory() = `quotient`)) then
let path st = library_pathname() ^ `/quotient/` ^ st in
load(path `quotientfns`, get_flag_value `print_lib`);;
|