CakeML:6ffc161d664c3e78e64da1e8ab91c281c9313a4d
Merge branch 'master' into ffiname
#976 (ffiname)
Merging into:4ce61c307e8542262db1b33ca6bbaba2473fd1e0
Fix linear_scanProof given change in HOL
HOL:d587e1c70b4c059edc079ed4a529b5b7423223b8
Add ltree_every and ltree_finite_branching (#1172)
Machine:stove 5.15.0-86-generic x86_64 GNU/Linux
Claimed job
Building HOL
Starting developers
Finished developers 5s 131MB
Starting developers/bin
Finished developers/bin 6s 1GB
Starting compiler/proofs
FAILED: compiler/proofs
Scanning [1m$(HOLDIR)/src/sort[0m
Scanning [1m$(HOLDIR)/src/string[0m
Scanning [1m$(HOLDIR)/src/n-bit[0m
Scanning [1m$(HOLDIR)/src/res_quan/src[0m
Scanning [1m$(HOLDIR)/src/finite_maps[0m
Scanning [1m$(HOLDIR)/examples/formal-languages/context-free[0m
Scanning [1m$(HOLDIR)/examples/balanced_bst[0m
Scanning [1m$(HOLDIR)/examples/formal-languages[0m
Scanning [1m$(HOLDIR)/examples/formal-languages/regular[0m
Scanning [1m$(HOLDIR)/src/transfer[0m
Scanning [1m$(HOLDIR)/src/pred_set/src/more_theories[0m
Scanning [1m$(HOLDIR)/src/coalgebras[0m
Scanning [1m$(HOLDIR)/examples/fun-op-sem/lprefix_lub[0m
Scanning [1m$(HOLDIR)/examples/machine-code/hoare-triple[0m
Scanning [1m$(CAKEMLDIR)/developers[0m
Scanning [1m$(CAKEMLDIR)/misc[0m
Scanning [1m$(CAKEMLDIR)/semantics/ffi[0m
Scanning [1m$(CAKEMLDIR)/semantics[0m
Scanning [1m$(CAKEMLDIR)/basis/pure[0m
Scanning [1m$(CAKEMLDIR)/semantics/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/parsing[0m
Scanning [1m$(CAKEMLDIR)/translator[0m
Scanning [1m$(CAKEMLDIR)/characteristic[0m
Scanning [1m$(CAKEMLDIR)/translator/monadic/monad_base[0m
Scanning [1m$(CAKEMLDIR)/translator/monadic[0m
Scanning [1m$(CAKEMLDIR)/basis[0m
Scanning [1m$(HOLDIR)/examples/algorithms[0m
Scanning [1m$(HOLDIR)/src/ring/src[0m
Scanning [1m$(HOLDIR)/src/integer[0m
Scanning [1m$(HOLDIR)/examples/machine-code/multiword[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/pattern_matching[0m
Scanning [1m$(CAKEMLDIR)/unverified/reg_alloc[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/reg_alloc[0m
Scanning [1m$(HOLDIR)/src/hol88[0m
Scanning [1m$(HOLDIR)/src/real[0m
Scanning [1m$(HOLDIR)/src/floating-point[0m
Scanning [1m$(HOLDIR)/src/monad/more_monads[0m
Scanning [1m$(HOLDIR)/src/update[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/common[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/asm[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/ag32[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/ag32[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/lib[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm/model[0m
Scanning [1m$(HOLDIR)/examples/machine-code/decompiler[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/arm7[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/arm7[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm8/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm8/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/arm8[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/arm8[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/mips/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/mips/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/mips[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/mips[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/riscv/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/riscv/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/riscv[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/riscv[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/x64/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/x64/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/x64[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/x64[0m
Scanning [1m$(HOLDIR)/examples/algorithms/unification/triangular[0m
Scanning [1m$(HOLDIR)/src/transfer/examples[0m
Scanning [1m$(HOLDIR)/examples/algorithms/unification/triangular/first-order[0m
Scanning [1m$(CAKEMLDIR)/compiler/inference[0m
Scanning [1m$(CAKEMLDIR)/pancake[0m
Scanning [1m$(CAKEMLDIR)/pancake/parser[0m
Scanning [1m$(CAKEMLDIR)/compiler[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/gc[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/reg_alloc/proofs[0m
Scanning [1m$(CAKEMLDIR)/semantics/alt_semantics[0m
Scanning [1m$(CAKEMLDIR)/semantics/alt_semantics/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/semantics[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/inference/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/parsing/proofs[0m
Scanned 83 directories
Starting work on locationTheory
Starting work on balanced_mapTheory
Starting work on FormalLangTheory
Starting work on charsetTheory
FormalLangTheory examples/formal-languages (1s) OK
Finished $(HOLDIR)/examples/formal-languages [#theories: 1] (1.387s)
Starting work on vec_mapTheory
locationTheory examples/formal-languages/context-free (1s) OK
Starting work on grammarTheory
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 (4s) OK
Starting work on pegTheory
charsetTheory examples/formal-languages/regular (9s) OK
Starting work on regexpTheory
NTpropertiesTheory examples/formal-languages/context-free (5s) OK
Finished $(HOLDIR)/examples/fun-op-sem/lprefix_lub [#theories: 1] (4.062s)
Starting work on set_sepTheory
pegTheory examples/formal-languages/context-free (6s) OK
Starting work on pegexecTheory
set_sepTheory examples/machine-code/hoare-triple (5s) OK
Starting work on simpleSexpTheory
pegexecTheory examples/formal-languages/context-free (3s) OK
Starting work on tailrecTheory
tailrecTheory examples/machine-code/hoare-triple (0s) OK
Starting work on progTheory
simpleSexpTheory examples/formal-languages/context-free (6s) OK
Starting work on simpleSexpPEGTheory
progTheory examples/machine-code/hoare-triple (3s) OK
Starting work on addressTheory
regexpTheory examples/formal-languages/regular (18s) OK
Starting work on temporalTheory
simpleSexpPEGTheory examples/formal-languages/context-free (4s) OK
Starting work on simpleSexpParseTheory
addressTheory examples/machine-code/hoare-triple (7s) OK
Starting work on libTheory
temporalTheory examples/machine-code/hoare-triple (3s) OK
Finished $(HOLDIR)/examples/machine-code/hoare-triple [#theories: 5] (21.660s)
Starting work on spt_closureTheory
spt_closureTheory examples/algorithms (1s) OK
Finished $(HOLDIR)/examples/algorithms [#theories: 1] (1.898s)
Starting work on multiwordTheory
libTheory misc (3s) OK
Starting work on miscTheory
simpleSexpParseTheory examples/formal-languages/context-free (12s) OK
Finished $(HOLDIR)/examples/formal-languages/context-free [#theories: 8] (43.217s)
Starting work on ffiTheory
ffiTheory semantics/ffi (4s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (4.008s)
Finished $(HOLDIR)/examples/l3-machine-code/common (0.000s)
Starting work on ag32Theory
ag32Theory compiler/encoders/ag32 (6s) OK
Finished $(HOLDIR)/examples/l3-machine-code/lib (0.000s)
Starting work on armTheory
multiwordTheory examples/machine-code/multiword (31s) OK
Starting work on mc_multiwordTheory
miscTheory misc (38s) OK
Starting work on cakeml-heap
cakeml-heap misc (11s) OK
Finished $(CAKEMLDIR)/misc [#theories: 2] (53.222s)
Starting work on fpValTreeTheory
fpValTreeTheory semantics (1s) OK
Starting work on fpOptTheory
fpOptTheory semantics (5s) OK
Starting work on fpSemTheory
fpSemTheory semantics (2s) 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 (47s) OK
Starting work on tokensTheory
tokensTheory semantics (4s) OK
Starting work on gramTheory
mc_multiwordTheory examples/machine-code/multiword (41s) OK
Starting work on tokenUtilsTheory
astTheory semantics (8s) OK
Starting work on semanticPrimitivesTheory
gramTheory semantics (8s) OK
Starting work on lexer_funTheory
tokenUtilsTheory semantics (11s) OK
Starting work on cmlPtreeConversionTheory
lexer_funTheory semantics (9s) OK
Starting work on mllistTheory
mllistTheory basis/pure (10s) OK
Starting work on mlstringTheory
cmlPtreeConversionTheory semantics (22s) OK
Starting work on mloptionTheory
mloptionTheory basis/pure (10s) OK
Starting work on gramPropsTheory
semanticPrimitivesTheory semantics (49s) OK
Starting work on evaluateTheory
balanced_mapTheory examples/balanced_bst(164s) OK
Starting work on osetTheory
mlstringTheory basis/pure (27s) OK
Starting work on typeSystemTheory
evaluateTheory semantics (6s) OK
Starting work on mlintTheory
osetTheory examples/balanced_bst (6s) OK
Finished $(HOLDIR)/examples/balanced_bst [#theories: 2] (170.617s)
Starting work on regexp_mapTheory
regexp_mapTheory examples/formal-languages/regular (4s) OK
Starting work on regexp_compilerTheory
gramPropsTheory semantics/proofs (24s) OK
Starting work on mlmapTheory
mlintTheory basis/pure (17s) OK
Starting work on mlratTheory
typeSystemTheory semantics (24s) OK
Starting work on primTypesTheory
regexp_compilerTheory examples/formal-languages/regular (17s) OK
Finished $(HOLDIR)/examples/formal-languages/regular [#theories: 5] (51.217s)
Starting work on mlvectorTheory
primTypesTheory semantics (2s) OK
Starting work on semanticsTheory
mlmapTheory basis/pure (11s) OK
Starting work on typeDecToPPTheory
mlratTheory basis/pure (12s) OK
Starting work on astPropsTheory
semanticsTheory semantics (5s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 16] (166.857s)
Starting work on namespacePropsTheory
typeDecToPPTheory basis/pure (7s) OK
Starting work on fpOptPropsTheory
astPropsTheory semantics/proofs (9s) OK
Starting work on cmlPEGTheory
mlvectorTheory basis/pure (16s) OK
Starting work on mlprettyprinterTheory
namespacePropsTheory semantics/proofs (13s) OK
Starting work on semanticPrimitivesPropsTheory
fpOptPropsTheory semantics/proofs (14s) OK
Starting work on fpSemPropsTheory
mlprettyprinterTheory basis/pure (17s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 9] (132.687s)
Starting work on typeSoundInvariantsTheory
typeSoundInvariantsTheory semantics/proofs (12s) OK
Starting work on fromSexpTheory
semanticPrimitivesPropsTheory semantics/proofs (53s) OK
Starting work on typeSysPropsTheory
cmlPEGTheory compiler/parsing (71s) OK
Starting work on cmlParseTheory
cmlParseTheory compiler/parsing (7s) OK
Starting work on lexer_implTheory
typeSysPropsTheory semantics/proofs (31s) OK
Starting work on primSemEnvTheory
primSemEnvTheory semantics/proofs (17s) OK
Starting work on weakeningTheory
fromSexpTheory compiler/parsing (86s) OK
Starting work on cfFFITypeTheory
fpSemPropsTheory semantics/proofs(113s) OK
Starting work on evaluatePropsTheory
weakeningTheory semantics/proofs (14s) OK
Starting work on ml_monadBaseTheory
lexer_implTheory compiler/parsing (53s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (218.738s)
Starting work on MarshallingTheory
cfFFITypeTheory characteristic (14s) OK
Finished $(HOLDIR)/examples/machine-code/multiword [#theories: 2] (73.017s)
Starting work on pattern_commonTheory
pattern_commonTheory compiler/backend/pattern_matching (9s) OK
Starting work on pattern_semanticsTheory
MarshallingTheory basis (11s) OK
Starting work on parmoveTheory
ml_monadBaseTheory translator/monadic/monad_base (23s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (23.687s)
Starting work on reg_allocTheory
pattern_semanticsTheory compiler/backend/pattern_matching (13s) OK
Starting work on pattern_compTheory
parmoveTheory compiler/backend/reg_alloc (25s) OK
Starting work on asmTheory
pattern_compTheory compiler/backend/pattern_matching (16s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (39.176s)
Starting work on backend_commonTheory
asmTheory compiler/encoders/asm (12s) OK
Starting work on asmSemTheory
backend_commonTheory compiler/backend (14s) OK
Starting work on closLangTheory
asmSemTheory compiler/encoders/asm (14s) OK
Starting work on asmPropsTheory
closLangTheory compiler/backend (17s) OK
Starting work on bviTheory
reg_allocTheory compiler/backend/reg_alloc (63s) OK
Starting work on linear_scanTheory
asmPropsTheory compiler/encoders/asm (18s) OK
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (44.852s)
Starting work on dataLangTheory
bviTheory compiler/backend (10s) OK
Starting work on bvi_letTheory
evaluatePropsTheory semantics/proofs(102s) OK
Starting work on typeSoundTheory
dataLangTheory compiler/backend (12s) OK
Starting work on ml_progTheory
bvi_letTheory compiler/backend (13s) OK
Starting work on data_liveTheory
data_liveTheory compiler/backend (15s) OK
Starting work on data_simpTheory
ml_progTheory translator (25s) OK
Starting work on ml_translatorTheory
data_simpTheory compiler/backend (11s) OK
Starting work on cfHeapsBaseTheory
linear_scanTheory compiler/backend/reg_alloc (51s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (141.164s)
Starting work on data_spaceTheory
data_spaceTheory compiler/backend (17s) OK
Starting work on bvi_to_dataTheory
cfHeapsBaseTheory characteristic (31s) OK
Starting work on clFFITheory
bvi_to_dataTheory compiler/backend (19s) OK
Starting work on runtimeFFITheory
clFFITheory basis (14s) OK
Starting work on fsFFITheory
runtimeFFITheory basis (14s) OK
Starting work on bvi_tailrecTheory
ml_translatorTheory translator (73s) OK
Starting work on ml_optimiseTheory
fsFFITheory basis (25s) OK
Starting work on ml_pmatchTheory
ml_optimiseTheory translator (25s) OK
Starting work on fsFFIPropsTheory
ml_pmatchTheory translator (21s) OK
Starting work on std_preludeTheory
bvi_tailrecTheory compiler/backend (52s) OK
Starting work on cfHeapsTheory
std_preludeTheory translator (22s) OK
Finished $(CAKEMLDIR)/translator [#theories: 5] (168.490s)
Starting work on bvlTheory
cfHeapsTheory characteristic (19s) OK
Starting work on cfStoreTheory
bvlTheory compiler/backend (11s) OK
Starting work on bvl_constTheory
cfStoreTheory characteristic (20s)FAIL<1>
<<HOL message: Created theory "cfStore">>
Saved definition ____ "store2heap_aux_def"
Saved definition ____ "store2heap_def"
Saved definition ____ "ffi_has_index_in_def"
error in quse /home/cug/hk324/cml-regression/cakeml-2252/characteristic/cfStoreScript.sml : HOL_ERR {message = "on line 29, characters 29-48:\n\nType inference failure: unable to infer a type for the application of\n\nffi_has_index_in :ffiname list -> io_event -> bool\n\non line 29, characters 11-26\n\nto\n\nFLAT\n (MAP\n (FST :string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option) ->\n string list)\n (parts :(string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option))\n list))\n\non line 29, characters 29-48\n\nwhich has type\n\n:string list\n\nunification failure message: Attempt to unify different type operators: ffi$ffiname and list$list\n", origin_function = "type-analysis", origin_structure = "Preterm"}
error in load /home/cug/hk324/cml-regression/cakeml-2252/characteristic/cfStoreScript : HOL_ERR {message = "on line 29, characters 29-48:\n\nType inference failure: unable to infer a type for the application of\n\nffi_has_index_in :ffiname list -> io_event -> bool\n\non line 29, characters 11-26\n\nto\n\nFLAT\n (MAP\n (FST :string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option) ->\n string list)\n (parts :(string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option))\n list))\n\non line 29, characters 29-48\n\nwhich has type\n\n:string list\n\nunification failure message: Attempt to unify different type operators: ffi$ffiname and list$list\n", origin_function = "type-analysis", origin_structure = "Preterm"}
Uncaught exception: HOL_ERR {message = "on line 29, characters 29-48:\n\nType inference failure: unable to infer a type for the application of\n\nffi_has_index_in :ffiname list -> io_event -> bool\n\non line 29, characters 11-26\n\nto\n\nFLAT\n (MAP\n (FST :string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option) ->\n string list)\n (parts :(string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option))\n list))\n\non line 29, characters 29-48\n\nwhich has type\n\n:string list\n\nunification failure message: Attempt to unify different type operators: ffi$ffiname and list$list\n", origin_function = "type-analysis", origin_structure = "Preterm"}
typeSoundTheory semantics/proofs(196s)MKILLED
fsFFIPropsTheory basis (58s)MKILLED
bvl_constTheory compiler/backend (20s)MKILLED