CakeML:6ffc161d664c3e78e64da1e8ab91c281c9313a4d
Merge branch 'master' into ffiname
#976 (ffiname)
Merging into:37aeb0eb6fcddea51846bd6fa7d7496e2ace12a5
Merge pull request #975 from CakeML/byte
HOL:d587e1c70b4c059edc079ed4a529b5b7423223b8
Add ltree_every and ltree_finite_branching (#1172)
Machine:pavlova
Claimed job
Building HOL
Starting developers
Finished developers 2s 172MB
Starting developers/bin
Finished developers/bin 10s 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.230s)
Starting work on vec_mapTheory
locationTheory examples/formal-languages/context-free (1s) OK
Starting work on grammarTheory
vec_mapTheory examples/formal-languages/regular (2s) OK
Starting work on lprefix_lubTheory
grammarTheory examples/formal-languages/context-free (3s) OK
Starting work on NTpropertiesTheory
lprefix_lubTheory examples/fun-op-sem/lprefix_lub (4s) OK
Starting work on pegTheory
charsetTheory examples/formal-languages/regular (10s) OK
Starting work on regexpTheory
NTpropertiesTheory examples/formal-languages/context-free (5s) OK
Finished $(HOLDIR)/examples/fun-op-sem/lprefix_lub [#theories: 1] (4.180s)
Starting work on set_sepTheory
pegTheory examples/formal-languages/context-free (6s) OK
Starting work on pegexecTheory
set_sepTheory examples/machine-code/hoare-triple (6s) 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 (5s) OK
Starting work on simpleSexpPEGTheory
progTheory examples/machine-code/hoare-triple (5s) OK
Starting work on addressTheory
simpleSexpPEGTheory examples/formal-languages/context-free (4s) OK
Starting work on simpleSexpParseTheory
regexpTheory examples/formal-languages/regular (19s) OK
Starting work on temporalTheory
addressTheory examples/machine-code/hoare-triple (8s) OK
Starting work on libTheory
temporalTheory examples/machine-code/hoare-triple (5s) OK
Finished $(HOLDIR)/examples/machine-code/hoare-triple [#theories: 5] (27.580s)
Starting work on spt_closureTheory
spt_closureTheory examples/algorithms (2s) OK
Finished $(HOLDIR)/examples/algorithms [#theories: 1] (2.630s)
Starting work on multiwordTheory
simpleSexpParseTheory examples/formal-languages/context-free (11s) OK
Finished $(HOLDIR)/examples/formal-languages/context-free [#theories: 8] (42.050s)
Finished $(HOLDIR)/examples/l3-machine-code/common (0.000s)
Starting work on ag32Theory
libTheory misc (6s) OK
Starting work on miscTheory
ag32Theory compiler/encoders/ag32 (8s) OK
Starting work on ffiTheory
ffiTheory semantics/ffi (6s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (6.850s)
Finished $(HOLDIR)/examples/l3-machine-code/lib (0.000s)
Starting work on armTheory
multiwordTheory examples/machine-code/multiword (29s) OK
Starting work on mc_multiwordTheory
miscTheory misc (35s) OK
Starting work on cakeml-heap
cakeml-heap misc (30s) OK
Finished $(CAKEMLDIR)/misc [#theories: 2] (71.950s)
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
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
gramTheory semantics (7s) OK
Starting work on tokenUtilsTheory
mllistTheory basis/pure (13s) OK
Starting work on lexer_funTheory
tokenUtilsTheory semantics (9s) OK
Starting work on cmlPtreeConversionTheory
lexer_funTheory semantics (7s) OK
Starting work on mlstringTheory
balanced_mapTheory examples/balanced_bst(134s) OK
Starting work on osetTheory
osetTheory examples/balanced_bst (5s) OK
Finished $(HOLDIR)/examples/balanced_bst [#theories: 2] (140.580s)
Starting work on regexp_mapTheory
cmlPtreeConversionTheory semantics (18s) OK
Starting work on mloptionTheory
regexp_mapTheory examples/formal-languages/regular (6s) OK
Starting work on regexp_compilerTheory
semanticPrimitivesTheory semantics (37s) OK
Starting work on evaluateTheory
evaluateTheory semantics (6s) OK
Starting work on typeSystemTheory
mlstringTheory basis/pure (25s) OK
Starting work on mlintTheory
mloptionTheory basis/pure (14s) OK
Starting work on mlmapTheory
regexp_compilerTheory examples/formal-languages/regular (17s) OK
Finished $(HOLDIR)/examples/formal-languages/regular [#theories: 5] (55.650s)
Starting work on mlvectorTheory
mlintTheory basis/pure (19s) OK
Starting work on mlratTheory
typeSystemTheory semantics (19s) OK
Starting work on primTypesTheory
mlmapTheory basis/pure (15s) OK
Starting work on typeDecToPPTheory
primTypesTheory semantics (3s) OK
Starting work on semanticsTheory
mlvectorTheory basis/pure (17s) OK
Starting work on mlprettyprinterTheory
semanticsTheory semantics (5s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 16] (139.940s)
Starting work on astPropsTheory
typeDecToPPTheory basis/pure (10s) OK
Starting work on gramPropsTheory
mlratTheory basis/pure (16s) OK
Starting work on namespacePropsTheory
mlprettyprinterTheory basis/pure (17s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 9] (150.470s)
Starting work on fpOptPropsTheory
astPropsTheory semantics/proofs (14s) OK
Starting work on cmlPEGTheory
namespacePropsTheory semantics/proofs (17s) OK
Starting work on semanticPrimitivesPropsTheory
gramPropsTheory semantics/proofs (25s) OK
Starting work on typeSoundInvariantsTheory
fpOptPropsTheory semantics/proofs (17s) OK
Starting work on fpSemPropsTheory
typeSoundInvariantsTheory semantics/proofs (14s) OK
Starting work on fromSexpTheory
semanticPrimitivesPropsTheory semantics/proofs (49s) OK
Starting work on typeSysPropsTheory
cmlPEGTheory compiler/parsing (64s) OK
Starting work on cmlParseTheory
cmlParseTheory compiler/parsing (10s) OK
Starting work on lexer_implTheory
typeSysPropsTheory semantics/proofs (32s) OK
Starting work on primSemEnvTheory
fromSexpTheory compiler/parsing (72s) OK
Starting work on weakeningTheory
fpSemPropsTheory semantics/proofs (97s) OK
Starting work on evaluatePropsTheory
primSemEnvTheory semantics/proofs (20s) OK
Starting work on cfFFITypeTheory
weakeningTheory semantics/proofs (17s) OK
Starting work on ml_monadBaseTheory
lexer_implTheory compiler/parsing (49s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (196.710s)
Starting work on MarshallingTheory
cfFFITypeTheory characteristic (16s) OK
Finished $(HOLDIR)/examples/machine-code/multiword [#theories: 2] (66.150s)
Starting work on pattern_commonTheory
MarshallingTheory basis (15s) OK
Starting work on parmoveTheory
ml_monadBaseTheory translator/monadic/monad_base (22s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (22.230s)
Starting work on reg_allocTheory
pattern_commonTheory compiler/backend/pattern_matching (13s) OK
Starting work on pattern_semanticsTheory
pattern_semanticsTheory compiler/backend/pattern_matching (17s) OK
Starting work on pattern_compTheory
parmoveTheory compiler/backend/reg_alloc (27s) OK
Starting work on asmTheory
asmTheory compiler/encoders/asm (14s) OK
Starting work on asmSemTheory
pattern_compTheory compiler/backend/pattern_matching (19s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (50.470s)
Starting work on backend_commonTheory
reg_allocTheory compiler/backend/reg_alloc (48s) OK
Starting work on linear_scanTheory
asmSemTheory compiler/encoders/asm (16s) OK
Starting work on asmPropsTheory
backend_commonTheory compiler/backend (18s) OK
Starting work on closLangTheory
evaluatePropsTheory semantics/proofs (94s) OK
Starting work on typeSoundTheory
asmPropsTheory compiler/encoders/asm (20s) OK
Starting work on ml_progTheory
closLangTheory compiler/backend (20s) OK
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (51.920s)
Starting work on bviTheory
linear_scanTheory compiler/backend/reg_alloc (41s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (117.380s)
Starting work on dataLangTheory
bviTheory compiler/backend (14s) OK
Starting work on bvi_letTheory
ml_progTheory translator (26s) OK
Starting work on ml_translatorTheory
dataLangTheory compiler/backend (15s) OK
Starting work on cfHeapsBaseTheory
bvi_letTheory compiler/backend (16s) OK
Starting work on data_liveTheory
data_liveTheory compiler/backend (18s) OK
Starting work on data_simpTheory
cfHeapsBaseTheory characteristic (28s) OK
Starting work on clFFITheory
data_simpTheory compiler/backend (15s) OK
Starting work on runtimeFFITheory
clFFITheory basis (17s) OK
Starting work on fsFFITheory
runtimeFFITheory basis (17s) OK
Starting work on data_spaceTheory
ml_translatorTheory translator (67s) OK
Starting work on ml_optimiseTheory
fsFFITheory basis (24s) OK
Starting work on ml_pmatchTheory
data_spaceTheory compiler/backend (19s) OK
Starting work on fsFFIPropsTheory
ml_optimiseTheory translator (27s) OK
Starting work on bvi_to_dataTheory
ml_pmatchTheory translator (24s) OK
Starting work on std_preludeTheory
bvi_to_dataTheory compiler/backend (22s) OK
Starting work on cfHeapsTheory
typeSoundTheory semantics/proofs(173s) OK
Starting work on semanticsPropsTheory
std_preludeTheory translator (24s) OK
Finished $(CAKEMLDIR)/translator [#theories: 5] (170.440s)
Starting work on bvi_tailrecTheory
fsFFIPropsTheory basis (53s) OK
Starting work on bvlTheory
semanticsPropsTheory semantics/proofs (18s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 13] (594.800s)
Starting work on db_varsTheory
cfHeapsTheory characteristic (23s) OK
Starting work on cfStoreTheory
bvlTheory compiler/backend (14s) OK
Starting work on bvl_constTheory
db_varsTheory compiler/backend (14s) OK
Starting work on bvl_jumpTheory
cfStoreTheory characteristic (24s)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 /scratch/cakeml/regression/cakeml-2249/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 /scratch/cakeml/regression/cakeml-2249/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"}
bvi_tailrecTheory compiler/backend (39s)MKILLED
bvl_constTheory compiler/backend (15s)MKILLED
bvl_jumpTheory compiler/backend (12s)MKILLED