CakeML:0b3fec415c9264f22e15c0f3f3b3fc46b7906aac
Remove compilationLib, {..}_compileLib and backendComputeLib
#1097 (remove-compilationlib)
Merging into:2e7a9fa51b7bfda0eb3a5f345d8f3373b95a4ba7
Merge pull request #1096 from CakeML/update_hol
HOL:01016dcf0e02558d270fce008fce672df8cdbbf7
Fix (last few(?)) compile-time errors caused by located_thms
Machine:lammmington
Claimed job
Building HOL
Starting developers
Finished developers 3s 202MB
Starting developers/bin
Finished developers/bin 4s 744MB
Starting compiler/proofs
FAILED: compiler/proofs
Scanning $(HOLDIR)/src/bag
Scanning $(HOLDIR)/src/sort
Scanning $(HOLDIR)/src/string
Scanning $(HOLDIR)/src/n-bit
Scanning $(HOLDIR)/src/res_quan/src
Scanning $(HOLDIR)/src/finite_maps
Scanning $(HOLDIR)/examples/formal-languages/context-free
Scanning $(HOLDIR)/examples/balanced_bst
Scanning $(HOLDIR)/examples/formal-languages
Scanning $(HOLDIR)/examples/formal-languages/regular
Scanning $(HOLDIR)/src/transfer
Scanning $(HOLDIR)/src/pred_set/src/more_theories
Scanning $(HOLDIR)/src/coalgebras
Scanning $(HOLDIR)/examples/fun-op-sem/lprefix_lub
Scanning $(HOLDIR)/examples/machine-code/hoare-triple
Scanning $(CAKEMLDIR)/developers
Scanning $(CAKEMLDIR)/misc
Scanning $(CAKEMLDIR)/semantics/ffi
Scanning $(CAKEMLDIR)/semantics
Scanning $(CAKEMLDIR)/basis/pure
Scanning $(CAKEMLDIR)/semantics/proofs
Scanning $(CAKEMLDIR)/compiler/parsing
Scanning $(CAKEMLDIR)/translator
Scanning $(CAKEMLDIR)/characteristic
Scanning $(CAKEMLDIR)/translator/monadic/monad_base
Scanning $(CAKEMLDIR)/translator/monadic
Scanning $(CAKEMLDIR)/basis
Scanning $(HOLDIR)/examples/algorithms
Scanning $(HOLDIR)/src/ring/src
Scanning $(HOLDIR)/src/integer
Scanning $(HOLDIR)/examples/machine-code/multiword
Scanning $(CAKEMLDIR)/compiler/backend/pattern_matching
Scanning $(CAKEMLDIR)/unverified/reg_alloc
Scanning $(CAKEMLDIR)/compiler/backend/reg_alloc
Scanning $(HOLDIR)/src/algebra/base
Scanning $(HOLDIR)/src/algebra/construction
Scanning $(HOLDIR)/src/algebra
Scanning $(HOLDIR)/src/hol88
Scanning $(HOLDIR)/src/rational
Scanning $(HOLDIR)/src/real
Scanning $(HOLDIR)/src/floating-point
Scanning $(HOLDIR)/src/monad/more_monads
Scanning $(HOLDIR)/src/update
Scanning $(HOLDIR)/examples/l3-machine-code/common
Scanning $(CAKEMLDIR)/compiler/encoders/asm
Scanning $(CAKEMLDIR)/compiler/backend
Scanning $(CAKEMLDIR)/compiler/encoders/ag32
Scanning $(CAKEMLDIR)/compiler/backend/ag32
Scanning $(HOLDIR)/examples/l3-machine-code/lib
Scanning $(HOLDIR)/examples/l3-machine-code/arm/model
Scanning $(HOLDIR)/examples/machine-code/decompiler
Scanning $(HOLDIR)/examples/l3-machine-code
Scanning $(HOLDIR)/examples/l3-machine-code/arm/step
Scanning $(CAKEMLDIR)/compiler/encoders/arm7
Scanning $(CAKEMLDIR)/compiler/backend/arm7
Scanning $(HOLDIR)/examples/l3-machine-code/arm8/model
Scanning $(HOLDIR)/examples/l3-machine-code/arm8/step
Scanning $(CAKEMLDIR)/compiler/encoders/arm8
Scanning $(CAKEMLDIR)/compiler/backend/arm8
Scanning $(HOLDIR)/examples/l3-machine-code/mips/model
Scanning $(HOLDIR)/examples/l3-machine-code/mips/step
Scanning $(CAKEMLDIR)/compiler/encoders/mips
Scanning $(CAKEMLDIR)/compiler/backend/mips
Scanning $(HOLDIR)/examples/l3-machine-code/riscv/model
Scanning $(HOLDIR)/examples/l3-machine-code/riscv/step
Scanning $(CAKEMLDIR)/compiler/encoders/riscv
Scanning $(CAKEMLDIR)/compiler/backend/riscv
Scanning $(HOLDIR)/examples/l3-machine-code/x64/model
Scanning $(HOLDIR)/examples/l3-machine-code/x64/step
Scanning $(CAKEMLDIR)/compiler/encoders/x64
Scanning $(CAKEMLDIR)/compiler/backend/x64
Scanning $(HOLDIR)/examples/algorithms/unification/triangular
Scanning $(HOLDIR)/src/transfer/examples
Scanning $(HOLDIR)/examples/algorithms/unification/triangular/first-order
Scanning $(HOLDIR)/examples/algorithms/unification/triangular/first-order/compilation
Scanning $(CAKEMLDIR)/compiler/inference
Scanning $(CAKEMLDIR)/pancake
Scanning $(CAKEMLDIR)/pancake/parser
Scanning $(CAKEMLDIR)/compiler
Scanning $(CAKEMLDIR)/compiler/backend/gc
Scanning $(CAKEMLDIR)/compiler/backend/reg_alloc/proofs
Scanning $(CAKEMLDIR)/semantics/alt_semantics
Scanning $(CAKEMLDIR)/semantics/alt_semantics/proofs
Scanning $(CAKEMLDIR)/compiler/backend/semantics
Scanning $(CAKEMLDIR)/compiler/backend/proofs
Scanning $(CAKEMLDIR)/compiler/inference/proofs
Scanning $(CAKEMLDIR)/compiler/parsing/proofs
Scanned 89 directories
Starting work on locationTheory
Starting work on balanced_mapTheory
Starting work on FormalLangTheory
Starting work on charsetTheory
locationTheory examples/formal-languages/context-free (1s) OK
Starting work on grammarTheory
FormalLangTheory examples/formal-languages (1s) OK
Finished $(HOLDIR)/examples/formal-languages [#theories: 1] (1.990s)
Starting work on vec_mapTheory
vec_mapTheory examples/formal-languages/regular (1s) OK
Starting work on lprefix_lubTheory
grammarTheory examples/formal-languages/context-free (2s) OK
Starting work on NTpropertiesTheory
lprefix_lubTheory examples/fun-op-sem/lprefix_lub (3s) OK
Starting work on pegTheory
NTpropertiesTheory examples/formal-languages/context-free (4s) OK
Finished $(HOLDIR)/examples/fun-op-sem/lprefix_lub [#theories: 1] (3.650s)
Starting work on set_sepTheory
charsetTheory examples/formal-languages/regular (8s) OK
Starting work on regexpTheory
pegTheory examples/formal-languages/context-free (5s) OK
Starting work on pegexecTheory
set_sepTheory examples/machine-code/hoare-triple (4s) OK
Starting work on simpleSexpTheory
pegexecTheory examples/formal-languages/context-free (2s) OK
Starting work on tailrecTheory
tailrecTheory examples/machine-code/hoare-triple (0s) OK
Starting work on progTheory
simpleSexpTheory examples/formal-languages/context-free (4s) OK
Starting work on simpleSexpPEGTheory
progTheory examples/machine-code/hoare-triple (3s) OK
Starting work on addressTheory
simpleSexpPEGTheory examples/formal-languages/context-free (3s) OK
Starting work on simpleSexpParseTheory
regexpTheory examples/formal-languages/regular (14s) OK
Starting work on temporalTheory
temporalTheory examples/machine-code/hoare-triple (3s) OK
Starting work on spt_closureTheory
addressTheory examples/machine-code/hoare-triple (6s) OK
Finished $(HOLDIR)/examples/machine-code/hoare-triple [#theories: 5] (18.380s)
Starting work on miscTheory
spt_closureTheory examples/algorithms (1s) OK
Finished $(HOLDIR)/examples/algorithms [#theories: 1] (1.640s)
Starting work on multiwordTheory
simpleSexpParseTheory examples/formal-languages/context-free (10s) OK
Finished $(HOLDIR)/examples/formal-languages/context-free [#theories: 8] (35.600s)
Finished $(HOLDIR)/examples/l3-machine-code/common (0.000s)
Starting work on ag32Theory
ag32Theory compiler/encoders/ag32 (9s) OK
Finished $(HOLDIR)/examples/l3-machine-code/lib (0.000s)
Starting work on armTheory
multiwordTheory examples/machine-code/multiword (26s) OK
Starting work on mc_multiwordTheory
miscTheory misc (28s) OK
Starting work on cakeml-heap
cakeml-heap misc (21s) OK
Finished $(CAKEMLDIR)/misc [#theories: 1] (49.720s)
Starting work on ffiTheory
ffiTheory semantics/ffi (8s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (8.130s)
Starting work on fpValTreeTheory
fpValTreeTheory semantics (1s) OK
Starting work on fpOptTheory
fpOptTheory semantics (5s) OK
Starting work on fpSemTheory
fpSemTheory semantics (1s) OK
Starting work on namespaceTheory
namespaceTheory semantics (2s) OK
Starting work on realOpsTheory
realOpsTheory semantics (1s) OK
Starting work on astTheory
armTheory examples/l3-machine-code/arm/model (49s) OK
Starting work on tokensTheory
mc_multiwordTheory examples/machine-code/multiword (36s) OK
Starting work on mllistTheory
tokensTheory semantics (3s) OK
Starting work on gramTheory
astTheory semantics (7s) OK
Starting work on semanticPrimitivesTheory
mllistTheory basis/pure (2s) OK
Starting work on tokenUtilsTheory
gramTheory semantics (7s) OK
Starting work on lexer_funTheory
tokenUtilsTheory semantics (8s) OK
Starting work on cmlPtreeConversionTheory
lexer_funTheory semantics (8s) OK
Starting work on mlstringTheory
cmlPtreeConversionTheory semantics (18s) OK
Starting work on mloptionTheory
mlstringTheory basis/pure (12s) OK
Starting work on mlintTheory
mloptionTheory basis/pure (2s) OK
Starting work on gramPropsTheory
balanced_mapTheory examples/balanced_bst(134s) OK
Starting work on osetTheory
semanticPrimitivesTheory semantics (33s) OK
Starting work on evaluateTheory
mlintTheory basis/pure (7s) OK
Starting work on typeSystemTheory
osetTheory examples/balanced_bst (4s) OK
Finished $(HOLDIR)/examples/balanced_bst [#theories: 2] (139.790s)
Starting work on regexp_mapTheory
evaluateTheory semantics (5s) OK
Starting work on mlmapTheory
regexp_mapTheory examples/formal-languages/regular (3s) OK
Starting work on regexp_compilerTheory
mlmapTheory basis/pure (4s) OK
Starting work on mlratTheory
gramPropsTheory semantics/proofs (14s) OK
Starting work on mlsetTheory
mlsetTheory basis/pure (2s) OK
Starting work on typeDecToPPTheory
mlratTheory basis/pure (3s) OK
Starting work on astPropsTheory
astPropsTheory semantics/proofs (1s) OK
Starting work on namespacePropsTheory
typeSystemTheory semantics (12s) OK
Starting work on primTypesTheory
typeDecToPPTheory basis/pure (2s) OK
Starting work on fpOptPropsTheory
primTypesTheory semantics (2s) OK
Starting work on semanticsTheory
regexp_compilerTheory examples/formal-languages/regular (14s) OK
Finished $(HOLDIR)/examples/formal-languages/regular [#theories: 5] (42.010s)
Starting work on mlvectorTheory
fpOptPropsTheory semantics/proofs (5s) OK
Starting work on fpSemPropsTheory
namespacePropsTheory semantics/proofs (6s) OK
Starting work on semanticPrimitivesPropsTheory
semanticsTheory semantics (4s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 16] (125.170s)
Starting work on typeSoundInvariantsTheory
mlvectorTheory basis/pure (4s) OK
Starting work on mlprettyprinterTheory
typeSoundInvariantsTheory semantics/proofs (4s) OK
Starting work on cmlPEGTheory
mlprettyprinterTheory basis/pure (7s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 10] (49.540s)
Starting work on fromSexpTheory
semanticPrimitivesPropsTheory semantics/proofs (35s) OK
Starting work on typeSysPropsTheory
typeSysPropsTheory semantics/proofs (20s) OK
Starting work on primSemEnvTheory
primSemEnvTheory semantics/proofs (8s) OK
Starting work on weakeningTheory
cmlPEGTheory compiler/parsing (62s) OK
Starting work on cmlParseTheory
weakeningTheory semantics/proofs (5s) OK
Starting work on lexer_implTheory
cmlParseTheory compiler/parsing (8s) OK
Starting work on cfFFITypeTheory
cfFFITypeTheory characteristic (4s) OK
Starting work on ml_monadBaseTheory
fpSemPropsTheory semantics/proofs (91s) OK
Starting work on evaluatePropsTheory
fromSexpTheory compiler/parsing (69s) OK
Starting work on MarshallingTheory
MarshallingTheory basis (3s) OK
Finished $(HOLDIR)/examples/machine-code/multiword [#theories: 2] (62.760s)
Starting work on pattern_commonTheory
ml_monadBaseTheory translator/monadic/monad_base (16s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (16.180s)
Starting work on reg_allocTheory
pattern_commonTheory compiler/backend/pattern_matching (9s) OK
Starting work on pattern_semanticsTheory
pattern_semanticsTheory compiler/backend/pattern_matching (14s) OK
Starting work on pattern_compTheory
lexer_implTheory compiler/parsing (46s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (186.500s)
Starting work on parmoveTheory
pattern_compTheory compiler/backend/pattern_matching (15s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (39.110s)
Starting work on asmTheory
reg_allocTheory compiler/backend/reg_alloc (37s) OK
Starting work on linear_scanTheory
parmoveTheory compiler/backend/reg_alloc (22s) OK
Starting work on backend_commonTheory
asmTheory compiler/encoders/asm (12s) OK
Starting work on asmSemTheory
backend_commonTheory compiler/backend (3s) OK
Starting work on closLangTheory
closLangTheory compiler/backend (8s) OK
Starting work on bviTheory
bviTheory compiler/backend (2s) OK
Starting work on dataLangTheory
asmSemTheory compiler/encoders/asm (11s) OK
Starting work on asmPropsTheory
dataLangTheory compiler/backend (3s) OK
Starting work on data_liveTheory
evaluatePropsTheory semantics/proofs (81s) OK
Starting work on typeSoundTheory
data_liveTheory compiler/backend (7s) OK
Starting work on ml_progTheory
linear_scanTheory compiler/backend/reg_alloc (32s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (92.040s)
Starting work on data_simpTheory
data_simpTheory compiler/backend (2s) OK
Starting work on data_spaceTheory
asmPropsTheory compiler/encoders/asm (15s) OK
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (39.500s)
Starting work on bvi_letTheory
bvi_letTheory compiler/backend (4s) OK
Starting work on bvi_tailrecTheory
data_spaceTheory compiler/backend (8s) OK
Starting work on bvi_to_dataTheory
ml_progTheory translator (11s) OK
Starting work on ml_translatorTheory
bvi_to_dataTheory compiler/backend (29s) OK
Starting work on cfHeapsBaseTheory
bvi_tailrecTheory compiler/backend (42s) OK
Starting work on bvlTheory
cfHeapsBaseTheory characteristic (15s) OK
Starting work on clFFITheory
bvlTheory compiler/backend (2s) OK
Starting work on runtimeFFITheory
clFFITheory basis (4s) OK
Starting work on fsFFITheory
runtimeFFITheory basis (4s) OK
Starting work on bvl_constTheory
ml_translatorTheory translator (54s) OK
Starting work on ml_optimiseTheory
fsFFITheory basis (8s) OK
Starting work on ml_pmatchTheory
ml_optimiseTheory translator (14s) OK
Starting work on fsFFIPropsTheory
ml_pmatchTheory translator (11s) OK
Starting work on std_preludeTheory
std_preludeTheory translator (13s) OK
Finished $(CAKEMLDIR)/translator [#theories: 5] (105.980s)
Starting work on cfHeapsTheory
cfHeapsTheory characteristic (11s) OK
Starting work on cfStoreTheory
fsFFIPropsTheory basis (45s) OK
Starting work on db_varsTheory
cfStoreTheory characteristic (15s) OK
Starting work on cfNormaliseTheory
db_varsTheory compiler/backend (2s) OK
Starting work on bvl_jumpTheory
bvl_constTheory compiler/backend (61s) OK
Starting work on bvl_handleTheory
bvl_jumpTheory compiler/backend (2s) OK
Starting work on clos_annotateTheory
clos_annotateTheory compiler/backend (6s) OK
Starting work on clos_callTheory
cfNormaliseTheory characteristic (13s) OK
Starting work on cfAppTheory
clos_callTheory compiler/backend (7s) OK
Starting work on clos_fvsTheory
clos_fvsTheory compiler/backend (2s) OK
Starting work on clos_letopTheory
clos_letopTheory compiler/backend (3s) OK
Starting work on clos_opTheory
typeSoundTheory semantics/proofs(167s) OK
Starting work on semanticsPropsTheory
bvl_handleTheory compiler/backend (26s) OK
Starting work on bvl_inlineTheory
semanticsPropsTheory semantics/proofs (6s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 13] (449.510s)
Starting work on clos_ticksTheory
cfAppTheory characteristic (20s) OK
Starting work on cfTheory
clos_ticksTheory compiler/backend (2s) OK
Starting work on clos_mtiTheory
bvl_inlineTheory compiler/backend (7s) OK
Starting work on bvl_to_bviTheory
clos_mtiTheory compiler/backend (5s) OK
Starting work on clos_numberTheory
clos_numberTheory compiler/backend (2s) OK
Starting work on stackLangTheory
stackLangTheory compiler/backend (6s) OK
Starting work on wordLangTheory
clos_opTheory compiler/backend (33s) OK
Starting work on clos_knownTheory
wordLangTheory compiler/backend (10s) OK
Starting work on word_bignumTheory
word_bignumTheory compiler/backend (27s) OK
Starting work on word_depthTheory
clos_knownTheory compiler/backend (31s) OK
Starting work on clos_to_bvlTheory
bvl_to_bviTheory compiler/backend (53s) OK
Starting work on word_allocTheory
word_depthTheory compiler/backend (4s) OK
Starting work on word_cseTheory
word_cseTheory compiler/backend (9s) OK
Starting work on word_instTheory
cfTheory characteristic (90s) OK
Starting work on cfTacticsTheory
cfTacticsTheory characteristic (11s) OK
Starting work on xcfTheory
word_instTheory compiler/backend (28s) OK
Starting work on word_removeTheory
xcfTheory characteristic (4s) OK
Starting work on cfDivTheory
word_removeTheory compiler/backend (7s) OK
Starting work on cfLetAutoTheory
word_allocTheory compiler/backend (67s) OK
Starting work on cfMainTheory
cfLetAutoTheory characteristic (18s) OK
Starting work on ml_monad_translatorBaseTheory
clos_to_bvlTheory compiler/backend (78s) OK
Starting work on word_simpTheory
cfMainTheory characteristic (17s) OK
Starting work on clos_interpTheory
ml_monad_translatorBaseTheory translator/monadic (18s) OK
Starting work on ml_monad_translatorTheory
clos_interpTheory compiler/backend (24s) OK
Starting work on flatLangTheory
word_simpTheory compiler/backend (35s) OK
Starting work on word_to_wordTheory
word_to_wordTheory compiler/backend (4s) OK
Starting work on data_to_wordTheory
flatLangTheory compiler/backend (8s) OK
Starting work on flat_to_closTheory
ml_monad_translatorTheory translator/monadic (38s) OK
Starting work on cfMonadTheory
flat_to_closTheory compiler/backend (15s) OK
Starting work on jsonLangTheory
jsonLangTheory compiler/backend (3s) OK
Starting work on labLangTheory
labLangTheory compiler/backend (3s) OK
Starting work on lab_filterTheory
lab_filterTheory compiler/backend (2s) OK
Starting work on lab_to_targetTheory
cfMonadTheory translator/monadic (18s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 3] (76.350s)
Starting work on str_treeTheory
str_treeTheory compiler/backend (3s) OK
Starting work on displayLangTheory
displayLangTheory compiler/backend (2s) OK
Starting work on flat_elimTheory
lab_to_targetTheory compiler/backend (12s) OK
Starting work on flat_patternTheory
flat_elimTheory compiler/backend (8s) OK
Starting work on source_letTheory
flat_patternTheory compiler/backend (7s) OK
Starting work on source_to_flatTheory
source_letTheory compiler/backend (3s) OK
Starting work on source_to_sourceTheory
source_to_sourceTheory compiler/backend (2s) OK
Starting work on stack_namesTheory
cfDivTheory characteristic(131s) OK
Finished $(CAKEMLDIR)/characteristic [#theories: 12] (354.450s)
Starting work on RuntimeProgTheory
data_to_wordTheory compiler/backend (52s) OK
Starting work on stack_allocTheory
source_to_flatTheory compiler/backend (9s) OK
Starting work on presLangTheory
stack_namesTheory compiler/backend (8s) OK
Starting work on stack_rawcallTheory
RuntimeProgTheory basis (15s)FAIL<1>
/scratch/cakeml/regression2/cakeml-2715/characteristic/cfLetAutoLib.sml:1694: error: Can't unify
{message: string,
origin_function: string,
origin_structure: string, source_location: locn.locn} to
{message: 'a, origin_function: 'b, origin_structure: 'c}
(Different number of fields)
Found near
HOL_ERR {message = msg, origin_function = fname, origin_structure = sname}
/scratch/cakeml/regression2/cakeml-2715/characteristic/cfLetAutoLib.sml:1924: error: Can't unify
{message: string,
origin_function: string,
origin_structure: string, source_location: locn.locn} to
{message: 'a, origin_function: 'b, origin_structure: 'c}
(Different number of fields)
Found near
HOL_ERR {origin_structure = _, origin_function = fname, message = msg}
error in quse /scratch/cakeml/regression2/cakeml-2715/characteristic/cfLetAutoLib.sml : Fail "Static Errors"
error in load $(CAKEMLDIR)/characteristic/cfLetAutoLib : Fail "Static Errors"
error in load $(CAKEMLDIR)/characteristic/cfLib : Fail "Static Errors"
error in load $(CAKEMLDIR)/basis/basisFunctionsLib : Fail "Static Errors"
error in load /scratch/cakeml/regression2/cakeml-2715/basis/RuntimeProgScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
stack_allocTheory compiler/backend (15s)MKILLED
presLangTheory compiler/backend (11s)MKILLED
stack_rawcallTheory compiler/backend (9s)MKILLED