Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch supports compilation of HOL Light.
If the
HOLLIGHT_USE_MODULE
environment variable is set to 1, Makefile buildshol_lib.cmo
and makeshol.sh
to use it. It first generateshol_lib_inlined.ml
which is the output of the newinline_load.ml
script which inlines allloads
/loadt
/needs
invocations of the input file. Then, it compiles the inlined file with ocmal compiler.Compiling HOL Light with 'HOLLIGHT_USE_MODULE=1' extends the trusted base of HOL Light to include the inliner script, inline_loads.ml. inline_loads.ml is an OCaml program that receives an HOL Light proof and replaces the loads/loadt/needs function invocations with their actual contents. The README file newly explains that this flag should be turned of only if having this additional trusted base is considered okay.
This pull request passed holtest as well as s2n-bignum proof tests (OCaml 4.14 used,
HOLLIGHT_USE_MODULE
turned on).The patch was written before my vacation; just opening this pull request now...