CakeML:092087e80b2b94d37aad718450254fb4b23c3516
update for HOL changes
#1096 (update_hol)
Merging into:043c91973791dba96e51b2fb43a5ecc0df2a51c0
Merge pull request #1098 from CakeML/fix-binary-link
HOL:01016dcf0e02558d270fce008fce672df8cdbbf7
Fix (last few(?)) compile-time errors caused by located_thms
Machine:pavlova
Claimed job
Reusing HOL
Starting developers
Finished developers 3s 145MB
Starting developers/bin
Finished developers/bin 5s 746MB
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 (2s) OK
Finished $(HOLDIR)/examples/formal-languages [#theories: 1] (2.030s)
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.600s)
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 (15s) OK
Starting work on temporalTheory
addressTheory examples/machine-code/hoare-triple (6s) OK
Starting work on miscTheory
temporalTheory examples/machine-code/hoare-triple (3s) OK
Finished $(HOLDIR)/examples/machine-code/hoare-triple [#theories: 5] (18.090s)
Starting work on spt_closureTheory
spt_closureTheory examples/algorithms (1s) OK
Finished $(HOLDIR)/examples/algorithms [#theories: 1] (1.680s)
Starting work on multiwordTheory
simpleSexpParseTheory examples/formal-languages/context-free (10s) OK
Finished $(HOLDIR)/examples/formal-languages/context-free [#theories: 8] (35.330s)
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
miscTheory misc (27s) OK
Starting work on cakeml-heap
multiwordTheory examples/machine-code/multiword (26s) OK
Starting work on ffiTheory
cakeml-heap misc (21s) OK
Finished $(CAKEMLDIR)/misc [#theories: 1] (48.960s)
Starting work on fpValTreeTheory
ffiTheory semantics/ffi (8s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (8.170s)
Starting work on namespaceTheory
fpValTreeTheory semantics (1s) OK
Starting work on fpOptTheory
namespaceTheory semantics (2s) OK
Starting work on realOpsTheory
realOpsTheory semantics (1s) OK
Starting work on tokensTheory
fpOptTheory semantics (4s) OK
Starting work on fpSemTheory
tokensTheory semantics (3s) OK
Starting work on gramTheory
fpSemTheory semantics (1s) OK
Starting work on astTheory
gramTheory semantics (7s) OK
Starting work on tokenUtilsTheory
astTheory semantics (7s) OK
Starting work on semanticPrimitivesTheory
armTheory examples/l3-machine-code/arm/model (48s) OK
Starting work on lexer_funTheory
tokenUtilsTheory semantics (8s) OK
Starting work on cmlPtreeConversionTheory
lexer_funTheory semantics (8s) OK
Starting work on mllistTheory
mllistTheory basis/pure (2s) OK
Starting work on mlstringTheory
cmlPtreeConversionTheory semantics (18s) OK
Starting work on mloptionTheory
mloptionTheory basis/pure (2s) OK
Starting work on gramPropsTheory
mlstringTheory basis/pure (12s) OK
Starting work on mlintTheory
semanticPrimitivesTheory semantics (33s) OK
Starting work on evaluateTheory
evaluateTheory semantics (5s) OK
Starting work on typeSystemTheory
mlintTheory basis/pure (7s) OK
Starting work on mlratTheory
gramPropsTheory semantics/proofs (14s) OK
Starting work on typeDecToPPTheory
mlratTheory basis/pure (3s) OK
Starting work on astPropsTheory
typeDecToPPTheory basis/pure (2s) OK
Starting work on namespacePropsTheory
astPropsTheory semantics/proofs (1s) OK
Starting work on fpOptPropsTheory
balanced_mapTheory examples/balanced_bst(136s) OK
Starting work on osetTheory
namespacePropsTheory semantics/proofs (6s) OK
Starting work on mlmapTheory
fpOptPropsTheory semantics/proofs (5s) OK
Starting work on mlsetTheory
typeSystemTheory semantics (13s) OK
Starting work on primTypesTheory
osetTheory examples/balanced_bst (4s) OK
Finished $(HOLDIR)/examples/balanced_bst [#theories: 2] (141.880s)
Starting work on regexp_mapTheory
mlsetTheory basis/pure (2s) OK
Starting work on fpSemPropsTheory
primTypesTheory semantics (1s) OK
Starting work on semanticsTheory
mlmapTheory basis/pure (4s) OK
Starting work on semanticPrimitivesPropsTheory
regexp_mapTheory examples/formal-languages/regular (3s) OK
Starting work on regexp_compilerTheory
semanticsTheory semantics (4s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 16] (124.660s)
Starting work on typeSoundInvariantsTheory
typeSoundInvariantsTheory semantics/proofs (4s) OK
Starting work on cmlPEGTheory
regexp_compilerTheory examples/formal-languages/regular (14s) OK
Finished $(HOLDIR)/examples/formal-languages/regular [#theories: 5] (42.500s)
Starting work on mlvectorTheory
mlvectorTheory basis/pure (4s) OK
Starting work on mlprettyprinterTheory
mlprettyprinterTheory basis/pure (7s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 10] (49.500s)
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 (7s) OK
Starting work on weakeningTheory
weakeningTheory semantics/proofs (5s) OK
Starting work on lexer_implTheory
cmlPEGTheory compiler/parsing (62s) OK
Starting work on cmlParseTheory
cmlParseTheory compiler/parsing (8s) OK
Starting work on cfFFITypeTheory
cfFFITypeTheory characteristic (4s) OK
Starting work on ml_monadBaseTheory
fpSemPropsTheory semantics/proofs (90s) OK
Starting work on evaluatePropsTheory
ml_monadBaseTheory translator/monadic/monad_base (15s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (15.650s)
Starting work on MarshallingTheory
MarshallingTheory basis (3s) OK
Starting work on mc_multiwordTheory
fromSexpTheory compiler/parsing (70s) OK
Starting work on pattern_commonTheory
lexer_implTheory compiler/parsing (46s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (186.980s)
Starting work on reg_allocTheory
pattern_commonTheory compiler/backend/pattern_matching (9s) OK
Starting work on pattern_semanticsTheory
pattern_semanticsTheory compiler/backend/pattern_matching (13s) OK
Starting work on pattern_compTheory
mc_multiwordTheory examples/machine-code/multiword (36s) OK
Finished $(HOLDIR)/examples/machine-code/multiword [#theories: 2] (62.430s)
Starting work on parmoveTheory
pattern_compTheory compiler/backend/pattern_matching (15s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (38.240s)
Starting work on asmTheory
reg_allocTheory compiler/backend/reg_alloc (36s) OK
Starting work on linear_scanTheory
asmTheory compiler/encoders/asm (11s) OK
Starting work on asmSemTheory
evaluatePropsTheory semantics/proofs (80s) OK
Starting work on typeSoundTheory
parmoveTheory compiler/backend/reg_alloc (22s) OK
Starting work on ml_progTheory
asmSemTheory compiler/encoders/asm (11s) OK
Starting work on asmPropsTheory
ml_progTheory translator (12s) OK
Starting work on ml_translatorTheory
linear_scanTheory compiler/backend/reg_alloc (31s) OK
Starting work on cfHeapsBaseTheory
asmPropsTheory compiler/encoders/asm (15s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (90.300s)
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (38.800s)
Starting work on backend_commonTheory
backend_commonTheory compiler/backend (3s) OK
Starting work on closLangTheory
cfHeapsBaseTheory characteristic (15s) OK
Starting work on clFFITheory
closLangTheory compiler/backend (8s) OK
Starting work on runtimeFFITheory
clFFITheory basis (4s) OK
Starting work on fsFFITheory
runtimeFFITheory basis (4s) OK
Starting work on bviTheory
bviTheory compiler/backend (2s) OK
Starting work on dataLangTheory
dataLangTheory compiler/backend (3s) OK
Starting work on data_liveTheory
fsFFITheory basis (8s) OK
Starting work on fsFFIPropsTheory
data_liveTheory compiler/backend (7s) OK
Starting work on data_simpTheory
data_simpTheory compiler/backend (2s) OK
Starting work on data_spaceTheory
ml_translatorTheory translator (53s) OK
Starting work on ml_optimiseTheory
data_spaceTheory compiler/backend (8s) OK
Starting work on ml_pmatchTheory
ml_optimiseTheory translator (14s) OK
Starting work on bvi_to_dataTheory
ml_pmatchTheory translator (12s) OK
Starting work on std_preludeTheory
std_preludeTheory translator (12s) OK
Finished $(CAKEMLDIR)/translator [#theories: 5] (105.600s)
Starting work on cfHeapsTheory
fsFFIPropsTheory basis (45s) OK
Starting work on bvi_letTheory
bvi_letTheory compiler/backend (4s) OK
Starting work on bvi_tailrecTheory
cfHeapsTheory characteristic (11s) OK
Starting work on cfStoreTheory
bvi_to_dataTheory compiler/backend (28s) OK
Starting work on bvlTheory
bvlTheory compiler/backend (2s) OK
Starting work on bvl_constTheory
cfStoreTheory characteristic (14s) OK
Starting work on cfNormaliseTheory
cfNormaliseTheory characteristic (13s) OK
Starting work on cfAppTheory
bvi_tailrecTheory compiler/backend (41s) OK
Starting work on db_varsTheory
db_varsTheory compiler/backend (2s) OK
Starting work on bvl_jumpTheory
bvl_jumpTheory compiler/backend (2s) OK
Starting work on clos_annotateTheory
cfAppTheory characteristic (20s) OK
Starting work on cfTheory
typeSoundTheory semantics/proofs(163s) OK
Starting work on semanticsPropsTheory
clos_annotateTheory compiler/backend (6s) OK
Starting work on clos_callTheory
semanticsPropsTheory semantics/proofs (6s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 13] (442.440s)
Starting work on clos_fvsTheory
clos_fvsTheory compiler/backend (2s) OK
Starting work on clos_letopTheory
clos_callTheory compiler/backend (7s) OK
Starting work on clos_opTheory
clos_letopTheory compiler/backend (3s) OK
Starting work on clos_ticksTheory
clos_ticksTheory compiler/backend (2s) OK
Starting work on clos_mtiTheory
bvl_constTheory compiler/backend (60s) OK
Starting work on bvl_handleTheory
clos_mtiTheory compiler/backend (5s) OK
Starting work on clos_numberTheory
clos_numberTheory compiler/backend (2s) OK
Starting work on stackLangTheory
stackLangTheory compiler/backend (5s) OK
Starting work on wordLangTheory
wordLangTheory compiler/backend (9s) OK
Starting work on word_bignumTheory
clos_opTheory compiler/backend (33s) OK
Starting work on clos_knownTheory
bvl_handleTheory compiler/backend (27s) OK
Starting work on bvl_inlineTheory
bvl_inlineTheory compiler/backend (7s) OK
Starting work on bvl_to_bviTheory
word_bignumTheory compiler/backend (27s) OK
Starting work on word_depthTheory
word_depthTheory compiler/backend (3s) OK
Starting work on word_allocTheory
clos_knownTheory compiler/backend (31s) OK
Starting work on clos_to_bvlTheory
cfTheory characteristic (89s) OK
Starting work on cfTacticsTheory
cfTacticsTheory characteristic (11s) OK
Starting work on xcfTheory
xcfTheory characteristic (4s) OK
Starting work on cfDivTheory
bvl_to_bviTheory compiler/backend (52s) OK
Starting work on cfLetAutoTheory
cfLetAutoTheory characteristic (17s) OK
Starting work on cfMainTheory
word_allocTheory compiler/backend (66s) OK
Starting work on ml_monad_translatorBaseTheory
cfMainTheory characteristic (17s) OK
Starting work on word_cseTheory
word_cseTheory compiler/backend (9s) OK
Starting work on word_instTheory
ml_monad_translatorBaseTheory translator/monadic (17s) OK
Starting work on ml_monad_translatorTheory
clos_to_bvlTheory compiler/backend (78s) OK
Starting work on word_removeTheory
word_removeTheory compiler/backend (7s) OK
Starting work on word_simpTheory
word_instTheory compiler/backend (27s) OK
Starting work on clos_interpTheory
ml_monad_translatorTheory translator/monadic (38s) OK
Starting work on cfMonadTheory
word_simpTheory compiler/backend (34s) OK
Starting work on word_to_wordTheory
word_to_wordTheory compiler/backend (4s) OK
Starting work on data_to_wordTheory
clos_interpTheory compiler/backend (24s) OK
Starting work on flatLangTheory
cfMonadTheory translator/monadic (18s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 3] (74.600s)
Starting work on jsonLangTheory
jsonLangTheory compiler/backend (3s) OK
Starting work on labLangTheory
labLangTheory compiler/backend (3s) OK
Starting work on lab_filterTheory
flatLangTheory compiler/backend (8s) OK
Starting work on flat_to_closTheory
lab_filterTheory compiler/backend (2s) OK
Starting work on lab_to_targetTheory
cfDivTheory characteristic(130s) OK
Finished $(CAKEMLDIR)/characteristic [#theories: 12] (350.290s)
Starting work on RuntimeProgTheory
lab_to_targetTheory compiler/backend (11s) OK
Starting work on str_treeTheory
flat_to_closTheory compiler/backend (15s) OK
Starting work on flat_elimTheory
str_treeTheory compiler/backend (3s) OK
Starting work on displayLangTheory
displayLangTheory compiler/backend (2s) OK
Starting work on flat_patternTheory
RuntimeProgTheory basis (14s)FAIL<1>
/scratch/cakeml/regression/cakeml-2711/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/regression/cakeml-2711/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/regression/cakeml-2711/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/regression/cakeml-2711/basis/RuntimeProgScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
data_to_wordTheory compiler/backend (33s)MKILLED
flat_elimTheory compiler/backend (3s)MKILLED
flat_patternTheory compiler/backend (1s)MKILLED